/* Theme: heya-warm — generated by heya/gen-themes.mjs from Heya's "Warm" theme.
   Don't edit by hand; change Heya and run the script again. No web fonts needed. */
:root {
  color-scheme: light dark;

  /* color roles */
  --bg: #faf6f0;
  --surface: #fffdf9;
  --surface-2: #f3ece3;
  --text: #1f1a17;
  --text-muted: #76695e;
  --border: #e1d8ce;
  --accent: #ba4a2a;
  --accent-hover: #a64225;
  --accent-contrast: #fffaf4;
  --accent-subtle: #f2e1d8;
  --link: #ab4427;
  --success: #4c6e55;
  --success-subtle: #e7e9e0;
  --warning: #865d23;
  --warning-subtle: #f1e7d9;
  --danger: #a94431;
  --danger-subtle: #f2e1da;
  --info: #ab4427;
  --info-subtle: #f2e1d8;
  --disabled-bg: #f3ece3;
  --disabled-text: #8a7c70;
  --focus: #ba4a2a;

  /* type */
  --font-display: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.375rem;
  --weight-display: 600;
  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-body: 1.7;
  --measure: 72ch;

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 6rem;

  /* shape */
  --control-h: 2.75rem;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 9999px;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-2: 0 6px 20px rgb(0 0 0 / 0.10);

  /* motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 300ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (max-width: 600px) {
  :root {
    --fs-3xl: 1.625rem;
    --fs-4xl: 1.875rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1512;
    --surface: #231d19;
    --surface-2: #2c2520;
    --text: #c4baaf;
    --text-muted: #978a7d;
    --border: #433c35;
    --accent: #b07462;
    --accent-hover: #bb806f;
    --accent-contrast: #1a1512;
    --accent-subtle: #2c201c;
    --link: #b98575;
    --success: #8fb79a;
    --success-subtle: #282822;
    --warning: #e0a85a;
    --warning-subtle: #32271b;
    --danger: #d9826e;
    --danger-subtle: #31221d;
    --info: #b98575;
    --info-subtle: #2c201c;
    --disabled-bg: #2c2520;
    --disabled-text: #85776b;
    --focus: #b07462;
  }
}

:root[data-theme="dark"] {
  --bg: #1a1512;
  --surface: #231d19;
  --surface-2: #2c2520;
  --text: #c4baaf;
  --text-muted: #978a7d;
  --border: #433c35;
  --accent: #b07462;
  --accent-hover: #bb806f;
  --accent-contrast: #1a1512;
  --accent-subtle: #2c201c;
  --link: #b98575;
  --success: #8fb79a;
  --success-subtle: #282822;
  --warning: #e0a85a;
  --warning-subtle: #32271b;
  --danger: #d9826e;
  --danger-subtle: #31221d;
  --info: #b98575;
  --info-subtle: #2c201c;
  --disabled-bg: #2c2520;
  --disabled-text: #85776b;
  --focus: #b07462;
}
