/* ─────────────────────────────────────────────────────────────
   OAW Insurance — site layout (Home v2)
   Hallmark · macrostructure: hero-starter lead-gen · tone: trustworthy-utility
   · palette: per-site brand on cream
   pre-emit: philosophy 4 / hierarchy 5 / execution 4 / specificity 5 /
             restraint 4 / variety 4

   The homepage hero holds a ZIP starter, not the whole questionnaire.
   The 18-step tap-through wizard lives on its own page (quote.html) so
   the homepage can carry the local SEO copy above the fold.
   ──────────────────────────────────────────────────────────── */

/* ── Shared section furniture ─────────────────────────────── */
/* the header is sticky, so an in-page nav jump must clear its height or the
   section heading lands underneath it */
main > section[id],
#main { scroll-margin-top: 88px; }

.eyebrow {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading-accent);
  margin-bottom: var(--space-3);
}
/* base.css caps <p> at --measure; without this the box stops short of the
   container and the "centred" eyebrow lands left of the heading. */
.eyebrow--center { text-align: center; max-width: none; }
.section-head { text-align: center; margin-bottom: var(--space-7); }
.section-head h2 { margin-bottom: 0; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
}
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; min-width: 0; }
/* wordmarks vary in aspect ratio; cap by width too or the widest ones push
   the header past the viewport on small phones */
.brand__logo { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.brand__mark { height: 44px; width: 44px; flex: none; }
.brand__name-stack { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name-stack > span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-transform: uppercase;
}
.brand__name-stack > span:last-child {
  font-family: var(--font-utility);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* --color-primary-deep is tuned against the brand band, not cream: at this
     size it lands under 4.5:1 on paper. Muted ink is the readable role here. */
  color: var(--color-muted);
}
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
}
.site-nav a:hover { color: var(--color-primary-deep); text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: var(--space-4); }
.header-phone {
  color: var(--color-ink);
  font-weight: 800;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.header-phone:hover { color: var(--color-primary-deep); }
.header-cta .btn {
  padding: var(--space-3) var(--space-5);
  font-weight: 800;
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--color-primary);
  color: var(--color-ink-deep);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(250, 247, 240, 0.28), transparent 55%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-8);
}
.hero__eyebrow {
  display: inline-block;
  background: var(--color-paper);
  color: var(--color-ink-deep);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero h1 {
  color: var(--color-ink-deep);
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: 15ch;
}
.hero .lead {
  font-size: var(--text-lg);
  color: var(--color-ink-deep);
  max-width: 38ch;
  margin-bottom: var(--space-6);
}
.hero__aside { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.hero__art {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(27, 34, 48, 0.28));
}
.hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero__pills li {
  background: rgba(250, 247, 240, 0.55);
  color: var(--color-ink-deep);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* ── ZIP starter card (in the hero) ───────────────────────── */
.zip-starter {
  /* clears the sticky header when a "Get my free quote" link jumps here */
  scroll-margin-top: 88px;
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  max-width: 520px;
  min-width: 0;
}
.zip-starter__label {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
}
.zip-starter__row { display: flex; gap: 10px; margin-top: var(--space-3); }
.zip-starter__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-3) var(--space-5);
  font: inherit;
  font-size: var(--text-lg);
  font-weight: 600;
  background: var(--color-field);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-ink);
  min-height: 56px;
}
.zip-starter__input:focus { border-color: var(--color-primary); }
.zip-starter__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  min-height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-ink-deep);
  color: var(--color-paper);
  border: 2px solid var(--color-ink-deep);
  font: inherit;
  font-weight: 800;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease);
}
.zip-starter__go:hover { background: var(--color-ink); color: var(--color-paper); }
.zip-starter__note { margin: var(--space-3) 0 0; font-size: var(--text-xs); color: var(--color-muted); max-width: none; }
.call-strip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  color: var(--color-ink-deep);
  font-weight: 800;
  font-size: var(--text-base);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
}
.call-strip:hover { color: var(--color-paper); }

