/* ==========================================================================
   DESIGN TOKENS — "Signal" system (landing-design, 2026-10-15)
   The only place colours, type, spacing and motion are defined.
   site.css uses var(--…) only. To restyle another page (e.g. landing-v2),
   link tokens.css + site.css and use the same class names.

   Idea: white paper, black ink, ONE vermilion "signal" colour that always
   means "you / the gap / act now". Big confident grotesk, square edges,
   spec-sheet labels, evidence objects instead of stock imagery.
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F;
}

:root {
  /* ---------- colour ---------- */
  --paper:        #FFFFFF;   /* default page */
  --bone:         #F3F2EE;   /* alternate chapter, input fields */
  --bone-deep:    #E8E6E0;   /* tracks, placeholders */
  --ink:          #0F0F10;   /* text, primary button, dark chapter */
  --ink-2:        #3E3E42;   /* body copy secondary (9.9:1 on white) */
  --ink-3:        #66666B;   /* small print (5.6:1 on white) */
  --line:         #E2E1DC;   /* hairlines on paper */
  --signal:       #E5402A;   /* vermilion: you / the gap / action (4.0:1 large, UI) */
  --signal-deep:  #C2321E;   /* signal text on paper at small sizes (5.3:1), hover */

  /* dark chapter (ink background) */
  --night:        #0F0F10;
  --night-raise:  #19191B;   /* objects on dark */
  --night-line:   #2C2C30;
  --on-night:     #FFFFFF;
  --on-night-2:   #B4B4BA;   /* 9.3:1 on ink */
  --signal-night: #FF6A50;   /* signal on ink (6.7:1) */

  --error:        var(--signal-deep);

  /* ---------- type: one family, strict roles ---------- */
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero:  clamp(2.75rem, 1.55rem + 5.4vw, 6.75rem);  /* 47px @390 → 108px @1440 */
  --fs-h2:    clamp(2.125rem, 1.4rem + 3.1vw, 4.75rem);  /* 34px → 76px */
  --fs-stat:  clamp(4.5rem, 3rem + 7vw, 9rem);           /* proof numbers */
  --fs-h3:    1.25rem;
  --fs-step:  clamp(1.5rem, 1.3rem + 0.8vw, 2rem);       /* form step titles, FAQ */
  --fs-lead:  clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;                                    /* uppercase spec labels */

  --fw-body: 400;
  --fw-mid:  500;
  --fw-head: 620;                                         /* headlines: firm, not bold */

  --lh-hero: 0.92;
  --lh-head: 0.98;
  --lh-body: 1.55;
  --track-hero: -0.04em;
  --track-head: -0.035em;
  --track-label: 0.07em;

  /* ---------- space (4px base) ---------- */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;  --s-5: 1.5rem;
  --s-6: 2rem;    --s-7: 3rem;   --s-8: 4.5rem;  --s-9: 7rem;  --s-10: 10rem;
  --sec-y: clamp(4.5rem, 3rem + 6vw, 10rem);              /* section rhythm */

  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --max:    90rem;

  /* ---------- lines & shape ---------- */
  --hair:  1px solid var(--line);
  --rule:  1px solid var(--ink);
  --bar:   0.5rem;            /* thick ink bar under proof numbers / panel tops */
  --radius: 0;                /* everything square: no rounded cards, no pills */
  --tap:   3.5rem;            /* fields */
  --btn-h: 3.75rem;           /* primary CTA height */

  /* ---------- motion ---------- */
  --ease:     cubic-bezier(.2, .7, .1, 1);
  --t-fast:   .18s;
  --t-med:    .45s;
  --t-slow:   .9s;
  --rise:     1.25rem;        /* scroll-reveal travel */
}
