/* =========================================================
   OVERTA design tokens
   Single source of truth for colour, type, spacing and effects.
   Do not hard-code these values elsewhere; use the variables.
   ========================================================= */

:root {
  /* ---------- Colour: brand ---------- */
  --color-charcoal:       #1A1A1A;  /* page ground */
  --color-cyan:           #00B8D4;  /* Electric Cyan: primary accent */
  --color-orange:         #FF7A1A;  /* Bright Orange: action / risk accent */

  /* ---------- Colour: surfaces ---------- */
  --color-bg:             var(--color-charcoal);
  --color-bg-deep:        #141414;  /* alternating sections */
  --color-surface:        #202020;  /* raised panels */
  --color-surface-hover:  #242424;  /* active row, hover */

  /* ---------- Colour: text (all pass 4.5:1 on #1A1A1A) ---------- */
  --color-text:           #EDEDED;  /* headings, primary text */
  --color-text-2:         #C8C8C8;  /* body copy */
  --color-text-3:         #ADADAD;  /* secondary copy, nav */
  --color-muted:          #8F8F8F;  /* labels, sources, meta */
  --color-on-accent:      #1A1A1A;  /* text on cyan / orange / light buttons */

  /* ---------- Colour: semantic ---------- */
  --color-accent:         var(--color-cyan);
  --color-action:         var(--color-orange);
  --color-status-dev:     var(--color-cyan);    /* "In development" */
  --color-status-planned: var(--color-orange);  /* "Planned" */
  --color-status-done:    var(--color-text);    /* "Verified" / "Taped out" (reserved) */

  /* ---------- Lines ---------- */
  --line-1: rgba(255, 255, 255, 0.08);  /* section dividers */
  --line-2: rgba(255, 255, 255, 0.12);  /* card borders */
  --line-3: rgba(255, 255, 255, 0.20);  /* ghost buttons, nodes */
  --line-4: rgba(255, 255, 255, 0.35);  /* frame marks */

  /* ---------- Glows (backgrounds only) ---------- */
  --glow-cyan:   0, 184, 212;   /* use as rgba(var(--glow-cyan), a) */
  --glow-orange: 255, 122, 26;

  /* ---------- Type families ---------- */
  --font-display: "Space Grotesk", "Inter", "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body:    "Inter", "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", monospace;

  /* ---------- Type scale (fluid, desktop value is the max) ---------- */
  --fs-display: clamp(56px, 7.5vw, 96px);   /* OVERTA wordmark in hero */
  --fs-h2-xl:   clamp(30px, 3.2vw, 40px);    /* Join us */
  --fs-h2:      clamp(24px, 2.4vw, 30px);  /* section headings */
  --fs-stat:    clamp(36px, 3.8vw, 48px);    /* big numbers */
  --fs-h3-lg:   clamp(22px, 2vw, 26px);  /* roadmap years */
  --fs-sub:     clamp(20px, 1.8vw, 23px);  /* hero subtitle */
  --fs-h3:      19px;                      /* card titles */
  --fs-lead:    19px;                      /* hero full name */
  --fs-body-lg: 17px;
  --fs-body:    16px;
  --fs-small:   15px;                      /* card body, buttons */
  --fs-ui:      15px;                      /* nav, links, footer */
  --fs-label:   13.5px;                      /* eyebrows, tags */
  --fs-micro:   13px;                      /* mono meta, sources */

  --lh-tight: 1.15;
  --lh-head:  1.25;
  --lh-body:  1.85;

  --tracking-wordmark: 0.14em;
  --tracking-eyebrow:  0.12em;
  --tracking-display: -0.02em;

  /* ---------- Spacing (4px base) ---------- */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-7: 28px;  --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-14: 56px; --space-16: 64px;
  --space-18: 72px; --space-24: 96px; --space-30: 120px;

  /* ---------- Layout ---------- */
  --container: 1280px;
  --gutter: clamp(20px, 3vw, 40px);
  --section-pad: clamp(40px, 4.5vw, 64px);
  --nav-h: 64px;
  --control-h: 40px;     /* buttons, inputs (>= 44px touch target) */
  --control-h-sm: 36px;  /* nav button */

  /* ---------- Shape ---------- */
  --radius: 2px;         /* the only radius in the system */

  /* ---------- Motion ---------- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 240ms;
}
