/* /setup: the 60-second setup quiz (an ad and search landing page).
   Dark like the app. One question per screen, one decision per tap.
   Tokens come from site.css; the gold matches the App Store laurel. */
.setup-page { --su-gold: #CDAA5C; --su-gold-dim: rgba(205,170,92,0.14); --su-card: #121217; --su-sel: rgba(77,163,255,0.10); }

.su { position: relative; }
.su-screen[hidden] { display: none !important; }
.su-screen { animation: su-in 320ms var(--ease) both; }
@keyframes su-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- intro ---------- */
.su-intro-hero { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 24px) 20px 56px; position: relative; overflow: hidden; }
.su-intro-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(50% 55% at 50% 40%, rgba(77,163,255,0.16), transparent 70%); pointer-events: none; }
.su-intro-inner { position: relative; max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.su-rank { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--su-gold); }
.su-rank-row { display: inline-flex; align-items: center; gap: 12px; }
.su-rank-row svg { width: 24px; height: 44px; flex: none; }
.su-rank-row svg.flip { transform: scaleX(-1); }
.su-rank-text { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.su-rank-text b { font-size: 26px; letter-spacing: -0.01em; font-weight: 800; color: #F1D58E; }
.su-rank-sub { font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.su-rank:hover { opacity: 1; }
.su-rank:hover .su-rank-sub { color: var(--ink-2); }

.su-h1 { font-size: clamp(2.15rem, 6.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; margin: 0; text-wrap: balance; }
.su-h1 em { font-size: 0.94em; }
.su-h1 em, .su-rh em, .su-sec-h em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ink-2); letter-spacing: -0.01em; }
.su-lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 540px; text-wrap: pretty; }

.su-cta { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 34px; border-radius: 999px; background: var(--blue); color: #06111F; font: inherit; font-size: 17px; font-weight: 650; letter-spacing: -0.005em; box-shadow: 0 10px 40px -10px rgba(77,163,255,0.65), inset 0 1px 0 rgba(255,255,255,0.35); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease); }
.su-cta:hover { background: var(--blue-hi); transform: translateY(-1px); box-shadow: 0 14px 44px -10px rgba(77,163,255,0.8), inset 0 1px 0 rgba(255,255,255,0.35); }
.su-cta:active { transform: translateY(1px); }
.su-cta .arrow { transition: transform 200ms var(--ease); }
.su-cta:hover .arrow { transform: translateX(3px); }
.su-cta:focus-visible, .su-opt:focus-visible, .su-next:focus-visible, .su-back:focus-visible, .su-link-btn:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.su-meta { font-size: 13px; color: var(--ink-3); margin: -6px 0 0; letter-spacing: 0.01em; }

.su-trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.su-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,0.02); }
.su-trust .star { color: #F5C451; }
.su-trust strong { color: var(--ink-1); font-weight: 600; }

/* below the fold: what Escape is, for people who scroll before they tap */
.su-more { max-width: 1080px; margin: 0 auto; padding: 24px 20px 96px; display: flex; flex-direction: column; gap: 88px; }
.su-sec-h { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 28px; text-align: center; text-wrap: balance; }
.su-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.su-card { background: var(--su-card); border: 1px solid var(--line-1); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.su-card-img { aspect-ratio: 4 / 5; overflow: hidden; background: #0E1016; }
.su-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.su-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.su-card-body h3 { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.su-card-body p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }

.su-chip { display: inline-flex; align-items: center; align-self: flex-start; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 4px 9px; }
.su-chip.free { color: var(--green); background: rgba(74,222,128,0.10); }
.su-chip.prem { color: var(--su-gold); background: var(--su-gold-dim); }

.su-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.su-review { margin: 0; padding: 22px 22px 20px; border: 1px solid var(--line-1); border-radius: 18px; background: rgba(255,255,255,0.015); display: flex; flex-direction: column; gap: 12px; }
.su-review .stars { color: #F5C451; letter-spacing: 2px; font-size: 13px; }
.su-review blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink-1); text-wrap: pretty; }
.su-review figcaption { font-size: 12px; color: var(--ink-3); }
.su-reviews-foot { text-align: center; margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.su-reviews-foot a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.su-faq { max-width: 720px; margin: 0 auto; width: 100%; }
.su-faq details { border-top: 1px solid var(--line-1); padding: 18px 0; }
.su-faq details:last-child { border-bottom: 1px solid var(--line-1); }
.su-faq summary { cursor: pointer; list-style: none; font-size: 1.06rem; font-weight: 550; display: flex; justify-content: space-between; gap: 16px; }
.su-faq summary::-webkit-details-marker { display: none; }
.su-faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; transition: transform 200ms var(--ease); }
.su-faq details[open] summary::after { transform: rotate(45deg); }
.su-faq p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; }
.su-again { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.su-footnote { font-size: 12px; color: var(--ink-4); text-align: center; max-width: 640px; margin: 0 auto; line-height: 1.5; }

/* ---------- question screens ---------- */
.su-quiz { min-height: calc(100svh - var(--nav-h)); padding: calc(var(--nav-h) + 20px) 20px 40px; display: flex; justify-content: center; }
.su-quiz-inner { width: 100%; max-width: 600px; display: flex; flex-direction: column; }
.su-top { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.su-back { appearance: none; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: border-color 180ms ease, color 180ms ease; }
.su-back:hover { border-color: var(--line-3); color: var(--ink-1); }
.su-back[disabled] { visibility: hidden; }
.su-bar { flex: 1; display: flex; gap: 5px; }
.su-bar span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-1); overflow: hidden; position: relative; }
.su-bar span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease); }
.su-bar span.on::after { transform: scaleX(1); }
.su-count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

