/*
 * Onatal design tokens — served from xis/onatal/public/brand/.
 * Source notes: onatal-astro + onatal-23 (www.onatal.nl).
 *
 * Portal homepage uses navy as the calm field, purple/teal as accents —
 * not a purple-to-indigo marketing gradient.
 */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./fonts/lato-300.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/lato-400.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/lato-700.woff2") format("woff2");
}

:root {
  /* Topbar lockup: "mijn onatal" wordmark, including the j descender */
  --brand-logo-height: 2.05rem;
  --brand-logo-shift: 0;

  /* Color */
  --brand-primary: #790479;
  --brand-cta: #7b61ff;
  --brand-secondary: #24305e;
  --brand-accent: #31c1cc;
  --brand-tint: #f6f4ff;
  --brand-tint-strong: #e4dfff;
  --brand-ink: #33364a;
  --brand-ink-muted: #656a82;
  --brand-logo-ink: #1d1d1b;
  --brand-surface: #ffffff;
  --brand-surface-muted: #f5f5f5;
  --brand-on-primary: #ffffff;
  --brand-on-cta: #ffffff;

  /* Radii */
  --brand-radius-sm: 0.5rem;
  --brand-radius: 0.625rem;
  --brand-radius-md: 0.75rem;
  --brand-radius-lg: 1rem;
  --brand-radius-xl: 1.25rem;
  --brand-radius-pill: 999px;

  /* Shadows (navy-tinted) */
  --brand-shadow-sm: 0 6px 18px rgba(36, 48, 94, 0.06);
  --brand-shadow: 0 8px 22px rgba(36, 48, 94, 0.1);
  --brand-shadow-lg: 0 12px 30px rgba(35, 20, 70, 0.12);
  --brand-shadow-xl: 0 18px 40px rgba(20, 30, 70, 0.14);

  /* Type — Lato (self-hosted; matches onatal-23) */
  --brand-font-sans: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --brand-font-display: var(--brand-font-sans);
  --brand-text-xs: 0.75rem;
  --brand-text-sm: 0.875rem;
  --brand-text-md: 1rem;
  --brand-text-lg: 1.125rem;
  --brand-text-xl: 1.25rem;
  --brand-text-2xl: 1.5rem;
  --brand-text-3xl: 1.875rem;
  --brand-text-4xl: 2.25rem;
  --brand-leading-tight: 1.2;
  --brand-leading: 1.5;
  --brand-leading-relaxed: 1.6;

  /* Spacing */
  --brand-space-1: 0.25rem;
  --brand-space-2: 0.5rem;
  --brand-space-3: 0.75rem;
  --brand-space-4: 1rem;
  --brand-space-5: 1.25rem;
  --brand-space-6: 1.5rem;
  --brand-space-8: 2rem;
  --brand-space-10: 2.5rem;
  --brand-space-12: 3rem;
  --brand-space-16: 4rem;
  --brand-container: 80.9375rem;
}