/* ── What we insure ───────────────────────────────────────── */
.section-insure { background: var(--color-paper-deep); padding-block: var(--space-8); }
.insure-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-5);
  text-align: center;
}
.insure-cell { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.insure-cell__icon { height: 72px; width: auto; object-fit: contain; }
.insure-cell__label {
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}

/* ── Why choose us (split) ────────────────────────────────── */
.section-why { background: var(--color-paper); padding-block: var(--space-8); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: center;
}
.why-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 var(--space-6);
  display: grid;
  gap: var(--space-4);
}
.why-list li { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: 0; }
.why-list__check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-deep);
  font-weight: 800;
  margin-top: 2px;
}
.why-list li > span:last-child { color: var(--color-ink-soft); font-size: var(--text-base); }
.why-list strong { color: var(--color-ink); font-weight: 800; }
.split-photo {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ── Local section ────────────────────────────────────────── */
/* The one block that is not a template swap between the ten sites: the
   communities the site is written for, the office it is written from, and
   what carriers price for in that part of Ohio. */
.section-local { background: var(--color-paper-deep); padding-block: var(--space-8); }
.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
  margin-bottom: var(--space-7);
}
.local-grid > * { min-width: 0; }
.local-copy p { color: var(--color-ink-soft); max-width: none; }
.local-copy p:last-child { margin-bottom: 0; }
.local-presence {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
  color: var(--color-ink);
}
.local-aside {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.local-aside h3,
.local-risks__heading {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading-accent);
  margin: 0 0 var(--space-4);
}
.local-risks__heading { text-align: center; }
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
  color: var(--color-ink);
  font-size: var(--text-sm);
}
.area-list li { margin: 0; padding-left: var(--space-4); position: relative; }
.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.risk-card {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.risk-card h4 { font-size: var(--text-lg); font-weight: 800; margin: 0 0 var(--space-2); line-height: 1.2; }
.risk-card p { font-size: var(--text-sm); color: var(--color-ink-soft); margin: 0; max-width: none; }

/* ── Hub (parent only) ────────────────────────────────────── */
.section-hub { background: var(--color-paper); padding-block: var(--space-8); }
.hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.hub-grid li { margin: 0; display: flex; }
.hub-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--color-ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.hub-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
.hub-card__city { font-weight: 800; font-size: var(--text-lg); text-decoration: underline; text-decoration-color: var(--color-border-strong); }
.hub-card__area { font-family: var(--font-utility); font-size: var(--text-xs); color: var(--color-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Legal page ───────────────────────────────────────────── */
.legal { background: var(--color-paper); padding-block: var(--space-8); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
.legal h2 { font-size: var(--text-xl); margin: var(--space-6) 0 var(--space-3); }
.legal p { color: var(--color-ink-soft); }
.legal code { font-family: var(--font-utility); font-size: var(--text-sm); }
/* Brand blue is ~3.4:1 on cream; the heading accent is tuned to 4.5:1 on
   both cream grounds for every brand, so body links use it here. */
.legal a { color: var(--color-heading-accent); }

/* ── Coverage cards ───────────────────────────────────────── */
.section-coverage { background: var(--color-paper-deep); padding-block: var(--space-8); }
.coverage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.coverage-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  color: var(--color-ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.coverage-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
.coverage-card { text-decoration: none; }
.coverage-card__more {
  margin-top: auto;
  padding-top: var(--space-2);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-heading-accent);
}
.coverage-card:hover .coverage-card__more { color: var(--color-ink); }
.coverage-card h3 { font-size: var(--text-lg); font-weight: 800; margin: 0; line-height: 1.2; }
.coverage-card p { font-size: var(--text-sm); color: var(--color-ink-soft); margin: 0; max-width: none; }
.section-coverage .btn { margin-top: var(--space-6); }
.section-coverage .section-foot { text-align: center; }

/* ── How it works ─────────────────────────────────────────── */
.section-how { background: var(--color-paper); padding-block: var(--space-8); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.how-cell { text-align: center; display: flex; flex-direction: column; align-items: center; }
.how-cell__num {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--color-heading-accent);
  margin-bottom: var(--space-3);
}
.how-cell__icon { height: 72px; width: auto; object-fit: contain; margin-bottom: var(--space-4); }
.how-cell h3 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.how-cell p { font-size: var(--text-sm); color: var(--color-ink-soft); margin: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.section-testimonials { background: var(--color-paper-deep); padding-block: var(--space-8); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.testimonial {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  flex: none;
}
.testimonial__body { font-size: var(--text-sm); color: var(--color-ink-soft); line-height: 1.6; margin: 0; max-width: none; }
.testimonial__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.testimonial__name { font-weight: 800; font-size: var(--text-sm); color: var(--color-ink); }
.testimonial__stars { color: var(--color-heading-accent); letter-spacing: 0.1em; }

/* ── FAQ ──────────────────────────────────────────────────── */
.section-faq { background: var(--color-paper); padding-block: var(--space-8); }
.faq-list { display: grid; gap: var(--space-3); max-width: 900px; margin: 0 auto; }
.faq-list details {
  background: var(--color-paper-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--color-heading-accent);
  flex: none;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 var(--space-6) var(--space-5); color: var(--color-ink-soft); font-size: var(--text-sm); }
.faq-list details > div p { margin: 0; max-width: none; }

/* ── Warm CTA band ────────────────────────────────────────── */
.section-cta { background: var(--color-paper-warm); padding-block: var(--space-8); text-align: center; }
.section-cta h2 { font-size: var(--text-3xl); color: var(--color-ink-deep); margin-bottom: var(--space-3); }
.section-cta p { margin: 0 auto var(--space-6); color: var(--color-ink-deep); max-width: 52ch; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--color-ink);
  color: var(--color-on-dark);
  padding: var(--space-8) 0 var(--space-5);
  font-size: var(--text-sm);
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
/* grid items default to min-width:auto, so a wide wordmark would widen the
   track past the viewport instead of scaling down */
.site-footer__grid > *,
.hero__inner > *,
.why-grid > * { min-width: 0; }
.site-footer__logo {
  height: auto;
  width: auto;
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: var(--space-5);
  /* the white variant is the same artwork knocked out; this reproduces it */
  filter: brightness(0) invert(1);
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--color-on-dark);
}
.site-footer p { color: var(--color-on-dark-soft); max-width: 44ch; }
.site-footer h3 {
  font-family: var(--font-utility);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-on-dark-accent);
  margin: 0 0 var(--space-3);
}
.site-footer h3.site-footer__h3--spaced { margin-top: var(--space-5); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
/* hello@northeastohiohomeownersinsurance.com has no break opportunity and
   overflows a 320px viewport otherwise */
.site-footer li, .site-footer a { overflow-wrap: anywhere; }
.site-footer li { margin-bottom: 0; }
.site-footer a { color: var(--color-on-dark); text-decoration: underline; text-decoration-color: var(--color-on-dark-faint); }
.site-footer a:hover { color: var(--color-on-dark-accent); }
.site-footer__legal {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-on-dark-rule);
  text-align: center;
  color: var(--color-on-dark-faint);
  font-size: var(--text-xs);
}
.site-footer__legal a { color: var(--color-on-dark-faint); }

/* ── Trust band (dark strip under the hero) ───────────────── */
/* Four plain facts, no invented statistics — see AGENTS.md on honest copy. */
.trust-band { background: var(--color-ink-deep); color: var(--color-on-dark); }
.trust-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  padding-block: var(--space-6);
}
.trust-band__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-4);
}
.trust-band__label { font-weight: 800; font-size: var(--text-lg); letter-spacing: -0.01em; }
.trust-band__body { color: var(--color-on-dark-soft); font-size: var(--text-sm); }

/* ── Inline phone glyph ───────────────────────────────────── */
/* Replaces the 📞 emoji, which rendered at a different size and colour on
   every platform. Inline SVG needs no CSP change. */
.icon { flex: none; }

/* ═════════════════════════════════════════════════════════════
   Interior pages (coverage.html / about.html / contact.html)
   ═══════════════════════════════════════════════════════════ */

/* ── Interior page hero ───────────────────────────────────── */
.page-hero { background: var(--color-primary); color: var(--color-ink-deep); }
.page-hero__inner { padding-block: var(--space-8); }
.page-hero__eyebrow {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
}
.page-hero h1 {
  color: var(--color-ink-deep);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: 18ch;
}
.page-hero__lede {
  font-size: var(--text-lg);
  color: var(--color-ink-deep);
  max-width: 52ch;
  margin: 0;
}

/* ── Coverage: the six standard parts ─────────────────────── */
.section-standard { background: var(--color-paper); padding-block: var(--space-8); }
.section-head--left { text-align: left; margin-bottom: var(--space-7); }
.section-head--left h2 { max-width: 24ch; margin-bottom: 0; }
.standard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.standard-card {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: flex;
  gap: var(--space-4);
}
.standard-card__key {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--color-heading-accent);
  flex: none;
  margin-top: var(--space-1);
}
.standard-card h3 { font-size: var(--text-lg); font-weight: 800; margin: 0 0 var(--space-1); line-height: 1.2; }
.standard-card p { font-size: var(--text-sm); color: var(--color-ink-soft); margin: 0; max-width: none; }

