/* Smart Money Sweeps — the design token contract.
   Generated by scripts/write-style-tokens.mjs from the North Sea registry.
   Do not hand-edit; update palettes.mjs and regenerate.

   The first block is the locked M4 system, byte-identical to what the
   prototypes are judged on. The second is the M5+ type system, which the M4
   artifact predates and which may grow — see SYSTEM_TOKENS in palettes.mjs. */

:root {
  --ground: #F5F7F7;
  --ground-2: #E8EEEE;
  --paper: #FFFFFF;
  --ink: #132829;
  --ink-2: #3E5556;
  --ink-3: #536A6B;
  --rule: #D2DEDE;
  --rule-2: #B8C8C8;
  --control-line: #718788;
  --brand: #0B6866;
  --brand-deep: #064845;
  --brand-ink: #075854;
  --brand-tint: #DDF0EF;
  --brand-line: #9DCFCB;
  --focus: #0B6866;
  --focus-on-dark: #FFFFFF;
  --brand-accent: #A62A72;
  --accent-deep: #822057;
  --accent-wash: #FBEAF3;
  --accent-line: #E8AFCC;
  --accent-ink: #7C194F;
  --warn: #A3262A;
  --warn-wash: #FDEDEE;
  --warn-line: #E8BDC1;
  --good: #146B49;
  --caution: #495667;
  --on-solid: #FFFFFF;
  --promise-text: #C5E1DF;
  --promise-icon: #8CC8C3;
  --footer-text: #C5E1DF;
  --footer-legal: #A8C8C5;
  --footer-colophon: #9DBDBA;
  --dark-surface-rule: #287068;
  --code-text: #D9EFED;
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 12px;
  --r-4: 16px;
  --r-pill: 999px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --display: 'Fraunces', Georgia, serif;
  --ui: 'Archivo', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 3.5vw, 48px);
  --measure: 1280px;
}

:root {
  --t-2xs: 0.6875rem;
  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-md: 0.875rem;
  --t-base: 1rem;
  --t-lg: 1.125rem;
  --t-xl: 1.3125rem;
  --t-2xl: 1.625rem;
  --t-3xl: 2rem;
  --t-4xl: 2.5rem;
  --t-hero: clamp(1.85rem, 2.9vw, 2.5rem);
  --t-head: clamp(1.35rem, 2.1vw, 1.8rem);
  --t-subhead: clamp(1.15rem, 1.5vw, 1.35rem);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.55;
  --lh-loose: 1.7;
  --tr-display: -0.015em;
  --tr-tight: -0.005em;
  --tr-normal: 0;
  --tr-slight: 0.03em;
  --tr-label: 0.08em;
  --tr-wide: 0.14em;
  --tr-widest: 0.26em;
  --read-display: 20ch;
  --read-title: 25ch;
  --read-head: 32ch;
  --read-lede: 58ch;
  --read-body: 68ch;
  --read-wide: 78ch;
  --read-legal: 88ch;
  --focus-ring: 3px;
  --focus-offset: 2px;
  --motion-fast: 160ms;
  --motion-medium: 320ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
