/* THE CIRCLE · Hangout Feedback — MAKERS Creative Hub */
:root {
  --plum: #2B2132;
  --plum-2: #3A2D44;
  --plum-ink: #1C1521;
  --purple: #A42FE9;
  --purple-600: #8E1FD3;
  --magenta: #EA10FB;
  --lilac-50: #F8F3FC;
  --lilac-100: #F1E6FA;
  --lilac-200: #E3CDF6;
  --paper: #FBFAFC;
  --line: #E8E2EE;
  --muted: #6E6378;
  --white: #fff;
  --ok: #19A974;
  --warn: #E5484D;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(43,33,50,.06), 0 8px 24px -12px rgba(43,33,50,.18);
  --shadow-lg: 0 24px 60px -24px rgba(43,33,50,.45);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 84px;
  --top-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--body);
  color: var(--plum);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, textarea { font: inherit; color: inherit; }
a.btn { text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 10px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { position: relative; min-height: 100dvh; overflow-x: clip; }

/* ───────── Stage & transitions ───────── */
.stage { position: relative; min-height: 100dvh; }
.screen {
  min-height: 100dvh;
  transition: transform .5s var(--ease), opacity .38s var(--ease);
  will-change: transform, opacity;
}
.screen.is-entering { position: absolute; inset: 0 0 auto 0; }
.screen.from-right { transform: translateX(48px); opacity: 0; }
.screen.from-left  { transform: translateX(-48px); opacity: 0; }
.screen.from-below { transform: translateY(28px); opacity: 0; }
.screen.to-left    { transform: translateX(-48px); opacity: 0; position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.screen.to-right   { transform: translateX(48px); opacity: 0; position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.screen.to-fade    { opacity: 0; position: absolute; inset: 0 0 auto 0; pointer-events: none; }

/* ───────── Top bar & progress ───────── */
.topbar, .navbar { display: none; }
.app[data-view="question"] .topbar,
.app[data-view="question"] .navbar { display: flex; }

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  align-items: center; gap: 18px;
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 4vw, 40px) 14px;
  background: linear-gradient(var(--paper) 72%, rgba(251,250,252,0));
}
.topbar__logo { width: 84px; height: auto; flex: none; }
.progress { flex: 1; max-width: 560px; margin-left: auto; }
.progress__meta { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.progress__section { color: var(--plum); }
.progress__section b { color: var(--purple); font-weight: 700; margin-right: 6px; }
.progress__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.progress__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress__seg { height: 6px; border-radius: 99px; background: var(--lilac-100); overflow: hidden; }
.progress__seg i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--magenta)); transition: width .6s var(--ease); }

/* ───────── Question screen layout ───────── */
.q-screen { padding: calc(var(--top-h) + 18px) clamp(18px, 5vw, 40px) calc(var(--nav-h) + 40px); }
.q-wrap { max-width: 640px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(234,16,251,.14); }

