:root {
  color-scheme: light;
  --bg: #f3f7f7;
  --card: #ffffff;
  --ink: #17323a;
  --muted: #58707a;
  --line: #d6e7e8;
  --brand: #11767f;
  --brand-2: #33a6a5;
  --good: #157347;
  --warn: #b85f00;
  --danger: #b42318;
  --shadow: 0 14px 40px rgba(19, 58, 66, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #eef8f9, var(--bg) 46%);
  line-height: 1.55;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-shell { max-width: 1180px; margin: 0 auto; padding: 24px 16px 48px; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { margin-bottom: 24px; }
.site-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.brand { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.site-nav, .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.card {
  background: var(--card);
  border: 1px solid rgba(214, 231, 232, 0.92);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero { margin-bottom: 24px; }
.hero-grid, .results-grid { display: grid; gap: 20px; }
.hero-grid { grid-template-columns: 1.05fr 0.95fr; }
.results-grid { grid-template-columns: 1.05fr 0.95fr; margin-bottom: 20px; }
.wide-grid, .checks-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eyebrow {
  display: inline-block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
  font-weight: 700;
}
h1, h2 { line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.hero-points, .facts, .source-list { padding-left: 20px; margin: 16px 0 0; }
.hero-points li, .facts li, .source-list li { margin-bottom: 10px; }
.alert-note {
  border: 1px solid #d3ecef; background: #f4fbfb; border-radius: 18px; padding: 14px 16px;
}
.inset { background: linear-gradient(180deg, #fcfffe 0%, #f2fbfb 100%); }
label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; margin-bottom: 16px; }
label span { font-size: 0.95rem; }
select, input, textarea, button {
  font: inherit; border-radius: 14px; border: 1px solid var(--line); padding: 12px 14px; background: #fff; color: var(--ink);
}
input, textarea, select { width: 100%; }
button {
  border: none; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; cursor: pointer; width: 100%;
  box-shadow: 0 10px 24px rgba(17, 118, 127, 0.2);
}
button:hover { filter: brightness(1.03); }
.secondary-button {
  width: auto;
  background: #eef8f9;
  color: var(--brand);
  border: 1px solid #cfe7ea;
  box-shadow: none;
}
.fine-print { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; }
.more-space { margin-top: 16px; }
.score-line { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.result-title { font-size: 1.45rem; font-weight: 800; }
.outof, .subhead, .summary, .prose p, .prose li, .detail-line, .opening-line { color: var(--muted); }
.detail-line, .opening-line { margin-top: 14px; }
.pill {
  white-space: nowrap; border-radius: 999px; padding: 8px 12px; font-size: 0.84rem; font-weight: 700; background: #eaf8f8; color: var(--brand);
}
.pill.good { background: #e9f8f0; color: var(--good); }
.pill.unknown { background: #fff4e5; color: var(--warn); }
.pill.warn { background: #fdeceb; color: var(--danger); }
.pill.brand { background: #eaf8f8; color: var(--brand); }
.warning-list li { color: #9a3412; }
.prose { max-width: 80ch; }
.section-heading { margin-bottom: 14px; }
.split-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.status-banner.warn { border-color: #f6c28b; background: #fff8ef; margin-bottom: 20px; }
.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.mini-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fbfefe;
}
.mini-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.brief-box {
  min-height: 190px;
  resize: vertical;
  background: #fbfefe;
  margin-top: 14px;
}
.full-brief-card { margin-bottom: 20px; }
@media (max-width: 900px) {
  .hero-grid, .results-grid, .checks-grid, .wide-grid { grid-template-columns: 1fr; }
  .site-header, .site-footer, .split-heading { flex-direction: column; align-items: flex-start; }
  .secondary-button { width: 100%; }
}
