:root{
  --bg:#f6fbff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:rgba(15, 23, 42, 0.10);

  --primary:#2b7cff;
  --primary2:#35c6ff;
  --accent:#ff5aa5;
  --mint:#28d3a5;

  --shadow:0 18px 40px rgba(15, 23, 42, 0.10);
  --radius:18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}

/* Background blobs */
.bg{ position:fixed; inset:0; pointer-events:none; z-index:-1; overflow:hidden; }
.blob{
  position:absolute;
  width:520px; height:520px;
  filter:blur(40px);
  opacity:.35;
  border-radius:999px;
}
.blob--a{ left:-140px; top:-160px; background:radial-gradient(circle, var(--primary2), transparent 60%); }
.blob--b{ right:-160px; bottom:-180px; background:radial-gradient(circle, var(--accent), transparent 60%); }

/* Topbar */
.topbar{
  position:sticky; top:0;
  backdrop-filter:blur(10px);
  background:rgba(246,251,255,.85);
  border-bottom:1px solid var(--line);
  z-index:50;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:10px;
}

.brand{ display:flex; gap:12px; align-items:center; min-width:0; }
.brand__mark{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow:0 10px 18px rgba(43,124,255,.20);
  font-size:22px;
}
.brand__name{ font-weight:800; letter-spacing:.2px; }
.brand__tag{ color:var(--muted); font-size:13px; margin-top:2px; }

.call{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(43,124,255,.10);
  border:1px solid rgba(43,124,255,.18);
  font-weight:800;
  white-space:nowrap;
}
.call:hover{ text-decoration:none; background:rgba(43,124,255,.14); }

/* HERO LAYOUT: mobile-first */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 0 14px;
  align-items:start;
}
.hero__quiz{ order:1; }
.hero__copy{ order:2; }

@media (min-width: 981px){
  .hero{
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    padding: 28px 0 14px;
  }
  .hero__copy{ order:1; }
  .hero__quiz{ order:2; }
}

h1{
  font-size: clamp(28px, 3.2vw, 46px);
  margin: 6px 0 10px;
  line-height: 1.05;
}
.accent{ color:var(--primary); }
.sub{
  font-size:16px;
  color:var(--muted);
  line-height:1.55;
  margin: 0 0 14px;
  max-width: 54ch;
}

.trust{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.trust__item{
  display:flex;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
}
.hero__micro{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

/* Card */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card__top{
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(43,124,255,.08), rgba(255,255,255,0));
}

.progress{
  height:10px;
  background: rgba(15,23,42,.06);
  border-radius: 999px;
  overflow:hidden;
}
.progress__bar{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--primary), var(--primary2));
  transition: width .25s ease;
}

.stepmeta{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(40,211,165,.12);
  border:1px solid rgba(40,211,165,.18);
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}
.tiny{ font-size:13px; color:var(--muted); }

.quiz{ padding: 14px; }
.step{ display:none; }
.step.is-active{ display:block; animation: pop .16s ease; }

@keyframes pop{
  from{ opacity:.3; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

.q{
  margin: 4px 0 6px;
  font-size: 20px;
  letter-spacing: .1px;
}
.qsub{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
  font-size: 14px;
}

.choices{
  display:grid;
  gap:10px;
  margin: 10px 0 12px;
}
.choice{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  cursor:pointer;
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
}
.choice:hover{
  transform: translateY(-1px);
  border-color: rgba(43,124,255,.28);
  background: rgba(43,124,255,.06);
}
.choice input{ accent-color: var(--primary); transform: scale(1.12); }

.nav{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
}

.btn{
  appearance:none;
  border:0;
  border-radius:14px;
  padding: 12px 14px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  transition: transform .08s ease, background .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:disabled{ opacity:.7; cursor:not-allowed; }

.btn--primary{
  flex: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 10px 20px rgba(43,124,255,.24);
}
.btn--primary:hover{ transform: translateY(-1px); }

.btn--secondary{
  color:#083344;
  background: rgba(53,198,255,.18);
  border: 1px solid rgba(53,198,255,.22);
}
.btn--secondary:hover{ transform: translateY(-1px); }

.btn--ghost{
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  min-width: 110px;
}
.btn--ghost:hover{ border-color: rgba(43,124,255,.26); background: rgba(43,124,255,.05); }

/* Lead form */
.formgrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 720px){
  .formgrid{ grid-template-columns: 1fr 1fr; }
}

.field label{
  display:block;
  font-weight:800;
  margin-bottom:6px;
}
.field input,
.field textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  padding:12px 12px;
  font: inherit;
  outline:none;
  background: rgba(255,255,255,.95);
}
.field input:focus,
.field textarea:focus{
  border-color: rgba(43,124,255,.35);
  box-shadow: 0 0 0 4px rgba(43,124,255,.12);
}
.muted{ color: var(--muted); }

.fineprint{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.status{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.03);
  color: var(--muted);
  min-height: 44px;
  display:flex;
  align-items:center;
}
.status--success{
  border-color: rgba(40,211,165,.25);
  background: rgba(40,211,165,.10);
  color: #064e3b;
}
.status--error{
  border-color: rgba(255,90,165,.25);
  background: rgba(255,90,165,.10);
  color: #7a1142;
}
.status--loading{
  border-color: rgba(43,124,255,.22);
  background: rgba(43,124,255,.08);
  color: #0b2a66;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  padding: 22px 0;
}
.footer__inner{ display:grid; gap: 12px; }
.footer__title{ font-weight: 900; }
.footer__text{ color: var(--muted); margin-top: 4px; }
.footer__links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer__legal{ color: var(--muted); font-size: 12.5px; }

/* THANK YOU */
.thankyou{
  padding: 14px;
}
.thankyou__box{
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(43,124,255,.05);
}
.thankyou__line{
  margin: 0 0 10px;
  color: var(--muted);
}
.thankyou__btn{
  width: 100%;
}
