/* ==========================================================================
   Design tokens
   The single source of truth for colors, type, spacing and motion.
   Retheme the site by editing this file only.
   ========================================================================== */

:root {
  /* ---- Brand (estimated from the logo; replace with official values) ---- */
  --brand-blue: #0b6fb8;
  --brand-teal: #13938f;
  --brand-lime: #8cc63f;
  --brand-green: #0e6b3a;
  --brand-green-hover: #0a5530;
  --brand-green-tint: rgb(14 107 58 / 0.08);
  --brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-teal) 50%, var(--brand-lime));

  /* ---- Neutrals ---- */
  --ink-900: #0f1a17;
  --ink-700: #34423d;
  --ink-500: #66746f;
  --line: #dde3e0;
  --surface: #ffffff;
  --surface-alt: #f4f7f5;
  --surface-dark: #0b1f17;

  /* ---- Status ---- */
  --error: #c62828;
  --success: var(--brand-green);
  --focus-ring: var(--brand-blue);

  /* ---- Typography ---- */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-brand: "Audiowide", var(--font-display);

  /* Fluid sizes scale between a 360px and 1280px viewport */
  --fs-xs: 0.8125rem;
  --fs-sm: clamp(0.875rem, 0.851rem + 0.109vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.951rem + 0.217vw, 1.125rem);
  --fs-md: clamp(1.1875rem, 1.114rem + 0.326vw, 1.375rem);
  --fs-lg: clamp(1.375rem, 1.228rem + 0.652vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.457rem + 1.304vw, 2.5rem);
  --fs-2xl: clamp(2.125rem, 1.587rem + 2.391vw, 3.5rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);

  --lh-display: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.6;

  --tracking-tight: -0.02em;
  --tracking-label: 0.12em;

  --measure: 65ch;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --section-y: clamp(4rem, 2.043rem + 8.696vw, 9rem);
  --gutter: clamp(1rem, 0.609rem + 1.739vw, 2rem);

  /* ---- Layout ---- */
  --container: 75rem;
  --container-wide: 85rem;
  --container-narrow: 45rem;
  --header-height: 4.75rem;

  /* ---- Shape ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(15 26 23 / 0.06), 0 2px 8px rgb(15 26 23 / 0.04);
  --shadow-md: 0 4px 12px rgb(15 26 23 / 0.08), 0 12px 32px rgb(15 26 23 / 0.08);

  /* ---- Motion ---- */
  --duration-fast: 0.2s;
  --duration-base: 0.5s;
  --duration-slow: 0.9s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Layers ---- */
  --z-header: 100;
}
