:root {
  --pine: #102018;
  --pine-mid: #1a2c24;
  --brick: #a44b32;
  --brick-hover: #863c28;
  --honey: #c4a36a;
  --cream: #f3ede0;
  --cream-raised: #faf6ee;
  --ink: #161411;
  --muted: #5c574e;
  --moss: #3d5a4c;
  --line: rgba(16, 32, 24, 0.12);
  --max: 1140px;
  --gutter: clamp(20px, 4vw, 44px);
  --radius: 14px;
  --touch: 48px;
  --shadow: 0 18px 40px rgba(16, 32, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(196, 163, 106, 0.16), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 40;
  background: var(--cream);
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.utility-bar {
  background: var(--brick);
  color: #fff7ef;
  text-align: center;
  padding: 0.5rem var(--gutter);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.utility-bar a {
  color: #fff7ef;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 32, 24, 0.96);
  color: var(--cream);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 163, 106, 0.22);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 0 0 3px rgba(164, 75, 50, 0.25);
}

.brand small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  color: var(--honey);
  margin-top: 0.15rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.header-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--honey);
}

.menu-btn {
  display: none;
  min-height: var(--touch);
  background: none;
  border: 1px solid var(--honey);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 0.8rem;
}

.btn,
a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.7rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--brick);
  color: #fff7ef;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(164, 75, 50, 0.22);
}

.btn:hover,
a.btn:hover {
  background: var(--brick-hover);
  color: #fff7ef;
}

.btn-ghost,
a.btn-ghost,
a.btn-ghost:link,
a.btn-ghost:visited,
a.btn-ghost:hover {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  box-shadow: none;
}

.hero-home .btn-ghost,
.hero-home a.btn-ghost,
.page-hero .btn-ghost,
.page-hero a.btn-ghost {
  color: var(--cream);
  border-color: var(--honey);
}

.hero-home {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  background: var(--pine) center / cover no-repeat;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.18) 0%, rgba(16, 32, 24, 0.55) 48%, rgba(16, 32, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(16, 32, 24, 0.45), transparent 55%);
}

.hero-home .wrap {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vw, 7rem) 0 4.2rem;
}

.ridge {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: -1px;
}

.page-hero {
  position: relative;
  padding: clamp(3.2rem, 8vw, 5.4rem) 0 3.2rem;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(16, 32, 24, 0.55), rgba(16, 32, 24, 0.82)),
    var(--pine) center 40% / cover no-repeat;
}

.kicker {
  display: inline-block;
  background: var(--brick);
  color: #fff7ef;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.kicker-light {
  background: rgba(243, 237, 224, 0.14);
  color: var(--honey);
  border: 1px solid rgba(196, 163, 106, 0.4);
}

