/* Clear Light / 04-2. */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  color-scheme: light;
  --h2-paper: #f7f8f6;
  --h2-surface: #ffffff;
  --h2-surface-sunk: #eef2ef;
  --h2-ink: #172622;
  --h2-ink-2: #52635c;
  --h2-ink-3: #607068;
  --h2-line: #dbe2dc;
  --h2-line-strong: #a8b7ae;
  --h2-action: #075c43;
  --h2-action-hover: #064c38;
  --h2-action-ink: #ffffff;
  --h2-link: #154d99;
  --h2-focus: #195db2;
  --h2-emerald: #006340;
  --h2-teal: #007b83;
  --h2-blue: #154d99;
  --h2-spectrum: linear-gradient(110deg, #006340, #007b83 50%, #154d99);
  --h2-danger: #a13636;
  --h2-warning: #526078;
  --h2-success: #154d99;

  /* Discrete categories, never a spectrum or a red/green scale. */
  --h2-chart-1: #154d99;
  --h2-chart-2: #607f9d;
  --h2-chart-3: #8d9eb0;
  --h2-chart-4: #b4c1cb;
  --h2-chart-5: #304354;
  --h2-chart-6: #6c747c;
  --h2-chart-7: #939aa0;
  --h2-chart-8: #c7cdd1;
  --h2-chart-dim: #d5dde2;
  --h2-chart-grid: #e6ebe7;
  --h2-chart-axis: #52635c;

  --h2-font-ui: "Inter", Arial, sans-serif;
  --h2-font-display: "H2 Serif", Georgia, serif;
  --h2-font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --h2-text-xs: 12px;
  --h2-text-sm: 13px;
  --h2-text-md: 16px;
  --h2-text-lg: 18px;
  --h2-text-xl: 22px;
  --h2-text-2xl: 32px;
  --h2-text-3xl: 48px;
  --h2-text-display: clamp(48px, 5.4vw, 76px);
  --h2-leading-tight: 1.08;
  --h2-leading-body: 1.6;

  --h2-space-1: 4px;
  --h2-space-2: 8px;
  --h2-space-3: 12px;
  --h2-space-4: 16px;
  --h2-space-5: 24px;
  --h2-space-6: 32px;
  --h2-space-7: 48px;
  --h2-space-8: 64px;
  --h2-radius-control: 5px;
  --h2-radius-card: 8px;
  --h2-radius-floating: 8px;
  --h2-shadow-1: 0 8px 24px #173b2512;
  --h2-shadow-2: 0 12px 36px #173b2520;
  --h2-ease: cubic-bezier(.16, 1, .3, 1);
  --h2-dur-fast: 140ms;
  --h2-dur-normal: 240ms;
  --h2-max-width: 1280px;
  --h2-gutter: clamp(20px, 4vw, 48px);
  --h2-header-height: 88px;

  /* Shared screen aliases. */
  --v1-ink: var(--h2-ink);
  --v1-muted: var(--h2-ink-2);
  --v1-paper: var(--h2-paper);
  --v1-surface: var(--h2-surface);
  --v1-line: var(--h2-line);
  --v1-accent: var(--h2-action);
  --v1-width: var(--h2-max-width);
  --v1-font: var(--h2-font-ui);
}

@media (max-width: 760px) {
  :root { --h2-header-height: 76px; --h2-text-3xl: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --h2-dur-fast: 0ms; --h2-dur-normal: 0ms; }
}
