/* Bath Quote Pros — homeowner quiz. Original CSS. Mobile-first. */
:root{
  --navy:#03426a;
  --navy-deep:#023354;
  --footer:#02607d;
  --green:#08a01b;
  --green-dark:#078f18;
  --green-ring:#08a01b;
  --bg:#eceff2;
  --card:#fff;
  --ink:#12304a;
  --muted:#5b6b75;
  --line:#d0d5da;
  --line-soft:#c9d6e0;
  --err:#b42318;
  --focus:#09b3ea;
  --radius:16px;
  --shadow:0 8px 28px rgba(20,40,60,.10);
  --max:540px;
  --sans:"Segoe UI","Helvetica Neue",Arial,sans-serif;
  --step-line:#b4b8bd;
  --step-dot:#c4c7cb;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{background:var(--bg)}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.45;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:20}
.skip:focus{left:8px;top:8px}

/* Headline — step 0 only: navy text on the light page, no dark band */
.headline-band{background:transparent;color:var(--navy);text-align:center;padding:28px 22px 8px}
.headline-band p{margin:0 auto;max-width:720px;font-size:clamp(24px,5.6vw,34px);font-weight:800;line-height:1.25;letter-spacing:-.02em;color:var(--navy)}
body.past-start .headline-band{display:none}

/* Stepper — 5 dots on a gray track; only the active section is green */
.stepper{display:flex;justify-content:center;padding:18px 16px 28px}
.stepper-inner{width:min(340px,82vw);position:relative;display:flex;justify-content:space-between;align-items:center}
.stepper-inner::before{content:"";position:absolute;left:10px;right:10px;top:50%;transform:translateY(-50%);height:5px;background:var(--step-line);border-radius:3px;z-index:0}
.dot{position:relative;z-index:1;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--step-dot);border:3px solid var(--bg);box-shadow:none}
.dot.is-done{background:var(--step-dot);border-color:var(--bg)}
.dot.is-active{background:var(--green);border-color:var(--bg)}
.dot-wrap{position:relative;width:22px;display:flex;justify-content:center}
.dot-label{position:absolute;top:26px;left:50%;transform:translateX(-50%);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--green);white-space:nowrap;opacity:0}
.dot.is-active + .dot-label,.dot-wrap:has(.is-active) .dot-label{opacity:1}

/* Main column */
.quiz-main{width:min(var(--max), calc(100% - 32px));margin:0 auto;padding:0 0 32px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:32px 22px 26px;border:0}
.step{display:none}
.step.active{display:block}
.q{margin:0 0 20px;text-align:center;font-size:clamp(22px,5.2vw,28px);font-weight:800;color:var(--navy);line-height:1.25;letter-spacing:-.02em}
.almost{margin:0 0 6px;text-align:center;font-size:clamp(22px,5.2vw,28px);font-weight:800;color:var(--navy);line-height:1.25;letter-spacing:-.02em}
.almost + .q{margin-top:0;margin-bottom:8px;font-size:clamp(20px,4.8vw,26px)}
.hint{margin:-6px 0 18px;text-align:center;color:var(--muted);font-size:14px;line-height:1.4}
.sub{margin:0 0 16px;text-align:center;color:var(--muted);font-size:13px}