h1,
h2,
h3,
.brand span {
  font-family: Fraunces, Georgia, serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

h3 {
  font-size: 1.22rem;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 40rem;
}

.lede-ink {
  color: var(--ink);
}

.hero-home .lede,
.page-hero .lede {
  color: #e7dfd0;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 44rem;
}

.hero-points li {
  background: rgba(243, 237, 224, 0.08);
  border: 1px solid rgba(196, 163, 106, 0.28);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-points li small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e7dfd0;
}

section {
  padding: clamp(3rem, 7vw, 5.4rem) 0;
}

.section-alt {
  background: var(--cream-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-pine {
  background: var(--pine);
  color: var(--cream);
}

.section-pine h2,
.section-pine h3 {
  color: #fff8ee;
}

.section-pine .lede,
.section-pine .card p,
.section-pine .prose p {
  color: #f0e8d8;
}

.section-pine .card {
  background: #24382f;
  border-color: rgba(243, 237, 224, 0.2);
  color: var(--cream);
}

.section-pine .yes-no article ul,
.section-pine .card li {
  color: #efe6d4;
}

.section-pine .fine-print {
  color: #e6dcc8;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.5rem;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.town-photo {
  margin: 0;
}

.photo-credit {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.photo-credit a {
  color: inherit;
}

.card {
  background: var(--cream-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 8px 24px rgba(16, 32, 24, 0.04);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: var(--brick);
}

.section-alt .card {
  background: #fff;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--cream);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.card p,
.prose p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.prose a:not(.btn) {
  color: var(--brick);
  font-weight: 700;
}

.prose a.btn {
  color: #fff;
}

.prose a.btn-ghost {
  color: var(--pine);
  border-color: var(--pine);
}

.bullets {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.towns li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.rates {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.rates li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.rates li span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rates li em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.formula-line {
  font-size: 1.2rem;
}

.price-math {
  list-style: none;
  margin: 1.4rem 0 0.8rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.price-math li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.9rem 0.95rem;
  position: relative;
}

.price-math li::after {
  content: "+";
  position: absolute;
  right: -0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  color: var(--brick);
  font-size: 1.25rem;
  line-height: 1;
}

.price-math li:last-child::after {
  display: none;
}

.price-math-name {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pine);
}

.price-math-rate {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-math-result {
  font-size: 1.15rem;
  color: var(--ink);
}

.pricing-intro p {
  color: var(--ink);
}

.explain-grid .explain p,
.card.explain p {
  color: var(--ink);
}

.rate-call {
  margin-bottom: 0 !important;
  font-weight: 700;
  color: var(--pine) !important;
}

.round-rule {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.25rem 1.15rem;
}

.round-rule h3 {
  margin-bottom: 0.5rem;
}

.round-rule p {
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.round-rule ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.round-rule li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  color: var(--ink);
}

.round-rule li span {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  color: var(--pine);
}

.walk {
  max-width: 42rem;
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.4rem 1.2rem 0.3rem;
  box-shadow: var(--shadow);
}

.walk-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.walk-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.walk-lines li:first-child {
  border-top: 0;
}

.walk-lines li div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.walk-lines li span {
  color: var(--ink);
  font-size: 0.95rem;
}

.walk-lines li b {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  color: var(--pine);
  white-space: nowrap;
}

.walk-lines .sub {
  background: transparent;
}

.walk-lines .total {
  border-top: 2px solid var(--pine);
  margin-top: 0.15rem;
}

.example-lines {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.example-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.example-lines li:first-child {
  border-top: 0;
}

.example-lines .total {
  font-weight: 700;
  border-top: 2px solid var(--pine);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
}

.example-lines b {
  font-family: Fraunces, Georgia, serif;
  color: var(--pine);
}

.rates li:first-child {
  border-top: 0;
}

.rates b {
  font-family: Fraunces, Georgia, serif;
  color: var(--pine);
}

.legal-list,
.yes-no {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.yes-no article ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.yes-no .no {
  border-color: rgba(164, 75, 50, 0.35);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  font-family: Fraunces, Georgia, serif;
}

form {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-raised);
  min-height: var(--touch);
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hidden {
  display: none;
}

.form-error {
  margin: 0.8rem 0 0;
  font-weight: 700;
  color: var(--brick);
}

.success {
  display: none;
  background: #e8f0e6;
  border: 1px solid var(--moss);
  padding: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
}

.success.show {
  display: block;
}

.fine-print {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  background: var(--pine);
  color: #d5ccc0;
  padding: 2.6rem 0 2rem;
  border-top: 5px solid var(--brick);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 1.6rem;
}

.site-footer a {
  color: var(--honey);
  font-weight: 700;
}

.site-footer strong {
  color: var(--cream);
  font-family: Fraunces, Georgia, serif;
}

.site-footer .brand img {
  width: 44px;
  height: 44px;
}

:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

.quote-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.btn.is-locked,
.btn[aria-disabled="true"] {
  background: #b8b2a6;
  border-color: #b8b2a6;
  color: #f4efe6;
  box-shadow: none;
  pointer-events: none;
  cursor: not-allowed;
}

.btn-ghost.is-locked,
.btn-ghost[aria-disabled="true"] {
  background: #e6e0d4;
  color: #8a8478;
  border-color: #c9c3b6;
}

.quote-hint {
  margin: 0.85rem 0 0;
  font-weight: 700;
  color: var(--muted);
}

.quote-copy .radius-lookup,
form[name="quote"] .radius-lookup {
  margin: 1rem 0 0;
}

form[name="quote"] .radius-result {
  margin-bottom: 1rem;
}

.radius-block {
  margin: 0;
}

.radius-lookup {
  margin: 0 0 0.75rem;
}

.radius-lookup label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.lookup-row {
  display: flex;
  gap: 0.55rem;
}

.lookup-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.lookup-row .btn {
  flex: 0 0 auto;
  padding-inline: 1.1rem;
}

.radius-map {
  height: min(420px, 58vw);
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #c62828;
  box-shadow: var(--shadow);
  background: #d8cfc0;
}

.radius-result {
  margin: 0.7rem 0 0;
  font-weight: 700;
}

.radius-result.is-in {
  color: #1b5e20;
}

.radius-result.is-out,
.radius-result.is-miss {
  color: var(--brick);
}

.radius-block figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.leaflet-container {
  font-family: inherit;
  background: #d8cfc0;
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    background: var(--pine-mid);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gutter) 1.2rem;
  }

  .header-nav.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row,
  .footer-grid,
  .split,
  .quote-split,
  .legal-list,
  .yes-no,
  .price-grid,
  .price-math,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .price-math li::after {
    display: none;
  }

  .lookup-row {
    flex-wrap: wrap;
  }

  .lookup-row .btn {
    width: 100%;
  }

  h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
