:root {
  --paper: #fbf8f4;
  --raised: #ffffff;
  --ink: #24312c;
  --muted: #5d6a64;
  --line: #e6dfd4;
  --forest: #15735c;
  --forest-soft: #e8f6f1;
  --navy: #1a3d48;
  --navy-soft: #e7f1f2;
  --brass: #8e4f22;
  --brass-soft: #f8efe3;
  --danger: #8d342e;
  --display: "Nunito", "Trebuchet MS", "Segoe UI", sans-serif;
  --sans: "Nunito Sans", "Segoe UI", sans-serif;
  --page: 72rem;
  --read: 40rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
  background:
    radial-gradient(880px 420px at 8% -8%, rgba(21, 115, 92, 0.1), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.65;
  accent-color: var(--forest);
}
img, svg, video { max-width: 100%; height: auto; }
p, li, h1, h2, h3, a, dd, figcaption { overflow-wrap: break-word; }
a { color: inherit; }
a:hover { color: var(--forest); }
h1, h2, h3, .wordmark, .stamp, .figure strong {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.85rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.28rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.9rem; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 5;
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(var(--page), calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem 1.5rem;
  min-height: 4.2rem;
  padding: 0.7rem 0;
}
.header-row > * { min-width: 0; max-width: 100%; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark .mark { width: 1.9rem; height: 1.9rem; flex: none; display: block; }
.wordmark em { font-style: italic; font-weight: 800; color: var(--forest); }
.wordmark:hover { color: inherit; }
.wordmark:hover em { color: #0f5c49; }
nav[aria-label="Primary"] { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; width: 100%; }
nav[aria-label="Primary"] a { text-decoration: none; font-size: 0.98rem; font-weight: 500; color: var(--muted); }
nav[aria-label="Primary"] a:hover { color: var(--forest); }
nav[aria-label="Primary"] a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--forest);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.hero { padding: 2.6rem 0 1.5rem; max-width: 42rem; }
.kicker {
  margin: 0 0 0.7rem;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.lede { font-size: 1.2rem; line-height: 1.6; max-width: 38rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 0.6rem; }
.quiet-note { color: var(--muted); max-width: 36rem; font-size: 0.98rem; }

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #f7f3ea;
  text-decoration: none;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font: 700 1.02rem/1.2 var(--sans);
  cursor: pointer;
}
.button:hover, button.button:hover { background: #0f5c49; border-color: #0f5c49; color: white; }
.button-quiet, button.button-quiet {
  background: transparent;
  color: var(--forest);
  border-color: #c9d5ce;
}
.button-quiet:hover, button.button-quiet:hover { background: var(--forest-soft); color: #0f5c49; border-color: var(--forest); }

.doors { display: grid; grid-template-columns: 1fr; gap: 0.9rem; padding-bottom: 2.2rem; }
.door {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(36, 49, 44, 0.05);
  padding: 1.25rem 1.25rem 1.15rem;
  text-decoration: none;
}
.door:hover { border-color: var(--forest); color: inherit; box-shadow: 0 14px 32px rgba(21, 115, 92, 0.1); }
.door:hover em { color: var(--forest); }
.door .num { color: var(--forest); font-size: 0.92rem; font-weight: 700; letter-spacing: 0; }
.door strong { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.door span { color: var(--muted); }
.door em { font-style: normal; margin-top: auto; font-weight: 600; }

.band {
  background: var(--forest-soft);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  margin: 0.4rem 0 2.4rem;
}
.band a { color: var(--forest); font-weight: 700; }
.band .kicker { color: var(--forest); }
.band h2 { color: var(--forest); font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0.15rem 0 0.7rem; }
.band p:last-child { margin-bottom: 0; }

.section { padding: 0.4rem 0 2.4rem; }
.ledger { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ledger li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger strong { font-family: var(--display); font-size: 1.4rem; font-weight: 800; }
.refuse { display: grid; grid-template-columns: 1fr; gap: 0.7rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.refuse li { padding-left: 0.9rem; border-left: 3px solid var(--forest-soft); }

.prose { max-width: var(--read); padding: 2.4rem 0 3rem; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }
.prose a { color: var(--forest); text-underline-offset: 0.18em; }

.panel {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.check { max-width: 38rem; padding: 2rem 0 3.5rem; }
.progress { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.4rem; }
.check h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.stack { display: grid; gap: 0.65rem; }
.choice {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 18px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--forest); background: var(--forest-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.choice input { margin-top: 0.35rem; }
.choice strong { display: block; }
.choice small { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.field { display: grid; gap: 0.35rem; margin: 0.9rem 0; }
.field > span, legend { font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0.9rem 0; }
.money { display: flex; align-items: baseline; gap: 0.35rem; border-bottom: 1px solid var(--ink); max-width: min(16rem, 100%); min-width: 0; }
.money span { font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font: 400 1.05rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
}
.money input {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0.4rem 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  width: 100%;
}
.help { color: var(--muted); font-size: 0.92rem; }
.error { color: var(--danger); min-height: 1.4rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.extra-row {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}
[hidden] { display: none !important; }

.letter { max-width: 46rem; padding: 2.2rem 0 3rem; }
.letter-sheet {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.dateline { color: var(--muted); margin-bottom: 1.2rem; }
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: min(7.5rem, 100%);
  padding: 0.35rem 0.7rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.tone-ink { color: var(--ink); }
.tone-forest { color: var(--forest); }
.tone-navy { color: var(--navy); }
.tone-brass { color: var(--brass); }
.tone-muted { color: var(--muted); }
.figure { margin: 1rem 0; padding: 0.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure strong { display: block; font-size: clamp(2rem, 4vw, 3rem); color: var(--forest); }
.notes { padding-left: 1.1rem; }
.notes li { margin: 0.35rem 0; }
.bill {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.bill h3 { margin-top: 0.35rem; }
.bill p { margin: 0.35rem 0 0; }
.bill ul { margin: 0.45rem 0 0; padding-left: 1.1rem; }
.bill a { color: var(--forest); text-underline-offset: 0.18em; }

.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2.2rem; margin-top: 1rem; }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1rem; }
.footer-row > * { min-width: 0; max-width: 100%; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; max-width: 100%; }
.footer-row a { text-decoration: none; }
.fine { color: var(--muted); font-size: 0.92rem; max-width: 46rem; margin-top: 1rem; }

@media (min-width: 48rem) {
  .header-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .wordmark { font-size: 1.35rem; }
  .wordmark .mark { width: 2.25rem; height: 2.25rem; }
  nav[aria-label="Primary"] { width: auto; justify-content: flex-end; }
  .doors { grid-template-columns: repeat(3, 1fr); }
  .refuse { grid-template-columns: 1fr 1fr; }
  .ledger li { grid-template-columns: 9.5rem 1fr; gap: 1rem; }
  .bill { grid-template-columns: 8.5rem 1fr; gap: 0.8rem 1rem; }
  .footer-row { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: white; }
  .letter-sheet { border: 0; }
}
