:root {
  color-scheme: light;
  --ink: #142119;
  --muted: #59645e;
  --paper: #f7f4ea;
  --card: #fffdf7;
  --green: #176b4d;
  --lime: #d7ef70;
  --line: #d9d8cd;
  --rust: #a33d24;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--green); text-underline-offset: .18em; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.wordmark span { color: var(--green); }
main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero { padding: clamp(3rem, 9vw, 7rem) 0 3rem; max-width: 850px; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 760px; margin: .25rem 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 8vw, 6.8rem); line-height: .95; letter-spacing: -.055em; }
h1 em { color: var(--green); font-weight: inherit; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
form { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: .75rem; align-items: end; margin-top: 2rem; }
label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 750; }
input, button { min-height: 3.25rem; border: 1px solid var(--line); border-radius: .35rem; font: inherit; }
input { width: 100%; padding: 0 .9rem; background: var(--card); }
input:focus { outline: 3px solid color-mix(in srgb, var(--lime), transparent 25%); border-color: var(--green); }
button { padding: 0 1.15rem; border-color: var(--green); background: var(--green); color: white; font-weight: 800; cursor: pointer; }
button:hover { background: #0d5139; }
button:disabled { opacity: .55; cursor: wait; }
#status { min-height: 1.5rem; color: var(--muted); }
.result { margin: 2rem 0 5rem; padding: clamp(1rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--card); box-shadow: 0 1.2rem 3rem #253a2912; }
.result-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.summary { max-width: 820px; font-size: 1.2rem; }
.coverage { padding: .45rem .7rem; background: var(--lime); border-radius: 99rem; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: .8rem; }
td ul { margin: 0; padding-left: 1rem; }
.positive { background: #e8f3e7; }
.elsewhere { background: #f5ece5; }
h3 { margin-top: 2rem; }
.dossier-link { margin-top: 2rem; }
footer { padding: 2rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
@media (max-width: 780px) {
  form { grid-template-columns: 1fr; }
  .result-heading { display: block; }
  .coverage { display: inline-block; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background-color .15s ease; }
}
