/* Mother Road Scoop Co. — mobile-first styles. No framework, no build step.
   Palette and contrast from the brand kit (WCAG AA for all text pairings used):
   rust on cream 4.9:1 · deep turquoise on cream 5.0:1 · asphalt on cream 12.5:1
   cream on asphalt 12.5:1 · mustard on asphalt 6.8:1 · asphalt on turquoise 4.5:1
   Turquoise and mustard are never used for text on cream. */

:root {
  --cream: #F4EAD5;      /* Motel Cream */
  --cream-hi: #FBF5E9;   /* lighter tint of Motel Cream for cards */
  --rust: #A8462A;       /* Rust */
  --rust-dk: #8A3720;    /* hover/pressed rust (cream on it 6.6:1) */
  --turq: #2A9D96;       /* Turquoise: shapes/icons only */
  --turq-dk: #1C6E6B;    /* Deep Turquoise: OK for text on cream */
  --asphalt: #2B2622;    /* Asphalt */
  --mustard: #E3A33B;    /* Sign Mustard: tiny accents only */

  --font-display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 0 rgba(43, 38, 34, .08), 0 10px 24px -14px rgba(43, 38, 34, .35);
  --container: 1120px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--asphalt);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--rust); letter-spacing: .005em; }
h1 { font-size: clamp(2.35rem, 8.5vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 5.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--turq-dk); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--rust); }
strong { font-weight: 600; }

/* Visible, consistent focus */
:focus-visible { outline: 3px solid var(--asphalt); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--mustard); }
.section--rust :focus-visible, .section--turq :focus-visible { outline-color: var(--cream); }
.quote-form :focus-visible { outline-color: var(--asphalt); }

/* ---------- Truthfulness gate ----------
   Anything with .once-in-place is hidden (from everyone, incl. screen readers)
   until the claim is true. Remove the class from that element to publish it. */
.once-in-place { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--asphalt); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: .75rem; color: var(--cream); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 820px; }

.eyebrow {
  font: 600 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--turq-dk); margin-bottom: .6rem;
}
.eyebrow--light { color: var(--mustard); }  /* only on Asphalt (6.8:1) */
.eyebrow--cream { color: var(--cream); }    /* on Rust / Deep Turquoise */
.lead { font-size: 1.2rem; font-weight: 500; }
.small { font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.btn--primary:hover { background: var(--rust-dk); border-color: var(--rust-dk); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--turq-dk); border-color: var(--turq-dk); }
.btn--ghost:hover { background: var(--turq-dk); color: var(--cream); }
.btn--outline { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn--outline:hover { background: var(--rust); color: var(--cream); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 234, 213, .96);
  border-bottom: 3px solid var(--rust);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand__icon { width: 34px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 400 1.05rem/1 var(--font-display); color: var(--rust); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.brand__script { font: 400 1.25rem/1 var(--font-script); color: var(--turq-dk); align-self: flex-end; margin-top: -.05em; margin-right: -.2em; }
.header-cta { white-space: nowrap; }
@media (max-width: 420px) { .hide-sm { display: none; } .brand__name { font-size: .98rem; } }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.site-nav a { color: var(--asphalt); font-weight: 500; text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--rust); border-bottom-color: var(--rust); }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 3rem; background:
  radial-gradient(ellipse at 85% 10%, rgba(42, 157, 150, .14), transparent 55%),
  radial-gradient(ellipse at 0% 100%, rgba(227, 163, 59, .16), transparent 50%), var(--cream); }
.hero__inner { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin-bottom: .2em; }
.hero__tagline { font: 400 clamp(1.25rem, 4.2vw, 1.6rem)/1.25 var(--font-display); color: var(--turq-dk); margin-bottom: 1rem; }
.hero__lede { font-size: 1.125rem; max-width: 36em; }
.offer { background: var(--asphalt); color: var(--cream); padding: .7rem 1rem; border-radius: 10px; border-left: 6px solid var(--mustard); }
.hero__ctas { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--cream-hi); border: 1.5px solid rgba(168, 70, 42, .35); color: var(--asphalt);
  padding: .4rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
}
.badges .icon { color: var(--turq-dk); }
.hero__art { max-width: 360px; margin: 0 auto; width: 100%; }
.sign { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(43, 38, 34, .22)); }
.sign__name { font-family: var(--font-display); font-size: 40px; fill: var(--cream); }
.sign__script { font-family: var(--font-script); font-size: 58px; fill: var(--cream); }
.sign__plaque { font-family: var(--font-display); font-size: 21px; fill: var(--asphalt); letter-spacing: 2px; }
.sign__plaque--sm { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .bulbs circle { animation: glow 2.4s ease-in-out infinite; }
  .bulbs circle:nth-child(even) { animation-delay: 1.2s; }
}
@keyframes glow { 50% { opacity: .45; } }

