/* tokens.css — design tokens and self-hosted fonts only. No selectors below :root.
   Source of truth: collideascope-staging.instawp.co (Pro/Cornerstone inline CSS, read 2026-09-08).
   Property names mirror the site's own custom properties so a future sync is a find-and-replace.
   CSP is style-src 'self' / font-src 'self': every font is served from /static/fonts/. */

/* Roboto v51 (Google Fonts, latin subset). Variable font, wght 100–900: one file per style covers 400 and 700. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/roboto-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/roboto-italic-latin.woff2") format("woff2");
}

/* Castoro v20 (Google Fonts, latin subset). Static 400 only; the site sets headings to 700, which browsers synthesize. */
@font-face {
  font-family: "Castoro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/castoro-regular-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Castoro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/castoro-italic-latin.woff2") format("woff2");
}

:root {
  /* Color — site names */
  --primary-1a: #1E344D;   /* navy: headings, primary text, selected borders */
  --primary-1b: #4B5563;   /* body gray */
  --text-1a: #1E344D;
  --text-1b: #4B5563;
  --secondary-1a: #E3886E; /* coral: the primary action, the "missing" marker */
  --secondary-1b: #C87157; /* coral, darker */
  --secondary-hover: #C76E55; /* site link hover */
  --tertiary-1a: #95B6AA;  /* sage */
  --tertiary-1b: #A2DEC8;  /* sage, lighter: default bar fill (site statbars) */
  --tertiary-1c: #477B65;  /* sage, darker: wedge / weakest marker */
  --tertiary-bright: #5BCBA1;
  --accent-1: #FAF8F6;     /* cream surface */
  --accent-2: #E5E7EB;     /* light gray: borders, bar track */
  --gray-mid: #9CA3AF;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-1a: #00000015;
  --shadow-1b: #0000002A;
  --shadow-1c: #0000005A;

  /* Type — site families and fluid scale */
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Castoro", Georgia, "Times New Roman", serif;
  --fs-sm: clamp(0.8rem, 0.17vi + 0.76rem, 0.89rem);
  --fs-base: 1rem;
  --fs-md: clamp(1.25rem, 0.61vi + 1.1rem, 1.58rem);
  --fs-lg: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
  --fs-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
  --fs-xxl: clamp(2.44rem, 2.38vi + 1.85rem, 3.75rem);
  --lh-body: 1.7;
  --lh-heading: 1.2;
  --lh-display: 1.1;
  --eyebrow-tracking: 0.16em;

  /* Shape and space */
  --radius: 8px;              /* site buttons and cards (Cornerstone .x-anchor, feature cards) */
  --shadow-card: 0 0.15em 2em 0 var(--shadow-1a);
  --gap-sm: 1em;
  --gap-md: 2em;
  --gap-lg: 3em;
  --measure: 44rem;           /* question screens */
  --measure-wide: 56rem;      /* results */
  --tap: 2.75rem;             /* 44px minimum target */
  --motion: 150ms;            /* the only transition duration; zeroed under reduced motion */
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0s; }
}