/* ── Coverage: the add-on detail cards ────────────────────── */
.section-detail { background: var(--color-paper-deep); padding-block: var(--space-8); }
.detail-list { display: grid; gap: var(--space-5); }
.detail-card {
  scroll-margin-top: 88px;
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}
.detail-card__num {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading-accent);
  margin: 0 0 var(--space-2);
}
.detail-card h3 {
  font-size: var(--text-xl2);
  font-weight: 800;
  margin: 0 0 var(--space-3);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.detail-card__body { color: var(--color-ink-soft); margin: 0; max-width: 48ch; }
.detail-card__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.detail-card__points li { display: flex; gap: 10px; margin-bottom: 0; }
.tick { color: var(--color-primary); font-weight: 800; flex: none; }

/* ── About: photo split, values, and the facts row ────────── */
.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: center;
}
.about-split > * { min-width: 0; }
.about-split p { color: var(--color-ink-soft); max-width: 60ch; }
.about-split p:last-child { margin-bottom: 0; }

.section-values { background: var(--color-paper-deep); padding-block: var(--space-8); }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.value-card {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.value-card__check {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-ink-deep);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: var(--space-4);
}
.value-card h3 { font-size: var(--text-lg); font-weight: 800; margin: 0 0 var(--space-2); line-height: 1.2; }
.value-card p { font-size: var(--text-sm); color: var(--color-ink-soft); margin: 0; max-width: none; }

