/* Get-started wizard, app shell (2026-10-13). Loaded after wizard-ux.css. A presentation layer driven by the
 * wizard's existing state (body.wizard-engaged, form[data-dir], .wizard-step.active, .option-card.checked, the
 * progress ids) and by assets/js/wizard-app.js, which builds the top bar, the side rail and the "Saved" pill
 * without touching the wizard's own logic. Tokens from site.css; reduced motion disables every animation. */

/* ---------- page ---------- */
.wizard-hero { padding-bottom: 22px; }
.wizard-engaged .wizard-hero { padding: 92px 0 10px; }
.wizard-engaged .wizard-hero h1 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-light); }
.wizard-progress { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

.wizard-wrap { position: relative; max-width: 640px; }
.wizard-wrap.wz-has-rail { max-width: 1000px; display: grid; grid-template-columns: minmax(0, 640px) 300px; gap: 28px; align-items: start; justify-content: center; }
.wizard-wrap.wz-has-rail > .wizard-card { grid-column: 1; }
.wizard-wrap.wz-has-rail > .wizard-trust { grid-column: 1; }
.wizard-wrap.wz-has-rail > .wz-rail { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- card ---------- */
.wizard-card { padding: 22px 28px 26px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(130,87,255,.05); }
.wizard-step h2 { font-size: clamp(1.45rem, 3.2vw, 1.8rem); line-height: 1.15; letter-spacing: -.035em; margin: 2px 0 8px; }
.wizard-step .step-copy { font-size: .98rem; line-height: 1.55; margin-bottom: 22px; color: #a9b1bf; }

/* ---------- top bar: back · section stepper · status ---------- */
.wz-bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; margin: -4px -8px 18px; }
.wz-back { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--text); cursor: pointer; transition: background .15s ease, opacity .2s ease, transform .15s ease; }
.wz-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wz-back:hover { background: rgba(255,255,255,.06); }
.wz-back:active { transform: scale(.92); }
.wz-back[hidden] { display: grid; visibility: hidden; }
.wz-back:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; }
.wz-steps { display: grid; gap: 5px; min-width: 0; }
.wz-segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; height: 5px; }
.wz-segs i { display: block; border-radius: 3px; background: rgba(255,255,255,.1); transition: background .35s ease, box-shadow .35s ease; }
.wz-segs i.is-done { background: rgba(169,141,255,.55); }
.wz-segs i.is-cur { background: linear-gradient(90deg, var(--purple), var(--purple-light), var(--cyan)); box-shadow: 0 0 12px rgba(130,87,255,.6); }
.wz-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-light); }
.wz-meta span:last-child { color: var(--muted); letter-spacing: .04em; font-weight: 600; text-transform: none; font-variant-numeric: tabular-nums; }
.wz-status { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.wz-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(-3px); transition: opacity .25s ease, transform .3s ease; }
.wz-pill.is-on { opacity: 1; transform: none; }
.wz-pill-ind { background: rgba(130,87,255,.14); color: var(--purple-light); border: 1px solid rgba(169,141,255,.3); }
.wz-pill-saved { background: rgba(62,227,161,.12); color: var(--green); }
.wz-pill-saved svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- step transitions (iOS push / pop) ---------- */
#wizard-form .wizard-step.active { animation: wz-push .3s cubic-bezier(.2,.8,.2,1) both; }
#wizard-form[data-dir="back"] .wizard-step.active { animation-name: wz-pop; }
@keyframes wz-push { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes wz-pop { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

/* ---------- option tiles ---------- */
.wizard-card .option-grid { gap: 10px; }
.wizard-card .option-card { position: relative; min-height: 58px; padding: 14px 48px 14px 16px; border-radius: 15px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); color: #e3e7ef; font-weight: 600; font-size: .95rem; line-height: 1.3; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease; }
.wizard-card .option-card.option-card-sm { min-height: 50px; padding: 12px 42px 12px 14px; font-size: .9rem; }
.wizard-card .option-card::after { content: ""; position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); background: transparent center / 12px no-repeat; transition: border-color .18s ease, background-color .18s ease, transform .25s cubic-bezier(.2,.8,.2,1.4); }
.wizard-card .option-card.option-card-sm::after { right: 12px; width: 18px; height: 18px; margin-top: -9px; background-size: 10px; }
.wizard-card .option-card:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.055); }
.wizard-card .option-card:hover::after { border-color: rgba(169,141,255,.6); }
.wizard-card .option-card:active { transform: scale(.985); }
.wizard-card .option-card.checked, .wizard-card .option-card:has(input:checked) { border-color: rgba(169,141,255,.9); background: linear-gradient(180deg, rgba(130,87,255,.18), rgba(130,87,255,.1)); box-shadow: 0 0 0 1px rgba(130,87,255,.45), 0 12px 30px -18px rgba(130,87,255,.9); color: #fff; }
.wizard-card .option-card.checked::after, .wizard-card .option-card:has(input:checked)::after { border-color: var(--purple-light); background-color: var(--purple); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transform: scale(1.08); }
.wizard-card .option-card.option-card-sm.checked::after { transform: scale(1.1); }
.wizard-card .option-card:not(.option-card-sm) > input, .wizard-card .option-card-sm > input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.wizard-card .option-card .opt-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(130,87,255,.14); color: var(--purple-light); flex: none; transition: background .18s ease, color .18s ease; }
.wizard-card .option-card.checked .opt-icon, .wizard-card .option-card:has(input:checked) .opt-icon { background: var(--purple); color: #fff; }
.wizard-card .option-card:focus-within { outline: 2px solid var(--purple-light); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .wizard-card .option-card.is-pop { animation: option-pop .32s cubic-bezier(.2,.8,.2,1.2); } }

/* ---------- inputs ---------- */
.wizard-card input[type="text"], .wizard-card input[type="email"], .wizard-card input[type="tel"], .wizard-card input[type="url"], .wizard-card input[type="date"], .wizard-card select, .wizard-card textarea { min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--text); font-size: 16px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, padding .18s ease; }
.wizard-card input:focus, .wizard-card select:focus, .wizard-card textarea:focus { border-color: var(--purple-light); background: rgba(130,87,255,.06); box-shadow: 0 0 0 4px rgba(130,87,255,.16); outline: none; }
.wizard-card input.is-ok { padding-right: 44px; border-color: rgba(62,227,161,.55); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%233ee3a1'/%3E%3Cpath d='M7.5 12.5l3 3 6-7' fill='none' stroke='%23050609' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.wizard-card input:has(+ .field-error:not(:empty)), .wizard-card input[aria-invalid="true"] { border-color: rgba(255,92,122,.7); background-image: none; }
.wizard-card .form-group label, .wizard-card .field-label { font-size: .84rem; font-weight: 700; color: #c9d0dc; letter-spacing: .01em; }
.wizard-card .field-error:not(:empty) { display: block; margin-top: 8px; font-size: .84rem; color: #ffb1c0; }

/* ---------- nav / primary action ---------- */
.wizard-card .wizard-nav { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.wizard-card .wizard-nav .button { min-height: 52px; border-radius: 14px; font-weight: 800; }
.wizard-card .wizard-nav .button-primary { padding: 0 26px; background: linear-gradient(135deg, #8257ff, #6843dd); box-shadow: 0 14px 34px -14px rgba(130,87,255,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.wizard-card .wizard-nav .button-primary:hover { background: linear-gradient(135deg, #8d64ff, #7049e8); transform: translateY(-1px); }
.wizard-card .wizard-nav .button-primary:active { transform: scale(.98); }
.wizard-card .wizard-nav .button-primary:disabled { background: rgba(255,255,255,.08); color: var(--muted); box-shadow: none; opacity: 1; }
.wizard-card .wizard-nav #wizard-back { display: none; } /* replaced by the chevron in the top bar; the button stays for the script */
.wizard-card .wizard-nav .wizard-enter-hint { color: var(--muted); font-size: .8rem; }

/* ---------- side rail (desktop) ---------- */
.wz-rail { position: sticky; top: 92px; display: grid; gap: 14px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.wz-rail.is-on { opacity: 1; transform: none; }
.wz-rail-card { padding: 18px 18px 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.wz-rail-k { margin: 0 0 10px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-light); }
.wz-rail dl { margin: 0; display: grid; gap: 8px; }
.wz-rail dl > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: baseline; font-size: .86rem; line-height: 1.4; }
.wz-rail dt { color: var(--muted); font-size: .78rem; }
.wz-rail dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.wz-rail dd.is-empty { color: rgba(146,154,170,.55); font-weight: 400; }
.wz-rail dd.is-new { animation: wz-row-in .4s ease; }
.wz-rail-hint { margin: 0; font-size: .86rem; line-height: 1.5; color: #c0c7d3; }
.wz-rail-hint b { color: var(--text); }
.wz-rail-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.wz-rail-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: #c0c7d3; line-height: 1.4; }
.wz-rail-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--purple-light); }
.wz-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: wz; }
.wz-rail ol li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: .86rem; line-height: 1.45; color: #c0c7d3; }
.wz-rail ol li::before { counter-increment: wz; content: counter(wz); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(130,87,255,.16); color: var(--purple-light); font-size: .72rem; font-weight: 800; }
.wz-rail ol li b { color: var(--text); }
.wz-rail-foot { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.wz-rail-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(62,227,161,.8); }
@keyframes wz-row-in { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }

/* ---------- summary strip (phones + tablets) ---------- */
.wz-strip { display: none; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wz-strip::-webkit-scrollbar { display: none; }
.wz-strip.is-on { display: flex; }
.wz-strip li { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: .76rem; font-weight: 600; color: #dfe4ee; white-space: nowrap; animation: wz-row-in .35s ease; }
.wz-strip li b { color: var(--purple-light); font-weight: 800; }

/* ---------- review step ---------- */
.wizard-card #review-summary { padding: 4px 0 0; border: 0; background: none; }
.wizard-card #review-summary .scope-badge { display: none; }
.wizard-card .review-row { padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.03); margin-bottom: 8px; }
.wizard-card .review-row:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.wizard-card .review-row-label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-light); }
.wizard-card .review-edit { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); font-size: .78rem; font-weight: 700; }

/* ---------- phones ---------- */
@media (max-width: 1099px) { .wz-rail { display: none; } .wizard-wrap.wz-has-rail { display: block; max-width: 640px; } }
@media (max-width: 600px) {
  .wizard-hero { padding-top: 112px; }
  .wizard-engaged .wizard-hero { padding: 84px 0 8px; }
  .wizard-card { padding: 16px 16px 14px; border-radius: 20px; }
  .wz-bar { margin: 0 -4px 14px; grid-template-columns: 40px 1fr auto; }
  .wz-meta { font-size: .66rem; }
  .wz-pill-ind { display: none; }
  .wizard-step h2 { font-size: 1.5rem; }
  .wizard-card .option-grid, .wizard-card .option-grid-dense { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wizard-card .option-grid:not(.option-grid-dense) { grid-template-columns: 1fr; }
  /* iOS-style toolbar: the primary action stays reachable while a long step scrolls. */
  .wizard-card .wizard-nav { position: sticky; bottom: 0; z-index: 5; margin: 22px -16px -14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0 0 20px 20px; background: rgba(11,12,19,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.08); }
  .wizard-card .wizard-nav .button-primary, .wizard-card .wizard-nav #wizard-submit { width: 100%; }
  .wizard-card .wizard-nav .wizard-enter-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #wizard-form .wizard-step.active { animation: none; }
  .wz-segs i, .wz-pill, .wz-rail, .wizard-card .option-card, .wizard-card .option-card::after, .wz-back { transition: none; }
  .wz-rail dd.is-new, .wz-strip li, .wizard-card .option-card.is-pop { animation: none; }
}

/* ---------- sent (wizard-app.js adds .wz-done once the wizard shows #wizard-success) ---------- */
/* The check draws once and sends one ring out, then rests: a receipt, not a loading spinner. */
.wizard-card.wz-done .wizard-success .check { position: relative; animation: none; transform: none; box-shadow: none; background: rgba(62,227,161,.14); border-color: rgba(62,227,161,.45); }
.wizard-card.wz-done .wizard-success .check::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(62,227,161,.7); opacity: 0; }
.wizard-card.wz-done .wizard-success .check-svg path { stroke-dasharray: 22; stroke-dashoffset: 22; }
@media (prefers-reduced-motion: no-preference) {
  .wizard-card.wz-done .wizard-success .check { animation: wz-check-in .55s cubic-bezier(.2,.9,.25,1.3) both; }
  .wizard-card.wz-done .wizard-success .check::before { animation: wz-ring 1s ease-out .3s both; }
  .wizard-card.wz-done .wizard-success .check-svg path { animation: wz-draw .45s cubic-bezier(.2,.8,.2,1) .28s forwards; }
}
@keyframes wz-check-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes wz-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
@keyframes wz-draw { to { stroke-dashoffset: 0; } }

/* Next steps read as a timeline: a connector draws down the numbers, and each number lights as the line reaches it. */
.wizard-card.wz-done .wizard-next-steps ol { position: relative; }
.wizard-card.wz-done .wizard-next-steps .wz-line { position: absolute; left: 11.5px; top: 14px; bottom: 26px; width: 1.5px; border-radius: 2px; background: linear-gradient(180deg, var(--purple), var(--cyan)); transform-origin: top; }
.wizard-card.wz-done .wizard-next-steps li::before { background: var(--black); border-color: rgba(169,141,255,.55); color: var(--purple-light); font-weight: 800; font-size: .72rem; display: grid; place-items: center; }
.wizard-card.wz-done .wizard-next-steps li:first-child::before { background: var(--purple); border-color: var(--purple); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .wizard-card.wz-done .wizard-next-steps .wz-line { animation: wz-line .9s cubic-bezier(.2,.8,.2,1) .45s both; }
  .wizard-card.wz-done .wizard-next-steps li::before { animation: wz-num .4s ease both; }
  .wizard-card.wz-done .wizard-next-steps li:nth-child(2)::before { animation-delay: .75s; }
  .wizard-card.wz-done .wizard-next-steps li:nth-child(3)::before { animation-delay: 1.1s; }
  .wizard-card.wz-done .wizard-next-steps li:nth-child(4)::before { animation-delay: 1.4s; }
}
@keyframes wz-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wz-num { from { border-color: var(--border-hover); color: var(--muted); box-shadow: 0 0 0 0 rgba(130,87,255,.5); } 60% { box-shadow: 0 0 0 6px rgba(130,87,255,0); } }

/* Shell: the stepper reads as complete, the status pill stays, the rail marks the request sent. */
.wizard-card.wz-done .wz-segs i.is-done { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.wizard-card.wz-done .wz-meta span:last-child { color: var(--green); }
.wz-pill-saved.is-sent { border: 1px solid rgba(62,227,161,.35); }
.wz-rail-card { position: relative; }
.wz-rail-sent { position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: rgba(62,227,161,.12); border: 1px solid rgba(62,227,161,.35); }
.wz-rail-card.is-live { border-color: rgba(169,141,255,.45); box-shadow: 0 0 0 1px rgba(130,87,255,.18), 0 18px 40px -28px rgba(130,87,255,.6); }
.wz-rail-card.is-live ol li:first-child b { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .wz-rail-sent { animation: wz-tag .4s cubic-bezier(.2,.9,.25,1.3) .2s both; }
  .wz-rail-card.is-live { transition: border-color .5s ease .6s, box-shadow .5s ease .6s; }
}
@keyframes wz-tag { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- review rows on phones: the Edit control sits inside its box ---------- */
@media (max-width: 600px) {
  .wizard-card #review-rows .review-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label edit" "value edit"; align-items: center; column-gap: 12px; row-gap: 3px; padding: 12px 12px 12px 16px; }
  .wizard-card #review-rows .review-row-label { grid-area: label; }
  .wizard-card #review-rows .review-row-value { grid-area: value; font-size: .98rem; line-height: 1.4; }
  .wizard-card #review-rows .review-edit { grid-area: edit; margin: 0; align-self: center; min-height: 40px; }
  .wz-strip { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
}

/* ---------- working states: the wizard's process sequence, dressed as a proper loader ----------
   The wizard builds .process-sequence (bar + status lines) for the final submit, the agreement and the domain
   check; these rules restyle it. wizard-app.js adds .wz-sending to the card while the submit loader is shown,
   which hides the form so the loader IS the screen. */
.wizard-card.wz-sending #wizard-form, .wizard-card.wz-sending .wz-strip { display: none; }
.wizard-card.wz-sending .wz-pill-ind { display: none; }
.wz-pill-busy { background: rgba(130,87,255,.14); color: var(--purple-light); border: 1px solid rgba(169,141,255,.3); }
.wz-proc-head { margin: 4px 0 18px; text-align: center; }
.wz-proc-head b { display: block; font-family: "Manrope", Inter, sans-serif; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.2; }
.wz-proc-head span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
#wizard-submit-process, #agreement-generating-process { position: relative; margin: 0; padding: 28px 22px 22px; border-radius: 18px; border: 1px solid rgba(169,141,255,.22); background: radial-gradient(120% 80% at 50% 0%, rgba(130,87,255,.16), transparent 60%), rgba(255,255,255,.025); box-shadow: 0 0 0 1px rgba(130,87,255,.06), 0 30px 60px -40px rgba(130,87,255,.55); overflow: hidden; }
#agreement-generating-process { max-width: 420px !important; }
/* emblem: two counter-rotating arcs around a breathing core */
#wizard-submit-process::before, #agreement-generating-process::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: conic-gradient(from 0deg, var(--purple), var(--cyan) 40%, rgba(130,87,255,.06) 70%, var(--purple)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
#wizard-submit-process::after, #agreement-generating-process::after { content: ""; position: absolute; left: 50%; top: 28px; width: 40px; height: 40px; margin-left: -20px; margin-top: 12px; border-radius: 50%; background: radial-gradient(circle, rgba(169,141,255,.9), rgba(130,87,255,.25) 55%, transparent 70%); pointer-events: none; }
.wizard-card .process-sequence-track { position: relative; height: 5px; margin-bottom: 18px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.wizard-card .process-sequence-bar { background: linear-gradient(90deg, var(--purple), var(--cyan)); box-shadow: 0 0 14px rgba(130,87,255,.55); border-radius: 999px; }
.wizard-card .process-sequence-track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-100%); }
.wizard-card .process-sequence-list { gap: 0; }
.wizard-card .process-sequence-line { position: relative; padding: 8px 0 8px 34px; font-size: .9rem; font-weight: 600; color: var(--muted); opacity: .38; transform: none; transition: opacity .4s ease, color .4s ease; }
.wizard-card .process-sequence-line::before { content: ""; position: absolute; left: 10.5px; top: 0; bottom: 0; width: 1.5px; background: rgba(255,255,255,.08); }
.wizard-card .process-sequence-line:first-child::before { top: 50%; }
.wizard-card .process-sequence-line:last-child::before { bottom: 50%; }
.wizard-card .process-sequence-line.active, .wizard-card .process-sequence-line.done { opacity: 1; }
.wizard-card .process-sequence-line.active { color: var(--text); }
.wizard-card .process-sequence-line.done { color: #c9cfdc; }
.wizard-card .process-sequence-line.done::before { background: linear-gradient(180deg, var(--purple), rgba(130,87,255,.35)); }
.wizard-card .process-sequence-icon { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border: 1.5px solid rgba(255,255,255,.18); background: var(--black-2, #080a0f); font-size: .62rem; color: transparent; box-shadow: none; }
.wizard-card .process-sequence-line.active .process-sequence-icon { border-color: rgba(130,87,255,.3); border-top-color: var(--purple-light); background: var(--black-2, #080a0f); }
.wizard-card .process-sequence-line.done .process-sequence-icon { background: var(--purple); border-color: var(--purple); color: #fff; }
.wizard-card .process-sequence-note { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  #wizard-submit-process, #agreement-generating-process { animation: wz-proc-in .5s cubic-bezier(.16,1,.3,1) both; }
  #wizard-submit-process::before, #agreement-generating-process::before { animation: wz-orbit 1.6s linear infinite; }
  #wizard-submit-process::after, #agreement-generating-process::after { animation: wz-breathe 2.2s ease-in-out infinite; }
  .wizard-card .process-sequence-track::after { animation: wz-sweep 1.8s ease-in-out infinite; }
  .wizard-card .process-sequence-line.active .process-sequence-icon { animation: wz-spin .8s linear infinite; }
  .wizard-card .process-sequence-line.active > span:last-child { background: linear-gradient(90deg, #f3f5f8 0 38%, var(--purple-light) 50%, #f3f5f8 62% 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wz-shimmer 1.8s linear infinite; }
  .wizard-card .process-sequence-line.done .process-sequence-icon { animation: wz-tick .4s cubic-bezier(.2,.9,.25,1.3) both; }
}
@keyframes wz-proc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wz-orbit { to { transform: rotate(360deg); } }
@keyframes wz-breathe { 0%, 100% { transform: scale(.85); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes wz-sweep { to { transform: translateX(100%); } }
@keyframes wz-spin { to { transform: rotate(360deg); } }
@keyframes wz-shimmer { from { background-position: 110% 0; } to { background-position: -110% 0; } }
@keyframes wz-tick { from { transform: scale(.5); } to { transform: scale(1); } }

/* ---------- Visual pass (2026-10-14): presentation only ----------
   Phone top bar: the status pills share one cell, so a pill that is off never reserves width (the section
   label used to wrap to two lines beside an invisible "Saved"). Only one pill is on at a time on phones. */
@media (max-width: 600px) {
  .wz-status { display: grid; justify-items: end; align-items: center; min-width: 0; }
  .wz-status .wz-pill { grid-area: 1 / 1; }
}
.wz-pill:not(.is-on) { pointer-events: none; }
/* Step 7: the card keeps room for the drawn check on the right, so the "Popular" tag sits beside it, not under it. */
#interests-grid .option-card { padding-right: 48px; }
/* The promotion inside the card reads as a note above the question, not a banner: tighter, and the clock is a chip. */
.wizard-promo .promo-bar { margin: 0; padding: 12px 16px; border-radius: 14px; gap: 8px 14px; }
.wizard-promo .promo-bar-text { font-size: .86rem; line-height: 1.5; }
.wizard-promo .promo-bar-timer { display: inline-block; min-width: 3.4em; padding: 1px 7px; border-radius: 7px; background: rgba(255,184,77,.14); text-align: center; }
/* Review step: the Edit control shows its focus like every other control in the card. */
.wizard-card .review-edit:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; border-radius: 999px; }
/* Rail reviews: the quote is the content; the rating badge sits as a quiet line above it. */
.wz-rail-reviews .etr-compact { gap: 10px; }
.wz-rail-reviews .etr-compact .etr-quote blockquote { font-size: .85rem; }
/* Review rows are boxed (above), so they need inner padding on wide screens too, and Edit stays inside the box.
   The group titles lose their rule line: the boxes already separate the rows. */
@media (min-width: 601px) {
  .wizard-card #review-rows .review-row { align-items: center; padding: 10px 10px 10px 16px; }
  .wizard-card #review-rows .review-edit { margin: -4px 0; }
}
.wizard-card #review-rows .review-group-title { padding-bottom: 2px; border-bottom: 0; margin-bottom: 8px; }
.wizard-card #review-rows .review-row:last-child, .wizard-card #review-rows .review-row:has(+ .review-group-title) { border-bottom-width: 1px; border-bottom-style: solid; }
