:root {
  color-scheme: light;
  --paper: #fcfaf4;
  --ink: #142923;
  --muted: #40554b;
  --green: #155643;
  --line: #b8c7b9;
  --lime: #d9eea6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 "DM Sans", system-ui, sans-serif; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.1; }
h1, h2 { font-family: "DM Serif Text", Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7.7vw, 6.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.15rem); }
h3 { font-size: 1.2rem; }
a { color: var(--green); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: .2rem solid #2b775f; outline-offset: .25rem; }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 48rem; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: 1.2rem; }
.brand { font-size: 1.38rem; letter-spacing: -.06em; font-weight: 800; color: inherit; text-decoration: none; }
.brand span { color: var(--green); }
nav, .footer-links { display: flex; gap: .35rem 1.25rem; flex-wrap: wrap; }
nav a { color: var(--ink); font-size: .95rem; text-decoration: none; padding-block: .35rem; }
nav a:hover, nav [aria-current] { text-decoration: underline; }
.home-hero, .intro { background: #eef3e6; border-bottom: 1px solid var(--line); padding-block: clamp(3.25rem, 8vw, 7rem); }
.hero-grid, .split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 6vw, 5.5rem); align-items: center; }
.split { grid-template-columns: .85fr 1fr; align-items: start; }
.eyebrow { color: var(--green); font-size: .81rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1 em { color: var(--green); }
.lead { max-width: 36rem; color: var(--muted); font-size: clamp(1.15rem, 2.4vw, 1.35rem); margin-bottom: 1.6rem; }
.intro .lead { margin-bottom: 0; }
.button { display: inline-block; background: var(--green); color: white; text-decoration: none; font-weight: 700; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: .35rem; }
.button:hover { background: #0c3e30; text-decoration: underline; }
.audit { background: #17382e; color: white; border-radius: .65rem; padding: clamp(1.4rem, 4vw, 2.6rem); }
.audit h2 { color: var(--lime); }
.audit dl { margin: 0; }
.audit dl div { border-top: 1px solid #567265; padding-block: .85rem; }
.audit dl div:last-child { padding-bottom: 0; }
.audit dt { font-weight: 700; }
.audit dd { margin: .15rem 0 0; color: #d9e7db; }
.section, .band { padding-block: clamp(2.6rem, 6vw, 5rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.cards article { padding: 1.4rem; border: 1px solid var(--line); border-radius: .45rem; }
.cards h2 { font-size: 1.75rem; }
.cards article p:last-child { margin-bottom: 0; }
.tint { background: #eef3e6; }
.band { background: #17382e; color: white; }
.band h2 { color: var(--lime); }
.band .button { background: var(--lime); color: var(--ink); }
.band .button:hover { background: #ebf7ce; }
.band :focus-visible { outline-color: white; }
.footer { border-top: 1px solid var(--line); }
.footer p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.prose h2:not(:first-child) { margin-top: 2rem; }
.counties { columns: 2; padding-left: 1.2rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .6rem 0 0; }
@media (max-width: 720px) {
  .header-row { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .hero-grid, .split, .cards { grid-template-columns: 1fr; }
  .wide { display: none; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 2rem); }
  .counties { columns: 1; }
}

.home-hero h1 { font-size: clamp(2.45rem, 5.7vw, 5rem); }
.hero-tagline { color: var(--green); font-weight: 700; }
.review-form label { display: block; margin-bottom: .25rem; font-weight: 700; }
.review-form input, .review-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: .65rem;
  border: 1px solid var(--muted);
  border-radius: .35rem;
  font: inherit;
  color: inherit;
}
.review-form textarea { resize: vertical; }
.review-form button { font: inherit; font-weight: 700; cursor: pointer; }
.review-form button:disabled { opacity: .7; cursor: wait; }
.form-status:not(:empty) { margin-top: 1rem; }

.ranking-table { overflow-x: auto; margin-bottom: 1rem; }
.ranking-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ranking-table caption { text-align: left; font-weight: 700; margin-bottom: .5rem; }
.ranking-table th, .ranking-table td {
  text-align: left;
  vertical-align: top;
  padding: .55rem;
  border-bottom: 1px solid var(--line);
}
.ranking-table thead { background: #eef3e6; }
