/* Bytefella design tokens. GENERATED from tokens.json by scripts/build-tokens.mjs; do not edit by hand. */
/* Fonts are self-hosted: see fonts.css. The kit loads them from Google Fonts; this copy does not. */

:root {
  /* brand constants */
  --lilac: #c9b8ff;
  --haze: #f1ecff;
  --milk: #fbf8ff;
  --ink: #1f2a2e;
  --night: #161e21;
  --mint: #8de8c3;
  --pink: #ff9ccf;
  --lemon: #ffe66d;
  --peach: #ffbf9b;

  /* scales */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --logo-clearspace: 40px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-display: "Fredoka", "Baloo 2", ui-rounded, system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-xl-size: 72px;
  --display-xl-line: 72px;
  --display-xl-weight: 600;
  --display-xl-tracking: -0.01em;
  --display-lg-size: 48px;
  --display-lg-line: 52px;
  --display-lg-weight: 600;
  --display-md-size: 28px;
  --display-md-line: 34px;
  --display-md-weight: 600;
  --body-lg-size: 20px;
  --body-lg-line: 30px;
  --body-lg-weight: 400;
  --body-size: 16px;
  --body-line: 26px;
  --body-weight: 400;
  --body-sm-size: 14px;
  --body-sm-line: 22px;
  --body-sm-weight: 400;
  --label-size: 13px;
  --label-line: 16px;
  --label-weight: 700;
  --label-tracking: 0.06em;
  --code-size: 14px;
  --code-line: 22px;
  --code-weight: 400;

  /* semantic: light theme (default) */
  --surface: #fbf8ff;
  --surface-raised: #ffffff;
  --surface-sunken: #f1ecff;
  --surface-lilac: #c9b8ff;
  --on-lilac: #1f2a2e;
  --text: #1f2a2e;
  --text-muted: #4a575b;
  --text-inverse: #fbf8ff;
  --fill: #1f2a2e;
  --fill-hover: #34444a;
  --border: #ddd3f5;
  --border-strong: #1f2a2e;
  --focus: #1f2a2e;
  --link: #4b34b0;
  --shadow-button: 0 4px 0 0 #1f2a2e;
  --shadow-card: 0 6px 0 0 #1f2a2e;
}

[data-theme="dark"] {
  --surface: #161e21;
  --surface-raised: #1f2a2e;
  --surface-sunken: #0f1517;
  --surface-lilac: #c9b8ff;
  --on-lilac: #1f2a2e;
  --text: #fbf8ff;
  --text-muted: #b8c2bd;
  --text-inverse: #1f2a2e;
  --fill: #c9b8ff;
  --fill-hover: #ddd2ff;
  --border: #34444a;
  --border-strong: #b8c2bd;
  --focus: #c9b8ff;
  --link: #cdbfff;
  --shadow-button: 0 4px 0 0 #7f6bd0;
  --shadow-card: 0 6px 0 0 #0f1517;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #161e21;
    --surface-raised: #1f2a2e;
    --surface-sunken: #0f1517;
    --surface-lilac: #c9b8ff;
    --on-lilac: #1f2a2e;
    --text: #fbf8ff;
    --text-muted: #b8c2bd;
    --text-inverse: #1f2a2e;
    --fill: #c9b8ff;
    --fill-hover: #ddd2ff;
    --border: #34444a;
    --border-strong: #b8c2bd;
    --focus: #c9b8ff;
    --link: #cdbfff;
    --shadow-button: 0 4px 0 0 #7f6bd0;
    --shadow-card: 0 6px 0 0 #0f1517;
  }
}