.section-facts { background: var(--color-paper); padding-block: var(--space-8); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); }
.facts-grid h2 {
  font-size: var(--text-xl2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
}
.facts-grid p { color: var(--color-ink-soft); font-size: var(--text-sm); margin: 0; }
.facts-grid p + a { display: inline-block; margin-top: var(--space-3); }
.facts-grid__phone { font-weight: 800; color: var(--color-heading-accent); text-decoration: none; }
.facts-grid__phone:hover { color: var(--color-ink); text-decoration: underline; }

/* ── Contact ──────────────────────────────────────────────── */
.section-contact { background: var(--color-paper); padding-block: var(--space-8); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: start;
}
.contact-grid > * { min-width: 0; }
.contact-col { display: grid; gap: var(--space-5); align-content: start; }
.contact-call {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  background: var(--color-ink-deep);
  color: var(--color-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.contact-call:hover { background: var(--color-ink); color: var(--color-on-dark); }
.contact-call__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-ink-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-call__kicker {
  display: block;
  font-family: var(--font-utility);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-on-dark-accent);
}
.contact-call__number { display: block; font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.01em; }
.contact-card {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-5);
}
.contact-card__label {
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading-accent);
  margin: 0 0 var(--space-1);
}
.contact-card p { margin: 0; color: var(--color-ink-soft); max-width: none; }
.contact-card a { font-weight: 700; color: var(--color-ink); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--color-primary-deep); }

/* The panel where the mockup put a message form. There is no backend and
   the CSP sets connect-src 'none', so this hands the visitor the two paths
   that actually reach someone instead of a form that silently drops mail. */
.contact-panel {
  background: var(--color-field);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-soft);
}
.contact-panel h2 {
  font-size: var(--text-xl2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
.contact-panel__intro { color: var(--color-muted); margin: 0 0 var(--space-5); font-size: var(--text-sm); }
.contact-panel__actions { display: grid; gap: var(--space-3); }
.contact-panel__note { font-size: var(--text-xs); color: var(--color-muted); margin: var(--space-5) 0 0; max-width: none; }

/* ── Sticky mobile call bar ───────────────────────────────── */
/* Phones only: the header CTA scrolls away, and a thumb-reachable pair of
   actions is the whole conversion path on a 375px screen. */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--color-ink-deep);
    padding: var(--space-3) clamp(var(--space-3), 4vw, var(--space-5));
    padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(27, 34, 48, 0.25);
  }
  .callbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    min-height: 52px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: var(--text-base);
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
  }
  .callbar__call { background: var(--color-primary); color: var(--color-ink-deep); }
  .callbar__call:hover { background: var(--color-primary-deep); color: var(--color-ink-deep); }
  .callbar__quote { background: transparent; color: var(--color-paper); border-color: var(--color-paper); }
  .callbar__quote:hover { background: var(--color-paper); color: var(--color-ink-deep); }
  /* keep the bar from covering the last of the footer */
  body { padding-bottom: 84px; }
}

