/* ============================================================
   PageWeight — design tokens
   Wynter-derived system (sampled 2026-10-02). Light theme only.
   This file contains ONLY custom properties — no selectors.
   ============================================================ */

:root {
  /* ---- Palette ---- */
  --color-yellow: #FFDE00;      /* accent: hero, buttons, highlights */
  --color-ink: #161616;         /* text, borders, footer, buttons-on-yellow */
  --color-white: #FFFFFF;       /* body background */
  --color-gray-bg: #F5F5F2;     /* alternating sections */
  --color-ink-soft: #55554F;    /* muted text — 7.5:1 on white, 6.9:1 on gray (AA) */
  --color-gray-line: #E0E0DA;   /* hairline dividers only — never for text */

  /* ---- Type ---- */
  --font-sans: 'Geist', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Body text sizes stay fixed (13/14/16px must not shrink on phones).
     Display sizes are fluid: floor at 360px, exact value from 1200px up. */
  --text-xs:   0.8125rem;   /* 13px — labels, captions */
  --text-sm:   0.875rem;    /* 14px — secondary copy */
  --text-base: 1rem;        /* 16px — body */
  --text-md:   clamp(16px, 15.143px + 0.238vw, 18px); /* leads: 16→18px */
  --text-lg:   clamp(19px, 17.714px + 0.357vw, 22px); /* card titles: 19→22px */
  --text-xl:   clamp(22px, 19.429px + 0.714vw, 28px); /* H3, prices: 22→28px */
  --text-2xl:  clamp(27px, 23.143px + 1.071vw, 36px); /* H2: 27→36px */
  --text-3xl:  3rem;        /* 48px — price-big only, desktop element */
  --text-hero: clamp(2.75rem, 1.2rem + 5vw, 4.5rem); /* fluid hero */

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-black: 800;

  --leading-tight: 1.1;     /* headings */
  --leading-body: 1.6;      /* paragraphs */
  --tracking-tight: -0.02em; /* extra-bold headings */

  /* ---- Spacing (4px base; the three largest rhythm steps are fluid:
     floor at 360px, exact value from 1200px up — phones get proportionate
     breathing room instead of desktop-sized gaps) ---- */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs:  0.5rem;   /* 8px */
  --space-s:   1rem;     /* 16px */
  --space-m:   1.5rem;   /* 24px */
  --space-l:   2rem;     /* 32px */
  --space-xl:  clamp(36px, 30.857px + 1.429vw, 48px);  /* 36→48px */
  --space-2xl: clamp(40px, 29.714px + 2.857vw, 64px);  /* 40→64px */
  --space-3xl: clamp(56px, 38.857px + 4.762vw, 96px);  /* 56→96px — section rhythm */
  --space-4xl: clamp(72px, 48px + 6.667vw, 128px);     /* 72→128px — legal/result tail */

  /* ---- Borders ---- */
  --border: 1.5px solid var(--color-ink);       /* cards, inputs */
  --border-bold: 2px solid var(--color-ink);    /* frames, key cards */
  --radius-sm: 4px;
  --radius: 6px;   /* maximum radius anywhere on the site */

  /* ---- Shadows: hard offset, no blur ---- */
  --shadow-hard: 4px 4px 0 var(--color-ink);
  --shadow-hard-lg: 6px 6px 0 var(--color-ink);

  /* ---- Layout ---- */
  --container: 1160px;
  --nav-height: 64px;
  --container-pad: clamp(16px, 8.941px + 1.961vw, 24px); /* 16→24px, full at 768px */

  /* ---- Motion ---- */
  --transition: 150ms ease;
}
