/* Design tokens (vibrant marketing twin of product palette).
   Extracted verbatim from app/public/landing.html. */

/* The marketing site's own fonts, self-hosted in /v2/fonts (FANTENNA-2054):
   headings in Plus Jakarta Sans, reading text in Figtree, anything
   monospaced in Geist Mono - the app's type. Latin subsets only: they cover
   every character the en, fr, es and de pages use. build-landing-v2.mjs reads
   these rules and preloads each file, so the first paint is not in Arial.
   Licences: OFL-*.txt beside the files; register: documents/legal/fonts.yaml. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/v2/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/v2/fonts/figtree-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/v2/fonts/geist-mono-latin-600.woff2") format("woff2");
}
/* One size setting for the whole site (Tom, 16 Nov 2026). Every fixed size in
   these stylesheets is written as calc(Npx * var(--s, 1)), so the site's
   scale is this one number. Desktop windows get 90%, which Tom judged right
   against Chrome's zoom; phones and tablets stay at 100%. Change the number
   here, never a size in a section file. */
:root { --s: 1; }
@media (min-width: 1024px) { :root { --s: 0.9; } }

:root {
  /* 2026-05-20: aligned to the Figma palette. Keep in lockstep with
     app/src/v2/design/tokens.css. */
  --bg:        #F8F8FA;
  --paper:     #FFFFFF;
  --paper-2:   #F5F7FB;
  --ink:       #0A0A0A;
  --ink-2:     #4A4A48;
  /* --ink-3 darkened from #8B8B85 -> #6F6F6A so small text (foot col h4,
     trust caption, foot bottom mono, foot__cookies link) meets WCAG AA
     4.5:1 against --bg (#F8F8FA). Headings still read as subdued.
     Tom 2026-05-26 (a11y pass). */
  --ink-3:     #6F6F6A;
  --rule:      #F5F7FB;

  --coral:     #EC6B4F;
  /* Orange that carries text (FANTENNA-1927): white on it reads 4.8:1. */
  --coral-fill: #C6482D; --coral-fill-hover: #A93B23; --on-coral: #FFFFFF;
  /* Darker coral for text use. The brand coral fails AA on light
     backgrounds at body sizes. The previous #FF5B3E only reached ~2.9:1
     on --bg (the "~5:1" claim was wrong); #C73D20 lands 4.8:1 on --bg /
     5.1:1 on white - AA for body - while staying in the coral hue. Used
     by .eyebrow, .hero__tagline, .stage__num. Tom 2026-06-24 (a11y fix). */
  --coral-ink: #C73D20;
  --teal:      #3F8FA0;
  --mint:      #6FD9B0;
  --peri:      #7022F5;
  --navy:      #0E2632;
  --paper-dark:#001C2D;
  --lime:      #B7E84C;
  --sun:       #FFC842;

  --coral-soft:#FCDBC7;
  --teal-soft: #D6EAEF;
  --mint-soft: #D6F4E6;
  --peri-soft: #E5D2F4;
  --lime-soft: #EFFAD3;
  --sun-soft:  #FFF4D2;

  --sans:    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Figtree", sans-serif;
  /* Monospace is retired from the public site as a display, label or meta
     face (conventions.md), swept on 2026-07-22. The one place left that asks
     for it, the cookie manager's heading in consent.css, gets Geist Mono. */
  --mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Single section-headline size (.h-1) shared by every section, so
     headlines read as one system instead of drifting per-section.
     Tom 2026-07-22. Do not override .h-1 font-size in an individual
     section stylesheet - change this token instead. */
  /* The floor is min(32px, 7.6vw) rather than 32px since the move to Plus
     Jakarta Sans 800 (FANTENNA-2054), which sets wider than Archivo 700: on a
     phone, "Your questions answered." no longer fits at 32px and left one
     word on its own line. 7.6vw keeps it to one line down to 360px wide. */
  --fs-section-h1: clamp(min(calc(32px * var(--s, 1)), calc(7.6vw * var(--s, 1))), calc(3.6vw * var(--s, 1)), calc(52px * var(--s, 1)));
}
