:root{
  /* SPACING RULE (Cody, 2026-11-18): every gap on the site comes from
     this scale, never a per-page improvisation. Measured from the
     site's own dominant rhythm:
       --gap-label   .6rem  small-caps label -> the content it names
       --gap-block   1.1rem stacked block -> next block or label (picker rhythm)
       --gap-cta     1.75rem paragraph -> button row under it
       --pad-section 2rem   vertical padding of a content section
     A label or button that sits flush against the block above it is a
     defect against this rule, on every page. */
  --gap-label:.6rem;
  --gap-block:1.1rem;
  --gap-cta:1.75rem;
  --pad-section:2rem;
  --navy:#0f2a4a;
  --navy-dark:#0a1d33;
  --navy-light:#1b3a5e;
  --flag:#b31942;
  --flag-dark:#7f0e2c;
  --white:#ffffff;
  --ink:#1f2d3d;
  --muted:#5b6b7d;
  --line:#e3e9f0;
  --bg-soft:#f4f7fa;
  --radius:14px;
  --shadow:0 10px 30px rgba(15,42,74,.10);
  --maxw:1120px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  line-height:1.6;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:.6rem 1rem;z-index:200;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}
a{color:var(--flag-dark)}
:focus-visible{outline:3px solid var(--flag);outline-offset:2px;border-radius:4px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.25rem}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.96);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none}
.brand-mark-img{width:46px;height:46px;object-fit:contain;flex:0 0 46px}
.brand-mark-img--dark{background:#fff;border-radius:11px;padding:3px}
.brand-lockup{display:flex;align-items:center;gap:.7rem}
.brand-stack{display:flex;flex-direction:column;line-height:1.2}
.brand-sub{font-size:.62rem;font-weight:600;color:var(--muted);letter-spacing:.02em;white-space:nowrap}
.brand-name{font-weight:800;font-size:1.25rem;color:var(--navy);letter-spacing:-.02em}
.brand-name span{color:var(--flag)}
.site-footer .brand-name{color:#fff}
.footer-cobrand{display:flex;gap:14px;align-items:center;margin:1rem 0;padding:1rem 1.25rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:12px}
.footer-cobrand img{width:54px;height:54px;object-fit:contain;flex:0 0 54px;background:#fff;border-radius:10px;padding:4px}
.footer-cobrand span{font-size:.82rem}
.main-nav{display:flex;align-items:center;gap:1.5rem}
.main-nav a.nav-link{text-decoration:none;color:var(--ink);font-weight:600;font-size:.95rem}
.main-nav a.nav-link:hover{color:var(--flag-dark)}
.btn{
  display:inline-block;text-decoration:none;font-weight:700;cursor:pointer;border:0;
  padding:.8rem 1.6rem;border-radius:10px;font-size:1rem;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--flag);color:#fff;box-shadow:0 6px 18px rgba(179,25,66,.35)}
.btn-primary:hover{background:var(--flag-dark)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.7)}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-nav{padding:.6rem 1.2rem;font-size:.92rem}
.menu-toggle{display:none;background:none;border:0;font-size:1.6rem;color:var(--navy);cursor:pointer;padding:.4rem}

/* Hero — photographic, night brand */
.hero{
  background:
    linear-gradient(100deg, rgba(10,29,51,.92) 0%, rgba(10,29,51,.72) 42%, rgba(10,29,51,.34) 72%, rgba(10,29,51,.55) 100%),
    url('/assets/hero-home-dusk.jpg') center 62%/cover no-repeat var(--navy-dark);
  color:#fff;padding:4.5rem 0 0;position:relative;overflow:hidden;
}
.hero-copy{max-width:62ch;position:relative;z-index:1;animation:hero-rise .6s ease-out both}
@keyframes hero-rise{from{opacity:.3;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero h1{font-size:clamp(2.6rem,5.6vw,4.1rem);line-height:1.08;letter-spacing:-.025em;margin-bottom:1.25rem}
.hero h1 .accent{color:#f43f5e} /* vivid flag red: reads RED not pink; ~3.9:1 on navy, passes large-text */
.hero p.lead{font-size:1.25rem;color:#d9e4ee;max-width:44ch;margin-bottom:2.25rem}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;position:relative;z-index:1;margin-top:var(--gap-cta)}
.hero-note{margin-top:1.4rem;font-size:.92rem;color:#b9cbdd}
/* Licensed-state pills under the hero subhead: the 9 states, up front
   instead of buried in the footer. */
.hero-states{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:-1.3rem 0 2.1rem;position:relative;z-index:1}
.hero-states-label{font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#b9cbdd;margin-right:.15rem}
.state-pill{font-size:.85rem;font-weight:700;letter-spacing:.05em;color:#eaf1f7;border:1px solid rgba(255,255,255,.38);border-radius:999px;padding:.22rem .62rem;background:rgba(255,255,255,.08)}
/* Micro trust badge — sits with the phone/email fields on intake forms
   (contact page, commercial line quote forms). The Zero Spam Guarantee's
   promise, sized for the moment of hesitation. */
.trust-micro{display:flex;align-items:flex-start;gap:.55rem;margin-top:1rem;padding:.6rem .8rem;background:var(--bg-soft);border:1px solid var(--line);border-left:4px solid var(--flag);border-radius:9px;color:var(--ink)}
.trust-micro svg{flex:0 0 16px;width:16px;height:16px;margin-top:.15rem;color:var(--flag)}
.trust-micro p{font-size:.83rem;line-height:1.5}
.trust-micro strong{color:var(--navy)}
/* Zero Spam Guarantee — featured trust badge directly under the primary quote CTA */
.spam-guarantee{
  display:flex;align-items:flex-start;gap:.75rem;max-width:58ch;
  margin-top:1.5rem;padding:.85rem 1.05rem .9rem;
  background:#fff;border-radius:12px;border-left:5px solid var(--flag);
  box-shadow:0 12px 30px rgba(10,29,51,.35);
  color:var(--ink);position:relative;z-index:1;
}
.spam-guarantee-icon{flex:0 0 22px;width:22px;height:22px;margin-top:.1rem;color:var(--flag)}
.spam-guarantee p{font-size:.93rem;line-height:1.55}
.spam-guarantee strong{color:var(--navy);font-weight:800;letter-spacing:-.01em}
.hero-proofbar{
  position:relative;z-index:1;margin-top:4rem;
  border-top:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg,rgba(10,29,51,.55),rgba(10,29,51,.82));
  backdrop-filter:blur(4px);
}
.hero-proofbar ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--maxw);margin:0 auto;padding:0 1.25rem}
.hero-proofbar li{padding:1.35rem 1.5rem 1.6rem;border-left:1px solid rgba(255,255,255,.14)}
.hero-proofbar li:first-child{border-left:0;padding-left:1.25rem}
.hero-proofbar strong{display:block;color:#fff;font-size:1rem;letter-spacing:-.01em}
.hero-proofbar span{font-size:.83rem;color:#9fb2c6;line-height:1.45;display:block;margin-top:.15rem}
.hero-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:700;color:#c9a869;margin-bottom:1.1rem;max-width:52ch} /* antique gold kicker */
@media(max-width:900px){
  .hero{padding:5rem 0 0}
  .hero-proofbar ul{grid-template-columns:1fr 1fr}
  .hero-proofbar li{padding:1rem 1rem 1.1rem}
  .hero-proofbar li:nth-child(odd){border-left:0;padding-left:0}
}

/* Trust band — editorial hairline strip */
.trust{background:#fff;border-bottom:1px solid var(--line)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:2.25rem 0 2rem}
.trust-item{display:block;padding:0 1.75rem;border-left:1px solid var(--line)}
.trust-item:first-child{border-left:0;padding-left:1.25rem}
.trust-icon{display:none}
.trust-item h3{font-size:1.02rem;color:var(--navy);margin-bottom:.25rem;letter-spacing:-.01em}
.trust-item p{font-size:.88rem;color:var(--muted);line-height:1.55}
@media(max-width:900px){.trust-grid{grid-template-columns:1fr 1fr;gap:1.25rem 0;padding:1.5rem 0}
.trust-item:nth-child(odd){border-left:0;padding-left:1.25rem}}
@media(max-width:560px){.trust-grid{grid-template-columns:1fr}
.trust-item{border-left:0!important;padding-left:1.25rem!important}}

/* Sections */
section.block{padding:var(--pad-section) 0}
section.block.alt{background:var(--bg-soft)}
.agency-band{background:var(--navy);color:#dbe4f0}
.agency-band h2.section-title{color:#fff}
.agency-band .eyebrow{color:#d9b98a}
.agency-band .section-sub{color:#a9b8cf}
.agency-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1rem}
.agency-facts div{border-left:2px solid var(--flag);padding-left:1.1rem}
.agency-facts strong{display:block;color:#fff;font-size:1.05rem;letter-spacing:-.01em}
.agency-facts span{font-size:.88rem;color:#9fb2c6;line-height:1.5;display:block;margin-top:.2rem}
@media (max-width:720px){.agency-facts{grid-template-columns:1fr;gap:1rem}}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:800;color:var(--flag-dark);margin-bottom:var(--gap-label)}
.eyebrow-light{color:#d9b98a}
h2.section-title{font-size:clamp(1.9rem,4vw,2.75rem);color:var(--navy);letter-spacing:-.025em;margin-bottom:.85rem}
.section-sub{color:var(--muted);font-size:1.08rem;max-width:60ch;margin-bottom:2.25rem}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow);transition:transform .12s ease,box-shadow .12s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(15,42,74,.14)}
a.card{text-decoration:none;color:inherit;display:block;cursor:pointer}
.card-cta{font-weight:700;color:var(--flag-dark);margin-top:.75rem;font-size:.92rem}
a.card:hover .card-cta{text-decoration:underline}
.card h3{color:var(--navy);font-size:1.12rem;margin-bottom:.5rem}
.card p{font-size:.95rem;color:var(--muted)}
section.block.alt .card{background:#fff}
/* Editorial card rhythms — personal lines */
.cards-lg{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}
.cards-lg .card{padding:2rem;border-left:4px solid var(--flag)}
.cards-lg .card h3{font-size:1.35rem;letter-spacing:-.015em}
.cards-sm{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cards-sm .card{padding:1.4rem;box-shadow:none}
.cards-sm .card h3{font-size:1.05rem}
/* Flood feature banner — photographic, night brand */
.flood-banner{
  display:block;position:relative;overflow:hidden;text-decoration:none;color:#fff;
  border-radius:var(--radius);margin-bottom:1.25rem;box-shadow:var(--shadow);
  background:
    linear-gradient(100deg,rgba(10,29,51,.88) 0%,rgba(10,29,51,.55) 55%,rgba(10,29,51,.25) 100%),
    url('/assets/coastal-flood-dusk.jpg') center 70%/cover no-repeat var(--navy-dark);
}
.flood-banner .fb-inner{padding:2.6rem 2.5rem;max-width:60ch;position:relative;z-index:1}
.flood-banner .fb-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  background:var(--flag);color:#fff;border-radius:999px;padding:.35rem .9rem;margin-bottom:1rem}
.flood-banner h3{font-size:clamp(1.5rem,2.8vw,2rem);letter-spacing:-.02em;margin-bottom:.6rem;color:#fff}
.flood-banner p{color:#d9e4ee;font-size:1.02rem;max-width:52ch}
.flood-banner .card-cta{color:#d9b98a;font-weight:800;margin-top:1rem;display:inline-block}
.flood-banner:hover .card-cta{text-decoration:underline}
.flood-banner:hover .fb-zoom{transform:scale(1.03)}
.flood-banner .fb-zoom{position:absolute;inset:0;background:
    linear-gradient(100deg,rgba(10,29,51,.88) 0%,rgba(10,29,51,.55) 55%,rgba(10,29,51,.25) 100%),
    url('/assets/coastal-flood-dusk.jpg') center 70%/cover no-repeat var(--navy-dark);
  transition:transform .6s ease}
@media(max-width:700px){.cards-lg{grid-template-columns:1fr}.cards-sm{grid-template-columns:1fr}
.flood-banner .fb-inner{padding:2rem 1.5rem}}

/* How it works — timeline */
.timeline{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:.5rem}
.timeline li{counter-increment:step;position:relative;padding:2.2rem 2rem 0 0}
.timeline li::before{
  content:"0" counter(step);
  display:block;font-weight:800;font-size:2.6rem;letter-spacing:-.03em;color:var(--flag);
  line-height:1;margin-bottom:.9rem;opacity:.92;
}
.timeline li::after{
  content:"";position:absolute;top:.85rem;left:0;right:1.5rem;height:2px;
  background:linear-gradient(90deg,var(--flag) 0 14px,var(--line) 14px);
  border-radius:2px;
}
.timeline h3{color:var(--navy);margin-bottom:.4rem;font-size:1.18rem;letter-spacing:-.015em}
.timeline p{color:var(--muted);font-size:.95rem}
@media(max-width:900px){
  .timeline{grid-template-columns:1fr}
  .timeline li{padding:1.5rem 0 0 3.2rem;border-left:2px solid var(--line);padding-left:1.25rem}
  .timeline li::before{font-size:1.5rem;margin-bottom:.4rem}
  .timeline li::after{display:none}
}
.fineprint{margin-top:1.75rem;font-size:.9rem;color:var(--muted);background:#eaf1f7;border-radius:10px;padding:1rem 1.25rem}

/* Quote form */
.quote-section{background:linear-gradient(160deg,var(--navy-dark),var(--navy));color:#fff}
.quote-section h2.section-title{color:#fff}
.quote-section .section-sub{color:#cdd9e5}
.quote-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}
.quote-copy p{color:#cdd9e5;margin-bottom:1rem}
.quote-copy ul{list-style:none;margin-top:1.25rem}
.quote-copy li{margin-bottom:.7rem;color:#e7eef5;padding-left:1.6rem;position:relative}
.quote-copy li::before{content:"✓";position:absolute;left:0;color:#d9b98a;font-weight:800}/* Crew A W6: gold checkmarks — flag red #B31942 on navy was ~2:1 contrast */
.form-card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:2rem;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.form-card h3{color:var(--navy);margin-bottom:1.25rem;font-size:1.25rem}
.field{margin-bottom:1.1rem}
.form-row{display:grid;gap:1.1rem;margin-bottom:1.1rem}
.form-row .field{margin-bottom:0}
@media (min-width:560px){
  .form-row{grid-template-columns:1fr 1fr}
}
.field label{display:block;font-weight:700;font-size:.9rem;margin-bottom:.35rem;color:var(--navy)}
.field input[type="text"],.field input[type="email"],.field input[type="tel"],
.field select,.field textarea{
  width:100%;padding:.75rem .9rem;border:2px solid var(--line);border-radius:10px;
  font-size:1rem;font-family:inherit;background:#fff;color:var(--ink);
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--flag);outline:none}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--flag);outline-offset:2px}
.field-hint{display:block;margin-top:.35rem;font-size:.82rem;color:var(--muted);line-height:1.45}
.field-hint a{color:var(--flag);font-weight:600}
.field .error-msg{display:none;color:#b42318;font-size:.85rem;margin-top:.3rem;font-weight:600}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:#b42318}
.field.invalid .error-msg{display:block}
.type-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.type-toggle input{position:absolute;opacity:0;pointer-events:none}
.type-toggle label{
  display:block;text-align:center;padding:.8rem;border:2px solid var(--line);border-radius:10px;
  font-weight:700;cursor:pointer;color:var(--muted);margin:0;transition:border-color .12s,background .12s,color .12s;
}
.type-toggle input:checked + label{border-color:var(--flag);background:#fbe9ec;color:var(--navy)}
.type-toggle input:focus-visible + label{outline:3px solid var(--flag);outline-offset:2px}
.form-card .btn-primary{width:100%;padding:.95rem;font-size:1.05rem}
.form-status{margin-top:1rem;border-radius:10px;padding:1rem 1.25rem;display:none}
.form-status.success{display:block;background:#e6f6ef;color:#0b5c3f;border:1px solid #bfe6d2;font-weight:600}
.form-status.sending{display:block;background:#eaf1f7;color:var(--navy);border:1px solid var(--line)}
.form-status.error{display:block;background:#fdecea;color:#8f1d1d;border:1px solid #f5c6c6;font-weight:600}

/* Business — editorial hairline rows */
.biz-rows{border-top:2px solid var(--navy)}
.biz-row{
  display:grid;grid-template-columns:2.2rem 1fr auto;gap:1.5rem;align-items:center;
  padding:1.35rem .5rem;border-bottom:1px solid var(--line);text-decoration:none;color:inherit;
  transition:background .12s ease,padding .12s ease;
}
.biz-row:hover{background:#fff}
.biz-num{font-weight:800;color:var(--flag-dark);font-size:1rem;opacity:.85}
.biz-row h3{color:var(--navy);font-size:1.15rem;letter-spacing:-.015em;margin-bottom:.15rem}
.biz-row p{font-size:.93rem;color:var(--muted);margin:0}
.biz-go{font-weight:800;color:var(--flag-dark);font-size:1.4rem;line-height:1;transition:transform .12s ease}
.biz-row:hover .biz-go{transform:translateX(5px)}
.biz-hub{
  display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:center;
  background:linear-gradient(120deg,var(--navy-dark),var(--navy));color:#fff;
  border-radius:var(--radius);padding:1.9rem 2rem;margin-top:1.75rem;text-decoration:none;
  box-shadow:var(--shadow);transition:transform .12s ease,box-shadow .12s ease;
}
.biz-hub:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(15,42,74,.2)}
.biz-hub .hub-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:999px;padding:.3rem .85rem;margin-bottom:.7rem}
.biz-hub h3{color:#fff;font-size:1.35rem;letter-spacing:-.015em;margin-bottom:.4rem}
.biz-hub p{color:#cdd9e5;font-size:.95rem;margin:0;max-width:60ch}
.biz-hub .btn{justify-self:end}
@media(max-width:700px){.biz-row{grid-template-columns:1fr;gap:.5rem}.biz-go{display:none}
.biz-hub{grid-template-columns:1fr}.biz-hub .btn{justify-self:start}}
/* Coverage area — night band, editorial state list */
.coverage-band{background:linear-gradient(160deg,var(--navy-dark),var(--navy));color:#fff}
.coverage-band h2.section-title{color:#fff;font-size:clamp(2rem,4.5vw,3rem);letter-spacing:-.025em}
.coverage-band .section-sub{color:#b9cbdd}
.coverage-band .eyebrow{color:#d9b98a}
.states-list{list-style:none;display:flex;flex-wrap:wrap;margin-top:2.25rem;border-top:1px solid rgba(255,255,255,.16)}
.states-list li{font-size:clamp(1.05rem,2vw,1.35rem);font-weight:700;letter-spacing:-.01em;color:#fff;
  padding:1.1rem 1.75rem 1.1rem 0;margin-right:1.75rem;border-bottom:1px solid rgba(255,255,255,.16);position:relative}
.states-list li::after{content:"★";position:absolute;right:.55rem;top:50%;transform:translateY(-50%);
  font-size:.7rem;color:#c9a869;opacity:.85}
.states-list li:last-child::after{display:none}
.coverage-note{margin-top:1.75rem;color:#9fb2c6;font-size:.92rem;max-width:64ch}

/* Footer */
.site-footer{background:var(--navy-dark);color:#9fb2c6;padding:3rem 0 2rem;font-size:.92rem}
.flag-stripe{height:6px;background:linear-gradient(90deg,var(--flag) 0 33%,#ffffff 33% 66%,var(--navy) 66% 100%)}
.footer-inner{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;margin-bottom:2rem}
.footer-brand .brand-name{color:#fff}
.footer-brand p{max-width:38ch;margin-top:.6rem}
.footer-nav{display:flex;gap:2.5rem}
.footer-nav h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.7rem}
.footer-nav ul{list-style:none}
.footer-nav li{margin-bottom:.45rem}
.footer-nav a{color:#9fb2c6;text-decoration:none}
.footer-nav a:hover{color:#fff}
.footer-legal{border-top:1px solid rgba(255,255,255,.12);padding-top:1.5rem;color:#7d93a9;font-size:.82rem}
.footer-legal p{margin-bottom:.6rem}

/* Responsive */

/* ---------- Quote wizard ---------- */
.wiz-steps{list-style:none;display:flex;gap:.4rem;margin:0 0 1.5rem;padding:0}
.wiz-steps li{flex:1;text-align:center;font-size:.78rem;font-weight:700;color:var(--muted);padding:.55rem .2rem;border-bottom:3px solid var(--line);white-space:nowrap}
.wiz-steps li span{display:inline-flex;width:22px;height:22px;border-radius:50%;background:var(--line);color:var(--muted);font-size:.72rem;align-items:center;justify-content:center;margin-right:.3rem}
.wiz-steps li.on{color:var(--navy);border-color:var(--flag)}
.wiz-steps li.on span{background:var(--flag);color:#fff}
.wiz-steps li.done{color:var(--flag-dark);border-color:var(--flag-dark)}
.wiz-steps li.done span{background:var(--flag-dark);color:#fff}
.wiz-h{color:var(--navy);font-size:1.25rem;margin-bottom:.35rem}
.wiz-sub{color:var(--muted);font-size:.95rem;margin-bottom:1.25rem}
.type-pick{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:1.25rem}
.type-pick button{padding:1rem;border:2px solid var(--line);border-radius:12px;background:#fff;font-weight:800;font-size:1rem;color:var(--navy);cursor:pointer;transition:border-color .12s,background .12s}
.type-pick button small{display:block;font-weight:600;color:var(--muted);font-size:.8rem;margin-top:.15rem}
.type-pick button.on{border-color:var(--flag);background:#fbe9ec}
.line-pick{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.line-pick button{text-align:left;padding:.9rem 1rem;border:2px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .12s,background .12s}
.line-pick button b{display:block;color:var(--navy);font-size:.95rem}
.line-pick button small{color:var(--muted);font-size:.8rem}
.line-pick button.on{border-color:var(--flag);background:#fbe9ec}
.line-pick button.on b{color:var(--flag-dark)}
a.line-flood{display:block;margin-top:.7rem;padding:.9rem 1rem;border:2px dashed var(--line);border-radius:12px;text-decoration:none;color:var(--navy)}
a.line-flood b{color:var(--flag-dark)}
a.line-flood small{color:var(--muted);font-size:.82rem;display:block;margin-top:.15rem}
.trade-wrap{margin-top:.7rem;padding:.9rem 1rem;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}
.trade-wrap label{display:block;font-weight:700;color:var(--navy);font-size:.92rem;margin-bottom:.45rem}
.trade-wrap label span{font-weight:600;color:var(--muted);font-size:.8rem}
.trade-wrap select{width:100%;padding:.65rem .8rem;border:2px solid var(--line);border-radius:10px;font-size:1rem;color:var(--ink);background:#fff}
.trade-refer{margin-top:.7rem;padding:1.05rem 1.1rem;border:2px solid var(--navy);border-radius:12px;background:#f4f7fa}
.trade-refer .eyebrow{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--flag-dark);margin-bottom:.3rem}
.trade-refer h4{color:var(--navy);font-size:1.02rem;margin-bottom:.35rem}
.trade-refer p{font-size:.88rem;color:var(--muted);margin-bottom:.8rem}
.trade-refer .btn-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.trade-refer .wc-cta{display:inline-block;background:var(--flag);color:#fff;font-weight:800;text-decoration:none;padding:.7rem 1.3rem;border-radius:10px;font-size:.95rem}
.trade-refer .wc-cta:hover{background:var(--flag-dark)}
.trade-refer .wc-alt{font-size:.82rem;color:var(--muted)}
.wiz-err{display:none;color:#b42318;font-size:.88rem;font-weight:600;margin-top:.8rem}
.wiz-err.show{display:block}
.line-section{border:1px solid var(--line);border-radius:12px;padding:1.25rem;margin-bottom:1.25rem;background:#fbfdff}
.line-section > h4{color:var(--navy);font-size:1.05rem;margin-bottom:1rem;padding-bottom:.6rem;border-bottom:2px solid var(--line)}
.line-section .field:last-child{margin-bottom:.25rem}
.rep-item{border:1px dashed #c8d4e0;border-radius:10px;padding:1rem;margin-bottom:.75rem;background:#fff;position:relative}
.rep-item .rep-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}
.rep-item .rep-head b{color:var(--navy);font-size:.9rem}
.rep-remove{background:none;border:0;color:var(--flag-dark);font-weight:700;font-size:.82rem;cursor:pointer;padding:.5rem .75rem}
.rep-add{background:#fff;border:2px dashed #c8d4e0;border-radius:10px;color:var(--navy);font-weight:700;font-size:.88rem;padding:.65rem;width:100%;cursor:pointer;margin-bottom:.25rem}
.rep-add:hover{border-color:var(--flag);color:var(--flag-dark)}
.unknown-toggle-lbl{display:flex;align-items:center;gap:.45rem;font-weight:600!important;color:var(--muted)!important;font-size:.84rem;cursor:pointer;margin-top:.4rem}
.unknown-toggle-lbl input{accent-color:var(--flag);width:auto;margin:0}
.check-group{display:flex;flex-wrap:wrap;gap:.5rem}
.check-group label{display:flex;align-items:center;gap:.4rem;border:2px solid var(--line);border-radius:999px;padding:.6rem .95rem;font-size:.88rem;font-weight:600;color:var(--navy);cursor:pointer;margin:0}
.check-group input{accent-color:var(--flag)}
.check-group label:has(input:checked){border-color:var(--flag);background:#fbe9ec}
.wiz-nav{display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem}
.btn-ghost{background:#fff;color:var(--navy);border:2px solid var(--line)}
.btn-ghost:hover{border-color:var(--navy)}
.review-line{border:1px solid var(--line);border-radius:10px;padding:.9rem 1.1rem;margin-bottom:.7rem;background:#fbfdff}
.review-line b{color:var(--navy)}
.review-line span{color:var(--muted);font-size:.88rem}
.review-contact{font-size:.95rem;color:var(--ink);margin-bottom:1rem}

/* FAQ accordion — editorial hairlines */
.faq-list{max-width:820px;border-top:2px solid var(--navy)}
.faq-list details{border-bottom:1px solid var(--line);background:transparent;border-radius:0;margin-bottom:0;box-shadow:none}
.faq-list summary{cursor:pointer;font-weight:700;font-size:1.05rem;color:var(--navy);padding:1.25rem .25rem;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font-size:1.5rem;color:var(--flag-dark);flex:0 0 auto;font-weight:400}
.faq-list details[open] summary::after{content:"–"}
.faq-list .faq-a{padding:0 2.5rem 1.4rem .25rem;color:var(--muted);font-size:.97rem;line-height:1.65}
.faq-list .faq-a strong{color:var(--ink)}
@media (max-width:560px){
  .line-pick{grid-template-columns:1fr}
  .wiz-steps li{font-size:.68rem}
  .wiz-steps li span{margin-right:.15rem}
}

@media(max-width:900px){
  .quote-grid{grid-template-columns:1fr;gap:2rem}
}

/* Story block — photographic */
.story{display:grid;grid-template-columns:1.3fr .7fr;gap:3rem;align-items:center}
.story-copy p{color:var(--muted);font-size:1.05rem;margin-bottom:1.1rem;max-width:58ch}
.story-copy p strong{color:var(--ink)}
.story-visual{display:flex;flex-direction:column;gap:1.25rem}
.story-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin:0;position:relative}
.story-photo img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .6s ease}
.story-photo:hover img{transform:scale(1.03)}
.story-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);display:flex;gap:1rem;align-items:center;text-align:left}
.story-card img{width:64px;height:64px;border-radius:14px;flex:0 0 64px}
.story-card-title{font-weight:800;color:var(--navy);margin-bottom:.35rem}
.story-card p{font-size:.9rem;color:var(--muted);margin:0}
@media (max-width:900px){.story{grid-template-columns:1fr;gap:2rem}}
@media (max-width:760px){
  .menu-toggle{display:block;min-width:44px;min-height:44px;justify-content:center;align-items:center}
  .main-nav{
    display:none;position:absolute;top:68px;left:0;right:0;background:#fff;
    flex-direction:column;align-items:stretch;padding:1rem 1.25rem 1.5rem;
    border-bottom:1px solid var(--line);box-shadow:0 16px 30px rgba(15,42,74,.12);gap:.25rem;
  }
  .main-nav.open{display:flex}
  .main-nav a.nav-link{padding:.7rem 0;border-bottom:1px solid var(--line)}
  .main-nav .btn-nav{margin-top:.8rem;text-align:center}
  section.block{padding:1.5rem 0}
  .hero{padding:3.5rem 0 0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}

/* ============ IA build (2026-10-05) — chooser + line pages ============ */

/* Plain hero variant (no photograph) for the three line pages */
.hero-plain{background:linear-gradient(150deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);padding:5.5rem 0 4.5rem}
.hero-plain .hero-proofbar{display:none}
.hero-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.6rem 0 2rem;list-style:none;padding:0}
.hero-tags li{font-size:.85rem;font-weight:600;color:#d9e4ee;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.4rem .95rem}

/* Chooser rows — full-width editorial routing rows, one per insurance line */
.chooser{padding:3.5rem 0 1rem}
.chooser-row{
  display:grid;grid-template-columns:4.5rem 1fr auto;gap:1.75rem;align-items:center;
  padding:2.2rem 1rem;border-top:2px solid var(--navy);text-decoration:none;color:inherit;
  transition:background .12s ease;
}
.chooser-row:last-of-type{border-bottom:2px solid var(--navy)}
.chooser-row:hover{background:var(--bg-soft)}
.chooser-num{font-weight:800;font-size:2rem;color:var(--flag);opacity:.9;letter-spacing:-.02em}
.chooser-row h2{color:var(--navy);font-size:clamp(1.7rem,3.4vw,2.4rem);letter-spacing:-.025em;margin-bottom:.4rem}
.chooser-row p{color:var(--muted);font-size:1.02rem;max-width:56ch;margin-bottom:.9rem}
.chooser-chips{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;padding:0}
.chooser-chips li{font-size:.8rem;font-weight:700;color:var(--navy-light);background:#eaf1f7;border-radius:999px;padding:.32rem .8rem}
.chooser-go{font-weight:800;color:var(--flag-dark);font-size:2rem;line-height:1;transition:transform .12s ease}
.chooser-row:hover .chooser-go{transform:translateX(7px)}
@media(max-width:640px){
  .chooser-row{grid-template-columns:1fr;gap:.75rem;padding:1.75rem .25rem}
  .chooser-num{font-size:1.2rem}
  .chooser-go{display:none}
}

/* Per-line quote entry band (reuses .quote-section navy treatment) */
.quote-entry .quote-grid{grid-template-columns:1fr;max-width:52rem;text-align:left}
.quote-entry .hero-ctas{margin-top:1.75rem}
.quote-entry ul{max-width:44rem}
.quote-note{margin-top:1.25rem;font-size:.9rem;color:#9fb2c6}

/* Learn cross-link strip */
.guides{background:#fff}
.guide-strip{border-top:2px solid var(--navy)}
.guide-link{
  display:grid;grid-template-columns:1fr auto;gap:1.25rem;align-items:center;
  padding:1.2rem .5rem;border-bottom:1px solid var(--line);text-decoration:none;color:inherit;
}
.guide-link:hover{background:var(--bg-soft)}
.guide-link h3{color:var(--navy);font-size:1.08rem;letter-spacing:-.01em;margin-bottom:.2rem}
.guide-link p{color:var(--muted);font-size:.9rem;margin:0}
.guide-link .biz-go{font-size:1.25rem}

/* Honest explainer panels */
.explain{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:2rem;margin-top:2rem}
.explain h3{color:var(--navy);font-size:1.25rem;margin-bottom:.6rem;letter-spacing:-.015em}
.explain p{color:var(--ink);font-size:.98rem;margin-bottom:.8rem}
.explain p:last-child{margin-bottom:0}
.explain .fine{font-size:.88rem;color:var(--muted)}

/* Inline quote CTA row inside content */
.inline-quote{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem;
  background:#fff;border:1px solid var(--line);border-left:4px solid var(--flag);
  border-radius:var(--radius);padding:1.5rem 1.75rem;margin:2rem 0;box-shadow:var(--shadow);
}
.inline-quote p{margin:0;font-weight:600;color:var(--navy);font-size:1.05rem}
.inline-quote small{display:block;font-weight:400;color:var(--muted);font-size:.88rem;margin-top:.25rem}

/* ============ HOMEPAGE CONVERSION CREW (2026-10-09) ============ */

/* Chooser shortcut strip (worker 5) */
.chooser-shortcut{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:1.6rem;padding-top:1.4rem;border-top:1px solid #e2e9f0}
.chooser-shortcut span{font-size:.85rem;font-weight:700;color:var(--muted);margin-right:.4rem}
.chooser-shortcut a{font-size:.9rem;font-weight:700;color:var(--navy);text-decoration:none;border:1.5px solid var(--navy);border-radius:999px;padding:.45rem 1.15rem;transition:background .15s,color .15s}
.chooser-shortcut a:hover{background:var(--navy);color:#fff}

/* After-submit strip (worker 3): compact 4-step timeline reusing .timeline chrome */
.after-submit .timeline{grid-template-columns:repeat(4,1fr)}
.after-submit .timeline li strong{display:block;color:var(--navy);font-size:1.05rem;letter-spacing:-.01em;margin-bottom:.35rem}
.after-submit .timeline li span{color:var(--muted);font-size:.92rem;line-height:1.5}
@media(max-width:900px){.after-submit .timeline{grid-template-columns:1fr}}

/* Footer cobrand lines (worker 3) */
.cobrand-line{margin:0 0 .3rem;color:#cdd9e5;font-size:.92rem}
.cobrand-line strong{color:#fff}
.cobrand-contact a{color:#fff;font-weight:700;text-decoration:none}
.cobrand-contact a:hover{text-decoration:underline}

/* Homepage quote fast-path mini form (worker 2). .quote-entry-wide re-enables
   the two-column grid only for this band; appended last so it wins on equal
   specificity over the single-column .quote-entry override above. */
.quote-entry-wide .quote-grid{grid-template-columns:1fr 1.1fr;max-width:72rem;gap:3rem;align-items:start}
.quote-form{background:#fff;color:var(--ink,#1f2d3d);border-radius:18px;padding:1.75rem;box-shadow:0 18px 44px rgba(4,14,26,.35)}
.quote-form h3{color:#0f2a4a;font-size:1.25rem;letter-spacing:-.02em;margin-bottom:.3rem}
.qf-sub{color:#5b6b7d;font-size:.92rem;margin-bottom:1.25rem}
.quote-form .field label{color:#0f2a4a}
.quote-form .field input,.quote-form .field select{color:#1f2d3d}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.qf-status{display:none;font-size:.92rem;margin-top:1rem;font-weight:600}
.qf-status.error{display:block;color:#7f0e2c}
.qf-waitlist{font-size:.85rem;background:#fef6e7;border:1px solid #f5d9a8;border-radius:10px;padding:.7rem .9rem;margin-bottom:1rem;color:#1f2d3d}
.qf-alt{margin-top:1.1rem;font-size:.95rem;color:#3d4b63;text-align:center;line-height:1.5}
.qf-alt a{display:inline-block;min-height:44px;line-height:1.4;padding:.6rem .75rem;color:#B31942;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.qf-alt a:hover{color:#7f0e2c}
.qe-honeypot{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.canopy-details{border:1px solid var(--line,#e3e9f0);border-radius:10px;margin-bottom:1.1rem;background:#fbfcfe}
.canopy-details summary{cursor:pointer;padding:.8rem 1rem;font-weight:700;color:#0f2a4a;font-size:.95rem;min-height:48px}
.canopy-details #canopy-slot{padding:0 1rem 1rem}
@media(max-width:900px){.quote-entry-wide .quote-grid{grid-template-columns:1fr;max-width:52rem}}
@media(max-width:560px){.field-row{grid-template-columns:1fr}.quote-form{padding:1.25rem}}

/* WebP backgrounds with JPEG fallback (worker 8) */
@supports (background-image:url('/assets/hero-home-dusk.webp')){
  .hero{background:
    linear-gradient(100deg, rgba(10,29,51,.92) 0%, rgba(10,29,51,.72) 42%, rgba(10,29,51,.34) 72%, rgba(10,29,51,.55) 100%),
    url('/assets/hero-home-dusk.webp') center 62%/cover no-repeat var(--navy-dark)}}
@supports (background-image:url('/assets/coastal-flood-dusk.webp')){
  .flood-banner,.flood-banner .fb-zoom{background:
    linear-gradient(100deg,rgba(10,29,51,.88) 0%,rgba(10,29,51,.55) 55%,rgba(10,29,51,.25) 100%),
    url('/assets/coastal-flood-dusk.webp') center 70%/cover no-repeat var(--navy-dark)}}

/* ============ MOBILE CONVERSION PASS (worker 7, <=760px) ============ */
.btn-header-cta{display:none}
.mobile-cta-bar{display:none}
@media (max-width:760px){
  html, body{ overflow-x:clip; }
  .header-inner{ gap:.6rem; }
  .brand{ min-width:0; }
  .brand-sub{ display:none; }
  .btn-header-cta{
    display:inline-block; white-space:nowrap; flex:0 0 auto;
    padding:.62rem 1.05rem; font-size:.9rem; border-radius:9px;
    box-shadow:0 4px 14px rgba(179,25,66,.32);
  }
  .hero{ padding:2.75rem 0 0; }
  .hero h1{ font-size:2.05rem; line-height:1.15; }
  .hero p.lead{ font-size:1.06rem; margin-bottom:1.6rem; }
  .hero-kicker{ font-size:.78rem; margin-bottom:.9rem; }
  .hero-ctas .btn{
    width:100%; text-align:center; padding:1rem 1.25rem; font-size:1.06rem;
  }
  .hero-note{ font-size:.95rem; margin-top:1.1rem; }
  .hero-proofbar{ margin-top:2.5rem; }
  body:has(.mobile-cta-bar){ padding-bottom:calc(84px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta-bar{
    display:flex; gap:.6rem; position:fixed; left:0; right:0; bottom:0; z-index:150;
    padding:.7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background:rgba(255,255,255,.97); backdrop-filter:blur(10px);
    border-top:1px solid var(--line);
    box-shadow:0 -8px 24px rgba(15,42,74,.12);
  }
  .mobile-cta-bar .btn{
    flex:1 1 0; min-width:0; width:auto; text-align:center; white-space:nowrap;
    padding:.95rem .35rem; font-size:.98rem; border-radius:11px;
  }
  /* Call half of the two-button bar (conversion audit C1): a phone path
     beside the quote button on every template. */
  .mobile-cta-bar .btn-call{
    flex:1.25 1 0; background:#fff; color:var(--navy);
    border:2px solid var(--navy); box-shadow:none;
  }
  .timeline p{ font-size:1rem; }
  .faq-list .faq-a{ font-size:1rem; }
  .quote-note{ font-size:.95rem; }
  .chooser-row p{ font-size:1rem; }
  .section-sub{ font-size:1.03rem; }
  .guide-link{ padding:1.4rem .5rem; }
  .footer-nav{ flex-wrap:wrap; gap:1.5rem 2.5rem; }
  .footer-nav a{ display:inline-block; padding:.55rem 0; }
}

/* ---------- Industry search (homepage) — modern minimal, no panel chrome ---------- */
.industry-search{ padding:3.2rem 0; }
.industry-search .section-sub{ max-width:640px; }
.biz-search-panel{ margin-top:2rem; }
.biz-search-label{ display:none; } /* visible label removed; sr-only label in markup covers a11y */
.biz-search{ position:relative; max-width:780px; }
.biz-search-icon{
  position:absolute; left:1.4rem; top:50%; transform:translateY(-50%);
  width:22px; height:22px; color:#8a97a8; pointer-events:none; flex:none;
}
#biz-search-input{
  width:100%; font-size:1.25rem; min-height:64px;
  padding:1rem 1.25rem 1rem 3.5rem;
  border:1px solid #d7dee8; border-radius:18px;
  background:#fff; color:#10233c;
  box-shadow:0 8px 30px rgba(15,42,74,.10);
  transition:border-color .18s ease, box-shadow .18s ease;
  -webkit-appearance:none; appearance:none;
}
#biz-search-input::placeholder{ color:#8a97a8; }
#biz-search-input:focus{ outline:none; border-color:#B31942; box-shadow:0 0 0 4px rgba(179,25,66,.12), 0 8px 30px rgba(15,42,74,.10); }
#biz-search-results{
  position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:60;
  background:#fff; border:1px solid #e4e9f0; border-radius:16px;
  box-shadow:0 24px 60px rgba(15,42,74,.16); margin:0; padding:.5rem; list-style:none;
  max-height:340px; overflow:auto;
}
#biz-search-results li[role="option"]{
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  padding:.85rem 1rem; border-radius:10px; cursor:pointer; font-size:1.02rem;
  border-bottom:1px solid #f0f3f7;
}
#biz-search-results li[role="option"]:last-child{ border-bottom:none; }
#biz-search-results li[role="option"]:hover,
#biz-search-results li[role="option"].active{ background:#f4f6f9; }
#biz-search-results li[role="option"][aria-selected="true"]{ background:#eef2f7; }
.biz-hit-name{ font-weight:600; color:var(--ink, #10233c); }
.biz-hit-go{ color:#B31942; font-weight:700; }
.biz-nohit{ font-size:.95rem; color:#5a6b80; cursor:default !important; border-bottom:none !important; }
.biz-nohit a{ color:#B31942; font-weight:700; }
.biz-chips{ margin-top:1.1rem; font-size:1rem; color:#5a6b80; }
.biz-chip{
  display:inline-block; margin:.3rem .35rem .3rem 0; padding:.7rem 1.35rem; min-height:44px;
  border:none; border-radius:999px; background:#eef1f6;
  color:#10233c; font-size:1rem; font-weight:600; cursor:pointer;
}
.biz-chip:hover{ background:#e2e8f1; color:#B31942; }
@media (max-width:560px){
  .biz-search{ max-width:none; }
  #biz-search-input{ font-size:1.15rem; min-height:60px; }
}
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ============ DESIGN-QUALITY PASS (worker 1, 2026-10-09; un-scoped from
   .homepage to all ia.css pages in the 2026-10-19 launch-polish pass,
   per design audit P2-2 — these were system fixes, not homepage styling) ============ */

/* Body-copy floor: lift sub-16px copy to 16px for readability. */
.hero-note{font-size:1rem}
.timeline p{font-size:1rem}
.faq-list .faq-a{font-size:1rem}
.qf-alt{font-size:1rem}

/* Reduced motion: the hero rise animation is NOT covered by the global
   `*{transition:none!important}` rule (animations are not transitions), so
   reduced-motion users still got the fade-in. Show the copy immediately. */
@media (prefers-reduced-motion:reduce){
  .hero-copy{animation:none;opacity:1;transform:none}
}

/* Footer cobrand contrast: .cobrand-line was authored for a light surface but
   renders on the dark footer — the bold agency line was invisible, and the
   state line failed contrast. */
.footer-cobrand .cobrand-line{color:#cdd9e5}
.footer-cobrand .cobrand-line strong{color:#fff}

/* Tablet header (761–920px): the desktop nav overflows at 768px — "Flood zone
   check" wrapped to three lines and the header CTA clipped off-canvas. Use
   the tested mobile menu one breakpoint earlier (all ia.css pages). */
@media (max-width:920px){
  .header-inner{gap:.6rem}
  .brand-sub{display:none}
  .menu-toggle{display:block;min-width:44px;min-height:44px;justify-content:center;align-items:center}
  .btn-header-cta{display:inline-block;white-space:nowrap;flex:0 0 auto;padding:.62rem 1.05rem;font-size:.9rem;border-radius:9px;box-shadow:0 4px 14px rgba(179,25,66,.32)}
  .main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:1rem 1.25rem 1.5rem;border-bottom:1px solid var(--line);box-shadow:0 16px 30px rgba(15,42,74,.12);gap:.25rem}
  .main-nav.open{display:flex}
  .main-nav a.nav-link{padding:.7rem 0;border-bottom:1px solid var(--line)}
  .main-nav .btn-nav{margin-top:.8rem;text-align:center}
}

/* 2026-10-09 form-abandonment pass — collapsed optional fields + reassurance line.
   Used by bizQuoteForm (business-insurance/*) and lineQuoteForm (commercial/*). */
.field-opt{font-weight:400;color:var(--muted);font-size:.85rem}
details.opt-fields{border:2px solid var(--line);border-radius:12px;background:#fbfdff;margin:0 0 1.25rem;padding:0 1.15rem}
details.opt-fields>summary{cursor:pointer;padding:.95rem 0;font-weight:800;color:var(--navy);font-size:.95rem;min-height:48px}
details.opt-fields>summary::marker{color:var(--flag)}
details.opt-fields[open]{padding-bottom:1.15rem}
details.opt-fields[open]>summary{border-bottom:1px solid var(--line);margin-bottom:1rem}
details.opt-fields>fieldset.tailored-qs{margin:0 0 1rem}
details.opt-fields>.field{margin-bottom:1rem}
details.opt-fields>.field:last-child{margin-bottom:0}
p.form-reassure{font-size:.85rem;color:var(--muted);text-align:center;margin:.9rem 0 .25rem}

/* ============ BUSINESS-INSURANCE PAGES: TYPE/SPACING/MOBILE PASS (2026-10-09, design crew B w2) ============ */
/* Additive override block — appended last so it wins on equal specificity. */

/* .drivers was unstyled: the template emits <ul class="drivers"> for cost drivers,
   but no rule defined it — bullets rendered as an unindented paragraph wall. */
.drivers{list-style:none;margin:0;max-width:74ch}
.drivers li{
  position:relative;font-size:1rem;line-height:1.6;color:var(--ink);
  padding:.75rem 0 .75rem 1.9rem;border-bottom:1px solid var(--line);
}
.drivers li:last-child{border-bottom:0}
.drivers li::before{
  content:"\2713";position:absolute;left:.15rem;top:.82rem;
  color:var(--flag);font-weight:800;line-height:1;
}
.drivers li strong{color:var(--navy)}

/* Class-code cards: distinct voice from coverage cards (monospace chips). */
section.block[aria-labelledby="codes-heading"] .card{
  box-shadow:none;background:var(--bg-soft);
}
section.block[aria-labelledby="codes-heading"] .card h3{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:1.3rem;color:var(--flag-dark);letter-spacing:-.01em;
}
section.block[aria-labelledby="codes-heading"] .card p{font-size:.92rem}

/* Mobile (<=760px): hierarchy, sizes, tap targets */
@media (max-width:760px){
  .hero h1{font-size:clamp(2.2rem,9vw,2.7rem);line-height:1.12}
  h2.section-title{font-size:clamp(1.65rem,6vw,2.05rem)}
  .card p{font-size:1rem;line-height:1.62}
  .biz-row p{font-size:1rem}
  .guide-link p{font-size:.98rem}
  .drivers li{font-size:1.02rem;line-height:1.62}
  .az-link{padding:.8rem .85rem}
  .footer-nav a{display:inline-block;padding:.55rem 0}
}

/* Form-card edge pressure at 390px */
@media (max-width:560px){
  .form-card{padding:1.5rem 1.25rem}
  .form-card h3{font-size:1.18rem}
}

/* ---------- Footer v2 (Nov 6, 2026 review) ---------- */
.flag-stripe{height:4px;background:linear-gradient(90deg,var(--flag) 0%,#31517a 55%,var(--navy-dark) 100%)}
.site-footer{background:linear-gradient(180deg,#0c2340 0%,var(--navy-dark) 55%);padding:0 0 2rem}
.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:1.25rem 2rem;flex-wrap:wrap;padding:1.7rem 0 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:2.4rem}
.footer-cta .fc-text strong{display:block;color:#fff;font-size:1.18rem;line-height:1.3}
.footer-cta .fc-text span{color:#9fb2c6;font-size:.92rem}
.fc-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.fc-btn{display:inline-block;text-decoration:none;font-weight:700;font-size:.95rem;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:.6rem 1.15rem;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.fc-btn:hover{border-color:#fff;background:rgba(255,255,255,.08);transform:translateY(-1px)}
.fc-btn-primary{background:var(--flag);border-color:var(--flag)}
.fc-btn-primary:hover{background:var(--flag-dark);border-color:var(--flag-dark)}
.footer-inner{align-items:flex-start}
.footer-brand p{line-height:1.65}
.footer-nav h4{position:relative;padding-bottom:.45rem}
.footer-nav h4::after{content:"";position:absolute;left:0;bottom:0;width:26px;height:2px;background:var(--flag);border-radius:2px}
.footer-nav a{position:relative;display:inline-block;transition:color .15s ease,transform .15s ease}
.footer-nav a::before{content:"\203A";position:absolute;left:-.85rem;color:var(--flag);font-weight:800;opacity:0;transition:opacity .15s ease}
.footer-nav a:hover{color:#fff;transform:translateX(.85rem)}
.footer-nav a:hover::before{opacity:1}
.footer-cobrand{border:0;border-left:3px solid var(--flag);border-radius:0 14px 14px 0;background:linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.02));padding:1.1rem 1.3rem}
.footer-legal{position:relative}
.footer-top{position:absolute;top:1.5rem;right:0;color:#cdd9e5;text-decoration:none;font-weight:700;font-size:.82rem}
.footer-top:hover{color:#fff;text-decoration:underline}
@media (max-width:720px){
  .footer-cta{flex-direction:column;align-items:flex-start}
  .footer-top{position:static;display:inline-block;margin-bottom:.8rem}
}
@media (prefers-reduced-motion:reduce){
  .footer-nav a,.fc-btn{transition:none}
  .footer-nav a:hover{transform:none}
}

/* ---------- Footer v3 (approved Nov 6, 2026) ---------- */
.site-footer{background:linear-gradient(180deg,#0c2340 0%,var(--navy-dark) 60%);color:#aebfd2;padding:0;font-size:.93rem;line-height:1.6}
.site-footer .f-wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.site-footer .footer-cta{display:flex;align-items:center;justify-content:space-between;gap:1.2rem 2rem;flex-wrap:wrap;padding:1.7rem 0 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:0}
.site-footer .footer-cta strong{display:block;color:#fff;font-size:clamp(1.05rem,2.4vw,1.25rem);line-height:1.3}
.site-footer .footer-cta span{font-size:.92rem;color:#aebfd2}
.site-footer .fc-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.site-footer .fc-btn{display:inline-block;text-decoration:none;font-weight:700;font-size:.95rem;color:#fff;border:1px solid rgba(255,255,255,.38);border-radius:999px;padding:.62rem 1.2rem;transition:background .15s,border-color .15s,transform .15s}
.site-footer .fc-btn:hover{border-color:#fff;background:rgba(255,255,255,.09);transform:translateY(-1px)}
.site-footer .fc-primary{background:var(--flag);border-color:var(--flag)}
.site-footer .fc-primary:hover{background:var(--flag-dark);border-color:var(--flag-dark)}
.f-grid{display:grid;grid-template-columns:1.55fr .95fr .95fr .95fr .95fr;gap:2rem 1.8rem;padding:2.4rem 0 2.2rem}
.f-brand .lockup{display:flex;align-items:center;gap:.6rem}
.f-brand .lockup img{width:46px;height:46px}
.f-brand .name{color:#fff;font-weight:800;font-size:1.35rem;letter-spacing:.01em}
.f-brand p{margin-top:.7rem;max-width:36ch;color:#aebfd2}
.f-chips{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.1rem}
.f-chips a{text-decoration:none;color:#e6edf5;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:.38rem .85rem;font-size:.85rem;font-weight:600;transition:background .15s,border-color .15s}
.f-chips a:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.5)}
.f-col h4{color:#fff;font-size:.83rem;text-transform:uppercase;letter-spacing:.09em;position:relative;padding-bottom:.5rem;margin-bottom:.8rem}
.f-col h4::after{content:"";position:absolute;left:0;bottom:0;width:26px;height:2px;border-radius:2px;background:var(--flag)}
.f-col ul{list-style:none}
.f-col li{margin-bottom:.5rem}
.f-col a{color:#aebfd2;text-decoration:none;display:inline-block;transition:color .15s,transform .15s}
.f-col a:hover{color:#fff;transform:translateX(4px)}
.f-col a .st{color:#8fa6bd;font-weight:700;font-size:.92em;letter-spacing:.04em;margin-left:.15rem}
.f-col[aria-label="Offices"] a{white-space:nowrap}
.f-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.3rem 0 1.8rem}
.f-cobrand{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap}
.f-cobrand img{width:40px;height:40px;background:#fff;border-radius:9px;padding:3px;flex:0 0 40px}
.f-cobrand p{font-size:.88rem;color:#aebfd2}
.f-cobrand strong{color:#fff}
.f-legal{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap;margin-top:1.1rem;color:#7d93a9;font-size:.82rem;border-top:0;padding:0}
.f-legal p{max-width:88ch}
.f-legal p + p{margin-top:.45rem}
.f-top{flex:0 0 auto;text-decoration:none;color:#e6edf5;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.45rem 1rem;font-weight:700;font-size:.82rem;transition:background .15s}
.f-top:hover{background:rgba(255,255,255,.09)}
@media (max-width:1023px){
  .f-grid{grid-template-columns:1fr 1fr 1fr}
  .f-brand{grid-column:1 / -1}
  .f-brand p{max-width:60ch}
}
@media (max-width:640px){
  .site-footer .footer-cta{flex-direction:column;align-items:stretch}
  .site-footer .fc-actions{flex-direction:column}
  .site-footer .fc-btn{text-align:center}
  .f-grid{grid-template-columns:1fr 1fr;gap:1.6rem 1.2rem;padding:2rem 0 1.8rem}
  .f-brand{grid-column:1 / -1}
  .f-cobrand{align-items:flex-start}
  .f-legal{flex-direction:column}
  .f-top{align-self:flex-start}
}
@media (prefers-reduced-motion:reduce){
  .f-col a,.site-footer .fc-btn,.f-chips a{transition:none}
  .f-col a:hover,.site-footer .fc-btn:hover{transform:none}
}

/* ---------- Header v2 (approved Nov 6, 2026) ---------- */
.header-inner{display:flex;align-items:center;flex-wrap:wrap;height:auto;min-height:68px;padding:.5rem 0;gap:.7rem 1.25rem}
.brand-name{font-size:1.32rem}
.main-nav{margin:0 auto;gap:clamp(.85rem,1.6vw,1.5rem)}
.main-nav a.nav-link{white-space:nowrap;font-size:.93rem}
.site-header .btn-nav{flex:0 0 auto;white-space:nowrap;padding:.68rem 1.35rem;font-size:.95rem;border-radius:10px}
.btn-header-cta{display:none!important}
@media (max-width:1100px){
  .main-nav{order:4;flex-basis:100%;justify-content:center;margin:0;padding:.15rem 0 .3rem}
  .site-header .btn-nav{margin-left:auto}
}
@media (max-width:920px){
  .header-inner{flex-wrap:nowrap;min-height:64px}
  .main-nav{order:initial;flex-basis:auto;margin:0;padding:0;top:100%}
  .site-header .btn-nav{margin-left:0;padding:.62rem 1.05rem;font-size:.9rem;border-radius:9px;box-shadow:0 4px 14px rgba(179,25,66,.32)}
}
