/* Biv Brand v2 Design Tokens — Option H (Pure White & Caramel Chestnut)
 * Generated automatically by tools/build.py. Do not hand-edit.
 */

:root {
  /* Surfaces */
  --biv-canvas: #FFFFFF;
  --biv-surface: #FFFFFF;
  --biv-surface-subtle: #F6F6F6;
  --biv-border: #E8E8E8;

  /* Ink */
  --biv-ink: #221D1B;
  --biv-ink-secondary: #595350;
  --biv-ink-muted: #736D6A;

  /* Single Natural Brand Accent */
  --biv-accent: #7A4F38;
  --biv-accent-text: #6E4630;
  --biv-accent-soft: #F4ECE6;

  /* Calm Semantics (all WCAG 2.1 AA >= 5.09:1) */
  --biv-info: #3F6280;
  --biv-tool: #2D6E68;
  --biv-ok: #2A7A52;
  --biv-warn: #9C5F0E;
  --biv-bad: #C43B3B;

  /* Typography */
  --biv-font-sans: "Plus Jakarta Sans", "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --biv-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion (Apple-grade tactile spring timings) */
  --biv-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --biv-ease-spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
  --biv-dur-fast: 120ms;
  --biv-dur-base: 200ms;
  --biv-dur-panel: 280ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --biv-canvas-deep: #131315;
    --biv-canvas: #18181A;
    --biv-surface: #212124;
    --biv-surface-subtle: #212124;
    --biv-surface-elevated: #2A2A2E;
    --biv-border: #323236;
    --biv-ink: #F5F4F2;
    --biv-ink-secondary: #B8B4B0;
    --biv-ink-muted: #8D8985;
    --biv-accent: #E0B698;
    --biv-accent-text: #E0B698;
    --biv-accent-soft: #2F2621;
    --biv-info: #8BB4D9;
    --biv-tool: #6BC2B8;
    --biv-ok: #6BCE9C;
    --biv-warn: #EBC05B;
    --biv-bad: #F27D7D;
  }
}

[data-theme="dark"] {
  --biv-canvas-deep: #131315;
  --biv-canvas: #18181A;
  --biv-surface: #212124;
  --biv-surface-subtle: #212124;
  --biv-surface-elevated: #2A2A2E;
  --biv-border: #323236;
  --biv-ink: #F5F4F2;
  --biv-ink-secondary: #B8B4B0;
  --biv-ink-muted: #8D8985;
  --biv-accent: #E0B698;
  --biv-accent-text: #E0B698;
  --biv-accent-soft: #2F2621;
  --biv-info: #8BB4D9;
  --biv-tool: #6BC2B8;
  --biv-ok: #6BCE9C;
  --biv-warn: #EBC05B;
  --biv-bad: #F27D7D;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --biv-dur-fast: 0ms;
    --biv-dur-base: 0ms;
    --biv-dur-panel: 0ms;
  }
}