/* Road center-line divider */
.road-stripe {
  height: 18px; background:
    repeating-linear-gradient(90deg, var(--mustard) 0 38px, transparent 38px 70px) center / 100% 4px no-repeat,
    var(--asphalt);
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--tint { background: var(--cream-hi); }
.section--dark { background: var(--asphalt); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--turq { background: var(--turq-dk); color: var(--cream); }
.section--turq h2 { color: var(--cream); }
.section--rust { background: var(--rust); color: var(--cream); }
.section--rust h2 { color: var(--cream); }
.section--dark a, .section--turq a, .section--rust a { color: var(--cream); }

/* How it works */
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: none; }
.step { position: relative; background: var(--cream-hi); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem; box-shadow: var(--shadow); border-top: 6px solid var(--turq); }
.step__num {
  position: absolute; top: -1.1rem; right: 1.2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--rust); color: var(--cream);
  font: 400 1.2rem/1 var(--font-display); border: 3px solid var(--cream);
}
.step__icon { width: 2.4rem; height: 2.4rem; color: var(--turq); margin-bottom: .6rem; }
.step p { margin: 0; }

/* Pricing */
.plans { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--cream); border: 2px solid rgba(168, 70, 42, .3); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.plan--featured { border: 3px solid var(--rust); background: #fff8ec; box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -.9rem; left: 1.2rem; margin: 0;
  background: var(--asphalt); color: var(--mustard); padding: .25rem .8rem; border-radius: 999px;
  font: 600 .78rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.plan h3 { margin-bottom: .3rem; }
.plan__price { margin: 0; color: var(--asphalt); display: flex; align-items: baseline; gap: .35rem; }
.plan__amount { font: 400 3rem/1 var(--font-display); color: var(--rust); }
.plan__unit { font-weight: 600; }
.plan__billed { color: var(--turq-dk); font-weight: 600; margin: .3rem 0 1rem; }
.plan .btn { margin-top: auto; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; }
.checklist .icon { color: var(--turq-dk); margin-top: .2em; }
.addons__title { margin-top: 2.5rem; color: var(--asphalt); font-size: 1.3rem; }
.addons { list-style: none; padding: 0; margin: 0 0 1.25rem; border-top: 2px dashed rgba(43, 38, 34, .25); }
.addons li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .85rem 0; border-bottom: 2px dashed rgba(43, 38, 34, .25); }
.addons__name { font-weight: 600; }
.addons__note { display: block; font-weight: 400; font-size: .95rem; }
.addons__price { font-weight: 600; color: var(--rust); white-space: nowrap; }
.fine-print { font-size: .95rem; max-width: 52em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: 1.1rem; color: var(--rust); }
.link-arrow:hover { color: var(--rust-dk); }

/* Service area */
.area { display: grid; gap: 2rem; align-items: center; }
.chips { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--cream-hi); border: 2px solid var(--turq); border-radius: 999px; padding: .35rem .85rem; font-weight: 500; }
.zips { font-size: 1.1rem; }
.zips span { font-weight: 600; color: var(--rust); }
.area__card { background: var(--asphalt); color: var(--cream); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; border: 4px solid var(--turq); box-shadow: var(--shadow); }
.area__icon { width: 2.6rem; height: 2.6rem; color: var(--mustard); }
.area__big { font: 400 2.6rem/1.1 var(--font-display); color: var(--mustard); margin: .3rem 0 .4rem; }

