/* Type system: named text styles. Tokens are custom properties; utilities (.t-*) apply them.
   Page CSS references these tokens (values unchanged from the pre-token CSS). --sans/--mono come from each page's :root. */
:root{
  /* Sans (Instrument Sans) */
  --t-display:400 clamp(40px,6.2vw,76px)/1.02 var(--sans);          --t-display-ls:-.032em;  /* FMSS hero h1 */
  --t-stat:400 clamp(48px,6vw,80px)/1 var(--sans);                  --t-stat-ls:-.05em;      /* FMSS results number */
  --t-stat-s:400 clamp(36px,4.6vw,56px)/1 var(--sans);              --t-stat-s-ls:-.05em;    /* .stat b */
  --t-h2:400 clamp(28px,3.2vw,36px)/1.15 var(--sans);               --t-h2-ls:-.02em;        /* section headings */
  --t-h2-s:400 clamp(26px,3vw,34px)/1.1 var(--sans);                --t-h2-s-ls:-.04em;      /* next-project title */
  --t-h3:500 20px/1.3 var(--sans);                                  --t-h3-ls:-.015em;
  --t-lead-hero:400 clamp(20px,2.2vw,26px)/1.4 var(--sans);         --t-lead-ls:-.01em;      /* hero summary */
  --t-lead-size:clamp(20px,2vw,23px);   --t-lead-lh:1.55;            /* p.lead */
  --t-quote-size:clamp(20px,2.1vw,24px);--t-quote-lh:1.45;           /* blockquote */
  --t-body:400 18px/28px var(--sans);   --t-body-m-size:17px; --t-body-m-lh:26px; /* FMSS body: 18/28 desktop, 17/26 mobile */
  --t-body-home:400 16px/1.6 var(--sans);                            /* home base */
  --t-s16:16px; --t-s15:15px; --t-s14:14px; --t-s13:13px; --t-s12:12px; /* small sans sizes */
  /* Bitcount Grid Single */
  --t-label:400 14px/1 "Bitcount Grid Single",var(--mono); --t-label-ls:.04em; --t-label-ws:-.32em; /* chrome: logo, nav, footer, header label */
  --t-brand:400 15px/1 "Bitcount Grid Single",var(--mono);           /* base brand rule (overridden to 14px) */
  --t-gate-logo:400 18px/1 "Bitcount Grid Single",monospace;
  /* SF Pro (the system face on Apple devices; Inter / Helvetica elsewhere): the Reels overlay text roles, ONE style per role for every
     Reels prototype (VAC hero and proto, MAC, SAP, CC, FMSS). Figma XYE8LCJVe0rHhnEB5DA18A: FMSS 140796:6703/6730/6731, VAC 140796:12026-12043.
     Tracking is the Figma (Apple HIG) value, applied ONCE: the system font also carries it in its own 'trak' table, which Safari and Chrome
     on macOS / iOS add on top of letter-spacing (15px: −0.23px a glyph again), so live text came out about twice as tight as the Figma
     raster beside it (VAC's baked name and CTA vs SAP's live CTA, Nov 2026). --t-sf-ft turns the font's own tracking off; set it AFTER
     the font shorthand (which resets font-feature-settings): font:var(--t-r-cap);letter-spacing:var(--t-r-cap-ls);font-feature-settings:var(--t-sf-ft) */
  --t-sf:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro","Segoe UI",Roboto,"Inter","Helvetica Neue",Arial,sans-serif;
  --t-sf-ft:"trak" 0;
  --t-r-name:600 15px/20px var(--t-sf);  --t-r-name-ls:-.24px;   /* author name (Figma 590 Semibold); the 2:04 timer */
  --t-r-sp:400 12px/16px var(--t-sf);    --t-r-sp-ls:0;          --t-r-sp-c:rgba(255,255,255,.7);  /* "Sponsored" / "Ad" (VAC) */
  --t-r-cap:400 15px/20px var(--t-sf);   --t-r-cap-ls:-.24px;    --t-r-more-c:rgba(255,255,255,.8); /* caption; "more" (FMSS 140796:6730) */
  --t-r-cta:600 15px/20px var(--t-sf);   --t-r-cta-ls:-.24px;    /* the video ad CTA label (css/ad-cta.css) */
  --t-r-count:600 13px/16px var(--t-sf); --t-r-count-ls:-.08px;  /* UFI counts (preview/shared/ufi) */
  --t-r-input:400 15px/20px var(--t-sf); --t-r-input-ls:-.24px;  /* "Add a comment…" */
  --t-r-body-s:400 13px/16px var(--t-sf);--t-r-body-s-ls:-.08px; /* 13/16 secondary text */
  --t-r-tab:600 17px/22px var(--t-sf);   --t-r-tab-ls:-.41px;    /* 17/22 headline (CC tabs) */
  --t-r-sp-st:600 13px/16px var(--t-sf); --t-r-sp-st-ls:-.08px; --t-r-sp-st-c:rgba(255,255,255,.8); /* "Sponsored" in the Stories header (FMSS Solution 2, Figma 590 13/16) */
  --t-r-title:700 17px/17px var(--t-sf); --t-r-title-ls:-.2px;   /* the app bar title (preview/shared/appbar: Profile & Browse) */
}
/* Device screens (the .phone of every prototype, FMSS Solution 2's .scr): text renders as iOS draws it, grayscale anti-aliasing with no
   macOS font smoothing. Without it macOS (Safari and Chrome, -webkit-font-smoothing:auto) runs CoreText's stem darkening on live text,
   heaviest on white-on-dark: VAC proto's live Reels name, Sponsored and caption came out about 20% heavier than the same roles in the
   other prototypes and the Figma raster beside them (P stem 4.1px vs 3.4px at 2x, Nov 2026). Inherited by every Reels text role
   (--t-r-*) on the screen; :where keeps it at zero specificity. The VAC hero sets the same on its screen (css/card.css .cv-scr.vac). */
:where(.phone,.scr){-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.t-display{font:var(--t-display);letter-spacing:var(--t-display-ls)}
.t-stat{font:var(--t-stat);letter-spacing:var(--t-stat-ls)}
.t-h2{font:var(--t-h2);letter-spacing:var(--t-h2-ls)}
.t-h3{font:var(--t-h3);letter-spacing:var(--t-h3-ls)}
.t-lead{font-size:var(--t-lead-size);line-height:var(--t-lead-lh);letter-spacing:var(--t-lead-ls)}
.t-body{font:var(--t-body);text-wrap:pretty} /* no one-word last lines (widows) in body copy, site-wide */
.t-label{font:var(--t-label);letter-spacing:var(--t-label-ls);word-spacing:var(--t-label-ws)}
.t-mono{font-family:var(--mono);font-size:var(--mono-size);letter-spacing:var(--mono-ls);word-spacing:-.32em}
.t-caption{font-size:var(--t-s13);line-height:1.5}
