/* Design tokens. The only place where raw color, font and timing values live. */
:root {
  /* Brand colors */
  --color-navy: #13294b;
  --color-navy-deep: #0f203b;
  --color-green: #1f5130;
  --color-green-hover: #183f26;
  --color-green-bright: #2f7d3a;
  --color-gold: #c9a24a;

  /* Neutrals */
  --color-white: #ffffff;
  --color-cream: #f7f5ef;
  --color-sand: #efebe1;
  --color-text: #2c3443;
  --color-muted: #5c6574;
  --color-line: #e3e0d6;
  --color-field-line: #d6d9df;
  --color-error: #b3261e;

  /* Transparent tones */
  --color-white-80: rgb(255 255 255 / 0.8);
  --color-white-60: rgb(255 255 255 / 0.6);
  --color-white-15: rgb(255 255 255 / 0.15);
  --color-header-bg: rgb(255 255 255 / 0.86);
  --color-hero-fade: rgb(255 255 255 / 0.92);
  --color-hero-fade-mid: rgb(255 255 255 / 0.55);
  --color-shadow: rgb(19 41 75 / 0.08);
  --color-shadow-strong: rgb(19 41 75 / 0.16);
  --color-focus: rgb(47 125 58 / 0.35);

  /* Typography */
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.8vw, 4rem);

  /* Spacing */
  --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;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);

  /* Layout */
  --container: 76rem;
  --header-h: 4.5rem;

  /* Shape */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px var(--color-shadow), 0 8px 24px var(--color-shadow);
  --shadow-raised: 0 18px 40px var(--color-shadow-strong);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 800ms;
}