/* ═════════════════════════════════════════════════════════════
   Quote wizard page (quote.html)
   ═══════════════════════════════════════════════════════════ */
.wizard-header { position: static; }
.wizard-header .site-header__inner { justify-content: space-between; }
.wizard {
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
}
.wizard__inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-7) clamp(var(--space-4), 5vw, var(--space-6)) var(--space-6);
  flex: 1;
}
.wizard__escape { border-top: 1px solid var(--color-border); background: var(--color-paper-deep); }
.wizard__escape p {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-5) clamp(var(--space-4), 5vw, var(--space-6));
  /* one flowing sentence, not flex items: a wrapped flex row put the
     trailing em dash alone at the start of the second line */
  text-align: center;
  text-wrap: balance;
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.wizard__escape a { font-weight: 800; color: var(--color-heading-accent); white-space: nowrap; text-decoration: none; }
.wizard__escape a:hover { color: var(--color-ink); text-decoration: underline; }

.qhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 10px;
}
.qhead__step {
  font-family: var(--font-utility);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.qhead__back {
  background: transparent;
  border: 0;
  padding: var(--space-1) 2px;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qhead__back:hover { color: var(--color-ink); }
.qbar {
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--space-7);
}
.qbar__fill {
  /* JS paints the real width through the CSSOM; default to empty so a
     paint before that never flashes a full bar */
  width: 0;
  height: 100%;
  background: var(--color-primary);
  transition: width 320ms var(--ease);
}

.qstep { animation: step-in 240ms var(--ease); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qstep__label {
  font-size: clamp(1.7rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--color-ink-deep);
}
.qstep__label:focus { outline: none; }
.qstep__hint {
  font-size: var(--text-base);
  color: var(--color-muted);
  margin: 0 0 var(--space-6);
  max-width: none;
}

/* answer cards */
.qopts { display: grid; grid-template-columns: 1fr; gap: 10px; }
.qopts[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qopts[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qopts[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.qopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  min-height: 60px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-field);
  color: var(--color-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.qopt:hover { border-color: var(--color-primary); }
.qopt[aria-pressed="true"] {
  background: var(--color-primary-pale);
  border-color: var(--color-primary);
  color: var(--color-ink-deep);
}
.qopts[data-cols="3"] .qopt,
.qopts[data-cols="5"] .qopt { justify-content: center; text-align: center; }
.qopt__dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  background: transparent;
}
.qopt[aria-pressed="true"] .qopt__dot {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.qopts[data-cols="3"] .qopt__dot,
.qopts[data-cols="5"] .qopt__dot { display: none; }

/* single field */
.qfield {
  width: 100%;
  padding: var(--space-5) var(--space-5);
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  background: var(--color-field);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-ink);
  min-height: 68px;
}
.qfield:focus { border-color: var(--color-primary); }

/* contact grid */
.qcontact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.qcontact label { display: block; }
.qcontact label[data-span="full"] { grid-column: 1 / -1; }
.qcontact__label {
  display: block;
  font-family: var(--font-utility);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}
.qcontact input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  font-size: var(--text-base);
  background: var(--color-field);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-ink);
  min-height: 56px;
}
.qcontact input:focus { border-color: var(--color-primary); }

/* consent */
.qconsent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-5);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-field);
  cursor: pointer;
}
.qconsent:has(input:checked) { border-color: var(--color-primary); }
.qconsent input {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--color-primary);
}
.qconsent span {
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-ink-soft);
}

/* done */
.qdone { text-align: center; padding-block: var(--space-8); animation: step-in 240ms var(--ease); }
.qdone__check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-success-soft);
  color: var(--color-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: var(--space-5);
}
.qdone h1 {
  font-size: clamp(2rem, 4vw, var(--text-3xl));
  margin: 0 0 var(--space-3);
  color: var(--color-ink-deep);
  font-weight: 800;
}
.qdone h1:focus { outline: none; }
.qdone p { margin: 0 auto var(--space-6); font-size: var(--text-base); color: var(--color-ink-soft); max-width: 38ch; }
.qdone__home { margin: var(--space-6) 0 0; }
.qdone__home a { font-size: var(--text-sm); font-weight: 700; color: var(--color-heading-accent); }
.qdone .qnext { margin: 0 0 var(--space-4); }
.qdone .qnext + .call-cta {
  width: 100%;
  justify-content: center;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-ink-deep);
}
.qdone .qnext + .call-cta:hover { background: var(--color-paper-deep); }
.qdone[aria-busy="true"] h1 { font-size: var(--text-2xl); }

