/* Captain Pure Ionizer — Landing Page
   Palette + type matched to captainpureionizer.in */

:root{
  --navy:#2B2B81;
  --blue:#184797;
  --blue-mid:#0C53BB;
  --blue-deep:#08539F;
  --blue-bright:#0475BA;
  --ink:#031222;
  --ink-soft:#2D2A2A;
  --plum:#383157;
  --red:#A60725;
  --red-box:#A80925;
  --orange:#D46901;
  --purple:#521F8C;
  --green:#2C7322;
  --sky:#015BAE;
  --wa:#25D366;
  --grey-bg:#F3F4F9;
  --pink-bg:#FCF2F3;
  --ice-bg:#F1F9FE;
  --line:#E4E8F2;
  --body:#5A6275;
  --wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--ink-soft);
  background:#fff;
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-weight:700;line-height:1.25;}
p{margin:0 0 12px;}

.container{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px;}
.center{text-align:center;}

/* ---------- Typography scale (from source site) ---------- */
.t-huge{font-size:48px;font-weight:900;color:var(--navy);letter-spacing:-.5px;}
.t-big{font-size:36px;font-weight:700;color:var(--ink-soft);}
.t-mid{font-size:26px;font-weight:700;color:var(--ink);}
.t-sub{font-size:32px;font-weight:700;color:var(--navy);line-height:1.35;}
.t-lead{font-size:16px;color:var(--body);max-width:760px;margin:0 auto 34px;}
.t-blue{color:var(--blue-mid);}
.white{color:#fff;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:600;letter-spacing:.3px;
  padding:13px 26px;border-radius:6px;border:2px solid transparent;
  cursor:pointer;transition:.25s ease;white-space:nowrap;
}
.btn-navy{background:var(--navy);color:#fff;}
.btn-navy:hover{background:#1e1e63;}
.btn-blue{background:var(--blue);color:#fff;}
.btn-blue:hover{background:#123a7f;}
.btn-white{background:#fff;color:#333;}
.btn-white:hover{background:#eef4ff;}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.75);}
.btn-ghost:hover{background:rgba(255,255,255,.14);}
.btn-wa{background:var(--wa);color:#fff;}
.btn-wa:hover{background:#1fb857;}
.btn-primary{background:linear-gradient(135deg,#FF8A1E,#E85D04);color:#fff;font-weight:700;
  box-shadow:0 10px 26px rgba(232,93,4,.4);}
.btn-primary:hover{background:linear-gradient(135deg,#FF9B3D,#F26A0A);transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(232,93,4,.5);}
.btn-wa-ghost{border-color:rgba(37,211,102,.75);color:#8CF0B4;}
.btn-wa-ghost:hover{background:rgba(37,211,102,.16);color:#fff;}
.btn.full{width:100%;}

.ic-phone{width:14px;height:14px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/></svg>") center/contain no-repeat;}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:#fff;box-shadow:0 1px 14px rgba(3,18,34,.08);}
.header-inner{display:flex;align-items:center;gap:28px;min-height:86px;}
.logo img{width:238px;}
.main-nav{display:flex;gap:24px;margin-left:auto;}
.main-nav a{font-size:14px;font-weight:600;color:var(--ink);padding:6px 0;position:relative;white-space:nowrap;}
.main-nav a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--blue);transition:.25s;}
.main-nav a:hover{color:var(--blue);}
.main-nav a:hover::after{width:100%;}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:8px;margin-left:auto;cursor:pointer;}
.nav-toggle span{width:24px;height:2px;background:var(--navy);display:block;}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#fff;
  min-height:100vh;box-sizing:border-box;
  display:flex;align-items:center;
  padding:64px 0 76px;
  background:linear-gradient(135deg,#04122E 0%,#0B2D6B 45%,#0C53BB 100%);
}
.hero-glow{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;}
.hero-glow.g1{width:520px;height:520px;top:-160px;right:-120px;background:rgba(4,117,186,.55);}
.hero-glow.g2{width:420px;height:420px;bottom:-180px;left:-140px;background:rgba(43,43,129,.6);}
.hero-inner{position:relative;z-index:2;width:100%;}
.hero-top{
  display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center;
}

.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.6px;
  text-transform:uppercase;color:#BFE0FF;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.22);
  border-radius:20px;padding:6px 14px;margin:0 0 26px;}
.hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--wa);box-shadow:0 0 0 4px rgba(37,211,102,.22);}

.hero-h1{font-size:46px;font-weight:800;line-height:1.2;letter-spacing:-.5px;margin-bottom:22px;text-transform:uppercase;}
.hero-h1 span{color:#63B8F5;}
.hero-lead{font-size:17px;line-height:1.75;color:rgba(255,255,255,.85);max-width:520px;margin-bottom:32px;}

.hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px;}
.hero-chips li{font-size:13px;font-weight:600;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.26);
  border-radius:8px;padding:8px 15px;}
.hero-trust{display:flex;flex-wrap:wrap;gap:9px 22px;padding-top:26px;border-top:1px solid rgba(255,255,255,.18);}
.hero-trust li{position:relative;font-size:11px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:rgba(255,255,255,.66);}
.hero-trust li+li::before{content:"";position:absolute;left:-12px;top:50%;width:3px;height:3px;border-radius:50%;
  background:rgba(255,255,255,.4);transform:translateY(-50%);}

/* Kapil Dev photo — native image is 1086x1448, a 3:4 ratio, kept the same at every size */
.hero-media{display:flex;align-items:flex-end;justify-content:center;align-self:end;}
.hero-media img{width:100%;max-width:420px;aspect-ratio:3/4;object-fit:contain;}

/* Full-width horizontal form band under the hero */
.hero-form-wide{
  display:flex;flex-wrap:wrap;align-items:flex-end;gap:22px 28px;
  background:#fff;border-radius:20px;padding:30px 32px;
  box-shadow:0 26px 60px rgba(2,10,30,.4);
}
.hfw-head{flex:0 0 auto;}
.form-flag{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  background:var(--wa);color:#fff;border-radius:20px;padding:5px 14px;margin-bottom:12px;}
.hfw-head h3{white-space:nowrap;margin-bottom:4px;}
.hfw-area-note{font-size:11px;color:#98a0b0;margin:0;white-space:nowrap;}
.hfw-fields{flex:1 1 480px;display:flex;flex-wrap:wrap;gap:18px;}
.hfw-fields label{flex:1 1 160px;margin-bottom:0;}
.hfw-submit{flex:0 0 auto;}
.hero-form-wide .form-note{flex-basis:100%;margin:0;text-align:left;}

.cta-form.is-called{animation:formCall 1.4s ease;}
@keyframes formCall{
  0%,100%{box-shadow:0 26px 60px rgba(2,10,30,.4);}
  30%,70%{box-shadow:0 26px 60px rgba(2,10,30,.4),0 0 0 5px rgba(255,138,30,.55);}
}

/* ---------- Do You Know ---------- */
.sec-know{background:var(--grey-bg);padding:70px 0 80px;text-align:center;}
.sec-know .t-sub{max-width:900px;margin:16px auto 46px;}

.know-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.know-card{background:#fff;border-radius:14px;padding:26px 20px 24px;box-shadow:0 6px 26px rgba(20,32,70,.07);transition:.3s;}
.know-card:hover{transform:translateY(-6px);box-shadow:0 14px 36px rgba(20,32,70,.13);}
.know-card img{width:100%;max-width:190px;margin:0 auto 18px;border-radius:10px;}
.know-card h4{font-size:11px;font-weight:600;letter-spacing:.4px;color:var(--ink-soft);line-height:1.6;}

.assess{margin-top:48px;background:#fff;border-radius:16px;padding:32px 24px;display:inline-flex;flex-direction:column;align-items:center;gap:16px;box-shadow:0 6px 26px rgba(20,32,70,.07);min-width:min(560px,100%);}
.assess h4{font-size:18px;font-weight:700;color:var(--navy);}

/* ---------- Cost of poor health ---------- */
.sec-cost{background:var(--pink-bg);padding:70px 0 80px;text-align:center;}
.cost-eyebrow{font-size:13px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:14px;}
.pill{display:inline-block;border-radius:20px;padding:12px 26px;font-size:14px;font-weight:600;color:#fff;margin-bottom:44px;}
.pill-blue{background:var(--blue-bright);}
.sec-cost .t-big{font-size:36px;font-weight:600;margin-bottom:12px;}

.cost-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-bottom:44px;}
.cost-card{background:#fff;border-radius:14px;padding:26px 18px;box-shadow:0 6px 24px rgba(90,20,35,.07);border-top:4px solid;transition:.3s;display:flex;flex-direction:column;}
.cost-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(90,20,35,.14);}
.cost-card img{width:44px;height:44px;object-fit:contain;margin:0 auto 14px;}
.cost-card h4{font-size:15px;font-weight:700;margin-bottom:10px;}
.cost-card p{font-size:13px;color:var(--body);line-height:1.6;flex:1;}
.cost-amt{font-size:20px;font-weight:700;margin-top:8px;}
.cost-note{font-size:11px;color:#8b8f9c;letter-spacing:.4px;}
.c-red{border-top-color:var(--red);}   .c-red h4,.c-red .cost-amt{color:var(--red);}
.c-orange{border-top-color:var(--orange);} .c-orange h4,.c-orange .cost-amt{color:var(--orange);}
.c-purple{border-top-color:var(--purple);} .c-purple h4,.c-purple .cost-amt{color:var(--purple);}
.c-green{border-top-color:var(--green);} .c-green h4,.c-green .cost-amt{color:var(--green);}
.c-blue{border-top-color:var(--sky);}   .c-blue h4,.c-blue .cost-amt{color:var(--sky);}

.redbox{background:var(--red-box);border-radius:20px;padding:30px 26px;color:#fff;}
.redbox h4{font-size:26px;font-weight:600;line-height:1.4;margin-bottom:8px;}
.redbox p{font-size:14px;margin:0;color:rgba(255,255,255,.88);}

/* ---------- Benefits ---------- */
.sec-benefits{background:var(--ice-bg);padding:70px 0 80px;}
.sec-benefits .t-big{color:var(--plum);margin-bottom:44px;}
.ben-layout{display:grid;grid-template-columns:1fr 1.05fr 1fr;gap:28px;align-items:center;}
.ben-col{display:flex;flex-direction:column;gap:18px;}
.ben-card{background:#fff;border-radius:14px;padding:20px;display:flex;gap:14px;box-shadow:0 5px 22px rgba(12,83,187,.08);transition:.3s;}
.ben-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(12,83,187,.16);}
.ben-card img{width:44px;height:44px;flex:none;object-fit:contain;}
.ben-card h4{font-size:16px;font-weight:600;color:var(--plum);margin-bottom:6px;}
.ben-card ul li{font-size:13px;color:var(--body);padding-left:16px;position:relative;line-height:1.75;}
.ben-card ul li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:var(--blue-mid);}
.ben-card p{font-size:13px;color:var(--body);margin:0;}
.ben-media img{width:100%;border-radius:18px;}

/* ---------- Legend ---------- */
.sec-legend{padding:80px 0;background:#fff;}
.legend-inner{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;}
.legend-img img{border-radius:18px;box-shadow:0 18px 50px rgba(3,18,34,.15);}
.legend-copy .t-big{color:#00000C;margin-bottom:8px;}
.legend-copy .t-blue{margin-bottom:24px;}
.legend-list li{font-size:15px;color:var(--body);padding-left:30px;position:relative;margin-bottom:14px;line-height:1.65;}
.legend-list li::before{
  content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;
  background:var(--blue-mid) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
}

/* ---------- Certifications ---------- */
.sec-cert{background:var(--blue-deep);padding:60px 0 70px;}
.sec-cert .t-huge{margin-bottom:40px;font-weight:700;}
.cert-row{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:30px;}
.cert-row img{width:100%;border-radius:10px;background:#fff;padding:8px;object-fit:contain;aspect-ratio:3/4;}
.cert-strip img{width:100%;border-radius:10px;}

/* ---------- Why families choose ---------- */
.sec-why{background:linear-gradient(#fff 0%, #EAF4FC 100%);padding:70px 0 80px;}
.why-eyebrow{text-align:center;font-size:13px;font-weight:700;letter-spacing:3px;color:var(--blue);margin-bottom:6px;}
.sec-why .t-huge{color:var(--ink);font-weight:700;margin-bottom:46px;}
.why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;text-align:center;}
.why-card{background:#fff;border-radius:14px;padding:30px 18px;box-shadow:0 6px 24px rgba(3,18,34,.07);transition:.3s;}
.why-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(3,18,34,.13);}
.why-card img{width:62px;height:62px;object-fit:contain;margin:0 auto 16px;}
.why-card h4{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:8px;}
.why-card p{font-size:13px;color:var(--body);margin:0;}

.counters{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:56px;text-align:center;}
.counter{border-right:1px solid rgba(3,18,34,.1);}
.counter:last-child{border-right:0;}
.cnum,.cplus{font-size:40px;font-weight:800;color:var(--blue-mid);line-height:1;}
.counter p{font-size:14px;font-weight:600;color:var(--ink);margin:10px 0 0;}

/* ---------- Final CTA ---------- */
.sec-cta{padding:70px 0 80px;background:#fff url("assets/background_body_bot.png") center bottom/cover no-repeat;}
.cta-card{
  background:linear-gradient(135deg,#1657C6,#2FA0DC);
  border-radius:32px;padding:52px;color:#fff;
  display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center;
  box-shadow:0 24px 60px rgba(12,83,187,.28);
}
.cta-copy h2{font-size:36px;font-weight:600;line-height:1.3;margin-bottom:20px;}
.cta-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;}
.cta-tags li{font-size:13px;font-weight:600;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:20px;padding:7px 16px;}
.cta-btns{display:flex;flex-wrap:wrap;gap:12px;}

.cta-form{background:#fff;border-radius:20px;padding:28px;color:var(--ink-soft);box-shadow:0 14px 40px rgba(3,18,34,.18);}
.cta-form h3{font-size:20px;font-weight:700;color:var(--navy);margin-bottom:18px;}
.cta-form label{display:block;font-size:12px;font-weight:600;letter-spacing:.3px;color:var(--ink);margin-bottom:14px;text-transform:uppercase;}
.cta-form label span{font-weight:400;text-transform:none;color:#98a0b0;}
.cta-form input,.cta-form textarea{
  width:100%;margin-top:6px;font:inherit;font-size:14px;text-transform:none;letter-spacing:0;
  padding:11px 14px;border:1px solid var(--line);border-radius:8px;background:#F8FAFD;color:var(--ink);
}
.cta-form input:focus,.cta-form textarea:focus{outline:none;border-color:var(--blue);background:#fff;}
.cta-form textarea{resize:vertical;}
.form-note{font-size:11px;color:#98a0b0;text-align:center;margin:12px 0 0;}
.form-ok{font-size:13px;font-weight:600;color:var(--green);text-align:center;margin:12px 0 0;}

/* ---------- Video card (shared) ---------- */
.video-card{position:relative;display:block;width:100%;padding:0;border:0;background:#08265C;
  border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(3,18,34,.12);cursor:pointer;}
.video-card img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:.4s;}
.video-card:hover img{transform:scale(1.05);}
.video-card iframe{display:block;width:100%;aspect-ratio:16/10;border:0;}
.video-card.is-playing{cursor:default;}
.play{position:absolute;inset:0;margin:auto;width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.92);}
.play::after{content:"";position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);border-left:16px solid var(--blue);border-top:10px solid transparent;border-bottom:10px solid transparent;}

/* ---------- See How It Works (single featured video) ---------- */
.sec-explain{padding:70px 0 76px;background:linear-gradient(#fff 0%, #F1F9FE 100%);}
.sec-explain .t-lead{margin-bottom:34px;}
.explain-card{max-width:780px;margin:0 auto;}
.explain-card .play{width:72px;height:72px;}
.explain-card .play::after{border-left-width:20px;border-top-width:12px;border-bottom-width:12px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:rgba(255,255,255,.8);padding:56px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:30px;}
.foot-brand img{width:200px;margin-bottom:16px;}
.foot-brand p{font-size:13px;line-height:1.75;margin-bottom:18px;max-width:320px;}
.foot-col h4{font-size:18px;font-weight:600;color:#fff;margin-bottom:14px;}
.foot-col li{margin-bottom:10px;}
.foot-col a{font-size:12px;color:rgba(255,255,255,.75);transition:.2s;}
.foot-col a:hover{color:#fff;}
.footer-bottom{margin-top:44px;border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:12px;color:rgba(255,255,255,.55);text-align:center;}

/* ---------- Sticky bottom CTA bar (mobile only, replaces the desktop sticky header) ---------- */
.cta-float{
  display:none;align-items:center;justify-content:center;
  position:fixed;left:0;right:0;bottom:0;width:100%;z-index:80;
  font-size:15px;font-weight:700;letter-spacing:.6px;color:#fff;
  padding:17px 20px calc(17px + env(safe-area-inset-bottom));
  background:linear-gradient(135deg,#FF8A1E,#E85D04);
  box-shadow:0 -8px 24px rgba(2,10,30,.28);
}
.cta-float:active{background:linear-gradient(135deg,#F26A0A,#D45400);}

/* ---------- Thank-you page ---------- */
.ty-hero{padding:76px 0 70px;}
.ty-inner{position:relative;z-index:2;max-width:720px;margin:0 auto;text-align:center;
  display:flex;flex-direction:column;align-items:center;}
.ty-inner .hero-eyebrow{margin:0 0 22px;}

.ty-check{width:76px;height:76px;border-radius:50%;margin-bottom:26px;
  background:rgba(37,211,102,.15);border:1px solid rgba(37,211,102,.4);
  display:flex;align-items:center;justify-content:center;
  animation:tyPop .5s cubic-bezier(.34,1.56,.64,1) both;}
.ty-check svg{width:38px;height:38px;}
.ty-check circle{stroke:var(--wa);stroke-width:2;opacity:.5;}
.ty-check path{stroke:var(--wa);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:34;stroke-dashoffset:34;animation:tyDraw .5s .35s ease forwards;}
@keyframes tyPop{0%{transform:scale(.6);opacity:0;}100%{transform:scale(1);opacity:1;}}
@keyframes tyDraw{to{stroke-dashoffset:0;}}

.ty-h1{font-size:40px;font-weight:800;line-height:1.22;letter-spacing:-.5px;margin-bottom:16px;}
.ty-name{color:#63B8F5;}
.ty-lead{max-width:560px;margin:0 auto 38px;}

.ty-steps{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:38px;text-align:left;}
.ty-step{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:14px;padding:22px 20px;}
.ty-num{display:flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:50%;background:linear-gradient(135deg,#FF8A1E,#E85D04);
  color:#fff;font-size:13px;font-weight:800;margin-bottom:14px;}
.ty-step h4{font-size:15px;margin-bottom:6px;}
.ty-step p{font-size:13px;color:rgba(255,255,255,.72);margin:0;}

.ty-btns{margin-bottom:36px;}
.ty-trust{justify-content:center;border-top:1px solid rgba(255,255,255,.18);padding-top:22px;width:100%;}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:none;}

/* ---------- Responsive ---------- */
/* logo + CTA leave too little room for inline links below this — collapse the nav here, not at phone width */
@media (max-width:1240px){
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:10px 20px 18px;box-shadow:0 12px 24px rgba(3,18,34,.12);}
  .main-nav.open{display:flex;}
  .main-nav a{padding:12px 0;border-bottom:1px solid var(--line);}
  .nav-toggle{display:flex;order:3;margin-left:0;}
  .header-inner{min-height:74px;gap:14px;position:relative;}
  .header-cta{margin-left:auto;padding:12px 20px;font-size:13px;}
}
@media (max-width:1100px){
  .t-huge{font-size:38px;} .t-big{font-size:30px;} .t-sub{font-size:25px;}
  .know-grid{grid-template-columns:repeat(2,1fr);}
  .cost-grid{grid-template-columns:repeat(3,1fr);}
  .why-grid{grid-template-columns:repeat(3,1fr);}
  .ben-layout{grid-template-columns:1fr 1fr;}
  .ben-media{grid-column:1/-1;order:-1;max-width:460px;margin:0 auto;}
  .footer-grid{grid-template-columns:1fr 1fr 1fr;}
  .cta-card{grid-template-columns:1fr;padding:36px;}
}
@media (max-width:920px){
  /* on phones the hero just takes whatever height its content needs — no forced 100vh */
  .hero{min-height:0;display:block;padding:44px 0 54px;}
  /* stacks in DOM order: hero copy, then the image space, then the form */
  .hero-top{grid-template-columns:1fr;gap:36px;margin-bottom:0;}
  .hero-media img{max-width:380px;}
  .hero-h1{font-size:33px;}
  .hero-lead{font-size:15px;}
  .hero-form-wide{flex-direction:column;align-items:stretch;}
  .hfw-fields{flex-basis:auto;}
  .hfw-fields label{flex-basis:100%;}
  .hfw-submit{width:100%;}
}
@media (max-width:820px){
  .site-header{position:static;}   /* the bottom CTA bar replaces a sticky header on mobile */
  .header-inner{min-height:70px;padding:16px 0;gap:12px;justify-content:center;}
  .logo img{width:200px;}
  .header-cta{display:none;}       /* the full-width bottom bar covers it on mobile */
  /* mobile header is logo-only — no menu, no hamburger; the sticky bottom bar is the one CTA */
  .nav-toggle{display:none;}
  .cta-float{display:flex;}
  body{padding-bottom:78px;}       /* keeps the footer clear of the fixed bottom bar */
}
@media (max-width:680px){
  .t-huge{font-size:30px;} .t-big{font-size:24px;} .t-sub{font-size:20px;} .t-mid{font-size:21px;}
  .sec-know,.sec-cost,.sec-benefits,.sec-why,.sec-cta,.sec-explain,.sec-legend{padding:48px 0 54px;}
  .know-grid,.cost-grid,.why-grid,.cert-row{grid-template-columns:1fr 1fr;gap:14px;}
  .ben-layout{grid-template-columns:1fr;}
  .legend-inner{grid-template-columns:1fr;gap:28px;}
  .counters{grid-template-columns:1fr 1fr;gap:26px 10px;}
  .counter:nth-child(2){border-right:0;}
  .cnum,.cplus{font-size:32px;}
  .redbox h4{font-size:19px;}
  .cta-copy h2{font-size:25px;}
  .cta-card{padding:26px 20px;border-radius:22px;}
  .cta-btns .btn{width:100%;}
  .hero-h1{font-size:28px;margin-bottom:14px;}
  .hero-eyebrow{font-size:11px;padding:5px 12px;margin-bottom:16px;}
  .hero-lead{font-size:14.5px;margin-bottom:22px;}
  .hero-media img{max-width:320px;}
  .hero-form-wide{padding:26px 20px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .foot-brand .btn{width:100%;}
  .assess{min-width:0;width:100%;padding:26px 16px;}
  .btn{white-space:normal;text-align:center;padding:13px 18px;}
  .ty-h1{font-size:28px;}
  .ty-steps{grid-template-columns:1fr;}
}
