:root {
  color-scheme: light;
  --navy: #071833;
  --navy-2: #10284d;
  --blue: #155eef;
  --blue-dark: #0f49c4;
  --ink: #102033;
  --muted: #526178;
  --paper: #f5f7fb;
  --card: #ffffff;
  --line: #d5deea;
  --warn: #8a3418;
  --ok: #0f6b4c;
  --focus: #155eef;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 3;
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
header.site {
  background: var(--navy);
  color: white;
}
.bar, main, footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.brand {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand span { color: #8eb6ff; }
.wordmark { color: white; }
img.logo { width: 36px; height: 36px; flex: none; display: block; }
nav { min-width: 0; max-width: 100%; }
.menu { width: 100%; }
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
nav a, nav button {
  color: white;
  background: transparent;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
nav a:hover, nav button:hover { background: var(--navy-2); }
nav form { margin: 0; }
main { padding: 1.25rem 0 3rem; }
footer {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0 0 2rem;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, li, a, .meta { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; }
.hero {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.splash {
  width: min(100%, 280px);
  height: auto;
  justify-self: center;
  border-radius: 16px;
}
.hero h1 { max-width: 16ch; }
.eyebrow {
  margin: 0 0 0.4rem;
  color: #8eb6ff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.lede { font-size: 1.1rem; max-width: 62ch; }
.hero .lede { color: #e6eeff; }
.actions, .row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
a.button, button {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  min-height: 44px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
a.button.secondary, button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
.hero a.button.secondary { border-color: transparent; }
form.stack, .card, .panel, .narrow {
  min-width: 0;
}
form.stack, .card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.narrow { max-width: 32rem; }
form.stack { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.3rem; font-size: 0.95rem; }
.hint { color: var(--muted); font-size: 0.85rem; }
input[type="checkbox"] { width: auto; min-height: auto; }
input, select, textarea {
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
}
textarea { min-height: 8rem; }
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}
legend { font-weight: 700; padding: 0; }
.dashboard, .cards, .split { display: grid; gap: 0.85rem; }
.card h2, .panel h2 { margin: 0 0 0.35rem; }
.card ul, .panel ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.meta, .empty { color: var(--muted); }
.empty { margin: 0.25rem 0 0; }
.banner { border-radius: 12px; padding: 0.75rem 1rem; }
.error { background: #fde8df; color: var(--warn); }
.notice { background: #e7f0ff; color: var(--navy); }
.meter {
  height: 0.55rem;
  background: #e6edf7;
  border-radius: 999px;
  overflow: hidden;
}
.meter span { display: block; height: 100%; background: var(--blue); }
.checklist { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.35rem; }
.checklist a, main a { color: var(--blue-dark); }
.hero a.button, .actions a.button, nav a { color: white; }
.actions a.button.secondary { color: var(--navy); }
.status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  white-space: normal;
}
.status.reported { background: #fff6e8; color: #7a4b00; }
.status.verified { background: #e7f6ef; color: var(--ok); }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tag, .tags { overflow-wrap: anywhere; }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.85rem; background: white; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 0.75rem; }
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}
.filters { margin-bottom: 1rem; }
.explanation { margin: 0.2rem 0; }
.feature-grid { display: grid; gap: 0.85rem; margin-top: 1rem; }
@media (max-width: 767px) {
  .menu:not([open]) .menu-links { display: none; }
  .bar { align-items: stretch; }
  .hero .actions { display: grid; }
  .hero .actions a { text-align: center; }
}
@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .splash { width: min(100%, 360px); }
  .menu summary { display: none; }
  nav details.menu:not([open]) > .menu-links,
  .menu, .menu-links { display: flex; width: auto; justify-content: flex-end; }
  nav { display: flex; justify-content: flex-end; flex: 1; }
  .filters fieldset { grid-template-columns: 1fr 1fr; }
  .filters legend, .filters .actions { grid-column: 1 / -1; }
  .dashboard, .split, .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .bar, main, footer { width: min(1120px, calc(100% - 3rem)); }
  .splash { width: min(100%, 420px); }
  .filters fieldset { grid-template-columns: 1fr 1fr 1fr; }
  .dashboard { grid-template-columns: 1fr 1fr 1fr; }
  .dashboard.wide { grid-template-columns: 1.2fr 0.8fr; }
}
