:root {
  --ink: #0f172a;
  --muted: #475569;
  --paper: #ffffff;
  --surface: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --lake: #0f5c4c;
  --lake-deep: #0a3d34;
  --lake-mid: #0f6b58;
  --lake-light: #ecfdf5;
  --ok: #047857;
  --mid: #b45309;
  --weak: #b91c1c;
  --radius: 8px;
  --radius-lg: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 4.75rem; }
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.25rem;
  z-index: 100;
  padding: 0.45rem 0.75rem;
  background: var(--lake-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible { top: 0.6rem; }
body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--surface);
  line-height: 1.55;
  font-size: 1rem;
}
.wrap { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--lake-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo { width: 2rem; height: 2rem; }
.brand span { color: var(--lake-mid); font-weight: 600; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
}
.nav a:hover { color: var(--lake-deep); background: var(--lake-light); }
.nav a:focus-visible,
.brand:focus-visible,
.btn:focus-visible,
.related a:focus-visible,
.crumbs a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--lake);
  outline-offset: 2px;
}
.crumbs {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1rem;
}
.crumbs a {
  color: var(--lake);
  text-decoration: none;
}
.crumbs a:hover { text-decoration: underline; }
main { padding: 1.75rem 0 3rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lake);
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.65rem;
  background: var(--lake-light);
  border-radius: 999px;
}
h1 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.sub { color: var(--muted); margin: 0 0 1.25rem; }
.takeaway {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0;
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.fact dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.chip-ok { color: var(--ok); }
.chip-mid { color: var(--mid); }
.chip-weak { color: var(--weak); }
.actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 1.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.65rem 1.05rem;
  min-height: 3rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.btn-primary { background: var(--lake-deep); color: #fff; }
.btn-primary:hover { background: var(--lake); }
.btn-ghost {
  background: var(--paper);
  color: var(--lake-deep);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--lake-light); border-color: var(--lake); }
h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.5rem 0 0.45rem;
}
.prose { margin: 0 0 0.85rem; }
.related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.related a {
  color: var(--lake-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.875rem;
}
.related a:hover { background: var(--lake-light); border-color: var(--lake); }
.note, footer p {
  color: var(--muted);
  font-size: 0.875rem;
}
footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  background: var(--paper);
}
.dir-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dir-table th, .dir-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.dir-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface);
}
.dir-table a { color: var(--lake-deep); font-weight: 700; text-decoration: none; }
.dir-table a:hover { text-decoration: underline; }
.gate-box {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--lake-light);
  border-radius: var(--radius-lg);
}
.gate-box p { margin: 0 0 0.85rem; }
.gate-box p:last-child { margin: 0; }
