/* ============================================================
   Easy Insurance Quote — shared styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  /* color tokens */
  --indigo-900:#1B2A56;
  --indigo-800:#233571;
  --indigo-700:#2D3E7C;
  --indigo-600:#3A4E96;
  --sky-50:#F1F5FB;
  --sky-100:#E4ECF9;
  --amber-500:#F2A63C;
  --amber-600:#DB8E1F;
  --amber-100:#FCEEDA;
  --white:#FFFFFF;
  --slate-800:#242A3B;
  --slate-600:#565E75;
  --slate-400:#8991A8;
  --line:#E4E7F0;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-s:10px;
  --radius-m:16px;
  --radius-l:26px;
  --shadow-card: 0 20px 45px -20px rgba(27,42,86,.28);
  --shadow-soft: 0 10px 30px -18px rgba(27,42,86,.22);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--slate-800);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:var(--serif); color:var(--indigo-900); margin:0 0 .5em; font-weight:600; letter-spacing:-.01em; }
p{ margin:0 0 1em; color:var(--slate-600); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:14px 26px; border-radius:999px; border:1px solid transparent;
  font-weight:600; font-size:15.5px; cursor:pointer; transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap; position:relative; overflow:hidden;
}
.btn:focus-visible{ outline:3px solid var(--amber-500); outline-offset:2px; }
.btn::after{ content:""; position:absolute; top:0; left:-75%; width:45%; height:100%; background:linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform:skewX(-20deg); transition:left .55s ease; pointer-events:none; }
.btn:hover::after{ left:130%; }
.btn-primary{ background:var(--amber-500); color:var(--indigo-900); box-shadow:0 10px 24px -10px rgba(242,166,60,.65); }
.btn-primary:hover{ background:var(--amber-600); transform:translateY(-2px) scale(1.015); box-shadow:0 16px 30px -12px rgba(242,166,60,.75); }
.btn-primary:active{ transform:translateY(0) scale(.985); }
.btn-ghost{ background:var(--white); color:var(--indigo-900); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--indigo-600); transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn-outline-light{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.55); }
.btn-outline-light:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); border-color:#fff; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none !important; box-shadow:none; }
.btn[disabled]::after{ display:none; }