/* Honeypot: in the DOM for bots, out of sight and reach for people. */
.qhp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.call-cta {
  background: var(--color-primary);
  color: var(--color-ink-deep);
  padding: var(--space-5) var(--space-7);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: var(--text-lg);
  text-decoration: none;
  min-height: 56px;
}
.call-cta:hover { background: var(--color-primary-deep); color: var(--color-ink-deep); }

/* error + next */
.qerror {
  margin: var(--space-5) 0 0;
  padding: var(--space-3) var(--space-4);
  background: var(--color-danger-soft);
  border: 1px solid var(--color-danger);
  border-radius: var(--radius-md);
  color: var(--color-danger);
  font-size: var(--text-sm);
  font-weight: 600;
  max-width: none;
}
.qnext {
  width: 100%;
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  min-height: 64px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-ink-deep);
  font-family: inherit;
  font-weight: 800;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.qnext:hover { background: var(--color-primary-deep); }
.qnote {
  margin: var(--space-5) 0 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-muted);
  max-width: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .insure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-6); }
  .coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: var(--space-4); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-7); }
  .hero h1 { max-width: 100%; }
  .hero .lead { max-width: 100%; }
  .zip-starter { max-width: 100%; }
  .hero__art { max-width: 340px; }
  .why-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .local-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .risk-grid { grid-template-columns: 1fr; }
  .split-photo { max-height: 320px; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  /* the nav collapses into the footer links at tablet and below */
  .site-nav { display: none; }
}

@media (max-width: 720px) {
  .site-header__inner { gap: var(--space-3); }
  .brand__logo { height: auto; max-height: 44px; }
  /* the homepage hands the call action to the sticky bar; the wizard has no
     sticky bar, so its header phone is the only one above the fold */
  body:not(.wizard-page) .header-phone { display: none; }
  .wizard-header .brand__name-stack > span:last-child { display: none; }
  .header-cta .btn { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
  .zip-starter { padding: var(--space-4); }
  .zip-starter__row { flex-wrap: wrap; }
  .zip-starter__go { flex: 1 0 100%; }
  .qopts[data-cols="2"] { grid-template-columns: 1fr; }
  .qopts[data-cols="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qcontact { grid-template-columns: 1fr; }
  .qcontact label[data-span="full"] { grid-column: auto; }
  .insure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .section-local h2,
  .section-hub h2,
  .section-why h2,
  .section-coverage h2,
  .section-how h2,
  .section-testimonials h2,
  .section-cta h2,
  .section-faq h2 { font-size: var(--text-2xl); }
  /* the wizard has its own bottom bar of actions; the sticky one would
     sit on top of the Continue button */
  .wizard-page .callbar { display: none; }
  .wizard-page { padding-bottom: 0; }
}

@media (max-width: 560px) {
  /* the brand sub-label wraps the header onto three lines at phone widths */
  .brand__name-stack > span:first-child { font-size: var(--text-base); }
  .brand__name-stack > span:last-child { display: none; }
  .brand__mark { height: 36px; width: 36px; }
  .testimonial__foot { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .qopts[data-cols="3"],
  .qopts[data-cols="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-strip { white-space: normal; }
  .header-cta .btn { padding: var(--space-2) var(--space-3); }
  .callbar a { font-size: var(--text-sm); }
}

/* ═════════════════════════════════════════════════════════════
   Interior pages + trust band — responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .standard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .trust-band__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .detail-card { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-6) var(--space-5); }
  .detail-card__body { max-width: 100%; }
  .about-split { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-split .split-photo { max-height: 320px; }
  .facts-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .page-hero h1 { max-width: 100%; }
  .page-hero__lede { max-width: 100%; }
}

@media (max-width: 720px) {
  .trust-band__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .standard-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: var(--space-5); }
  .section-standard h2,
  .section-detail h2,
  .section-values h2 { font-size: var(--text-2xl); }
}
