:root {
  color-scheme: light;
  --bg: #f0f4f8;
  --surface: #e8eef4;
  --navy: #1a2744;
  --ink: #1e2d3d;
  --muted: #3d4d5c;
  --on-navy: #f0f4f8;
  --link: #075985;
  --line: #c5d0db;
  --focus: #0ea5e9;
  --live: #14532d;
  --live-bg: #dcfce7;
  --planned: #7c2d12;
  --planned-bg: #ffedd5;
  --evidence: #1e3a5f;
  --evidence-bg: #e0e7ff;
  --max: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.625;
  color: var(--ink);
  background: var(--bg);
}
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  overflow: visible;
  clip: auto;
  background: var(--focus);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.site-header {
  background: var(--navy);
  color: var(--on-navy);
}
.site-header a { color: var(--on-navy); text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.header-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}
.brand { font-weight: 700; letter-spacing: -0.01em; }
.brand small {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.lang { margin-left: auto; display: flex; gap: 0.5rem; }
.lang a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 0.35rem; }
.lang a[aria-current="true"] { font-weight: 700; text-decoration: underline; }
.hero {
  background: var(--navy);
  color: var(--on-navy);
  padding: 3.5rem 0 3rem;
}
.hero h1 { margin: 0.35rem 0 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.02em; }
.hero p { max-width: 42rem; font-size: 1.125rem; }
.kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wrap { padding: 2.5rem 0 3.5rem; }
.wrap-narrow { max-width: 42rem; }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: 1.6rem; margin: 2rem 0 0.6rem; }
.lede { font-size: 1.125rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.card, .note, form, table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card, .note, form { padding: 1rem 1.1rem 1.15rem; }
.card h3 { margin: 0.4rem 0; }
.status {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.status-live { color: var(--live); background: var(--live-bg); }
.status-planned { color: var(--planned); background: var(--planned-bg); }
.status-evidence { color: var(--evidence); background: var(--evidence-bg); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--on-navy);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-secondary, a.button-secondary {
  background: transparent;
  color: var(--navy);
}
.hero .button { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.hero .button-secondary { background: transparent; color: var(--on-navy); border-color: var(--on-navy); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
th { font-size: 0.85rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.crumbs { font-size: 0.95rem; margin: 0 0 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; list-style: none; padding: 0; margin: 0; }
label { display: block; font-weight: 700; margin-top: 0.9rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 8rem; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.site-footer a, .crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none; }
}
@media (max-width: 767px) {
  .header-inner, .wrap, .footer-inner { width: min(var(--max), calc(100% - 1.5rem)); }
}
