:root {
  --ink: #17211c;
  --ink-soft: #2c3a33;
  --muted: #3f4b45;
  --paper: #f6f3ec;
  --paper-2: #e7f0ea;
  --card: #fffcf6;
  --line: #ddd4c4;
  --green: #14352b;
  --green-mid: #1e4d3c;
  --lake: #1a4f5c;
  --brass: #8a5e2a;
  --clay: #7a3824;
  --clay-bg: #f8ebe3;
  --moss: #e7f3ec;
  --header: #14352b;
  --footer: #10281f;
  --cream: #f6f3ec;
  --gold: #f6e7c1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Liberation Serif", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Liberation Sans", "Nimbus Sans", sans-serif;
  --shadow: none;
  --radius: 2px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; }

a { color: var(--lake); }

a:hover { color: var(--green-mid); }

:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
  border-radius: 2px;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--header);
  color: var(--cream);
}

.site-header a { color: var(--cream); text-decoration: none; }

.site-header a:hover { color: var(--gold); }

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.25rem;
  padding: 0.9rem 0 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 16rem;
}

.mark { width: 2.4rem; height: 2.4rem; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-meta {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
}

.nav a { font-size: 0.98rem; padding: 0.35rem 0.1rem; }

.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3rem; }

.nav-cta {
  background: var(--cream);
  color: var(--green) !important;
  border-radius: 2px;
  padding: 0.55rem 0.95rem !important;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover { background: var(--gold); color: var(--green) !important; }

.nav-call {
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 2px;
  padding: 0.45rem 0.85rem !important;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-call:hover { background: var(--gold); color: var(--green) !important; }

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0 0 0.75rem;
  font-size: 0.92rem;
}

.guide-nav a { color: var(--gold); text-decoration: none; }

.guide-nav a:hover,
.guide-nav a[aria-current="page"] { color: var(--cream); }

.footer-call { margin: 0.35rem 0 0; font-weight: 700; }

.hero-band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.hero { padding: 2.2rem 0 2.4rem; }

.hero-copy h1,
.page-intro h1,
.prose h2,
.cta-band h2,
.guide-card h2,
.identity h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
}

.hero-copy h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.45rem);
}

.eyebrow,
.plate-kicker,
.idx {
  margin: 0;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede { font-size: 1.12rem; max-width: 42rem; color: var(--ink-soft); }

.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0 0.6rem; }

.button, button {
  appearance: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  border: 1.5px solid var(--green);
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}

.button:hover, button:hover { background: var(--green-mid); color: white; }

.button-secondary {
  background: transparent;
  color: var(--green);
}

.button-secondary:hover { background: var(--green); color: var(--cream); }

button:disabled { opacity: 0.7; cursor: progress; }

.reviewed {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46rem;
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
  }
  .hero-copy { grid-column: 1; grid-row: 1 / span 2; }
  .home-lead { grid-column: 2; grid-row: 1; }
  .spec-plate { grid-column: 2; grid-row: 2; }
}

.spec-plate, .card, .guide-card, .price-card, .thanks, figure.plate, .guides article, .columns article {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1.25rem 1.1rem 0;
}

.spec-plate { padding: 1.1rem 1.15rem 1rem; }

.spec-plate dl { margin: 0.4rem 0 0.8rem; }

.spec-plate dl div { padding: 0.75rem 0; border-top: 1px solid var(--line); }

.spec-plate dt {
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--green);
}

.spec-plate dt span {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.3rem;
}

.spec-plate dd { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.section { padding: 2.1rem 0; }

.identity {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.2rem 0 0.2rem;
  margin-top: 0.5rem;
}

.guides, .price-grid, .split {
  display: grid;
  gap: 1rem;
}

.guide-card, .price-card { padding: 1.1rem 1.15rem 1.2rem; }

.guide-card h2, .price-card h2 { margin: 0.35rem 0 0.4rem; font-size: 1.55rem; }

.guide-card p, .price-card p { margin-top: 0; }

@media (min-width: 800px) {
  .guides, .price-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.num {
  width: auto;
  min-width: 1.25rem;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--brass);
  font-family: var(--serif);
  font-weight: 560;
  display: block;
}

.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); margin: 2.1rem 0 0.6rem; }

.prose h3 { margin: 1.4rem 0 0.4rem; font-size: 1.15rem; }

.prose p, .prose li { max-width: 68ch; }

.prose ul, .prose ol { padding-left: 1.2rem; }

.callout {
  max-width: 68ch;
  padding: 0.95rem 1rem;
  border-radius: 0;
  background: var(--moss);
  border-left: 4px solid var(--green-mid);
}

