/* BBRS Design Tokens — locked per .claude/skills/bbrs-design/SKILL.md §2 */
:root {
  /* ── Brand colors ──────────────────────────────────────────────── */
  --brand-blue: #3A5FA8;          /* primary, AA on white */
  --brand-blue-deck: #4472C4;     /* deck-spec, secondary */
  --brand-blue-deep: #2A4480;     /* hover / pressed */
  --brand-orange: #ED7D31;        /* accent, sparingly */
  --brand-orange-deep: #C9651C;

  /* ── Ink (text) ────────────────────────────────────────────────── */
  --ink: #1A1F2C;
  --ink-muted: #5B6478;
  --ink-soft: #8B92A4;
  --ink-on-dark: #F4F4F1;

  /* ── Surfaces ──────────────────────────────────────────────────── */
  --paper: #FBFBFA;
  --paper-2: #F4F4F1;
  --paper-3: #ECECE8;
  --surface: #FFFFFF;
  --surface-deep: #161B26;          /* for dark sections */
  --hairline: #E5E5E0;
  --hairline-strong: #D4D4CE;

  /* ── Type scale (fluid clamp) ─────────────────────────────────── */
  --type-display: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  --type-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --type-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --type-h3: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --type-h4: 1.125rem;
  --type-body: 1rem;
  --type-small: 0.875rem;
  --type-tiny: 0.75rem;
  --type-eyebrow: 0.6875rem;

  /* ── Spacing scale ─────────────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  /* Tightened post-review #41 IMPORTANT #4: full --section-y went from
     clamp(72-144) -> clamp(56-112) so total page height shrinks ~20%
     (4500px vs 5500px) without compressing content. --section-y-tight
     is a new variant for "scan" sections (trust marquee, etc.) */
  --section-y: clamp(56px, 5vw + 32px, 112px);
  --section-y-tight: clamp(40px, 3.5vw + 20px, 72px);

  /* ── Container ─────────────────────────────────────────────────── */
  --container-max: 1280px;
  --container-pad: clamp(20px, 3vw, 48px);

  /* ── Radius ────────────────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* ── Shadows (the only allowed shadows) ───────────────────────── */
  --shadow-flat: 0 0 0 1px var(--hairline);
  --shadow-soft: 0 1px 2px rgba(26, 31, 44, 0.04), 0 2px 8px rgba(26, 31, 44, 0.04);
  --shadow-lift: 0 4px 12px rgba(26, 31, 44, 0.06), 0 12px 32px rgba(26, 31, 44, 0.06);
  --shadow-hero: 0 20px 48px -16px rgba(26, 31, 44, 0.12);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);

  /* ── Motion ────────────────────────────────────────────────────── */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-snap: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-fast: 160ms;
  --duration-base: 220ms;
  --duration-slow: 440ms;
  --duration-reveal: 700ms;

  /* ── Font stacks ───────────────────────────────────────────────── */
  --font-display: "Newsreader", "Lyon Text", Calibri, Georgia, serif;
  --font-sans: "Inter Tight", "Inter", Calibri, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}
