@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Archivo:wght@400;500;600;700&display=swap');

/* =============================================================
   AICSS Project 1 — Zoox Design Tokens
   -------------------------------------------------------------
   The single source of truth for the Zoox-derived design system,
   extracted from DESIGN(2).md and verified against the live
   https://zoox.com/ homepage (see ZOOX_DESIGN_ANALYSIS.md).

   Zoox substitute fonts: GT Standard S -> Inter (UI/body),
   GT Standard L -> Archivo (wide display headlines).

   Loaded FIRST on every page so both css/site-shell.css and
   css/aicss-theme.css can consume these variables.
   ============================================================= */

:root {
  /* ---- Colour palette (DESIGN(2).md tokens, confirmed on zoox.com) ---- */
  --color-sage-canvas: #d3e4df;  /* dominant page background */
  --color-pure-white:  #ffffff;  /* card / image surfaces */
  --color-mint-frost:  #edf4f2;  /* secondary / soft card surface */
  --color-carbon:      #0d1212;  /* primary text, footer, darkest surface */
  --color-graphite:    #34484a;  /* deep-forest dark feature sections, borders */
  --color-slate:       #565959;  /* secondary body text, footer links */
  --color-fog:         #9aa3a5;  /* tertiary text, placeholders */
  --color-mist:        #7b8889;  /* uppercase eyebrow / small-caps labels */
  --color-vivid-teal:  #64d5b3;  /* the ONLY chromatic fill — primary CTA */
  --color-eucalyptus:  #5b8279;  /* in-system desaturated accent (never a CTA) */

  /* Hairline border tints derived from the palette */
  --color-hairline:        rgba(13, 18, 18, 0.12); /* on light surfaces */
  --color-hairline-strong: rgba(13, 18, 18, 0.20);
  --color-hairline-dark:   rgba(255, 255, 255, 0.16); /* on dark surfaces */

  /* ---- Typography ---- */
  --font-gt-standard-s: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-gt-standard-l: 'Archivo', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: var(--font-gt-standard-s);
  --font-display: var(--font-gt-standard-l);

  /* Type scale (DESIGN(2).md) */
  --text-caption: 12px;      --leading-caption: 1.5;    --tracking-caption: 0.6px;
  --text-body-sm: 14px;      --leading-body-sm: 1.4;    --tracking-body-sm: 0.14px;
  --text-body: 16px;         --leading-body: 1.5;       --tracking-body: 0.16px;
  --text-subheading: 20px;   --leading-subheading: 1.3; --tracking-subheading: -0.02px;
  --text-heading-sm: 23px;   --leading-heading-sm: 1.28;
  --text-heading: 30px;      --leading-heading: 1.25;   --tracking-heading: -0.03px;
  --text-heading-lg: 40px;   --leading-heading-lg: 1.2; --tracking-heading-lg: -0.04px;
  --text-display-sm: 56px;   --leading-display-sm: 1.1;
  --text-display: 120px;     --leading-display: 1.1;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ---- Spacing scale (4px base) ---- */
  --spacing-4: 4px;    --spacing-8: 8px;    --spacing-12: 12px;  --spacing-16: 16px;
  --spacing-20: 20px;  --spacing-24: 24px;  --spacing-32: 32px;  --spacing-36: 36px;
  --spacing-40: 40px;  --spacing-60: 60px;  --spacing-80: 80px;  --spacing-100: 100px;
  --spacing-160: 160px;

  /* ---- Layout ---- */
  --page-max-width: 1200px;
  --section-gap: 80px;
  --card-padding: 24px;
  --element-gap: 12px;

  /* ---- Border radius (DESIGN(2).md) ---- */
  --radius-cards: 36px;
  --radius-badges: 20px;
  --radius-inputs: 16px;
  --radius-buttons: 12px;
  --radius-nav-pill: 16px;

  /* ---- Surfaces ---- */
  --surface-sage-canvas: var(--color-sage-canvas);
  --surface-pure-white: var(--color-pure-white);
  --surface-mint-frost: var(--color-mint-frost);
  --surface-deep-forest: var(--color-graphite);
}
