/* Design tokens: single source for color, type, space, radius and motion. */
:root {
  /* Surfaces and lines */
  --bg: #05070d;
  --bg-2: #0a0e18;
  --bg-3: #0f1522;
  --line: rgba(148, 163, 184, 0.14);
  --line-2: rgba(148, 163, 184, 0.26);

  /* Text: --text-3 is lifted from the mockup value to stay >= 4.5:1 on --bg for small labels */
  --text: #e8edf5;
  --text-2: #a3aec2;
  --text-3: #8591a6;

  /* Accents */
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --blue: #60a5fa;

  /* Type */
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --r: 14px;

  /* Motion: short, transform/opacity only */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;

  /* Legacy aliases: sections not yet rebuilt still read these names */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-solid: var(--bg-3);
  --line-strong: var(--line-2);
  --muted: var(--text-2);
  --accent: var(--cyan);
  --accent-2: #67e8f9;
  --on-accent: #04121a;
  --font: var(--sans);
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-24: clamp(1.25rem, 2.4vw, 1.5rem);
  --fs-32: clamp(1.5rem, 3vw, 2rem);
  --fs-48: clamp(2rem, 5vw, 3rem);
  --fs-72: clamp(3rem, 8vw, 4.5rem);
  --fs-display: clamp(3.5rem, 9vw, 6.5rem);
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-72: 72px;
  --sp-112: 112px;
  --sec-y: clamp(72px, 10vw, 112px);
  --sec-y-tight: clamp(56px, 7vw, 80px);
  --max: var(--maxw);
  --r-sm: 8px;
  --r-md: var(--r);
  --r-pill: 999px;
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
}
/* Large monitors: let the container and gutters grow so content does not sit in a narrow column */
@media (min-width: 1680px) {
  :root { --maxw: 1360px; --gutter: 32px; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1560px; --gutter: 40px; }
}
