:root {
  --radius: 10px;
  --background: #f6f8fc;
  --foreground: #0b1230;
  --card: #ffffff;
  --card-foreground: var(--foreground);
  --popover: #ffffff;
  --popover-foreground: var(--foreground);
  --muted: #eef2f8;
  --muted-foreground: #566078;
  --secondary: #eef2fb;
  --secondary-foreground: var(--foreground);
  --accent: #e8efff;
  --accent-foreground: #1d47c4;
  --primary: #2558e8;
  --primary-foreground: #ffffff;
  --ring: var(--primary);
  --border: #e2e8f3;
  --input: #7d88a1;
  --brand-cyan: #0270b8;
  --brand-blue: var(--primary);
  --brand-violet: #7c3aed;
  --on-gradient: #ffffff;
  --brand-navy: #070b1f;
  --success: #0f7a53;
  --success-soft: #e6f6ee;
  --warning: #b45309;
  --warning-soft: #fff4e0;
  --destructive: #c4281c;
  --destructive-soft: #fdecea;
  --destructive-foreground: #ffffff;
  --info: #0b76a3;
  --info-soft: #e3f5fc;
  --chart-1: var(--primary);
  --chart-2: #0891b2;
  --chart-3: #7c3aed;
  --chart-4: #0f9d6b;
  --chart-5: #d97706;
  /* A subject's colour (packages/utils/fixtures/subject-colors.json): the swatch, the pill's text and its fill. */
  --subject-blue: #2563eb;
  --subject-blue-fg: #1d4ed8;
  --subject-blue-soft: #dbeafe;
  --subject-cyan: #0891b2;
  --subject-cyan-fg: #0e7490;
  --subject-cyan-soft: #cffafe;
  --subject-green: #059669;
  --subject-green-fg: #047857;
  --subject-green-soft: #d1fae5;
  --subject-violet: #7c3aed;
  --subject-violet-fg: #6d28d9;
  --subject-violet-soft: #ede9fe;
  --subject-amber: #d97706;
  --subject-amber-fg: #b45309;
  --subject-amber-soft: #fef3c7;
  --subject-pink: #db2777;
  --subject-pink-fg: #be185d;
  --subject-pink-soft: #fce7f3;
  --subject-red: #dc2626;
  --subject-red-fg: #b91c1c;
  --subject-red-soft: #fee2e2;
  --subject-indigo: #4f46e5;
  --subject-indigo-fg: #4338ca;
  --subject-indigo-soft: #e0e7ff;
  /* The card's gradient ends on the colour's deep end; its text is always the light foreground. */
  --subject-blue-deep: #1e40af;
  --subject-cyan-deep: #155e75;
  --subject-green-deep: #065f46;
  --subject-violet-deep: #5b21b6;
  --subject-amber-deep: #92400e;
  --subject-pink-deep: #9d174d;
  --subject-red-deep: #991b1b;
  --subject-indigo-deep: #312e81;
  --subject-card-fg: #ffffff;
  --sidebar: #ffffff;
  --sidebar-foreground: #33405e;
  --sidebar-primary: var(--primary);
  --sidebar-primary-foreground: var(--primary-foreground);
  --sidebar-accent: var(--accent);
  --sidebar-accent-foreground: var(--accent-foreground);
  --sidebar-border: var(--border);
  --sidebar-ring: var(--ring);
  --shadow-xs: 0 1px 2px 0 rgba(11, 18, 48, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(11, 18, 48, 0.06), 0 1px 2px -1px rgba(11, 18, 48, 0.06);
  --shadow-md: 0 6px 16px -4px rgba(11, 18, 48, 0.1), 0 2px 4px -2px rgba(11, 18, 48, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(11, 18, 48, 0.18);
  --shadow-glow: 0 8px 24px -8px rgba(37, 88, 232, 0.45);
}
@media (prefers-color-scheme: dark) {
  :root {
  --background: #070b1f;
  --foreground: #eef2ff;
  --card: #0e1530;
  --popover: #111a3a;
  --muted: #141c38;
  --muted-foreground: #9aa6c8;
  --secondary: #18213f;
  --accent: #1a2550;
  --accent-foreground: #c7d6ff;
  --primary: #6b9bff;
  --primary-foreground: #060b1f;
  --border: #222c4f;
  --input: #5a6890;
  --brand-cyan: #38d0ff;
  --brand-violet: #a78bfa;
  --on-gradient: #060b1f;
  --success: #4ade80;
  --success-soft: #0d2a24;
  --warning: #fbbf24;
  --warning-soft: #2a2108;
  --destructive: #f87171;
  --destructive-soft: #2d1216;
  --destructive-foreground: #060b1f;
  --info: #38d0ff;
  --info-soft: #0a2533;
  --chart-2: #38d0ff;
  --chart-3: #a78bfa;
  --chart-4: #34d399;
  --chart-5: #fbbf24;
  /* A subject's colour (packages/utils/fixtures/subject-colors.json): the swatch, the pill's text and its fill. */
  --subject-blue: #3b82f6;
  --subject-blue-fg: #93c5fd;
  --subject-blue-soft: #172554;
  --subject-cyan: #06b6d4;
  --subject-cyan-fg: #67e8f9;
  --subject-cyan-soft: #083344;
  --subject-green: #10b981;
  --subject-green-fg: #6ee7b7;
  --subject-green-soft: #022c22;
  --subject-violet: #8b5cf6;
  --subject-violet-fg: #c4b5fd;
  --subject-violet-soft: #2e1065;
  --subject-amber: #f59e0b;
  --subject-amber-fg: #fcd34d;
  --subject-amber-soft: #451a03;
  --subject-pink: #ec4899;
  --subject-pink-fg: #f9a8d4;
  --subject-pink-soft: #500724;
  --subject-red: #ef4444;
  --subject-red-fg: #fca5a5;
  --subject-red-soft: #450a0a;
  --subject-indigo: #6366f1;
  --subject-indigo-fg: #a5b4fc;
  --subject-indigo-soft: #1e1b4b;
  --subject-blue-deep: #1e3a8a;
  --subject-cyan-deep: #164e63;
  --subject-green-deep: #064e3b;
  --subject-violet-deep: #4c1d95;
  --subject-amber-deep: #78350f;
  --subject-pink-deep: #831843;
  --subject-red-deep: #7f1d1d;
  --subject-indigo-deep: #1e1b4b;
  --subject-card-fg: #ffffff;
  --sidebar: #0a1028;
  --sidebar-foreground: #c3cbe3;
  --sidebar-border: #1a2346;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 20px -6px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(107, 155, 255, 0.25), 0 8px 28px -6px rgba(56, 208, 255, 0.35);
}
}

/* The public site's own rules (ADR 0064): every colour is a design-system token, prepended by build.mjs from
   packages/ui/src/theme.css (light, and dark when the device asks for it). No hex here (scripts/quality/site.test.mjs). */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a {
  color: var(--primary);
}
.band {
  background: var(--brand-navy);
  padding: 20px 16px;
}
.brand {
  display: inline-block;
  max-width: 1080px;
}
.brand img {
  display: block;
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
nav a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
}
nav a[aria-current="page"] {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 6px;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
h1,
h2 {
  font-family: "Outfit", "Inter", ui-sans-serif, sans-serif;
  line-height: 1.25;
}
h1 {
  font-size: 2rem;
  margin: 8px 0 16px;
}
h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}
p,
li {
  overflow-wrap: anywhere;
}
ul {
  padding-left: 1.25rem;
}
li {
  margin-bottom: 8px;
}
.version {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
footer {
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-align: center;
  padding: 16px;
}
footer a {
  display: inline-block;
  padding: 12px 0;
}
