:root{
  --red:#BC1823;
  --red-dark:#8C0D16;
  --bg:#0b0b0f;
  --card:#11121a;
  --text:#f6f6f7;
  --muted:rgba(246,246,247,.72);
  --line:rgba(255,255,255,.12);
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1050px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:var(--font);background:radial-gradient(1200px 650px at 20% 10%, rgba(188,24,35,.22), transparent 55%), var(--bg);color:var(--text)}
a{color:var(--text)}
.container{width:min(var(--max), 92vw);margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,15,.65);
  border-bottom:1px solid var(--line);
}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;gap:12px;align-items:center}
.brand-mark{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 30px rgba(188,24,35,.22);
  font-weight:800;
}
.brand-name{font-weight:800;letter-spacing:.2px}
.brand-sub{font-size:13px;color:var(--muted)}

.top-cta{
  text-decoration:none;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(188,24,35,.4);
  background: rgba(188,24,35,.18);
}

.hero{padding:56px 0 22px}
.hero-grid{display:grid;grid-template-columns: 1.3fr .9fr;gap:26px;align-items:stretch}
@media (max-width: 900px){.hero-grid{grid-template-columns:1fr}}

.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
h1{font-size:44px;line-height:1.07;margin:14px 0 12px}
@media (max-width: 520px){h1{font-size:34px}}
.hero-sub{color:var(--muted);font-size:17px;line-height:1.6;max-width:60ch}
.checks{margin:18px 0 18px;padding-left:18px;color:var(--muted)}
.checks li{margin:8px 0}

.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 10px}

.btn{
  appearance:none;border:none;cursor:pointer;
  border-radius:999px;padding:12px 16px;
  font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;
  transition: transform .08s ease, background .2s ease, border .2s ease, opacity .2s ease;
}
.btn:active{transform: translateY(1px)}
.btn-primary{
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color:white;
  box-shadow: 0 14px 35px rgba(188,24,35,.25);
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: var(--text);
}
.btn-wide{width:100%}

.micro{font-size:13px;color:var(--muted);line-height:1.6}

.hero-card{border-radius: var(--radius); background: rgba(255,255,255,.04); border:1px solid var(--line); box-shadow: var(--shadow)}
.hero-card-inner{padding:18px}
.hero-card h3{margin:0 0 12px}
.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mini{background: rgba(0,0,0,.25); border:1px solid var(--line); border-radius:16px; padding:12px}
.mini-num{font-weight:900;font-size:24px}
.mini-label{font-size:13px;color:var(--muted)}
.note{margin-top:12px; padding:12px; border-radius:16px; border:1px dashed rgba(188,24,35,.55); color:var(--muted); background: rgba(188,24,35,.10)}

.section{padding:30px 0}
.section-head{margin-bottom:16px}
.section-head h2{margin:0 0 6px;font-size:28px}
.section-head p{margin:0;color:var(--muted)}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 900px){.steps{grid-template-columns:1fr}}
.step{background: rgba(255,255,255,.04); border:1px solid var(--line); border-radius: var(--radius); padding:16px; display:flex; gap:12px}
.step-num{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  background: rgba(188,24,35,.22);
  border:1px solid rgba(188,24,35,.45);
  font-weight:900;
}
.step h4{margin:0 0 6px}
.step p{margin:0;color:var(--muted);line-height:1.5}

.section-quiz{padding:34px 0 60px}
.quiz-shell{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.quiz-head{padding:18px 18px 10px;border-bottom:1px solid var(--line)}
.quiz-head h2{margin:0 0 6px}
.quiz-head p{margin:0;color:var(--muted)}
.progress{height:10px;border-radius:999px;background: rgba(255,255,255,.08);margin-top:14px;overflow:hidden;border:1px solid var(--line)}
.progress-bar{height:100%;width:0%;background: linear-gradient(135deg, var(--red), var(--red-dark))}
.progress-meta{display:flex;justify-content:space-between;gap:12px;padding:10px 18px 0;color:var(--muted);font-size:13px}
.muted{color:var(--muted)}

/* Stepper */
.stepper{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding:0 2px}
.step-dot{
  width:18px;height:18px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  position:relative;
}
.step-dot.active{border-color: rgba(188,24,35,.85); background: rgba(188,24,35,.20)}
.step-dot.done{border-color: rgba(188,24,35,.85); background: rgba(188,24,35,.55)}
.step-dot span{position:absolute;inset:0;display:grid;place-items:center;font-size:11px;color:rgba(255,255,255,.85);font-weight:800}

.quiz-body{padding:18px}
.q-title{font-size:20px;margin:0 0 12px}
.choices{display:grid;gap:10px}
.choice{
  text-align:left;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: var(--text);
  cursor:pointer;
  display:flex;gap:12px;align-items:flex-start;
}
.choice:hover{border-color: rgba(188,24,35,.55)}
.choice.selected{
  border-color: rgba(188,24,35,.9);
  background: rgba(188,24,35,.16);
}
.choice-dot{
  width:14px;height:14px;border-radius:99px;
  border:2px solid rgba(255,255,255,.35);
  margin-top:3px;flex:0 0 auto;
}
.choice.selected .choice-dot{border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.15)}
.choice-text{line-height:1.4}
.choice-sub{display:block;color:var(--muted);font-size:13px;margin-top:4px}

.quiz-controls{
  display:flex;justify-content:space-between;gap:12px;
  padding:16px 18px;border-top:1px solid var(--line)
}

.results{margin-top:16px}
.results-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding:18px;
}
.results-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.share-wrap{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
@media (max-width: 720px){.share-wrap{align-items:flex-start}}

.results-sub{color:var(--muted);line-height:1.6}
.result-pill-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.result-pill{
  display:inline-flex;align-items:center;
  padding:8px 12px;border-radius:999px;
  background: rgba(188,24,35,.18);
  border:1px solid rgba(188,24,35,.45);
  font-weight:800;
}
.result-pill.subtle{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: var(--muted);
  font-weight:700;
}
.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width: 900px){.result-grid{grid-template-columns:1fr}}

.result-box{
  margin:14px 0;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  padding:14px;
}
.result-box h3{margin:0 0 8px}
.result-box ul{margin:0;padding-left:18px;color:var(--muted)}
.result-box li{margin:8px 0}
.runnerup{background: rgba(255,255,255,.03)}

.neighborhoods{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.neighborhood-tag{
  padding:10px 12px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: rgba(255,255,255,.9);
  font-weight:700;
  font-size:13px;
}

.lead-form{margin-top:12px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (max-width: 720px){.grid{grid-template-columns:1fr}}
.field label{display:block;font-weight:700;margin:0 0 6px;font-size:13px;color:rgba(255,255,255,.9)}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color: rgba(188,24,35,.75)}
.field.full{grid-column:1/-1}
.consent{display:flex;gap:10px;align-items:flex-start;margin:12px 0}
.consent label{color:var(--muted);font-size:13px;line-height:1.4}

.hidden{display:none !important}

.footer{border-top:1px solid var(--line); padding:20px 0; color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.footer-title{color:var(--text);font-weight:800}
.footer-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.small{font-size:13px}
