/* Reel Maker v2 — design tokens only. No component rules here. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/figtree-400.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/figtree-500.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/figtree-600.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/figtree-700.woff2") format("woff2");
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/bebas-neue-400.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --canvas: #f4f1ea;
  --canvas-2: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --ink: #15181e;
  --ink-2: #16181c;
  --muted: #5c6570;
  --line: #d9d3c7;
  --primary: #9e6000;
  --primary-fg: #ffffff;
  --accent: #d9920b;
  --accent-soft: rgba(217, 146, 11, 0.16);
  --plat-yt: #c4302b;
  --plat-yt-hover: #a82520;
  --plat-ig: #c13584;
  --ok: #1f6b4a;
  --ok-bg: #e7f3ec;
  --warn: #9a5f00;
  --warn-bg: #fff4d8;
  --danger: #9b2c2c;
  --danger-bg: #f8e8e6;
  --chip: rgba(21, 24, 30, 0.07);
  --glow-amber: rgba(217, 146, 11, 0.18);
  --glow-cool: rgba(90, 120, 150, 0.12);
  --page-0: #ebe7df;
  --page-1: #f6f4ef;
  --page-2: #e4e9ef;
  --stripe: rgba(22, 24, 28, 0.035);
  --theme-meta: #b87400;
  --shadow: 0 8px 28px rgba(21, 24, 30, 0.08);
  --radius: 14px;
  --radius-sheet: 20px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --appbar-h: 56px;
  --tabbar-h: 64px;
  --sidebar-w: 240px;
  --rail-w: 80px;
  --dock-w: 400px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 280ms;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0d1015;
  --canvas-2: #0f1217;
  --surface: #151921;
  --surface-2: #171b22;
  --ink: #ecf0f5;
  --ink-2: #e9ecef;
  --muted: #9aa3ad;
  --line: #2c3340;
  --primary: #f0b84a;
  --primary-fg: #15181e;
  --accent: #e0a12a;
  --accent-soft: rgba(224, 161, 42, 0.16);
  --plat-yt: #ff453a;
  --plat-yt-hover: #ff6b63;
  --plat-ig: #e1306c;
  --ok: #6dcea3;
  --ok-bg: #163528;
  --warn: #f0b84a;
  --warn-bg: #3a2e16;
  --danger: #f0a4a0;
  --danger-bg: #3a2222;
  --chip: rgba(255, 255, 255, 0.08);
  --glow-amber: rgba(224, 161, 42, 0.14);
  --glow-cool: rgba(90, 130, 180, 0.1);
  --page-0: #0e1117;
  --page-1: #141821;
  --page-2: #10141c;
  --stripe: rgba(255, 255, 255, 0.04);
  --theme-meta: #1c212b;
  --shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur: 1ms;
    --dur-slow: 1ms;
  }
}
