/* Tokens for the 4ward guidance holding page.
 *
 * Not new tokens. Every value is lifted from the product system
 * (src/app/globals.css, brand brief section 4) so the holding page and the site
 * that replaces it are one brand. Hex is kept as hex on purpose: the brief's
 * contrast ratios were measured from these exact values.
 *
 * Standalone by design: nginx serves this with no build step behind it, so it
 * imports nothing from src/. Dark follows the operating system, because a
 * static page with no script has no toggle to set a class from.
 */

:root {
  color-scheme: light dark;

  /* Paper and ink */
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eceef5;
  --fg: #12162a;
  --fg-muted: #4a5470;
  --fg-subtle: #5c6680;
  --border: #dde1ec;

  /* Accent: fill for shapes, ink for words. Never swap them (brief 4.3). */
  --accent: #3b6fe0;
  --accent-ink: #2554c7;
  --on-accent: #ffffff;
  --accent-plate: #2554c7;

  /* Maturity: the dot is the fill, the word is the ink. not_yet is deliberately grey. */
  --pos: #22c08a;
  --pos-ink: #0f7a55;
  --warn: #f2a93b;
  --warn-ink: #a35c00;
  --neutral: #939cb5;

  /* Type: one family, weight-led. Scale 12 / 14 / 16 / 20 / 24 / 32 / 44 / 64. */
  --font-sans:
    'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-4xl: 4rem;

  /* Space, 4px scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --measure: 68ch;
  --content: 1200px;

  /* Motion: 160ms for entrances, nothing moves more than 6px, nothing loops. */
  --dur: 160ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shift: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e1a;
    --surface: #1a2035;
    --surface-2: #21273a;
    --fg: #f6f7fb;
    --fg-muted: #c3c9da;
    --fg-subtle: #939cb5;
    --border: #333b54;

    --accent: #6d99ee;
    --accent-ink: #6d99ee;
    --on-accent: #0b0e1a;
    --accent-plate: #6d99ee;

    --pos: #3fd9a3;
    --pos-ink: #3fd9a3;
    --warn: #f6bb5e;
    --warn-ink: #f6bb5e;
    --neutral: #939cb5;
  }
}