input[type=text],input[type=email],input[type=tel]{
  width:100%;height:56px;border:1.5px solid #c5cdd3;border-radius:8px;
  padding:0 16px;font-size:16px;font-family:inherit;color:var(--ink);background:#fff;outline:none;
  text-align:center
}
input[type=text]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder{color:#9aa8b3;text-align:center}
input:focus{border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
input[aria-invalid=true]{border-color:var(--err)}
.err{min-height:1.2em;margin:8px 0 0;color:var(--err);font-size:13px;text-align:center}

.btn-next{
  display:block;width:100%;margin-top:18px;height:56px;border:0;border-radius:8px;
  background:var(--green);color:#fff;font-size:20px;font-weight:700;font-family:inherit;cursor:pointer
}
.btn-next:hover{background:var(--green-dark)}
.btn-next:disabled{opacity:.7;cursor:wait}
.back{
  display:block;margin:18px auto 0;background:none;border:0;color:#8a97a1;font-size:16px;
  font-family:inherit;cursor:pointer;text-align:center;padding:4px
}
.back[hidden]{display:none}
.note{margin:14px 0 0;text-align:center;color:var(--muted);font-size:13px;line-height:1.4}

/* Choice cards */
.opts{display:flex;flex-direction:column;gap:12px}
.opts.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.opts.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.opt{position:relative}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt label{
  display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;
  padding:14px 12px;border:1.5px solid var(--line);border-radius:8px;background:#fff;
  text-align:center;font-size:17px;font-weight:600;color:var(--navy);cursor:pointer;line-height:1.25
}
.opts.grid-2 .opt label{flex-direction:column;min-height:124px;font-size:14px;font-weight:600;color:var(--navy);padding:16px 8px}
.opts.two-col .opt label{flex-direction:column;min-height:132px;padding:16px 10px;font-size:15px;font-weight:600}
.opts.two-col .opt svg{width:52px;height:52px}
.opt svg{width:46px;height:46px;stroke:var(--navy);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.opt input:focus-visible + label{box-shadow:0 0 0 3px rgba(8,160,27,.22)}
.opt input:checked + label{border-color:var(--green);box-shadow:0 0 0 1px var(--green);background:#fff}

.name-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.consent{display:flex;align-items:flex-start;gap:10px;margin-top:16px;text-align:left}
.consent input{margin-top:4px;flex:0 0 auto;width:18px;height:18px;accent-color:var(--green)}
.consent label{font-size:12px;line-height:1.45;color:#334653;text-align:left}
.consent a{color:var(--navy);text-decoration:underline}

.hp{position:absolute;left:-10000px;height:1px;width:1px;overflow:hidden}

/* Benefits under the card, step 0 */
.benefits{width:min(var(--max), calc(100% - 32px));margin:28px auto 8px;color:var(--ink)}
body.past-start .benefits{display:none}
.benefits .note{margin:0 0 22px;text-align:center;color:var(--ink);font-size:15px;line-height:1.45}
.benefits h2{margin:0 0 12px;text-align:center;font-size:22px;font-weight:800;color:var(--navy)}
.benefits ul{margin:0;padding:0 0 0 22px}
.benefits li{margin:0 0 8px;font-size:16px}

/* Disclosures footer */
.disclosures{background:var(--footer);color:#d7e4e8;margin-top:36px;padding:36px 22px 28px;text-align:center}
.disclosures h2{margin:0 0 14px;color:#fff;font-size:18px;font-weight:700}
.disclosures p{margin:0 auto 14px;max-width:640px;font-size:12.5px;line-height:1.55}
.disclosures .fine{opacity:1;font-size:13px}
.disclosures nav{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);display:flex;flex-wrap:wrap;justify-content:center;gap:8px 0;font-size:14px}
.disclosures nav a{color:#fff;text-decoration:none;padding:0 10px;border-right:1px solid rgba(255,255,255,.28)}
.disclosures nav a:last-child{border-right:0}
.disclosures nav a:hover{text-decoration:underline}
.entity{margin-top:18px;font-size:12px;color:#c5d5d9}

/* Hide Netlify "Powered by" badge if the platform injects one */
[class*="netlify-badge"], [id*="netlify-badge"], a[href*="netlify.com"][class*="badge"]{display:none !important}

/* Legal / thank-you chrome */
header.top{background:var(--navy);color:#fff}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(980px,calc(100% - 32px));margin:0 auto;padding:12px 0}
header.top .logo{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:700}
header.top small{color:#c9d6e0;font-size:13px}
.doc{width:min(720px,calc(100% - 32px));margin:28px auto 48px;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:28px 24px}
.doc.center{text-align:center}
.doc h1{color:var(--navy);font-size:clamp(24px,4vw,32px);line-height:1.25;margin:0 0 12px}
.doc h2{color:var(--navy);font-size:20px;margin:24px 0 8px}
.doc p,.doc li{color:#334653}
.ty-lead{font-size:18px}
.bigtick{width:56px;height:56px;margin:0 auto 12px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700}
ol.next{text-align:left;margin:0 auto;padding:0 0 0 20px;max-width:520px}
body.legal,body.thanks{background:var(--bg)}
.wrap{width:min(980px,calc(100% - 32px));margin:0 auto}

@media (min-width:860px){
  .headline-band{padding:36px 24px 10px}
  .card{padding:40px 48px 36px}
  .quiz-main{padding-top:8px}
  .quiz-main,.benefits{width:min(var(--max), calc(100% - 48px))}
}
@media (max-width:389px){
  .opts.grid-2 .opt label{min-height:108px;font-size:13px}
  .q{font-size:20px}
}

/* ===== Replica skin (preview only, 15 Nov 2026): layout/typography modeled on the reference funnel. Markup/field names unchanged. ===== */
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/atkinson-400-latin.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/atkinson-700-latin.woff2) format("woff2")}
@font-face{font-family:"Kumbh Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/kumbh-700-latin.woff2) format("woff2")}
:root{--sans:"Atkinson Hyperlegible",Arial,sans-serif;--brand:"Kumbh Sans","Atkinson Hyperlegible",Arial,sans-serif;--bg:#fff;--radius:4px;--shadow:0 1px 6px rgba(0,0,0,.14);--max:512px;--ref-line:#8f9396;--ref-dot:#a8abae;--ref-blue:#4ab8e8}
html,body.quiz-page{background:#fff}
body.quiz-page{color:#000;background:linear-gradient(180deg,#dfe2e5 0,#eef0f2 140px,#fff 300px) no-repeat,#fff}
/* brand bar: desktop only, as on the reference */
.brandbar{display:none}
@media (min-width:860px){
  .brandbar{display:block;background:#fff;border-bottom:1px solid #e3e6e8;box-shadow:0 1px 3px rgba(0,0,0,.06)}
  .brandbar-inner{display:flex;align-items:center;gap:12px;height:60px;padding:0 20px}
  .brandbar img{width:40px;height:40px}
  .brandbar span{font-family:var(--brand);font-weight:700;font-size:22px;color:var(--navy);letter-spacing:0}
}
.headline-band{padding:22px 16px 6px}
.headline-band p{max-width:1100px;font-size:clamp(22px,5.4vw,42px);font-weight:700;letter-spacing:0;line-height:1.2}
/* stepper: grey dots with a ring, labels under every dot on desktop, active only on mobile */
.stepper{padding:14px 16px 30px}
.stepper-inner{width:min(300px,78vw)}
.stepper-inner::before{height:4px;background:var(--ref-line);left:8px;right:8px}
.dot{width:16px;height:16px;flex:0 0 16px;background:var(--ref-dot);border:2px solid #fff;box-shadow:0 0 0 1px #c9ccce}
.dot.is-done{background:var(--ref-dot);border-color:#fff}
.dot.is-active{background:#5fc046;border-color:#fff;box-shadow:0 0 0 2px #9bd88a}
.dot-wrap{width:16px}
.dot-label{top:22px;font-size:9.5px;font-weight:700;letter-spacing:.02em;color:#000;opacity:.0}
.dot-wrap:has(.is-active) .dot-label{opacity:1;color:#2f9e1b}
@media (min-width:860px){.dot-label{opacity:.55}}
/* card */
.quiz-main{width:min(var(--max),calc(100% - 22px))}
.card{border-radius:4px;box-shadow:var(--shadow);padding:34px 22px 30px}
.q{font-size:clamp(20px,5vw,26px);font-weight:700;letter-spacing:0;line-height:1.3}
.almost{font-size:clamp(20px,5vw,26px);font-weight:700;letter-spacing:0}
.almost + .q{font-size:clamp(16px,4vw,19px);font-weight:400;color:var(--navy)}
.sub,.hint{color:#000;font-size:12.5px}
input[type=text],input[type=email],input[type=tel]{height:56px;border:1px solid var(--ref-blue);border-radius:2px;font-size:17px;color:#000}
input[type=text]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder{color:#a9b1b7;font-size:14px}
input:focus{border-color:var(--ref-blue);box-shadow:0 0 0 1px var(--ref-blue)}
.btn-next{width:min(284px,100%);margin:28px auto 0;border-radius:3px;font-size:22px;font-weight:400;height:56px}
#submit-btn{width:100%;font-size:19px}
.back{font-size:12.5px;color:#7d858b}
/* options: thin outlined boxes */
.opts{gap:14px}
.opt label{min-height:42px;padding:10px 12px;border:1px solid #9aa3a9;border-radius:3px;font-size:14px;font-weight:400;color:var(--navy)}
.opts.grid-2,.opts.two-col{gap:8px}
.opts.grid-2 .opt label,.opts.two-col .opt label{border:1px solid #e1e4e6;border-radius:3px;min-height:112px;font-size:11.5px;font-weight:400;color:var(--navy)}
.opt input:checked + label{border-color:#08a01b;box-shadow:0 0 0 1px #08a01b}
.consent label{color:#222}
/* under-card copy */
.benefits{width:min(560px,calc(100% - 32px));margin:24px auto 30px}
.benefits .note{color:#000;font-size:15px;max-width:420px;margin:0 auto 26px}
.benefits h2{font-size:clamp(20px,4.6vw,26px);font-weight:700;margin-bottom:16px}
.benefits ul{padding-left:20px;max-width:440px;margin:0 auto}
.benefits li{font-size:17px;color:#000;margin:0 0 6px}
.disclosures{margin-top:0}
@media (min-width:860px){
  .headline-band{padding:30px 24px 8px}
  .card{padding:42px 48px 44px}
  .q{font-size:26px}
  .benefits .note{font-size:16px}
}
/* replica skin, pass 2: spacing and icon size closer to the reference */
.quiz-main{width:min(var(--max),calc(100% - 50px))}
body.past-start .quiz-main{padding-bottom:140px}
.q{font-size:clamp(22px,5.6vw,26px)}
.opts.grid-2 .opt svg,.opts.two-col .opt svg{width:60px;height:60px}
.stepper-inner{width:min(320px,80vw)}
.dot{width:18px;height:18px;flex:0 0 18px}
.dot-wrap{width:18px}
@media (min-width:860px){.dot-label{opacity:1;color:#7c8287}.dot-wrap:has(.is-active) .dot-label{color:#2f9e1b}}
/* replica skin, pass 3: mobile type scale matched to the reference at 390px */
@media (max-width:859px){
  .headline-band p{font-size:24px}
  .stepper-inner{width:86vw}
  .dot{width:20px;height:20px;flex:0 0 20px}.dot-wrap{width:20px}
  .card{padding:38px 18px 40px}
  .q{font-size:24px}
  input[type=text],input[type=email],input[type=tel]{height:54px}
  .btn-next{font-size:24px;height:54px;width:100%}
  #submit-btn{font-size:20px}
  .benefits .note{font-size:17px}
  .benefits h2{font-size:22px}
  .benefits li{font-size:17px}
  .opt label{min-height:46px;font-size:15px}
}
/* replica skin, pass 4: desktop geometry measured from the reference at 1440px */
@media (min-width:860px){
  .brandbar-inner{height:72px;padding:0 20px}
  .brandbar img{width:52px;height:52px}
  .brandbar span{font-size:28px}
  .headline-band{padding:30px 24px 0}
  .headline-band p{font-size:42px;line-height:50px}
  .stepper{padding:40px 16px 30px}
  .stepper-inner{width:400px}
  .dot-label{font-size:10px}
  .quiz-main{width:min(720px,calc(100% - 48px))}
  .card{padding:50px 67px 60px;min-height:386px}
  .q{font-size:30px;line-height:36px;margin-bottom:30px}
  .almost{font-size:30px}
  .almost + .q{font-size:22px}
  input[type=text],input[type=email],input[type=tel]{height:80px;font-size:24px;border-radius:5px;border-color:#09b3ea}
  input[type=text]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder{font-size:16px}
  .btn-next{width:400px;height:80px;font-size:28px;border-radius:5px;margin-top:20px}
  #submit-btn{width:100%;font-size:24px}
  .opts{gap:25px}
  .opt label{min-height:70px;font-size:18px}
  .opts.grid-2 .opt label,.opts.two-col .opt label{min-height:150px;font-size:15px}
  .back{font-size:16px}
  .benefits{width:min(622px,calc(100% - 48px));margin-top:20px}
  .benefits .note{font-size:20px;max-width:600px;line-height:1.2}
  .benefits h2{font-size:36px}
  .benefits li{font-size:24px;line-height:1.5}
  .benefits ul{max-width:none}
  .disclosures p{max-width:980px;font-size:12px}
  .disclosures .fine{font-size:13px}
  .disclosures nav{font-size:16px}
}
