/* Fotok design tokens, generated from docs/design/tokens.json.
   Light is the default; dark follows prefers-color-scheme unless the page
   forces a theme with <html data-theme="light|dark">. */
:root {
  --font-sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --type-display-xl: 300 96px/92px var(--font-sans);
  --type-display-xl-tracking: -0.04em;
  --type-display: 300 64px/64px var(--font-sans);
  --type-display-tracking: -0.035em;
  --type-price-xl: 300 72px/72px var(--font-sans);
  --type-price-xl-tracking: -0.03em;
  --type-heading: 300 40px/44px var(--font-sans);
  --type-heading-tracking: -0.025em;
  --type-title: 400 24px/30px var(--font-sans);
  --type-title-tracking: -0.01em;
  --type-lead: 400 20px/30px var(--font-sans);
  --type-body: 400 16px/24px var(--font-sans);
  --type-body-sm: 400 14px/20px var(--font-sans);
  --type-label: 500 14px/20px var(--font-sans);
  --type-caption: 400 12px/16px var(--font-sans);
  --type-caption-tracking: 0.01em;
}

:root, :root[data-theme="light"] {
  color-scheme: light;
  --surface-050: #faf8f5;
  --surface-100: #f4f1ec;
  --surface-200: #e9e4dc;
  --surface-300: #e0dad0;
  --surface-inverse: #0a0908;
  --ink: #0a0908;
  --ink-muted: #665f55;
  --ink-subtle: #8c8579;
  --on-inverse: #f4f1ec;
  --line: #ddd7ce;
  --line-strong: #8c8579;
  --brand: #ff5a0a;
  --on-brand: #0a0908;
  --brand-text: #c2410c;
  --tint-100: #f1ebe4;
  --tint-200: #f6e4d8;
  --tint-300: #f5d5bf;
  --tint-400: #fdb98c;
  --live: #1f7a45;
  --danger: #b42318;
  --focus: var(--ink);
  --shadow-card: 0 1px 2px rgba(10, 9, 8, 0.04), 0 24px 48px -24px rgba(10, 9, 8, 0.18);
  --shadow-float: 0 2px 6px rgba(10, 9, 8, 0.06), 0 40px 80px -32px rgba(10, 9, 8, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-050: #0a0908;
    --surface-100: #0f0d0c;
    --surface-200: #1b1916;
    --surface-300: #26231f;
    --surface-inverse: #f4f1ec;
    --ink: #f4f1ec;
    --ink-muted: #a8a196;
    --ink-subtle: #7a746b;
    --on-inverse: #0a0908;
    --line: #2e2a25;
    --line-strong: #7a746b;
    --brand: #ff6a1f;
    --on-brand: #0a0908;
    --brand-text: #ff6a1f;
    --tint-100: #1e1a17;
    --tint-200: #2b211a;
    --tint-300: #3a2617;
    --tint-400: #5a3014;
    --live: #3cc774;
    --danger: #f87060;
    --focus: var(--ink);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
    --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.6), 0 40px 80px -32px rgba(0, 0, 0, 0.85);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-050: #0a0908;
  --surface-100: #0f0d0c;
  --surface-200: #1b1916;
  --surface-300: #26231f;
  --surface-inverse: #f4f1ec;
  --ink: #f4f1ec;
  --ink-muted: #a8a196;
  --ink-subtle: #7a746b;
  --on-inverse: #0a0908;
  --line: #2e2a25;
  --line-strong: #7a746b;
  --brand: #ff6a1f;
  --on-brand: #0a0908;
  --brand-text: #ff6a1f;
  --tint-100: #1e1a17;
  --tint-200: #2b211a;
  --tint-300: #3a2617;
  --tint-400: #5a3014;
  --live: #3cc774;
  --danger: #f87060;
  --focus: var(--ink);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.6), 0 40px 80px -32px rgba(0, 0, 0, 0.85);
}