.su-qh { font-size: clamp(1.7rem, 4.6vw, 2.35rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 10px; text-wrap: balance; outline: none; }
.su-qsub { color: var(--ink-3); margin: 0 0 28px; font-size: 15px; }
.su-opts { display: flex; flex-direction: column; gap: 10px; }
.su-opt { appearance: none; text-align: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 17px 18px; min-height: 60px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--su-card); color: var(--ink-1); font: inherit; font-size: 16.5px; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.su-opt:hover { border-color: var(--line-3); transform: translateY(-1px); }
.su-opt .ico { width: 26px; height: 26px; flex: none; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.su-opt .ico svg { width: 24px; height: 24px; }
.su-opt .lbl { flex: 1; }
.su-opt .mark { width: 22px; height: 22px; flex: none; border-radius: 999px; border: 1.5px solid var(--line-3); display: inline-flex; align-items: center; justify-content: center; transition: background 160ms ease, border-color 160ms ease; }
.su-opt.multi .mark { border-radius: 7px; }
.su-opt .mark svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 160ms ease; color: #06111F; }
.su-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--su-sel); }
.su-opt[aria-pressed="true"] .ico { color: var(--blue-hi); }
.su-opt[aria-pressed="true"] .mark { background: var(--blue); border-color: var(--blue); }
.su-opt[aria-pressed="true"] .mark svg { opacity: 1; transform: none; }

