:root {
  --purple: #6c2cff;
  --purple-dark: #4f1ecf;
  --purple-soft: #f1ebff;
  --purple-pale: #faf7ff;
  --ink: #17112d;
  --muted: #6d6880;
  --line: #e7e1f0;
  --bg: #f7f5fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(108,44,255,.12), transparent 34%),
    linear-gradient(180deg, #fbfaff 0%, #f6f3fb 100%);
  min-height: 100vh;
}
button, input { font: inherit; }
button { cursor: pointer; }

.shell {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 38px;
}

.experience {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(61, 36, 111, .08);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(52,31,91,.12);
}

.brandbar {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 38px;
  background: rgba(255,255,255,.96);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-pin {
  width: 33px;
  height: 43px;
  border-radius: 18px 18px 18px 4px;
  transform: rotate(-45deg);
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #7e3cff 0%, #5b16e5 100%);
  box-shadow: 0 7px 16px rgba(108,44,255,.25);
  flex: 0 0 auto;
}
.brand-pin span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 4px rgba(255,255,255,.22);
}
.progress-wrap { display: grid; gap: 8px; justify-items: center; }
.step-label { font-size: 13px; font-weight: 800; color: var(--ink); }
.progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #ebe7f2;
}
.progress > div {
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6c2cff, #8c3cff);
  transition: width .28s ease;
}
.privacy-pill {
  justify-self: end;
  border-radius: 999px;
  padding: 10px 15px;
  background: #f7f2ff;
  color: #6930df;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.visual-stage {
  position: relative;
  height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.95), transparent 21%),
    linear-gradient(135deg, #f5edff 0%, #e8ddff 48%, #f9f6ff 100%);
}
.visual-stage::before,
.visual-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.visual-stage::before { width: 360px; height: 360px; left: -120px; top: -110px; background: rgba(255,255,255,.35); }
.visual-stage::after { width: 460px; height: 460px; right: -130px; top: -170px; background: rgba(255,255,255,.32); }
.city-layer { position: absolute; bottom: 0; left: 0; right: 0; }
.city-back {
  height: 120px;
  opacity: .24;
  background: repeating-linear-gradient(90deg, #7e69b0 0 28px, transparent 28px 42px);
  clip-path: polygon(0 43%,5% 43%,5% 18%,10% 18%,10% 52%,16% 52%,16% 27%,22% 27%,22% 61%,28% 61%,28% 36%,34% 36%,34% 53%,42% 53%,42% 13%,48% 13%,48% 62%,56% 62%,56% 30%,63% 30%,63% 55%,69% 55%,69% 8%,75% 8%,75% 49%,82% 49%,82% 25%,88% 25%,88% 58%,94% 58%,94% 35%,100% 35%,100% 100%,0 100%);
}
.city-front {
  height: 72px;
  opacity: .22;
  background: #71599d;
  clip-path: polygon(0 60%,6% 60%,6% 30%,14% 30%,14% 65%,20% 65%,20% 42%,27% 42%,27% 68%,34% 68%,34% 35%,42% 35%,42% 63%,49% 63%,49% 44%,56% 44%,56% 70%,64% 70%,64% 31%,72% 31%,72% 60%,81% 60%,81% 43%,89% 43%,89% 68%,100% 68%,100% 100%,0 100%);
}
.shop-card {
  position: absolute;
  left: 11%;
  bottom: 26px;
  width: 155px;
  height: 135px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg,#d7c8ff 0 35%,#bba6ef 35% 100%);
  box-shadow: 0 18px 30px rgba(66,43,112,.15);
}
.shop-awning { position:absolute; left:-10px; right:-10px; top:38px; height:24px; background:repeating-linear-gradient(90deg,#7c56da 0 18px,#eee8ff 18px 36px); border-radius:6px; }
.shop-door { position:absolute; width:38px; height:61px; bottom:0; left:58px; background:#7d67a8; border-radius:5px 5px 0 0; }
.shop-dot { position:absolute; width:52px; height:52px; border-radius:50%; left:51px; top:-25px; background:#fff; box-shadow:0 8px 20px rgba(77,49,133,.14); }
.shop-dot::after { content:'⌂'; position:absolute; inset:0; display:grid; place-items:center; color:#6c2cff; font-size:24px; font-weight:800; }
.growth-arrow { position:absolute; left:31%; top:88px; font-size:150px; line-height:1; color:#8150ef; transform:rotate(-10deg); opacity:.9; font-weight:300; }
.phone-card {
  position:absolute;
  width:215px;
  height:292px;
  left:50%;
  top:28px;
  transform:translateX(-50%);
  border:8px solid #252034;
  border-radius:34px 34px 18px 18px;
  background:#fff;
  box-shadow:0 22px 48px rgba(60,39,103,.22);
  padding:30px 16px 14px;
  z-index:2;
}
.phone-notch { position:absolute; top:-2px; left:50%; transform:translateX(-50%); width:86px; height:16px; border-radius:0 0 12px 12px; background:#252034; }
.google-word { text-align:center; font-size:19px; font-weight:800; letter-spacing:-.04em; color:#3977e8; margin-bottom:12px; }
.search-line { height:27px; border:1px solid #e6e1ee; border-radius:999px; background:linear-gradient(90deg,#f8f6fb 68%,#eee9f7 68%); margin-bottom:14px; }
.business-mini { display:grid; gap:5px; }
.business-mini strong { font-size:13px; }
.business-mini span { font-size:10px; color:#e99b1e; }
.business-mini b { color:#5e566e; }
.phone-actions { display:flex; justify-content:space-between; margin:16px 3px 12px; color:#5f49c8; }
.phone-actions span { width:31px; height:31px; display:grid; place-items:center; background:#f2edff; border-radius:50%; font-size:13px; }
.map-mini { height:76px; border-radius:10px; background:linear-gradient(135deg,#e7e2ee,#d9eadc 48%,#eee5dc 48%); position:relative; overflow:hidden; }
.map-pin { position:absolute; width:24px; height:31px; background:#6c2cff; border-radius:14px 14px 14px 3px; transform:rotate(-45deg); left:50%; top:22px; margin-left:-12px; }
.map-pin::after { content:''; position:absolute; width:8px; height:8px; background:white; border-radius:50%; top:8px; left:8px; }
.value-bubble {
  position:absolute;
  right:10%;
  top:64px;
  width:225px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 36px rgba(68,44,115,.12);
  display:flex;
  gap:12px;
  z-index:2;
}
.bubble-icon { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#efe7ff; color:#6c2cff; font-weight:900; font-size:20px; }
.value-bubble div:last-child { display:grid; gap:3px; }
.value-bubble strong { font-size:15px; }
.value-bubble span { font-size:12px; color:var(--muted); line-height:1.35; }
.stat-chip {
  position:absolute;
  right:14%;
  bottom:34px;
  min-width:175px;
  padding:12px 14px;
  border-radius:15px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(108,44,255,.12);
  display:grid;
  z-index:2;
}
.stat-chip strong { color:#5a24d8; font-size:14px; }
.stat-chip span { color:var(--muted); font-size:11px; margin-top:2px; }

.question-card {
  position:relative;
  width:min(980px, calc(100% - 64px));
  margin:-22px auto 34px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:42px 52px 34px;
  box-shadow:0 18px 48px rgba(56,34,95,.10);
  text-align:center;
  z-index:4;
}
.eyebrow { color:var(--purple); text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; margin-bottom:11px; }
h1 { margin:0 auto; max-width:820px; font-size:clamp(28px,3.8vw,42px); line-height:1.15; letter-spacing:-.035em; }
.subtext { margin:14px auto 26px; max-width:680px; color:var(--muted); font-size:15px; line-height:1.55; }
.answers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:760px; margin:0 auto; }
.answer { width:100%; border:1.5px solid var(--line); border-radius:16px; background:#fff; color:var(--ink); padding:17px 18px; font-size:15px; font-weight:700; text-align:left; transition:.16s ease; }
.answer:hover { border-color:#bba4ff; transform:translateY(-1px); box-shadow:0 8px 20px rgba(70,42,122,.08); }
.answer.selected { border-color:var(--purple); background:#f4efff; box-shadow:0 0 0 3px rgba(108,44,255,.08); }
.scale-answers { grid-template-columns:repeat(10,minmax(0,1fr)); gap:9px; max-width:860px; }
.scale-answer { text-align:center; padding:16px 0; font-size:17px; }

.response-panel {
  max-width:760px;
  margin:8px auto 0;
  border:1px solid #ded2ff;
  border-radius:20px;
  padding:22px 24px;
  background:linear-gradient(135deg,#faf7ff,#f0e9ff);
  display:flex;
  align-items:flex-start;
  gap:16px;
  text-align:left;
  animation:responseIn .28s ease both;
}
@keyframes responseIn { from{opacity:0;transform:translateY(10px) scale(.99)} to{opacity:1;transform:none} }
.response-mark { width:42px; height:42px; border-radius:50%; background:#e5d9ff; display:grid; place-items:center; color:#6c2cff; font-size:20px; flex:0 0 auto; }
.response-copy { display:grid; gap:5px; }
.response-kicker { color:#6c2cff; text-transform:uppercase; letter-spacing:.1em; font-size:10px; font-weight:800; }
.response-copy strong { font-size:18px; }
.response-copy p { margin:0; color:#5f5870; font-size:14px; line-height:1.55; }

.actions { max-width:760px; margin:26px auto 0; display:flex; gap:12px; justify-content:center; }
.primary,.secondary { border:0; border-radius:15px; min-height:54px; padding:0 25px; font-weight:800; transition:.16s ease; }
.primary { min-width:310px; color:white; background:linear-gradient(90deg,#6424ec,#7d2fff); box-shadow:0 10px 24px rgba(108,44,255,.2); }
.primary:hover { transform:translateY(-1px); box-shadow:0 13px 28px rgba(108,44,255,.24); }
.primary:disabled { opacity:.38; cursor:not-allowed; transform:none; box-shadow:none; }
.secondary { background:#f3f0f7; color:#5d5568; }
.back { visibility:hidden; min-width:110px; }
.back.visible { visibility:visible; }
.change-answer { margin:13px auto 0; border:0; background:transparent; color:#6c2cff; font-size:12px; font-weight:700; }
.wide { width:100%; max-width:760px; margin:24px auto 0; }

.answering .answers,
.answering .subtext { display:none; }
.answering .question-card { min-height:330px; }

.final-card { margin-top:-22px; }
.final-card .subtext { max-width:650px; }
.checkmark { margin:0 auto 16px; width:58px; height:58px; border-radius:18px; background:#eee7ff; color:#6c2cff; display:grid; place-items:center; font-size:25px; font-weight:900; }
.value-list { max-width:760px; margin:28px auto 0; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; text-align:left; }
.value-list > div { border:1px solid var(--line); border-radius:16px; padding:16px; display:flex; gap:10px; }
.value-list span { color:#6c2cff; font-weight:900; }
.value-list p { margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.value-list strong { color:var(--ink); }
.small-note { margin:13px 0 0; color:var(--muted); font-size:11px; }
.hidden { display:none !important; }
footer { text-align:center; color:#8d8799; font-size:12px; margin-top:18px; }

@media (max-width: 900px) {
  .brandbar { grid-template-columns:1fr auto; padding:18px 24px; }
  .progress-wrap { grid-column:1/-1; grid-row:2; width:100%; }
  .privacy-pill { grid-column:2; grid-row:1; }
  .visual-stage { height:285px; }
  .shop-card { left:5%; transform:scale(.85); transform-origin:bottom left; }
  .value-bubble { right:4%; transform:scale(.9); transform-origin:top right; }
  .stat-chip { display:none; }
  .question-card { width:calc(100% - 34px); padding:36px 30px 30px; }
  .scale-answers { grid-template-columns:repeat(5,1fr); }
}

@media (max-width: 620px) {
  .shell { width:100%; padding:0; }
  .experience { border-radius:0; border:0; min-height:100vh; }
  .brandbar { min-height:78px; padding:15px 17px; gap:12px; }
  .brand { font-size:16px; }
  .brand-pin { width:27px; height:34px; }
  .privacy-pill { font-size:10px; padding:8px 10px; }
  .visual-stage { height:215px; }
  .phone-card { width:150px; height:205px; border-width:6px; border-radius:25px 25px 14px 14px; padding:22px 11px 8px; top:15px; }
  .phone-notch { width:62px; height:11px; }
  .google-word { font-size:14px; margin-bottom:7px; }
  .search-line { height:20px; margin-bottom:8px; }
  .business-mini strong { font-size:9px; }
  .business-mini span { font-size:7px; }
  .phone-actions { margin:9px 1px 7px; }
  .phone-actions span { width:23px; height:23px; font-size:9px; }
  .map-mini { height:50px; }
  .map-pin { transform:rotate(-45deg) scale(.7); top:10px; }
  .shop-card { transform:scale(.55); left:2%; bottom:12px; }
  .growth-arrow { left:25%; top:65px; font-size:95px; }
  .value-bubble { width:145px; right:2%; top:30px; padding:11px; gap:7px; transform:none; }
  .bubble-icon { width:29px; height:29px; font-size:13px; }
  .value-bubble strong { font-size:10px; }
  .value-bubble span { font-size:8px; }
  .question-card { width:calc(100% - 20px); margin:-15px auto 22px; padding:26px 17px 24px; border-radius:20px; }
  h1 { font-size:27px; }
  .subtext { font-size:13px; margin-bottom:20px; }
  .answers { grid-template-columns:1fr; }
  .scale-answers { grid-template-columns:repeat(5,1fr); gap:8px; }
  .answer { padding:14px 15px; font-size:14px; }
  .scale-answer { text-align:center; padding:13px 0; }
  .response-panel { padding:17px; gap:11px; }
  .response-mark { width:34px; height:34px; }
  .response-copy strong { font-size:16px; }
  .response-copy p { font-size:13px; }
  .actions { display:grid; grid-template-columns:1fr; }
  .primary { min-width:0; width:100%; }
  .secondary { order:2; }
  .back { min-width:0; }
  .value-list { grid-template-columns:1fr; }
  footer { padding-bottom:20px; }
}
