/* Homepage polish (preview 2026-11-19). Loaded last, by index.html only. Hero (#home.hero) is intentionally untouched.
   Palette: navy (--navy) + one accent (--red). Remove this file + its <link> tag to revert. */
:root{--navy:#0A1A33;--p-navy:#0A1A33;--p-navy-d:#050D1C;--p-gray:#F5F7FA;--p-line:#E2E8F0;--p-text:#334155;--p-radius:10px}
body.home{scroll-padding-top:110px}
/* ---- header: sticky, prominent Get a Quote on the right ---- */
body.home .site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);-webkit-backdrop-filter:saturate(1.4) blur(8px);backdrop-filter:saturate(1.4) blur(8px)}
body.home .menu{gap:22px}
body.home .menu a:not(.btn){color:var(--p-navy);font-weight:600;padding:6px 0;border-bottom:2px solid transparent}
body.home .menu a:not(.btn):hover{border-bottom-color:var(--red)}
body.home .menu .nav-call{background:#fff;color:var(--p-navy)!important;border:2px solid var(--p-navy);padding:9px 16px;border-radius:var(--p-radius);font-size:.98rem;min-height:44px;display:inline-flex;align-items:center}
body.home .menu .nav-call:hover{background:var(--p-gray)}
body.home .menu .nav-quote{background:var(--p-navy);border:2px solid var(--p-navy);color:#fff!important;padding:11px 24px;border-radius:var(--p-radius);font-size:1.02rem;font-weight:700;min-height:46px;display:inline-flex;align-items:center;box-shadow:0 4px 12px rgba(11,42,91,.22)}
body.home .menu .nav-quote:hover{background:var(--p-navy-d);border-color:var(--p-navy-d)}
/* ---- shared buttons (outside the hero) ---- */
body.home main .h-section .btn,body.home .site-footer .btn{border-radius:var(--p-radius);min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;font-size:1rem;font-weight:650;line-height:1.2;text-align:center}
body.home .btn-primary{background:var(--p-navy);border:2px solid var(--p-navy);color:#fff!important}
body.home .btn-primary:hover{background:var(--p-navy-d);border-color:var(--p-navy-d)}
body.home .btn-secondary,body.home .btn-outline-blue{background:#fff;border:2px solid var(--p-navy);color:var(--p-navy)!important}
body.home .btn-secondary:hover,body.home .btn-outline-blue:hover{background:var(--p-navy);color:#fff!important;border-color:var(--p-navy)}
/* worksheet buttons: strongest on the page */
body.home main .h-section .btn-ws{background:var(--p-navy);border:2px solid var(--p-navy);color:#fff!important;font-size:1.1rem;font-weight:700;padding:16px 26px;min-height:56px;width:100%;box-shadow:0 6px 18px rgba(11,42,91,.25);letter-spacing:0}
body.home main .h-section .btn-ws:hover{background:var(--p-navy-d);border-color:var(--p-navy-d);box-shadow:0 10px 24px rgba(11,42,91,.3);transform:translateY(-1px)}
body.home .h-cov-btn{align-self:stretch}
body.home .h-cov-note{margin:12px 0 0;font-size:.92rem;color:var(--muted);text-align:center}
/* ---- sections: alternating white / light gray ---- */
body.home .h-section{padding:88px 0;background:#fff;border:0}
body.home .h-section.h-alt{background:var(--p-gray);border-top:1px solid var(--p-line);border-bottom:1px solid var(--p-line)}
body.home .h-head{margin:0 0 36px;max-width:760px}
body.home .h-head h2,body.home .h-quote-grid h2,body.home #pay h2,body.home .h-about-grid h2{font-size:clamp(2rem,3.8vw,2.75rem);font-weight:800;letter-spacing:-.025em;line-height:1.12;margin:0 0 .55rem;color:var(--p-navy)}
body.home .h-head h2::after,body.home .h-quote-grid h2::after,body.home #pay h2::after,body.home .h-about-grid h2::after{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--red);margin-top:14px}
body.home .h-head p,body.home .pay-intro,body.home .h-sublead{font-size:1.12rem;color:var(--p-text);margin:0;max-width:680px}
body.home main .h-section a:not(.btn){color:var(--p-navy)}
/* trust row */
body.home .h-trust{background:var(--p-navy);padding:24px 0}
/* coverage cards */
body.home .h-cov{border:1px solid var(--p-line);box-shadow:0 1px 2px rgba(11,42,91,.05),0 8px 24px rgba(11,42,91,.06)}
body.home .h-cov-ic{background:var(--red);color:#fff}
body.home .h-ic{background:#EEF2F7;color:var(--p-navy)}
/* how a quote works */
body.home .h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:none}
body.home .h-step{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid var(--p-line);border-radius:14px;padding:24px}
body.home .h-step-n{flex:none;width:44px;height:44px;border-radius:50%;background:var(--p-navy);color:#fff;font-weight:800;font-size:1.15rem;display:flex;align-items:center;justify-content:center}
body.home .h-step h3{margin:2px 0 6px;font-size:1.12rem;color:var(--p-navy)}
body.home .h-step p{margin:0;color:var(--p-text);font-size:.98rem}
body.home .h-how-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
/* pay your bill: lighter, more compact tiles */
body.home #pay .carriers{gap:14px;margin-top:28px}
body.home #pay .carrier{background:#fff;border:1px solid var(--p-line);border-top:1px solid var(--p-line);border-radius:12px;padding:16px 14px 14px;gap:10px;box-shadow:none}
body.home #pay .carrier:hover{transform:none;box-shadow:0 6px 16px rgba(11,42,91,.08);border-color:#CBD5E1}
body.home #pay .carrier-logo-box{height:60px}
body.home #pay .carrier .carrier-logo{max-height:60px}
body.home #pay .carrier h3{font-size:.95rem;font-weight:650;min-height:2.5em;color:var(--p-navy)}
body.home #pay .carrier .btn-pay{min-height:44px;padding:9px 14px;font-size:.95rem;width:100%}
/* locations */
body.home .h-loc{border:1px solid var(--p-line);box-shadow:0 1px 2px rgba(11,42,91,.04)}
/* quote */
body.home .h-ws-cards{display:grid;grid-template-columns:1fr;gap:18px;margin:26px 0}
body.home .h-ws-block{background:var(--p-gray);border:1px solid var(--p-line);border-radius:14px;padding:18px}
body.home .h-ws-desc{margin:12px 0 0;font-size:.95rem;color:var(--p-text)}
body.home .h-ws-block .h-cov-note{text-align:left;margin-top:6px}
body.home .h-quote-next{background:#fff;border:1px solid var(--p-line);border-left:4px solid var(--red);border-radius:8px;padding:12px 16px}
body.home #home-quote-form{border:1px solid var(--p-line);border-radius:14px;box-shadow:0 1px 2px rgba(11,42,91,.05),0 10px 30px rgba(11,42,91,.08);padding:28px}
body.home #home-quote-form input,body.home #home-quote-form select,body.home #home-quote-form textarea{min-height:46px;border-radius:8px;border-color:#CBD5E1}
body.home #home-quote-form #hq-submit{width:100%}
body.home #home-quote-form{grid-template-columns:minmax(0,1fr);min-width:0}
body.home #home-quote-form label{min-width:0}
body.home #home-quote-form input,body.home #home-quote-form select,body.home #home-quote-form textarea{width:100%;min-width:0;max-width:100%}
/* why */
body.home .h-why{background:#fff;border:1px solid var(--p-line);border-top:3px solid var(--p-navy);border-radius:12px;padding:20px}
/* faq */
body.home .faq-item{border-color:var(--p-line)}
body.home .faq-item summary{min-height:48px;display:flex;align-items:center}
body.home .faq-item summary::after{color:var(--p-navy)}
/* about strip */
body.home .h-stats div{border:1px solid var(--p-line);border-left:4px solid var(--red)}
/* mobile quick-action bar: hidden on desktop */
.m-bar{display:none}
@media(max-width:1100px){body.home .menu{gap:16px}body.home .menu .nav-call{padding:9px 12px}}
@media(max-width:900px){
  body.home .h-section{padding:60px 0}
  body.home .h-steps{grid-template-columns:1fr;gap:14px}
  body.home .h-quote-grid,body.home .h-cov-grid,body.home .h-loc-grid,body.home .h-about-grid{grid-template-columns:minmax(0,1fr)}
  body.home .h-quote-grid>*{min-width:0}
  body.home .menu{align-items:stretch;text-align:left}
  body.home .burger{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-right:-6px;border-radius:10px;font-size:1.7rem;line-height:1;color:var(--p-navy)}
  body.home .navtoggle:checked+.burger{background:var(--p-gray)}
  body.home .menu{gap:0;padding:8px 20px 18px;border-top:1px solid var(--p-line);box-shadow:0 12px 24px rgba(11,42,91,.12);max-height:calc(100vh - 80px);overflow-y:auto}
  body.home .menu a:not(.btn){display:flex;align-items:center;min-height:52px;padding:0 4px;border-bottom:1px solid var(--p-line);font-size:1.06rem}
  body.home .menu a:not(.btn):hover{border-bottom-color:var(--p-line);background:var(--p-gray)}
  body.home .menu .nav-call,body.home .menu .nav-quote{width:100%;justify-content:center;margin-top:12px;min-height:50px;font-size:1.05rem}
  .m-bar{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:45;background:rgba(255,255,255,.98);padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--p-line);box-shadow:0 -4px 16px rgba(11,42,91,.10)}
  .m-bar a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:var(--p-radius);font-weight:700;font-size:1.02rem;text-decoration:none}
  .m-bar-call{background:#fff;color:var(--p-navy);border:2px solid var(--p-navy)}
  .m-bar-quote{background:var(--p-navy);color:#fff;border:2px solid var(--p-navy)}
  body.home{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  body.home .site-footer{padding-bottom:28px}
}
@media(max-width:600px){
  body.home .h-section{padding:52px 0}
  body.home .h-head{margin-bottom:26px}
  body.home .h-head h2,body.home .h-quote-grid h2,body.home #pay h2,body.home .h-about-grid h2{font-size:1.9rem}
  body.home .h-head p,body.home .pay-intro,body.home .h-sublead{font-size:1.04rem}
  body.home main .h-section .btn-ws{font-size:.98rem;padding:14px 10px;letter-spacing:-.005em}
  body.home .h-how-cta .btn{flex:1 1 100%}
  body.home #pay .carriers{grid-template-columns:1fr 1fr;gap:10px}
  body.home #pay .carrier{padding:12px 10px}
  body.home #pay .carrier h3{font-size:.88rem}
  body.home #pay .carrier .btn-pay{font-size:.88rem;padding:8px 6px}
  body.home #home-quote-form{padding:20px}
}
@media (prefers-reduced-motion:reduce){body.home main .h-section .btn-ws{transition:none}body.home main .h-section .btn-ws:hover{transform:none}}