/* Why us */
.features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.feature { background: rgba(244, 234, 213, .06); border: 1px solid rgba(244, 234, 213, .18); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; }
.feature__icon { width: 2.1rem; height: 2.1rem; color: var(--turq); margin-bottom: .5rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { margin: 0; }

/* Commercial */
.commercial { display: grid; gap: 1.75rem; }
.commercial__ctas { display: grid; gap: .5rem; justify-items: start; }
.checklist--boxed { background: var(--cream-hi); border-radius: var(--radius); padding: 1.4rem; border-left: 6px solid var(--turq); box-shadow: var(--shadow); gap: .8rem; margin: 0; }

/* Story */
.story { display: grid; gap: 1.75rem; align-items: center; }
.story__art { max-width: 200px; margin: 0 auto; }
.story__art img { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.story__quote { margin: 0; font-size: 1.12rem; }
.story__quote footer { font-weight: 600; color: var(--cream); }
.route-map { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 1rem 1rem .6rem; color: var(--asphalt); }
.route-map svg { display: block; width: 100%; height: auto; }
.map__label { font: 600 15px var(--font-body); fill: var(--asphalt); }
.map__label--sm { font-size: 13px; font-weight: 500; }
.route-map figcaption { font-size: .88rem; margin-top: .4rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 1.25rem; }
.faq details { background: var(--cream-hi); border: 2px solid rgba(168, 70, 42, .25); border-radius: 12px; }
.faq details[open] { border-color: var(--rust); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; position: relative;
  font-weight: 600; font-size: 1.08rem; border-radius: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem;
  border-right: 3px solid var(--rust); border-bottom: 3px solid var(--rust); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq summary:hover { color: var(--rust); }
.faq details p { padding: 0 1.1rem 1.1rem; margin: 0; }

/* Quote */
.quote { display: grid; gap: 2rem; }
.quote__intro h2 { font-size: clamp(2.1rem, 6.5vw, 3rem); }
.quote__points { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .45rem; }
.quote__points li { display: flex; gap: .5rem; align-items: flex-start; }
.quote__points .icon { color: var(--cream); margin-top: .2em; }
.quote__alt a { font-weight: 600; }
.quote-form { background: var(--cream); color: var(--asphalt); border-radius: var(--radius); padding: 1.5rem 1.25rem; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); border: 4px solid var(--asphalt); }
.quote-form a { color: var(--turq-dk); }
.field { display: grid; gap: .3rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label { font-weight: 600; }
.optional { font-weight: 400; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--asphalt); background: #fffdf8;
  border: 2px solid #8a7f72; border-radius: 10px; padding: .7rem .8rem; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23A8462A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 1.1rem;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--turq-dk); outline-offset: 1px; border-color: var(--turq-dk); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--rust); box-shadow: 0 0 0 1px var(--rust); }
.hint, .consent { font-size: .85rem; margin: 0; }
.consent { margin: -.5rem 0 1rem; }
.zip-status { font-size: .92rem; font-weight: 600; margin: -.6rem 0 1rem; min-height: 0; }
.zip-status:empty { display: none; }
.zip-status.is-in { color: var(--turq-dk); }
.zip-status.is-out { color: var(--rust); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate { background: var(--asphalt); color: var(--cream); border-radius: 12px; padding: 1rem 1.1rem; margin: .5rem 0 1.25rem; }
.estimate__label { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin: 0 0 .2rem; }
.estimate__price { font: 400 2rem/1.1 var(--font-display); margin: 0 0 .25rem; }
.estimate__detail { font-size: .92rem; margin: 0; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.form-status { background: var(--cream-hi); border: 2px solid var(--turq-dk); border-radius: 10px; padding: .9rem 1rem; }
.form-status.is-error { border-color: var(--rust); }
.form-status p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--asphalt); color: var(--cream); padding: 2.5rem 0 2rem; border-top: 6px solid var(--turq); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--mustard); }
.footer { display: grid; gap: 1.5rem; font-size: .95rem; }
.footer p { margin: 0 0 .35rem; }
.footer__brand { display: flex; gap: 1rem; align-items: center; }
.footer__brand img { width: 64px; flex: none; }
.footer__name { font: 400 1.3rem/1.2 var(--font-display); color: var(--mustard); }
.footer__links { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer__links a { display: inline-block; padding: .35rem 0; }
.footer__legal { border-top: 1px solid rgba(244, 234, 213, .2); padding-top: 1rem; font-size: .88rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--addr { grid-template-columns: 2fr 1fr; }
  .quote-form { padding: 2rem 1.75rem; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .area { grid-template-columns: 3fr 2fr; }
  .commercial { grid-template-columns: 1fr 1fr; align-items: center; }
  .story { grid-template-columns: 180px 1fr; }
  .route-map { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
  .footer { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
  .section { padding: 4.5rem 0; }
}
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .site-nav { display: block; }
  .brand__icon { width: 40px; height: 47px; }
  .brand__name { font-size: 1.25rem; }
  .brand__script { font-size: 1.45rem; }
  .hero { padding: 4rem 0 4.5rem; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero__art { max-width: 480px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: 200px 1.3fr 1fr; gap: 2.5rem; }
  .route-map { grid-column: auto; }
  .quote { grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
  .quote__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (min-width: 960px) and (max-width: 1100px) {
  .site-nav ul { gap: 1rem; }
}

@media print {
  .site-header, .hero__art, .road-stripe, .quote-form { display: none; }
  body { background: #fff; }
}

/* Founding Neighbors launch offer */
.offer a { color: var(--cream); font-weight: 700; text-underline-offset: 3px; }
.offer small { display: block; margin-top: .3rem; }
.offer-fields { border: 1px solid var(--rust); border-radius: 10px; padding: 1rem; margin: 0 0 1.5rem; }
.offer-fields legend { font-weight: 700; padding: 0 .4rem; }
.offer-choice { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; }
.offer-choice input { width: auto; margin-top: .3rem; flex: 0 0 auto; }
.offer-fields .hint { margin: .6rem 0 1rem; }
.offer-fields .field { margin-bottom: 0; }

.consent input[type="checkbox"] { width: auto; flex: 0 0 auto; margin-top: .3rem; }
.btn:disabled { opacity: .65; cursor: wait; }

/* Preserve side padding on policy and native quote pages. */
main.container.section { padding-left: 1.25rem; padding-right: 1.25rem; }
