/*
  Fraunces and Inter are variable fonts (SIL Open Font License, Google Fonts).
  Self-hosted locally — one variable file per family, no runtime CDN request.
*/
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}

:root {
  /* Brand palette (locked) */
  --color-bg: #FAF7F0;
  --color-accent: #2D6CDF;
  --color-amber: #F2A93C;
  --color-charcoal: #16233D;
  --color-white: #FFFFFF;
  --color-hero-band: #F2E8D6;
  --color-signup-panel: #FCFBF8;
  --color-accent-hover: #2559B7;

  /* Derived tints, for subtle surfaces/borders — not new brand colors */
  --color-accent-tint: rgba(45, 108, 223, 0.08);
  --color-accent-border: rgba(45, 108, 223, 0.25);
  --color-charcoal-muted: rgba(22, 35, 61, 0.62);
  --color-charcoal-faint: rgba(22, 35, 61, 0.12);

  /* Typography */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --fs-hero: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  --fs-h1: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  --fs-h2: 1.5rem;
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;

  /* Shape + elevation */
  --radius-card: 16px;
  --radius-input: 10px;
  --radius-form: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 8px rgba(22, 35, 61, 0.08);
  --shadow-card-hover: 0 10px 24px rgba(22, 35, 61, 0.16);

  /* Motion */
  --ease-base: 220ms ease;
  --ease-fast: 100ms ease;
  --ease-hover: 180ms ease;

  /* Layout */
  --content-width: 1120px;
}