/* ---------- top utility bar ---------- */
.topbar{ background:var(--indigo-900); color:#CFD8EF; font-size:13.5px; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; padding:9px 32px; flex-wrap:wrap; gap:6px; }
.topbar a{ color:#EAF0FF; }
.topbar .divider{ opacity:.4; margin:0 8px; }

/* ---------- header ---------- */
header.site-header{ position:sticky; top:0; z-index:40; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); animation:headerDrop .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes headerDrop{ from{ opacity:0; transform:translateY(-14px); } to{ opacity:1; transform:translateY(0); } }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 32px; gap:24px; flex-wrap:nowrap; }
.brand{ display:flex; align-items:center; gap:11px; font-family:var(--serif); font-weight:600; font-size:20px; color:var(--indigo-900); flex-shrink:0; white-space:nowrap; }
.brand .mark{
  width:38px; height:38px; border-radius:11px;
  background:linear-gradient(150deg, var(--indigo-700), var(--indigo-900));
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.brand .mark svg{ width:20px; height:20px; }
.brand small{ display:block; font-family:var(--sans); font-weight:500; font-size:11px; color:var(--slate-400); letter-spacing:.02em; }

.nav-links{ display:flex; align-items:center; gap:22px; font-size:15px; font-weight:500; color:var(--slate-600); }
.nav-links a{ position:relative; padding:4px 0; transition:color .15s ease; white-space:nowrap; }
.nav-links a:hover, .nav-links a.active{ color:var(--indigo-900); }
.nav-links a.active::after{ content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--amber-500); border-radius:2px; }

.nav-actions{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-phone{ display:flex; align-items:center; gap:8px; font-weight:600; color:var(--indigo-900); font-size:15px; transition:color .2s ease; }
.nav-phone svg{ width:17px; height:17px; transition:transform .25s cubic-bezier(.3,.8,.3,1.4); }
.nav-phone:hover{ color:var(--amber-600); }
.nav-phone:hover svg{ transform:rotate(-12deg) scale(1.1); }

.nav-toggle{ display:none; background:none; border:none; padding:6px; }
.nav-toggle svg{ width:26px; height:26px; color:var(--indigo-900); }

@media (max-width:1220px){
  .nav-links{ position:fixed; inset:66px 0 auto 0; background:var(--white); flex-direction:column; align-items:flex-start; padding:18px 32px 26px; gap:16px; border-bottom:1px solid var(--line); box-shadow:0 18px 30px -20px rgba(0,0,0,.2); transform:translateY(-8px); opacity:0; pointer-events:none; transition:all .22s ease; }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-phone span{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ---------- hero ---------- */
.hero{ background:linear-gradient(180deg, var(--sky-50), var(--white) 70%); padding:64px 0 84px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:start; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } }

.pill{ display:inline-flex; align-items:center; gap:8px; background:var(--amber-100); color:#8A5A00; padding:8px 16px; border-radius:999px; font-size:13.5px; font-weight:600; }
.pill svg{ width:15px; height:15px; }
.hero-note{ font-size:13px; color:var(--slate-400); margin:8px 0 22px; }

.hero h1{ font-size:clamp(34px,4.6vw,52px); line-height:1.08; margin:18px 0 18px; }
.hero-lede{ font-size:17.5px; max-width:52ch; }

.callout{ background:#F4FAF3; border:1px solid #D9EFD4; border-radius:var(--radius-s); padding:16px 18px; font-size:14.5px; color:#2E5A28; margin:22px 0; }
.callout strong{ color:#204019; }

.hero-actions{ display:flex; align-items:center; gap:18px; margin:26px 0 30px; flex-wrap:wrap; }
.hero-actions .or{ font-size:14px; color:var(--slate-400); }
.hero-actions .or a{ color:var(--indigo-800); font-weight:600; text-decoration:underline; text-underline-offset:3px; }

.consent-note{ font-size:12.5px; color:var(--slate-400); border:1px solid var(--line); border-radius:var(--radius-s); padding:14px 16px; margin-bottom:22px; }

.trust-list{ grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:960px; margin:36px auto 0; }
.trust-list li{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:12px; min-height:180px; border:1px solid var(--line); border-radius:var(--radius-m); padding:28px 20px; background:var(--white); transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.trust-list li:hover{ box-shadow:var(--shadow-soft); transform:translateY(-3px); border-color:var(--sky-100); }
.trust-list .ic{ width:50px; height:50px; border-radius:14px; background:var(--sky-100); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--indigo-700); }
.trust-list .ic svg{ width:22px; height:22px; }
.trust-list li > span:not(.ic){ display:block; width:100%; }
.trust-list b{ display:block; font-size:15px; color:var(--indigo-900); white-space:nowrap; }
.trust-list li > span:not(.ic) > span{ display:block; font-size:13px; color:var(--slate-500); line-height:1.5; margin-top:6px; }

@media (max-width:860px){
  .trust-list{ grid-template-columns:1fr; }
  .trust-list li{ flex-direction:row; text-align:left; align-items:flex-start; justify-content:flex-start; min-height:0; }
  .trust-list b{ white-space:normal; }
}

/* ---------- quote wizard card ---------- */
.wizard{
  background:var(--white); border-radius:var(--radius-l); box-shadow:var(--shadow-card);
  border:1px solid var(--line); overflow:hidden; position:sticky; top:104px;
  animation:rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:.15s;
}
@keyframes rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }

.wizard-head{ background:linear-gradient(120deg, var(--indigo-700), var(--indigo-900)); color:#fff; padding:22px 26px 18px; }
.wizard-head h3{ color:#fff; font-size:19px; margin:0 0 4px; }
.wizard-head p{ color:#C7D2EE; font-size:13px; margin:0 0 14px; }
.progress{ height:6px; background:rgba(255,255,255,.22); border-radius:999px; overflow:hidden; }
.progress i{ display:block; height:100%; background:var(--amber-500); border-radius:999px; width:33%; transition:width .35s ease; }
.step-label{ font-size:12px; color:#C7D2EE; margin-top:9px; }

.wizard-body{ padding:24px 26px 26px; }
.wizard-body h4{ font-size:15px; color:var(--indigo-900); margin:0 0 14px; font-weight:600; }

.option-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:20px; }
.option-card{
  border:1.5px solid var(--line); border-radius:var(--radius-s); background:var(--white);
  padding:16px 12px; text-align:center; font-size:14px; font-weight:600; color:var(--slate-800);
  display:flex; flex-direction:column; align-items:center; gap:8px; transition:border-color .15s ease, background .15s ease, transform .15s ease;
}
.option-card svg{ width:22px; height:22px; color:var(--indigo-700); }
.option-card:hover{ border-color:var(--indigo-400,#9AAEDD); transform:translateY(-2px); }
.option-card.selected{ border-color:var(--amber-500); background:var(--amber-100); }
.option-card.selected svg{ color:var(--amber-600); }

.field{ margin-bottom:14px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--indigo-900); margin-bottom:6px; }
.field input, .field select{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:var(--radius-s); font-family:inherit; font-size:14.5px; color:var(--slate-800); background:var(--white);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus{ outline:none; border-color:var(--indigo-600); box-shadow:0 0 0 3px rgba(45,62,124,.14); }

.wizard-nav{ display:flex; gap:10px; margin-top:6px; }
.wizard-foot-note{ text-align:center; font-size:12px; color:var(--slate-400); margin-top:12px; }

.wizard-success{ text-align:center; padding:10px 4px 4px; }
.wizard-success .check{ width:56px; height:56px; border-radius:50%; background:#EAF7E9; color:#2E8B3D; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.wizard-success .check svg{ width:28px; height:28px; }
.wizard-success h4{ font-size:18px; margin-bottom:6px; }

/* ---------- stat strip ---------- */
.stats{ padding:56px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stats .wrap{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center; }
@media (max-width:760px){ .stats .wrap{ grid-template-columns:1fr; } }
.stat-ic{ width:54px; height:54px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; transition:transform .3s cubic-bezier(.3,.8,.3,1.4); }
.stat-ic svg{ width:24px; height:24px; }
.stats .wrap > div:hover .stat-ic{ transform:scale(1.12) rotate(-6deg); }
.stat-ic.a{ background:var(--sky-100); color:var(--indigo-700); }
.stat-ic.b{ background:#EAF7E9; color:#2E8B3D; }
.stat-ic.c{ background:var(--amber-100); color:var(--amber-600); }
.stats h3{ font-size:17px; margin-bottom:4px; }
.stats p{ font-size:14px; max-width:32ch; margin:0 auto; }

/* ---------- section shell ---------- */
.section{ padding:84px 0; }
.section.alt{ background:var(--sky-50); }
.section-head{ text-align:center; max-width:640px; margin:0 auto 46px; }
.section-head h2{ font-size:clamp(26px,3.2vw,36px); }
.section-head p{ font-size:15.5px; }

/* ---------- carriers ---------- */
.carrier-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:760px){ .carrier-grid{ grid-template-columns:repeat(2,1fr); } }
.carrier{ border:1px solid var(--line); border-radius:var(--radius-s); background:var(--white); padding:20px 14px; text-align:center; font-weight:600; font-size:14.5px; color:var(--indigo-900); transition:box-shadow .18s ease, transform .18s ease; }
.carrier:hover{ box-shadow:var(--shadow-soft); transform:translateY(-2px); }

.notice-box{ margin-top:28px; border-left:3px solid var(--indigo-700); background:var(--white); border-radius:0 var(--radius-s) var(--radius-s) 0; padding:16px 20px; font-size:12.5px; color:var(--slate-500); }
.notice-box b{ color:var(--indigo-900); }

/* ---------- how it works ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; counter-reset:step; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step{ text-align:center; padding:0 8px; }
.step-ic{ width:58px; height:58px; border-radius:50%; background:linear-gradient(150deg,var(--indigo-700),var(--indigo-900)); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; transition:transform .3s cubic-bezier(.3,.8,.3,1.4), box-shadow .3s ease; }
.step-ic svg{ width:24px; height:24px; }
.step:hover .step-ic{ transform:scale(1.1) rotate(6deg); box-shadow:0 10px 22px -8px rgba(27,42,86,.5); }
.step-tag{ font-size:12.5px; font-weight:700; color:var(--amber-600); margin-bottom:6px; }
.step h3{ font-size:18px; margin-bottom:8px; }
.step p{ font-size:14.5px; }

/* ---------- CTA banner ---------- */
.cta-banner{ background:linear-gradient(120deg, var(--indigo-800), var(--indigo-900)); border-radius:var(--radius-l); padding:52px 40px; text-align:center; color:#fff; position:relative; overflow:hidden; }
.cta-banner::before{ content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(242,166,60,.28), transparent 70%); top:-140px; right:-80px; }
.cta-banner h2{ color:#fff; font-size:clamp(24px,3vw,32px); position:relative; }
.cta-banner p{ color:#C7D2EE; margin-bottom:26px; position:relative; }
.cta-banner .btn{ position:relative; }

.disclosure-box{ margin-top:26px; border:1px solid var(--line); border-radius:var(--radius-s); background:var(--sky-50); padding:18px 22px; font-size:12.5px; color:var(--slate-500); text-align:center; }

/* ---------- footer ---------- */
footer{ background:var(--indigo-900); color:#D7DEF3; padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:36px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:#fff; font-size:14px; margin:0 0 16px; font-weight:600; }
.footer-grid p{ color:#C3CCE8; font-size:13.5px; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ color:#D7DEF3; font-size:13.5px; transition:color .15s ease, transform .15s ease; display:inline-block; }
.footer-grid ul a:hover{ color:#fff; transform:translateX(3px); }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand span{ font-family:var(--serif); font-weight:600; color:#fff; font-size:18px; }
.contact-item{ display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:13.5px; color:#D7DEF3; transition:color .18s ease, transform .18s ease; }
.contact-item svg{ width:16px; height:16px; flex-shrink:0; margin-top:2px; color:var(--amber-500); transition:transform .25s cubic-bezier(.3,.8,.3,1.4); }
a.contact-item{ cursor:pointer; }
a.contact-item:hover{ color:#fff; transform:translateX(3px); }
a.contact-item:hover svg{ transform:scale(1.15); }

.legal-block{ padding:26px 0; font-size:12px; color:#AEB8DC; line-height:1.7; }
.legal-block p{ color:#AEB8DC; margin-bottom:10px; }
.footer-bottom{ text-align:center; padding:20px 0; border-top:1px solid rgba(255,255,255,.1); font-size:12.5px; color:#AEB8DC; }

/* ---------- inner legal pages ---------- */
.page-hero{ background:linear-gradient(180deg,var(--sky-50),var(--white)); padding:56px 0 40px; text-align:center; }
.page-hero h1{ font-size:clamp(28px,4vw,40px); margin-bottom:10px; }
.page-hero p{ max-width:520px; margin:0 auto; }
.legal-content{ max-width:760px; margin:0 auto; padding:56px 32px 90px; }
.legal-content h2{ font-size:22px; margin-top:36px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content p, .legal-content li{ font-size:15px; color:var(--slate-600); }
.legal-content ul{ margin:0 0 18px 20px; list-style:disc; }
.legal-content li{ margin-bottom:8px; }
.updated-tag{ display:inline-block; font-size:12.5px; color:var(--slate-400); background:var(--sky-50); border-radius:999px; padding:6px 14px; margin-bottom:8px; }

/* ---------- reveal-on-load ---------- */
.fade-up{ animation:fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }
.delay-1{ animation-delay:.06s; }
.delay-2{ animation-delay:.12s; }
.delay-3{ animation-delay:.18s; }
.delay-4{ animation-delay:.24s; }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-group.in-view > *{ opacity:1; transform:translateY(0); }
.reveal-group > *{ opacity:0; transform:translateY(22px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-group > *:nth-child(1){ transition-delay:.03s; }
.reveal-group > *:nth-child(2){ transition-delay:.09s; }
.reveal-group > *:nth-child(3){ transition-delay:.15s; }
.reveal-group > *:nth-child(4){ transition-delay:.21s; }
.reveal-group > *:nth-child(5){ transition-delay:.27s; }
.reveal-group > *:nth-child(6){ transition-delay:.33s; }
.reveal-group > *:nth-child(7){ transition-delay:.39s; }
.reveal-group > *:nth-child(8){ transition-delay:.45s; }
.reveal-group > *:nth-child(9){ transition-delay:.51s; }
.reveal-group > *:nth-child(10){ transition-delay:.57s; }
.reveal-group > *:nth-child(11){ transition-delay:.63s; }
.reveal-group > *:nth-child(12){ transition-delay:.69s; }
