/*
  Design tokens. Visual direction: readme.com (blueprint grid, deep navy panels, editorial serif
  headlines with coloured italic emphasis, mono section labels, electric-blue pill buttons).
  Fonts are open substitutes for readme's commercial STK Bureau family.
*/

:root {
  /* Type */
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --text-display: clamp(2.6rem, 1.6rem + 4vw, 4.5rem);

  /* Palette */
  --color-navy-950: #04062e;
  --color-navy-900: #070b45;
  --color-navy-800: #10166a;
  --color-navy-line: rgba(130, 150, 255, 0.14);

  --color-blue-600: #1238f0;
  --color-blue-500: #2f55ff;
  --color-blue-400: #4fa9ff;
  --color-blue-100: #e6edff;
  --color-blue-50: #f3f6ff;

  --color-violet-950: #12052e;
  --color-violet-900: #1f0a4d;
  --color-violet-700: #4b16b8;
  --color-violet-500: #8f2cf0;
  --color-violet-300: #c3a4ff;
  --color-violet-line: rgba(195, 164, 255, 0.14);

  --color-black: #0b0b0e;
  --color-black-800: #16161b;
  --color-black-line: rgba(255, 255, 255, 0.08);

  --color-blue-line: rgba(255, 255, 255, 0.16);
  --color-teal-500: #11a37f;
  --color-amber-500: #c27a00;
  --color-amber-50: #fff6e5;

  --color-ink: rgba(0, 0, 0, 0.86);
  --color-ink-muted: rgba(0, 0, 0, 0.58);
  --color-ink-faint: rgba(0, 0, 0, 0.4);
  --color-page: #ffffff;
  --color-surface: #ffffff;
  --color-surface-sunken: #f7f8fb;
  --color-line: #e9ebf2;
  --color-line-strong: #d9dce6;
  --color-grid: #f0f2f7;

  /* Verdicts. Deliberately no green/red: "holds up" must never read as "safe". */
  --color-verdict-holds: var(--color-blue-600);
  --color-verdict-holds-bg: var(--color-blue-50);
  --color-verdict-not: var(--color-amber-500);
  --color-verdict-not-bg: var(--color-amber-50);
  --color-verdict-unclear: #5b6070;
  --color-verdict-unclear-bg: #f1f2f5;

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

  --shadow-card: 0 1px 2px rgba(10, 20, 80, 0.05), 0 8px 24px -12px rgba(10, 20, 80, 0.12);
  --shadow-float: 0 12px 40px -12px rgba(10, 20, 80, 0.28);

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --content-width: 1120px;
  --gutter: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}