.question { margin-bottom: 34px; transition: opacity .35s var(--ease), transform .35s var(--ease), max-height .45s var(--ease), margin .35s var(--ease); }
.question.is-hidden { display: none; }
.question.is-revealing { animation: reveal .45s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.question__head { margin-bottom: 18px; }
.question__title {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(25px, 5.6vw, 36px); margin: 0 0 10px; outline: none;
}
.question--follow .question__title { font-size: clamp(19px, 4.2vw, 23px); }
.question__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 14.5px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag--req { background: var(--plum); color: #fff; }
.tag--opt { background: var(--lilac-100); color: var(--purple-600); }

.question--follow {
  position: relative; padding: 22px 20px 22px 22px; border-radius: var(--radius);
  background: var(--lilac-50); border: 1px dashed var(--lilac-200);
}
.question--follow::before {
  content: "↳"; position: absolute; top: -13px; left: 20px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--purple); color: #fff; font-size: 13px; font-weight: 700;
}

.error { display: none; align-items: center; gap: 8px; margin-top: 12px; color: var(--warn); font-weight: 600; font-size: 14px; }
.question.has-error .error { display: flex; }
.question.has-error .question__body { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ───────── Option cards ───────── */
.options { display: grid; gap: 12px; }
.options--grid-2 { grid-template-columns: repeat(2, 1fr); }
.options--grid-3 { grid-template-columns: repeat(3, 1fr); }
.options--row { grid-template-columns: repeat(2, 1fr); }
.options--row-3 { grid-template-columns: repeat(3, 1fr); }
.options--stack { grid-template-columns: 1fr; }
.options--chips { display: flex; flex-wrap: wrap; gap: 10px; }

.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 120px; padding: 18px; text-align: left;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s var(--spring), border-color .2s, background .2s, box-shadow .2s;
}
.card:hover { border-color: var(--lilac-200); transform: translateY(-2px); }
.card:active { transform: scale(.97); }
.card__emoji {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  font-size: 26px; line-height: 1; background: var(--lilac-50);
  transition: transform .35s var(--spring), background .2s;
}
.card__label { font-weight: 600; font-size: 16px; line-height: 1.25; }
.card__check {
  position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .2s;
}
.card__check svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; transform: scale(.5); transition: all .25s var(--spring); }
.card[aria-pressed="true"], .card[aria-checked="true"] {
  border-color: var(--purple); background: linear-gradient(160deg, #fff 30%, var(--lilac-50));
  box-shadow: 0 0 0 4px rgba(164,47,233,.12), var(--shadow);
}
.card[aria-pressed="true"] .card__emoji, .card[aria-checked="true"] .card__emoji { transform: scale(1.12) rotate(-6deg); background: var(--lilac-100); }
.card[aria-pressed="true"] .card__check, .card[aria-checked="true"] .card__check { background: var(--purple); border-color: var(--purple); }
.card[aria-pressed="true"] .card__check svg, .card[aria-checked="true"] .card__check svg { opacity: 1; transform: none; }
.card[aria-disabled="true"] { opacity: .45; }

.options--stack .card, .options--row .card, .options--row-3 .card { min-height: 0; flex-direction: row; align-items: center; padding: 14px 16px; }
.options--row-3 .card { flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; }
.options--row-3 .card__check { top: 10px; right: 10px; width: 20px; height: 20px; }
.options--stack .card__label, .options--row .card__label { padding-right: 32px; }
.options--stack .card__check, .options--row .card__check { top: 50%; transform: translateY(-50%); }
.options--grid-3 .card { min-height: 108px; padding: 14px; gap: 10px; }
.options--grid-3 .card__emoji { width: 40px; height: 40px; font-size: 22px; border-radius: 12px; }
.options--grid-3 .card__label { font-size: 14.5px; }
.options--grid-3 .card__check { width: 20px; height: 20px; top: 10px; right: 10px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px;
  transition: transform .2s var(--spring), background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--lilac-200); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip__emoji { font-size: 18px; }

/* ───────── Emoji slider ───────── */
.emoji-rate { background: #fff; border: 1.5px solid var(--line); border-radius: 28px; padding: 26px 22px 20px; box-shadow: var(--shadow); }
.emoji-rate__face { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; }
.emoji-rate__emoji { font-size: 76px; line-height: 1; transition: transform .35s var(--spring), filter .3s; filter: grayscale(1) opacity(.45); }
.emoji-rate.is-set .emoji-rate__emoji { filter: none; }
.emoji-rate__emoji.pop { animation: pop .4s var(--spring); }
@keyframes pop { 0% { transform: scale(.7) rotate(-10deg); } 100% { transform: scale(1); } }
.emoji-rate__label { font-family: var(--display); font-weight: 700; font-size: 20px; min-height: 26px; color: var(--muted); }
.emoji-rate.is-set .emoji-rate__label { color: var(--plum); }

.range { --pct: 50%; position: relative; height: 44px; display: flex; align-items: center; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--purple) 0 var(--pct), var(--lilac-100) var(--pct)); }
.range input::-moz-range-track { height: 10px; border-radius: 99px; background: var(--lilac-100); }
.range input::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--purple); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; border: 3px solid var(--purple); box-shadow: 0 6px 16px -4px rgba(164,47,233,.6); transition: transform .2s var(--spring); }
.range input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--purple); box-shadow: 0 6px 16px -4px rgba(164,47,233,.6); }
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.emoji-rate:not(.is-set) .range input::-webkit-slider-runnable-track { background: var(--lilac-100); }
.emoji-rate:not(.is-set) .range input::-webkit-slider-thumb { border-color: var(--lilac-200); box-shadow: none; }
.emoji-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.emoji-ticks button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; border-radius: 12px; transition: transform .2s var(--spring), background .2s; filter: grayscale(.7); }
.emoji-ticks button:hover { background: var(--lilac-50); transform: translateY(-2px); }
.emoji-ticks button[aria-pressed="true"] { background: var(--lilac-100); filter: none; transform: scale(1.12); }