.su-insight { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: rgba(77,163,255,0.07); border: 1px solid rgba(77,163,255,0.22); color: var(--ink-1); font-size: 15px; line-height: 1.5; display: flex; gap: 12px; animation: su-in 300ms var(--ease) both; }
.su-insight svg { width: 20px; height: 20px; flex: none; color: var(--blue-hi); margin-top: 1px; }
.su-next { margin-top: 26px; height: 56px; border-radius: 999px; border: 0; background: var(--blue); color: #06111F; font: inherit; font-weight: 650; font-size: 16px; cursor: pointer; transition: opacity 180ms ease, background 180ms ease; }
.su-next:hover:not(:disabled) { background: var(--blue-hi); }
.su-next:disabled { opacity: 0.28; cursor: not-allowed; }
.su-private { margin: 22px 0 0; text-align: center; font-size: 12px; color: var(--ink-4); }

/* ---------- building ---------- */
.su-build { min-height: calc(100svh - var(--nav-h)); padding: calc(var(--nav-h) + 20px) 20px 40px; display: flex; align-items: center; justify-content: center; }
.su-build-inner { max-width: 460px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.su-ring { width: 96px; height: 96px; }
.su-ring circle { fill: none; stroke-width: 5; }
.su-ring .bg { stroke: var(--line-1); }
.su-ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 2300ms cubic-bezier(.4,.1,.2,1); }
.su-build.go .su-ring .fg { stroke-dashoffset: 0; }
.su-build h2 { margin: 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.015em; }
.su-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; align-self: stretch; text-align: left; }
.su-checks li { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 15.5px; transition: color 240ms ease; }
.su-checks li .tick { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background 240ms ease, border-color 240ms ease; }
.su-checks li .tick svg { width: 12px; height: 12px; color: #06111F; opacity: 0; transition: opacity 200ms ease; }
.su-checks li.done { color: var(--ink-1); }
.su-checks li.done .tick { background: var(--green); border-color: var(--green); }
.su-checks li.done .tick svg { opacity: 1; }
.su-build .su-review { text-align: left; align-self: stretch; }

/* ---------- result ---------- */
.su-result { padding: calc(var(--nav-h) + 28px) 20px 96px; display: flex; justify-content: center; }
.su-result-inner { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 28px; }
.su-result .eyebrow { color: var(--blue-hi); }
.su-rh:focus { outline: none; }
.su-rh { font-size: clamp(2rem, 5.6vw, 3.1rem); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; margin: 8px 0 0; text-wrap: balance; }
.su-rsum { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.su-rsum li { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.su-rlede { margin: 0; color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }

.su-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: su; }
.su-step { counter-increment: su; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 20px 20px 16px; border-radius: 20px; background: var(--su-card); border: 1px solid var(--line-1); }
.su-step::before { content: counter(su); width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; font-size: 15px; color: var(--ink-1); background: rgba(255,255,255,0.06); font-variant-numeric: tabular-nums; }
.su-step-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.su-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.su-step-head h3 { margin: 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.su-step p { margin: 0; color: var(--ink-2); font-size: 0.97rem; line-height: 1.55; }
.su-step p a { color: var(--blue-hi); }
.su-step .why { color: var(--ink-1); }
.su-step .note { color: var(--ink-3); font-size: 0.9rem; }
.su-course { display: flex; gap: 14px; align-items: center; margin-top: 8px; padding: 10px; border-radius: 14px; border: 1px solid var(--line-1); text-decoration: none; color: inherit; background: rgba(255,255,255,0.02); }
.su-course:hover { opacity: 1; border-color: var(--line-3); }
.su-course-art { width: 64px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.su-course-t { font-weight: 600; font-size: 0.98rem; }
.su-course-s { font-size: 0.85rem; color: var(--ink-3); }

.su-get { border-radius: 26px; padding: 30px 24px; background: radial-gradient(120% 140% at 50% 0%, rgba(77,163,255,0.16), rgba(77,163,255,0.02) 60%), var(--su-card); border: 1px solid rgba(77,163,255,0.25); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.su-get .su-rank-text { white-space: nowrap; font-size: 11.5px; letter-spacing: 0.09em; }
.su-get .su-rank-text b { font-size: 22px; }
.su-get h3 { margin: 0; font-size: clamp(1.4rem, 3.6vw, 1.8rem); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.su-get-row { display: flex; align-items: center; gap: 28px; justify-content: center; flex-wrap: wrap; }
.su-get .appstore { height: 60px; }
.su-qr { display: none; flex-direction: column; align-items: center; gap: 8px; }
.su-qr img { width: 124px; height: 124px; border-radius: 12px; background: #fff; padding: 8px; }
.su-qr span { font-size: 12px; color: var(--ink-3); }
.su-get-fine { margin: 0; font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) and (pointer: fine) { .su-qr { display: flex; } }

.su-priv { border-radius: 22px; padding: 24px; border: 1px solid var(--line-1); display: grid; grid-template-columns: 1fr; gap: 14px; }
.su-priv h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.su-priv h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ink-2); }
.su-priv ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.su-priv li { display: flex; gap: 12px; color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.su-priv li svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.su-priv strong { color: var(--ink-1); font-weight: 600; }

.su-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.su-link-btn { appearance: none; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 999px; height: 42px; padding: 0 18px; font: inherit; font-size: 14px; cursor: pointer; transition: border-color 160ms ease, color 160ms ease; }
.su-link-btn:hover { border-color: var(--line-3); color: var(--ink-1); }

/* while the quiz runs: just the quiz */
.setup-page.su-running .promise, .setup-page.su-running .su-more { display: none; }

@media (max-width: 860px) {
  .su-cards, .su-reviews { grid-template-columns: 1fr; }
  .su-card { flex-direction: row; }
  .su-card-img { width: 38%; aspect-ratio: auto; flex: none; }
  .su-card-body { justify-content: center; }
}
@media (max-width: 420px) {
  .su-cta { width: 100%; }
  .su-trust li { font-size: 12.5px; }
  .su-step { grid-template-columns: 28px 1fr; gap: 12px; padding: 18px 16px; }
  .su-step::before { width: 28px; height: 28px; font-size: 13px; }
  .su-rank-text { font-size: 11.5px; letter-spacing: 0.1em; }
  .su-rank-text b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .su-screen, .su-insight { animation: none; }
  .su-ring .fg { transition: none; }
  .su-bar span::after { transition: none; }
}
