/* ── Design tokens — single source of truth for the visual layer.
 * Swap this whole file to re-skin the page; no HTML / content / component
 * CSS changes required. */

:root {
  color-scheme: dark;

  /* Color — Surface */
  --color-bg-0: #0B0C0E;
  --color-bg-1: #14161A;
  --color-bg-2: #1B1E24;
  --color-bg-elev: #20242B;

  /* Color — Border / Divider */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  /* Color — Text */
  --color-text-1: #F5F7FA;
  --color-text-2: #A8B0BB;
  --color-text-3: #6B7380;

  /* Color — Accent */
  --color-accent: #4FB3C9;
  --color-accent-hover: #6CC3D7;
  --color-accent-soft: rgba(79, 179, 201, 0.12);
  --color-accent-on: #06121A;

  /* Color — Status (reserved) */
  --color-success: #5BC890;
  --color-danger: #E36F6F;

  /* Typography */
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display-serif: "Instrument Serif", "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-display-1: clamp(3rem, 13vw, 10em);
  --fs-display-2: clamp(2rem, 4.5vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --letter-tight: -0.02em;
  --letter-normal: 0;
  --letter-wide: 0.04em;

  /* Spacing — vertical rhythm */
  --space-section-y: clamp(64px, 9vw, 120px);
  --space-container-x: clamp(20px, 4vw, 48px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Layout */
  --layout-max-w: 1200px;
  --layout-narrow-w: 760px;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-card-hover: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-cta: 0 8px 24px rgba(79, 179, 201, 0.18);

  /* Motion */
  --easing-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --easing-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-base: 220ms;
  --duration-slow: 480ms;

  /* Z-index */
  --z-nav: 50;
  --z-modal: 100;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
    --duration-slow: 0ms;
  }
}