/* ───────── Numeric scales ───────── */
.scale { display: grid; gap: 8px; }
.scale--5 { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.scale--11 { grid-template-columns: repeat(11, 1fr); gap: 6px; }
.scale__btn {
  height: 60px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  font-family: var(--display); font-weight: 700; font-size: 22px; box-shadow: var(--shadow);
  transition: transform .22s var(--spring), background .2s, border-color .2s, color .2s;
}
.scale--11 .scale__btn { height: 52px; font-size: 18px; border-radius: 12px; }
.scale__btn:hover { border-color: var(--lilac-200); transform: translateY(-2px); }
.scale__btn[aria-checked="true"] { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 22px -8px rgba(164,47,233,.7); }
.scale__btn.in-range { background: var(--lilac-50); border-color: var(--lilac-200); }
.scale--11 .scale__btn[aria-checked="true"].is-low { background: var(--plum); border-color: var(--plum); box-shadow: 0 10px 22px -8px rgba(43,33,50,.6); }
.scale--11 .scale__btn[aria-checked="true"].is-high { background: linear-gradient(135deg, var(--purple), var(--magenta)); border-color: transparent; }
.scale__labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.scale__labels span:last-child { text-align: right; }

/* ───────── Three words ───────── */
.words { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.word { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--spring), border-color .2s; }
.word:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(164,47,233,.12); }
.word__num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--lilac-50); color: var(--purple); transition: all .3s var(--spring); }
.word input { flex: 1; width: 100%; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.word input::placeholder { color: #CFC6D8; font-weight: 600; }
.word.is-filled .word__num { background: var(--purple); color: #fff; transform: rotate(-8deg); }
.word.is-filled:nth-child(2) .word__num { background: var(--magenta); transform: rotate(6deg); }
.word.is-filled:nth-child(3) .word__num { background: var(--plum); transform: rotate(-4deg); }
.word-stickers { display: flex; flex-wrap: wrap; gap: 10px; min-height: 48px; margin-top: 18px; }
.sticker { display: inline-block; padding: 8px 16px; border-radius: 99px; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; animation: stick .45s var(--spring) both; }
.sticker:nth-child(1) { background: var(--purple); transform: rotate(-3deg); }
.sticker:nth-child(2) { background: var(--magenta); transform: rotate(2deg); }
.sticker:nth-child(3) { background: var(--plum); transform: rotate(-1.5deg); }
@keyframes stick { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ───────── Text & inputs ───────── */
.field { position: relative; }
.textarea, .input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; padding: 16px 18px;
  font-size: 17px; line-height: 1.5; outline: none; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; resize: none;
}
.textarea { min-height: 120px; }
.textarea--short { min-height: 56px; }
.textarea:focus, .input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(164,47,233,.12); }
.textarea::placeholder, .input::placeholder { color: #A99FB3; }
.counter { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .2s; font-variant-numeric: tabular-nums; }
.counter.is-visible { opacity: 1; }

.contact { display: grid; gap: 12px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact label > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px 4px; }
.input { padding: 14px 16px; height: 54px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; border: 1.5px solid var(--lilac-200); display: grid; place-items: center; transition: all .2s; cursor: pointer; }
.consent input:checked { background: var(--purple); border-color: var(--purple); }
.consent input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.privacy-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.privacy-note svg { width: 18px; height: 18px; flex: none; stroke: var(--purple); fill: none; stroke-width: 2; }

.nudge { display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin: -10px 0 28px; border-radius: 18px; background: var(--plum); color: #fff; font-size: 15px; line-height: 1.45; animation: reveal .45s var(--ease) both; }
.nudge__emoji { font-size: 26px; }
.nudge[hidden] { display: none; }

/* ───────── Buttons & nav ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px;
  border-radius: 99px; border: 0; font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .2s var(--spring), background .2s, box-shadow .2s, opacity .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--plum); color: #fff; box-shadow: 0 10px 24px -12px rgba(43,33,50,.8); }
.btn--primary:hover { background: var(--purple); }
.btn--primary.is-skip { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--primary.is-skip:hover { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }
.btn--primary.is-submit { background: linear-gradient(135deg, var(--purple), var(--magenta)); }
.btn--ghost { background: transparent; color: var(--plum); padding: 0 18px 0 12px; }
.btn--ghost:hover { background: var(--lilac-50); }
.btn--hero { height: 62px; padding: 0 34px; font-size: 17px; letter-spacing: .08em; background: #fff; color: var(--plum); box-shadow: 0 18px 40px -16px rgba(234,16,251,.65); }
.btn--hero:hover { background: var(--magenta); color: #fff; }
.btn--hero svg { transition: transform .3s var(--spring); }
.btn--hero:hover svg { transform: translateX(4px); }
.btn--link { background: none; height: auto; padding: 8px 4px; color: inherit; opacity: .75; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.btn--link:hover { opacity: 1; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.navbar {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  padding: 14px clamp(18px, 5vw, 40px) max(14px, env(safe-area-inset-bottom));
  background: rgba(251,250,252,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(232,226,238,.8);
}
.navbar__inner { width: 100%; max-width: 640px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.navbar .btn--primary { min-width: 150px; }

/* ───────── Hero screens (welcome / intro / thanks) ───────── */
.hero {
  position: relative; overflow: hidden; min-height: 100dvh; color: #fff; background: var(--plum);
  display: flex; flex-direction: column;
  padding: max(22px, env(safe-area-inset-top)) clamp(22px, 6vw, 64px) max(28px, env(safe-area-inset-bottom));
}
.hero::before { /* soft glow */
  content: ""; position: absolute; width: 120vmax; height: 120vmax; left: 50%; top: 58%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(164,47,233,.38), rgba(164,47,233,.08) 55%, transparent 70%);
  pointer-events: none;
}
.hero__grain { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.hero__top { position: relative; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.hero__badge { height: 30px; width: auto; }
.hero__pill { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hero__body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; max-width: 860px; margin: 0 auto; padding: 24px 0; }
.hero__logo { width: min(320px, 70vw); height: auto; margin-bottom: clamp(22px, 5vh, 42px); filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; font-size: clamp(46px, 11.5vw, 108px); margin: 0 0 22px; }
.hero__title .l { display: block; overflow: hidden; }
.hero__title .l > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero__title .l:nth-child(2) > span { animation-delay: .12s; }
.hero__title em { font-style: normal; color: transparent; background: linear-gradient(90deg, #C77BFF, var(--magenta)); -webkit-background-clip: text; background-clip: text; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__sub { font-size: clamp(17px, 2.6vw, 21px); line-height: 1.5; color: rgba(255,255,255,.78); max-width: 34ch; margin: 0 0 34px; animation: fade-up .8s .3s var(--ease) both; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: fade-up .8s .45s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__foot { position: relative; z-index: 2; display: flex; justify-content: center; gap: 18px; font-size: 13px; color: rgba(255,255,255,.55); }
.hero__foot span { display: inline-flex; align-items: center; gap: 6px; }
.hero__foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); }

.orbit { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.08); left: 50%; top: 56%; transform: translate(-50%, -50%); pointer-events: none; }
.orbit--1 { width: 70vmin; height: 70vmin; }
.orbit--2 { width: 104vmin; height: 104vmin; border-style: dashed; animation: spin 90s linear infinite; }
.orbit--2::after { content: ""; position: absolute; top: 12%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 24px var(--magenta); }

/* Intro */
.intro .hero__body { align-items: flex-start; text-align: left; max-width: 640px; width: 100%; }
.intro__title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 7vw, 56px); line-height: 1; letter-spacing: -.03em; margin: 0 0 18px; }
.intro__lead { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); margin: 0 0 30px; }
.intro__list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; width: 100%; }
.intro__list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); animation: fade-up .6s var(--ease) both; }
.intro__list li:nth-child(2) { animation-delay: .08s; } .intro__list li:nth-child(3) { animation-delay: .16s; }
.intro__list b { display: block; font-size: 16px; margin-bottom: 2px; }
.intro__list small { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.4; }
.intro__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(164,47,233,.3); }
.intro .hero__actions { flex-direction: row; align-items: center; animation: none; }