.callout-warn {
  background: var(--clay-bg);
  border-left-color: var(--clay);
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.code-quote {
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 4px solid var(--lake);
  max-width: 68ch;
}

.code-quote p { font-family: var(--serif); font-size: 1.35rem; margin: 0; }

.code-quote footer { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }

.checklist { padding-left: 1.2rem; }

.checklist li { margin: 0.35rem 0; }

.math {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}

.math th, .math td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.math th { background: var(--paper-2); font-size: 0.92rem; }

.math caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  padding: 0.6rem 0.2rem 0;
  font-size: 0.92rem;
}

.table-scroll { overflow-x: auto; max-width: 100%; }

figure.plate { padding: 0.75rem 0.75rem 0.9rem; margin: 1.2rem 0; max-width: 560px; }

figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.45rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
  max-width: 68ch;
}

.faq summary { cursor: pointer; font-weight: 700; }

.faq summary:hover { color: var(--lake); }

.source-list { padding-left: 1.15rem; }

.source-list li { margin: 0.4rem 0; overflow-wrap: anywhere; }

.cta-band {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.3rem 1.2rem;
}

.cta-band h2, .cta-band p { color: var(--ink); }

.cta-band .button { background: var(--green); color: var(--cream); border-color: var(--green); }

.cta-band .button:hover { background: var(--green-mid); color: white; }

.site-footer {
  background: var(--footer);
  color: #d7e0d8;
  padding: 2.4rem 0 2.8rem;
  margin-top: 1rem;
}

.site-footer a { color: #f4f7f2; }

.footer-grid {
  display: grid;
  gap: 1rem 2rem;
  margin-bottom: 1.2rem;
}

.footer-nav { display: grid; gap: 0.35rem; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

.disclosure {
  font-size: 12px;
  line-height: 1.45;
  color: #8e9c93;
  max-width: 72ch;
  margin: 0.85rem 0 0;
}

.offer-line {
  color: var(--green);
  font-weight: 700;
  margin: 0.15rem 0 0.85rem;
  max-width: 40rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0.8rem;
}

.trust-list li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.home-lead {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 0 0.4rem;
}

.home-lead-form {
  display: grid;
  gap: 0.7rem;
  position: relative;
}

.full-form { margin: 0; font-size: 0.92rem; }

.footer-meta { color: #c9d4cc; font-size: 0.85rem; max-width: 75ch; }

.mobile-cta {
  display: none;
}

.page-intro { padding-top: 1.8rem; }

.page-intro h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0.25rem 0 0.7rem;
}

.form-errors {
  background: var(--clay-bg);
  border: 1px solid #e2c2b4;
  border-radius: 0;
  padding: 0.8rem 1rem;
  max-width: 46rem;
}

.form-errors ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }

.quote-form {
  position: relative;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem 0 0;
  box-shadow: none;
  max-width: 46rem;
}

.form-grid { display: grid; gap: 0.9rem; }

@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
}

.field { display: grid; gap: 0.35rem; font-weight: 700; min-width: 0; }

.hint { font-weight: 500; color: var(--muted); font-size: 0.92rem; }

input, select, textarea {
  font: inherit;
  font-size: 16px;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfc6b6;
  border-radius: 2px;
  background: white;
  color: var(--ink);
}

textarea { min-height: 140px; resize: vertical; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

legend { font-weight: 700; margin-bottom: 0.35rem; }

.checks { display: grid; gap: 0.25rem; }

@media (min-width: 640px) {
  .checks.cols { grid-template-columns: 1fr 1fr; }
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 550;
}

.choice input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; min-height: 0; }

.consent { align-items: flex-start; font-weight: 550; }

.form-actions { display: grid; gap: 0.45rem; justify-items: start; }

.form-fineprint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 46rem;
}

.thanks {
  padding: 1.2rem 1.15rem;
  max-width: 46rem;
  background: var(--moss);
}

.thanks h2 { font-family: var(--serif); margin-top: 0; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

@media (max-width: 720px) {
  .header-inner { padding-top: 0.7rem; gap: 0.55rem; }
  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
  }
  .page-home .nav-cta,
  .page-cost .nav-cta,
  .page-rules .nav-cta,
  .page-drainage .nav-cta,
  .page-privacy .nav-cta { display: none; }
  .hero { padding: 1.25rem 0 1rem; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    background: rgba(16, 40, 31, 0.96);
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  }
  .mobile-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0.35rem 0.45rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.15;
    border-radius: 2px;
  }
  .mobile-call {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid var(--cream);
  }
  .mobile-quote {
    background: var(--cream);
    color: var(--green);
  }
  .site-footer { padding-bottom: calc(6.6rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .mobile-cta, .nav-cta, .hero-actions, .cta-band { break-inside: avoid; }
  .mobile-cta { display: none !important; }
  body { background: white; }
  .site-footer { background: white; color: black; }
  .site-footer a, .disclosure, .footer-meta { color: black; }
}