/* Thanks */
.thanks .hero__body { max-width: 760px; }
.burst { position: relative; width: 150px; height: 150px; margin-bottom: 34px; display: grid; place-items: center; }
.burst__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--purple); opacity: 0; animation: ring 2.4s var(--ease) infinite; }
.burst__ring:nth-child(2) { animation-delay: .8s; border-color: var(--magenta); }
.burst__ring:nth-child(3) { animation-delay: 1.6s; border-color: #fff; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.burst__core { position: relative; width: 104px; height: 104px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--magenta)); display: grid; place-items: center; box-shadow: 0 20px 60px -10px rgba(234,16,251,.7); animation: core .9s var(--spring) both; }
.burst__core svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .55s var(--ease) forwards; }
@keyframes core { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks .hero__title { font-size: clamp(38px, 8.4vw, 82px); }
.thanks__card { text-align: left; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; margin-bottom: 30px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14.5px; animation: fade-up .8s .6s var(--ease) both; }
.thanks__card b { color: #fff; }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px); transform: translate(-50%, 20px); z-index: 60; max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 16px; background: var(--plum-ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.demo-flag { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 70; padding: 6px 12px; border-radius: 99px; background: var(--magenta); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow); pointer-events: none; }
.app[data-view="question"] .demo-flag { top: auto; bottom: calc(var(--nav-h) + 12px); }

/* ───────── Responsive ───────── */
@media (max-width: 560px) {
  :root { --top-h: 84px; --nav-h: 80px; }
  .topbar { gap: 14px; }
  .topbar__logo { width: 66px; }
  .options--grid-3 { grid-template-columns: repeat(2, 1fr); }
  .options--row { grid-template-columns: 1fr; }
  .card { min-height: 108px; padding: 16px; }
  .scale--11 { grid-template-columns: repeat(6, 1fr); }
  .scale--5 .scale__btn { height: 56px; }
  .contact__row { grid-template-columns: 1fr; }
  .navbar .btn--primary { min-width: 0; flex: 1; max-width: 230px; }
  .hero__foot { flex-wrap: wrap; gap: 8px 14px; }
  .intro .hero__actions { width: 100%; }
  .intro .hero__actions .btn--hero { flex: 1; }
}
@media (min-width: 900px) {
  .q-screen { padding-top: calc(var(--top-h) + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
