/* ten — free-prototype WIZARD
 * The 24-hour prototype tool as a full-viewport, one-screen-at-a-time walkthrough:
 * welcome → you → research → function → essentials → look → send → done.
 *
 * System: the page becomes a fixed-height stage (.wz); each .wz-screen is an
 * absolutely-positioned scroll container. Screen changes are direction-aware
 * (--dir flips the slide) and every screen's children stagger in via [data-st]
 * + a per-element --st-i delay set once by JS. Brand stays v2: white ground,
 * display sans headlines, Charter body, the indigo gradient reserved for the
 * primary action, progress fill, and picked states.
 */

:root {
  --wz-ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-quint-ish */
  --wz-slide: 420ms;
  --wz-top: calc(var(--nav-h) + 64px); /* nav + progress bar clearance */
}

/* The window never scrolls in the wizard (screens scroll internally), so v2's
 * window-scroll nav frost never fires. The wizard JS toggles .is-scrolled from
 * the ACTIVE screen's scrollTop instead, and both fixed bars frost at every
 * width (v2's frost is phones-only). */
body.wiz .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20, 17, 30, 0.06);
}

/* the stage owns the viewport; the page itself never scrolls */
body.wiz { overflow: hidden; height: 100dvh; }
.wz { position: fixed; inset: 0; height: 100dvh; }

/* ------------------------------------------------------------- screens ---- */
.wz-screen {
  position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--wz-top) var(--pad-x) 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(calc(var(--dir, 1) * 34px));
  transition:
    opacity var(--wz-slide) var(--wz-ease),
    transform var(--wz-slide) var(--wz-ease),
    visibility 0s linear var(--wz-slide);
}
.wz-screen.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: none;
  transition:
    opacity var(--wz-slide) var(--wz-ease) 60ms,
    transform var(--wz-slide) var(--wz-ease) 60ms;
}
/* the screen being left slides the opposite way from the one arriving */
.wz-screen.is-exit {
  opacity: 0; visibility: visible; pointer-events: none;
  transform: translateY(calc(var(--dir, 1) * -26px));
}

/* content column: centered vertically when it fits, scrolls when it doesn't.
 * margin:auto on the inner box (not justify-content:center on the scroller) is
 * what keeps the top reachable once content exceeds the viewport. */
.wz-inner {
  width: 100%; max-width: 760px;
  margin: auto; padding-bottom: 36px;
  min-height: 1px; /* Safari: without this margin:auto can collapse */
}
.wz-inner--wide { max-width: var(--wide); }
/* the function step: wider than the form steps so a feature's mechanic line fits
 * on one line in the two-column grid, but narrower than --wide so the app rows
 * still read as a shelf of cards rather than a banner */
.wz-inner--fn { max-width: 880px; }

/* staggered child reveal: JS stamps --st-i per element once at boot */
.wz-screen [data-st] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 520ms var(--wz-ease), transform 520ms var(--wz-ease);
}
.wz-screen.is-active [data-st] {
  opacity: 1; transform: none;
  transition-delay: calc(120ms + var(--st-i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
  .wz-screen, .wz-screen.is-active, .wz-screen.is-exit,
  .wz-screen [data-st], .wz-screen.is-active [data-st] {
    transition: none; transform: none;
  }
}

/* ---------------------------------------------------------------- type ---- */
.wz-kicker {
  font-family: var(--font-display); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px;
}
.wz-h {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.06;
  color: var(--ink); margin: 0 0 16px;
}
.wz-sub {
  font-family: var(--font-body); font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.55; color: var(--mute); margin: 0 0 34px; max-width: 56ch;
}
.wz-sub em { color: var(--ink); font-style: italic; }
.wz-h .accent { color: var(--accent); }

/* dense screens (function, essentials, look, send, dossier) carry a lot of
 * content, so their header runs tighter to keep everything on one desktop
 * viewport without scrolling. Welcome + "you" keep the full editorial scale. */
.wz-compact .wz-kicker { margin-bottom: 7px; }
.wz-compact .wz-h { font-size: clamp(1.6rem, 2.7vw, 2.2rem); margin-bottom: 9px; }
.wz-compact .wz-sub { font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.5; margin-bottom: 18px; max-width: 62ch; }
@media (max-height: 860px) {
  .wz-compact .wz-h { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: 7px; }
  .wz-compact .wz-sub { margin-bottom: 14px; }
  .wz-compact .wz-kicker { margin-bottom: 5px; }
}

/* ------------------------------------------------------------- progress ---- */
.wz-progress {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 40;
  padding: 6px var(--pad-x) 10px;
  opacity: 1; transform: none;
  transition: opacity 320ms var(--wz-ease), transform 320ms var(--wz-ease),
    background 200ms var(--ease);
}
.wz-progress.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20, 17, 30, 0.06);
}
.wz-progress.is-off { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.wz-progress-in {
  max-width: var(--wide); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.wz-back {
  appearance: none; cursor: pointer; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #FFFFFF; border: 1px solid var(--rule); color: var(--ink);
  transition: border-color 140ms var(--ease), transform 140ms var(--ease), opacity 200ms var(--ease);
}
.wz-back:hover, .wz-back:focus-visible { border-color: #C9C4B8; transform: translateX(-2px); }
.wz-back:active { transform: translateX(-2px) scale(0.94); }
.wz-back svg { width: 17px; height: 17px; }
.wz-track {
  flex: 1 1 auto; position: relative; height: 3px; border-radius: 999px;
  background: var(--rule); overflow: hidden;
}
.wz-track i {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  border-radius: 999px; background: var(--accent-grad);
  transition: width 480ms var(--wz-ease);
}
.wz-count {
  flex: 0 0 auto; display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: 0.8rem; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.wz-count b { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.wz-step-label {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 500;
  font-size: 0.86rem; color: var(--ink); min-width: 92px;
}
@media (max-width: 560px) {
  .wz-step-label { display: none; }
  .wz-progress-in { gap: 12px; }
}

/* -------------------------------------------------------------- actions ---- */
/* one consistent action row per screen; on phones it pins to the bottom of the
 * screen's own scroll so "how do I continue" is always answered in thumb reach */
.wz-actions {
  display: flex; align-items: center; gap: 18px;
  margin-top: 34px;
}
.wz-actions .btn { padding: 16px 34px; font-size: 1.02rem; }
.wz-actions .btn:active { transform: translateY(0) scale(0.98); }
/* dense screens: pull the action row up so the submit clears the fold */
.wz-compact .wz-actions { margin-top: 22px; }
@media (max-height: 860px) { .wz-compact .wz-actions { margin-top: 16px; } }
.wz-enter-hint {
  font-family: var(--font-display); font-size: 0.8rem; color: var(--mute);
}
.wz-enter-hint b {
  font-weight: 500; color: var(--ink);
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px;
  padding: 2px 7px; margin-right: 2px; background: #FFFFFF;
}
.wz-skip {
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem;
  color: var(--mute); text-decoration: none; cursor: pointer;
  appearance: none; background: none; border: 0; padding: 10px 2px;
  border-bottom: 1px solid transparent;
  transition: color 140ms var(--ease);
}
.wz-skip:hover, .wz-skip:focus-visible { color: var(--accent); }
@media (max-width: 720px) {
  .wz-actions {
    position: sticky; bottom: 0; z-index: 5;
    flex-wrap: wrap; row-gap: 2px;
    margin: 26px calc(-1 * var(--pad-x)) 0;
    padding: 14px var(--pad-x) calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--rule);
  }
  .wz-actions .btn { flex: 1 1 auto; }
  .wz-enter-hint { display: none; }
  /* the skip line drops to its own centered row instead of fighting the button */
  .wz-skip { flex: 1 1 100%; text-align: center; padding: 6px 0 0; }
}

/* -------------------------------------------------------------- welcome ---- */
/* ============================================================ OPENING SCREEN
 * One idea, one field, one phone. The field is the hero: the old opener spent a
 * screen describing the handle question before asking it, and stacked the same
 * reassurance three times (badge, button hint, trust list). */
.wz-open {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(40px, 5.5vw, 80px); align-items: center;
}
.wz-open-kicker {
  display: inline-block; margin-bottom: clamp(14px, 1.6vw, 20px);
  font-family: var(--font-display); font-weight: 500; font-size: 0.76rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--mute);
}
/* One line, always. 4.4vw is the largest size this headline still clears the
 * column at (measured: 25 chars tops out at 71px in an 800px column), with
 * headroom so a small laptop never breaks it. Mobile stacks, so it wraps there. */
.wz-open-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.3rem); letter-spacing: -0.032em; line-height: 1.02;
  margin: 0 0 18px; white-space: nowrap;
}
.wz-open-sub {
  font-family: var(--font-body); font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.55; color: var(--mute); margin: 0 0 clamp(26px, 3vw, 34px); max-width: 50ch;
}
.wz-open-sub em { color: var(--ink); font-style: italic; }

/* the field, as the primary object on the page */
.wz-open-field { max-width: 520px; }
.wz-open-input {
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF; border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 7px 7px clamp(18px, 2vw, 24px);
  box-shadow: 0 12px 30px -18px rgba(20, 17, 30, 0.3), 0 1px 2px rgba(20, 17, 30, 0.04);
  transition: border-color 180ms var(--wz-ease), box-shadow 180ms var(--wz-ease);
}
.wz-open-input:focus-within {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--rule));
  box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--accent) 42%, transparent),
              0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
/* the "@" is furniture, not something they should have to type */
.wz-open-at {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--mute); user-select: none;
}
.wz-open-input input {
  flex: 1 1 auto; min-width: 0; appearance: none; border: 0; background: none; outline: none;
  font-family: var(--font-display); font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 500;
  color: var(--ink); padding: 12px 0; margin-left: -2px;
}
.wz-open-input input::placeholder { color: var(--mute); opacity: 0.62; }
.wz-open-input .btn { flex: 0 0 auto; padding: 13px 30px; font-size: 0.98rem; }
.wz-open-field.is-err .wz-open-input { border-color: #d8563f; animation: wz-open-nudge 420ms var(--wz-ease); }
@keyframes wz-open-nudge {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-5px); }
  58% { transform: translateX(4px); }
}
.wz-open-note {
  font-family: var(--font-display); font-size: 0.82rem; line-height: 1.5;
  color: var(--mute); margin: 14px 0 0; max-width: none; white-space: nowrap;
}

/* The styles, on a carousel. Phones ride a circular path (JS drives the angle;
 * see the welcome block in index.html), so the ones turning away sit back,
 * shrink and blur instead of just sliding off. The stage is a fixed frame and
 * every phone is absolutely centred in it; only transform/opacity/filter move,
 * so nothing reflows. */
.wz-open-wall { display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; }
/* Sized off viewport HEIGHT, not width: a phone is ~2.16x as tall as it is
 * wide, so a width-only clamp overflowed short laptop screens. 374px is the
 * nav + footer + caption budget. */
.wz-show-stage {
  --phone-w: min(232px, 18vw, calc((100vh - 374px) / 2.17));
  position: relative; width: 100%;
  /* +34px so the front phone's drop-shadow lives inside the masked box */
  height: calc(var(--phone-w) * 2.1641 + 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.wz-show-item {
  position: absolute; top: 4px; left: 50%; width: var(--phone-w);
  margin-left: calc(var(--phone-w) / -2);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.wz-show-item .pf { filter: drop-shadow(0 34px 50px rgba(40, 36, 70, 0.22)); }
.wz-show-cap {
  font-family: var(--font-display); font-size: 0.84rem; color: var(--mute);
  text-align: center; margin: 0; max-width: 34ch; line-height: 1.45;
}

/* The opening screen is the only one carrying the footer AND a full-height
 * visual, and the stock 52px footer margin + 36px inner padding tipped it 40px
 * past a 820px viewport. Tighten the tail here only. */
.wz-screen[data-screen="welcome"] .wz-inner { padding-bottom: 16px; }
.wz-screen[data-screen="welcome"] .wz-foot { margin-top: 24px; }

@media (max-width: 1080px) {
  /* Copy and field first, styles after. Leading with the visual on a narrow
   * screen pushed the input (the whole point of the page) below the fold.
   * minmax(0,1fr) not 1fr: a `1fr` track floors at min-content, so the nowrap
   * headline dragged the column past the viewport and body.wiz's overflow:hidden
   * quietly clipped it instead of scrolling. */
  .wz-open { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 7vw, 44px); }
  .wz-open-copy h1 { white-space: normal; max-width: none; }
  /* uncapped: stays one line wherever there's room, wraps only when a phone
   * genuinely can't fit it */
  .wz-open-note { white-space: normal; max-width: none; }
  .wz-open-field { max-width: none; }
}
@media (max-width: 520px) {
  /* the button no longer fits beside the field at this width */
  .wz-open-input { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 26px; padding: 8px; }
  .wz-open-input input { padding: 10px 14px; text-align: center; }
  .wz-open-input .btn { width: 100%; }
}

.wz-foot {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  margin-top: clamp(34px, 4vw, 52px); padding: 18px 0 28px;
  border-top: 1px solid var(--rule);
}
.wz-foot a, .wz-foot span {
  font-family: var(--font-display); font-size: 0.78rem; color: var(--mute);
  text-decoration: none;
}
.wz-foot a:hover { color: var(--ink); }

/* --------------------------------------------------------------- fields ---- */
/* oversized editorial inputs: label whispers, the answer is the display type */
.wz-field { margin: 0 0 30px; }
.wz-field label {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 6px;
}
.wz-field input {
  width: 100%; appearance: none; background: transparent;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.015em; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--rule); border-radius: 0;
  padding: 10px 2px 12px;
  transition: border-color 180ms var(--ease);
}
.wz-field input::placeholder { color: #C9C6BD; }
.wz-field input:focus { outline: none; border-color: var(--accent); }
/* the focus underline grows from the left instead of just switching color.
 * It lives on a wrapper around the input (not the field) so it hugs the input's
 * own baseline even when a helper note follows. */
.wz-input { position: relative; }
.wz-input::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 340ms var(--wz-ease);
}
.wz-input:focus-within::after { transform: scaleX(1); }
.wz-field-note {
  font-family: var(--font-body); font-size: 0.92rem; color: var(--mute);
  margin: 10px 0 0;
}
/* invalid → a firm underline + one quiet nudge; the next keystroke clears it */
.wz-field.is-err input { border-color: var(--crit); }
.wz-field.is-err .wz-input::after { background: var(--crit); transform: scaleX(1); }
.wz-field.is-err .wz-input { animation: wz-nudge 360ms var(--wz-ease); }
@keyframes wz-nudge {
  20% { transform: translateX(-5px); }
  48% { transform: translateX(4px); }
  74% { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) { .wz-field.is-err .wz-input { animation: none; } }

/* -------------------------------------------------- essentials: extras ---- */
/* vision note + a compact attach bar, kept tight so the essentials screen fits
 * one viewport (the 8 picks already take most of the height) */
.wz-extras { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
@media (max-height: 860px) { .wz-vision textarea { min-height: 50px; } }
.wz-vision label {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 7px;
}
.wz-vision textarea {
  width: 100%; min-height: 64px; resize: vertical;
  font-family: var(--font-body); font-size: max(16px, 1rem); line-height: 1.5; color: var(--ink);
  background: #FBFAF8; border: 1px solid var(--rule); border-radius: 14px;
  padding: 12px 15px;
  transition: border-color 140ms var(--ease), background 140ms var(--ease), box-shadow 140ms var(--ease);
}
.wz-vision textarea::placeholder { color: #9A9DA3; }
.wz-vision textarea:focus { outline: none; border-color: var(--accent); background: #FFFFFF; box-shadow: 0 0 0 3px rgba(106,83,206,0.12); }

/* the slim attach bar: dashed = droppable, but only one line tall */
.wz-drop .dropzone--slim {
  display: flex; flex-direction: row; align-items: center; gap: 13px; text-align: left; width: 100%;
  padding: 12px 15px; border-radius: 14px; border: 1px dashed var(--rule);
  background: #FBFAF8; cursor: pointer;
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}
.wz-drop .dropzone--slim:hover, .wz-drop .dropzone--slim.is-drag { border-color: var(--accent); background: rgba(106, 83, 206, 0.04); }
.wz-drop .dropzone--slim .dropzone-ico { width: 36px; height: 36px; min-width: 36px; }
.dz-slim-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wz-drop .dropzone--slim .dropzone-title { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink); }
.wz-drop .dropzone--slim .dropzone-sub { font-family: var(--font-body); font-size: 0.86rem; color: var(--mute); }
.dz-slim-cta {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 500; font-size: 0.86rem;
  color: var(--accent); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 15px; background: #fff;
}
.wz-drop .dropzone--slim:hover .dz-slim-cta { border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
@media (max-width: 560px) { .dz-slim-cta { display: none; } }

/* ------------------------------------------------------------ send screen ---- */
/* the tall build sheet is centered against the shorter email column so the
 * empty space reads as deliberate breathing room, not a gap */
.wz-send-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(268px, 348px);
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
@media (max-width: 820px) { .wz-send-grid { grid-template-columns: 1fr; align-items: start; } }

/* the build sheet: a spec-sheet recap of everything they chose */
.wz-sheet {
  background: #FFFFFF; border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 18px 20px 6px;
  box-shadow: 0 30px 70px -46px rgba(40, 36, 70, 0.55);
}
.wz-sheet-h {
  font-family: var(--font-display); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
  margin: 0 0 4px; padding-bottom: 11px; border-bottom: 1px solid var(--rule);
}
.wz-sheet-row { padding: 11px 0; border-top: 1px solid var(--rule); }
.wz-sheet-row:first-of-type { border-top: 0; }
.wz-sheet-k {
  font-family: var(--font-display); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute);
  margin: 0 0 6px;
}
.wz-sheet-v { font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); margin: 0; line-height: 1.45; }
.wz-sheet-v .dim { color: var(--mute); }
.wz-sheet-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.wz-sheet-thumbs .pf {
  width: 50px; border-radius: 11px; padding: 2.5px;
  box-shadow: 0 10px 22px -12px rgba(40,36,70,0.5);
}
.wz-sheet-thumbs .pf-screen { border-radius: 9.5px; }
.wz-sheet-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wz-sheet-chips span {
  font-family: var(--font-display); font-weight: 500; font-size: 0.76rem;
  color: var(--ink); background: var(--panel); border-radius: 999px; padding: 6px 12px;
}
.wz-consent {
  font-family: var(--font-display); font-size: 0.76rem; line-height: 1.55;
  color: var(--mute); margin: 16px 0 0; max-width: 44ch;
}
.wz-consent a { color: var(--accent); text-decoration: none; }

/* ---------------------------------------------------------------- done ---- */
.wz-done-inner { text-align: left; max-width: 620px; }
.wz-ok {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 0 26px;
  color: #FFFFFF; background: var(--accent-grad);
  box-shadow: 0 18px 40px -18px rgba(96, 82, 210, 0.65);
}
.wz-ok svg { width: 30px; height: 30px; }
/* draw the check once the screen lands */
.wz-ok svg path {
  stroke-dasharray: 26; stroke-dashoffset: 26;
  transition: stroke-dashoffset 600ms var(--wz-ease) 400ms;
}
.wz-screen.is-active .wz-ok svg path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .wz-ok svg path { stroke-dashoffset: 0; transition: none; }
}

/* the next-24-hours timeline */
.wz-tl { margin: 36px 0 0; padding: 0; list-style: none; }
.wz-tl li {
  position: relative; display: grid;
  grid-template-columns: 118px minmax(0, 1fr); gap: 18px;
  padding: 0 0 26px 0; margin: 0;
}
.wz-tl li:last-child { padding-bottom: 0; }
/* the connecting spine, drawn per-row so it stops at the last dot */
.wz-tl li::before {
  content: ""; position: absolute; left: 121.5px; top: 20px; bottom: -2px;
  width: 1.5px; background: var(--rule);
}
.wz-tl li:last-child::before { display: none; }
.wz-tl-t {
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  color: var(--mute); text-align: right; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.wz-tl-b { position: relative; padding-left: 26px; }
.wz-tl-b::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #FFFFFF; border: 2px solid var(--accent);
}
.wz-tl li:first-child .wz-tl-b::before { background: var(--accent); }
.wz-tl-b h3 { font-size: 1.02rem; margin: 0 0 4px; }
.wz-tl-b p { font-size: 0.94rem; line-height: 1.5; color: var(--mute); margin: 0; }
@media (max-width: 560px) {
  .wz-tl li { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
  .wz-tl li::before { left: 89px; }
}
.wz-done-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 38px; }
.wz-done-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem;
  color: var(--mute); text-decoration: none;
}
.wz-done-links a:hover { color: var(--accent); }

/* ------------------------------------------------------------- no-js ---- */
.wz-noscript {
  max-width: 620px; margin: 0 auto; padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
  font-family: var(--font-body); font-size: 1.06rem; line-height: 1.6; color: var(--ink);
}

/* ============================================================ RESEARCH screen
 * State A: "getting to know you" loader. State B: the "is this you?" id card.
 * State C: the graceful miss (reuses .wz-field / .wz-actions). Toggled by JS via
 * the [hidden] attribute. */
.wz-res-loading[hidden], .wz-res-confirm[hidden], .wz-res-miss[hidden] { display: none; }

/* confirm + miss reveal on their own clock (un-hiding mid-screen, not screen
 * entry), so they replay the same staggered rise the rest of the wizard uses.
 * JS restamps --st-i locally per state; `backwards` keeps rows invisible until
 * their delay comes up. */
.wz-screen.is-active .wz-res-confirm:not([hidden]) [data-st],
.wz-screen.is-active .wz-res-miss:not([hidden]) [data-st] {
  animation: wz-rise 560ms var(--wz-ease) backwards;
  animation-delay: calc(var(--st-i, 0) * 80ms);
}
@keyframes wz-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .wz-screen.is-active .wz-res-confirm:not([hidden]) [data-st],
  .wz-screen.is-active .wz-res-miss:not([hidden]) [data-st] { animation: none; }
}

/* -- state A: the wait, staged. One line of step text drops into the vertical
 * center; a thin progress bar + live % rides the bottom of the screen. Clean,
 * brand-colored, one idea at a time. -- */
.wz-res-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100dvh - var(--wz-top) - 24px);
  text-align: center;
}
.wz-res-center { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.wz-res-eyebrow {
  font-family: var(--font-display); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin: 0;
}
.wz-res-eyebrow .accent { color: var(--accent); }

/* The stepping text, as a per-letter roll. Every letter is its own cap-height
 * window; on a step change the new word's glyphs drop in from above while the
 * old word's are pushed out the bottom, staggered left to right. Both words are
 * live at once and each centres itself, so words of different lengths swap
 * cleanly. */
.wz-res-roll {
  position: relative; width: min(94vw, 900px); height: 1em;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 6.6vw, 4.6rem);
  letter-spacing: -0.03em; line-height: 1; text-transform: uppercase;
  color: var(--ink);
}
.wz-res-word {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; white-space: nowrap;
}
.wz-res-word.is-accent { color: var(--accent); }
.wz-res-c { display: block; overflow: hidden; height: 1em; }
.wz-res-c.is-sp { width: 0.34em; }
/* Short travel, hard ease-out, stagger wide enough to read as a diagonal. A
 * slow glide swallows the stagger and the whole word just slides as a block. */
.wz-res-c > b {
  display: block; font-weight: inherit;
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.25, 1);
  transition-delay: calc(var(--i, 0) * 34ms);
  will-change: transform;
}
/* parked above, no transition — the frame before the drop */
.wz-res-word.is-pre > .wz-res-c > b { transform: translateY(-110%); transition: none; }
.wz-res-word.is-out > .wz-res-c > b { transform: translateY(110%); }

/* the thin progress bar, riding the bottom of the screen */
.wz-res-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 var(--pad-x) 24px; }
.wz-res-bar-in { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.wz-res-pct {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  font-variant-numeric: tabular-nums; min-width: 3.4ch; flex: 0 0 auto;
}
.wz-res-bar-track { flex: 1 1 auto; height: 3px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.wz-res-bar-track i { display: block; height: 100%; width: 0%; background: var(--accent-grad); border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .wz-res-c > b, .wz-res-word.is-out > .wz-res-c > b { transition: none; transform: translateY(0); }
}

/* the quiet working ellipsis (research heading + the sending button) */
.wz-dots i { font-style: normal; animation: wz-dot 1.6s ease-in-out infinite; }
.wz-dots i:nth-child(2) { animation-delay: 0.25s; }
.wz-dots i:nth-child(3) { animation-delay: 0.5s; }
@keyframes wz-dot { 0%, 55%, 100% { opacity: 0.25; } 25% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .wz-dots i { animation: none; } }

/* the confirm state runs wider than the loader/miss (which stay narrow) so the
 * screenshot AND the identity column both get real room. The loader fills the
 * full width (its bar spans the screen; the text self-centers). */
.wz-res-inner { max-width: 1080px; }
.wz-res-miss { max-width: 640px; }

/* -- state B: the brand dossier (screenshot + identity + palette) -- */
/* the site screenshot leads as the bigger hero; identity sits beside it, vertically
 * centered so short profiles don't float. */
.wz-dossier {
  display: grid; grid-template-columns: 1.32fr 1fr; gap: 40px;
  align-items: center; margin: 0 0 28px; max-width: 100%;
}
@media (max-width: 720px) { .wz-dossier { grid-template-columns: 1fr; gap: 20px; align-items: start; } }

/* the browser frame holding a live screenshot of their site */
.wz-shot {
  margin: 0; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 34px 66px -36px rgba(20, 17, 30, 0.4);
  --shot-acc: var(--accent);
}
.wz-shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--rule);
  background: linear-gradient(#fbfaf8, #f3f1ea);
}
.wz-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dad6cd; }
.wz-shot-bar i:first-child { background: #e79f8d; }
.wz-shot-bar i:nth-child(2) { background: #e8cf98; }
.wz-shot-host {
  margin-left: 8px; font-family: var(--font-display); font-size: 0.76rem;
  color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wz-shot-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #f6f5f1; display: flex; align-items: center; justify-content: center;
}
.wz-shot-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; animation: wz-shot-in 0.7s var(--wz-ease) forwards; }
@keyframes wz-shot-in { to { opacity: 1; } }
.wz-shot-skel {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #f1efea 30%, #e8e6df 50%, #f1efea 70%);
  background-size: 200% 100%; animation: wz-skel 1.3s linear infinite;
}
@keyframes wz-skel { to { background-position: -200% 0; } }
.wz-shot-stage.is-fallback {
  background: radial-gradient(125% 125% at 28% 0%, color-mix(in srgb, var(--shot-acc) 78%, #fff) 0%, var(--shot-acc) 52%, color-mix(in srgb, var(--shot-acc) 66%, #000) 100%);
}
.wz-shot-mark { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; color: #fff; opacity: 0.94; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.22); }
@media (prefers-reduced-motion: reduce) { .wz-shot-skel { animation: none; } .wz-shot-img { animation: none; opacity: 1; } }

/* identity column — no avatar (unreliable IG-crop); the name leads big */
.wz-dossier-body { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.wz-id-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.9vw, 1.68rem); letter-spacing: -0.02em; color: var(--ink); line-height: 1.12; }
/* subtitle stays a single line — truncate rather than wrap to a second row */
.wz-id-niche { font-size: 0.98rem; color: var(--mute); line-height: 1.35; margin-top: -3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-id-bio { font-family: var(--font-body); font-size: 1.04rem; font-style: italic; color: var(--ink); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.wz-palette { display: flex; flex-direction: column; gap: 8px; }
.wz-palette-k { font-family: var(--font-display); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--mute); }
.wz-swatches { display: flex; gap: 7px; }
.wz-swatch { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09); }

.wz-id-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.wz-id-fact {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--ink);
  text-decoration: none; background: #fff; transition: border-color 0.2s ease, transform 0.2s var(--wz-ease), box-shadow 0.2s ease;
}
a.wz-id-fact:hover { border-color: #d3cec2; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(20,17,30,0.4); }
.wz-id-fic { display: inline-flex; width: 16px; height: 16px; color: var(--mute); flex: 0 0 auto; }
.wz-id-fic svg { width: 16px; height: 16px; }
.wz-id-fv { font-weight: 500; }
.wz-id-fv b, .wz-id-fact b { font-weight: 600; }

/* ============================================================ FUNCTION screen
 * Niche chips pick the space; the core-function list below is the wedge. The
 * accent is the ten-studios brand here (the wizard chrome), distinct from the
 * creator's own accent used inside the kit phones. */
.wz-niche { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.wz-niche-lead { font-family: var(--font-display); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--mute); }
/* many niches → a horizontal rail, not a wrapping block; bleeds to the screen
 * edges so chips can scroll fully into reach on phones */
.wz-niche-chips {
  position: relative; /* offsetLeft anchor for centerInRail */
  display: flex; gap: 7px; flex-wrap: nowrap;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 calc(-1 * var(--pad-x)); padding: 2px var(--pad-x) 6px;
  scroll-padding-inline: var(--pad-x);
}
.wz-niche-chips::-webkit-scrollbar { display: none; }
.wz-niche-chip {
  flex: 0 0 auto; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.86rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--wz-ease);
}
.wz-niche-chip:hover { border-color: var(--ink); }
.wz-niche-chip.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* the app wall: a shelf of best-in-class apps in the creator's space. Each card
 * pairs the app's real logo + a small brand-tinted coded screen with its
 * signature features as pickable pills — "you're getting Fitbod-level, in your
 * brand". The card chrome is ten's accent; the mini-screen is the app's own. */
.wz-appwall { display: flex; flex-direction: column; gap: 10px; margin: 0 0 4px; }
.wz-appcard {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  padding: 13px 16px;
  transition: border-color 0.18s ease, box-shadow 0.24s var(--wz-ease), transform 0.24s var(--wz-ease);
}
@media (max-height: 860px) {
  .wz-appcard { padding: 11px 15px; }
  .wz-appwall { gap: 9px; }
  .wz-appcard-main { gap: 7px; }
  .wz-fchip { padding: 6px 9px 7px 8px; }
  .wz-fchip-t i { font-size: 0.68rem; line-height: 1.28; }
}
.wz-appcard:hover { border-color: #d8d3c8; box-shadow: 0 18px 38px -28px rgba(20, 17, 30, 0.42); }
.wz-appcard-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.wz-appcard-head { display: flex; align-items: center; gap: 12px; }
.wz-applogo {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px; overflow: hidden;
  position: relative; background: var(--c, var(--accent)); display: grid; place-items: center;
  box-shadow: 0 5px 14px -7px rgba(20, 17, 30, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.wz-applogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wz-applogo b { display: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; }
.wz-applogo.is-mono b { display: block; }
.wz-appcard-id { min-width: 0; }
.wz-appcard-nm { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; color: var(--ink); }
.wz-appcard-known { font-family: var(--font-body); font-style: italic; font-size: 0.92rem; color: var(--mute); line-height: 1.3; }
.wz-appcard-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wz-appcard-shot { flex: 0 0 auto; display: flex; align-items: center; }

/* feature tile: the label plus the SPECIFIC mechanic under it — a creator has to
 * be able to picture the screen, not just the category. A "+" flips to a check
 * when picked. */
.wz-fchip {
  display: flex; align-items: flex-start; gap: 7px; text-align: left;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 7px 10px 8px 9px; cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.2s var(--wz-ease);
}
.wz-fchip:hover { border-color: var(--ink); transform: translateY(-1px); }
.wz-fchip:active { transform: scale(0.99); }
.wz-fchip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wz-fchip-ic { position: relative; width: 15px; height: 15px; min-width: 15px; margin-top: 2px; display: inline-flex; color: var(--accent); }
.wz-fchip-ic svg { position: absolute; inset: 0; width: 15px; height: 15px; transition: opacity 0.16s ease, transform 0.2s var(--wz-ease); }
.wz-fchip .ic-check { opacity: 0; transform: scale(0.5); }
.wz-fchip-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wz-fchip-t b {
  font-family: var(--font-display); font-weight: 500; font-size: 0.82rem;
  line-height: 1.25; letter-spacing: -0.005em; color: var(--ink);
}
/* the mechanic line sits deliberately below the label in the reading order:
 * small enough that the eye lands on the black title first and only drops to
 * the grey when it wants the detail */
.wz-fchip-t i {
  font-family: var(--font-body); font-style: normal; font-size: 0.7rem;
  line-height: 1.32; color: var(--mute);
}
.wz-fchip.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); }
.wz-fchip.is-on .ic-plus { opacity: 0; transform: scale(0.5); }
.wz-fchip.is-on .ic-check { opacity: 1; transform: scale(1); }

/* the coded mini "app screen" — reliable stand-in for a real screenshot */
.wz-appshot {
  width: 90px; border-radius: 13px; padding: 9px 10px 10px;
  background: color-mix(in srgb, var(--c) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 22%, var(--rule));
  display: flex; flex-direction: column; gap: 3px;
}
.wz-appshot-hd { display: flex; align-items: center; gap: 4px; }
.wz-appshot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }
.wz-appshot-nm { font-family: var(--font-display); font-weight: 600; font-size: 0.58rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-appshot-k { font-family: var(--font-display); font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); margin-top: 1px; }
.wz-appshot-n { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.wz-appshot-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 22px; margin-top: 3px; }
.wz-appshot-bars i { flex: 1; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--c) 26%, #fff); }
.wz-appshot-bars i.on { background: var(--c); }

@media (max-width: 780px) {
  /* two columns squeeze the mechanic line to four lines of text — stack instead */
  .wz-appcard-feats { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wz-appcard { padding: 14px; gap: 12px; }
  .wz-appcard-shot { display: none; } /* phones: logo + features carry it */
}
@media (prefers-reduced-motion: reduce) { .wz-appcard, .wz-fchip, .wz-fchip-ic svg, .wz-niche-chip { transition: none; } }

/* ========================================================= DESIGN: coverflow
 * The centered phone is the pick. Neighbor phones are visual context only: they
 * blur back while the arrows wrap through looks, keeping capture state singular. */
.wz-design { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.wz-look-gallery {
  --phone-w: clamp(148px, 18.2vh, 176px);
  /* Offsets ride the phone width, not the viewport, so the tuck stays identical
   * at every size: neighbour clears the centre by ~0.05w, far tucks ~0.04w
   * behind the neighbour. Mixed vw/vh clamps drifted apart on wide screens. */
  --side-x: calc(var(--phone-w) * 0.92);
  --far-x: calc(var(--phone-w) * 1.54);
  position: relative; isolation: isolate;
  width: min(100%, 680px); height: clamp(340px, 46.5vh, 428px);
  margin: 0 auto;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.wz-look-gallery:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 7px; border-radius: var(--r-card);
}
/* Phones stand on one shelf (bottom-aligned) so the slack collects above the
 * center phone, giving the "Yours" callout room to sit outside the bezel.
 * clip-path clips left/right/bottom like overflow:hidden but lets the callout
 * breathe upward. */
.wz-look-stage {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: end center; padding-bottom: 4px;
  clip-path: inset(-72px 0 0 0); pointer-events: none;
}
.wz-gallery-card {
  position: absolute; width: var(--phone-w);
  opacity: var(--card-o, 0);
  filter: var(--card-filter, none);
  transform: translateX(var(--card-x, 0)) scale(var(--card-scale, 1));
  transform-origin: 50% 100%;
  transition:
    transform 520ms var(--wz-ease),
    opacity 420ms var(--wz-ease),
    filter 520ms var(--wz-ease);
  will-change: transform, opacity, filter;
}
.wz-gallery-card.is-center {
  --card-x: 0; --card-scale: 1; --card-o: 1; --card-filter: blur(0);
  z-index: 5;
}
.wz-gallery-card.is-side-left {
  --card-x: calc(-1 * var(--side-x)); --card-scale: 0.74; --card-o: 0.48; --card-filter: blur(2.4px);
  z-index: 3;
}
.wz-gallery-card.is-side-right {
  --card-x: var(--side-x); --card-scale: 0.74; --card-o: 0.48; --card-filter: blur(2.4px);
  z-index: 3;
}
.wz-gallery-card.is-far-left {
  --card-x: calc(-1 * var(--far-x)); --card-scale: 0.58; --card-o: 0.16; --card-filter: blur(5px);
  z-index: 2;
}
.wz-gallery-card.is-far-right {
  --card-x: var(--far-x); --card-scale: 0.58; --card-o: 0.16; --card-filter: blur(5px);
  z-index: 2;
}
.wz-gallery-card .pf {
  width: 100%;
  box-shadow: 0 18px 38px -28px rgba(20, 17, 30, 0.5), 0 0 0 1px var(--rule);
}
.wz-gallery-card.is-center .pf {
  box-shadow: 0 46px 84px -38px rgba(20, 17, 30, 0.56), 0 8px 18px -12px rgba(20, 17, 30, 0.24), 0 0 0 1px var(--rule);
}
/* Transport row BELOW the carousel: arrows flank the caption they change, so the
 * stage stays nothing but phones. Nothing here moves on hover (a shifting target
 * is worse than no feedback) — only colour, border and shadow respond. */
.wz-look-controls {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2.2vw, 24px);
  width: min(100%, 500px); margin: 0 auto;
}
.wz-look-nav {
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center; padding: 0;
  appearance: none; cursor: pointer; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--rule);
  box-shadow: 0 8px 18px -12px rgba(20, 17, 30, 0.34), 0 1px 3px -1px rgba(20, 17, 30, 0.1);
  transition: background-color 170ms var(--wz-ease), border-color 170ms var(--wz-ease),
              box-shadow 170ms var(--wz-ease), color 170ms var(--wz-ease);
}
.wz-look-nav:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 46%, var(--rule));
  background: color-mix(in srgb, var(--accent) 7%, #FFFFFF);
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--accent) 38%, transparent), 0 1px 3px -1px rgba(20, 17, 30, 0.12);
}
.wz-look-nav:active { background: color-mix(in srgb, var(--accent) 14%, #FFFFFF); }
.wz-look-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wz-look-nav svg { width: 20px; height: 20px; }
/* "Yours" reads as a callout pinned above the phone with a tail pointing at it,
 * not a sticker painted over the app's own status bar. Centre slot only — on a
 * blurred neighbour it is illegible noise. */
.wz-look-badge {
  position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 7;
  transform: translateX(-50%);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: #FFFFFF; background: var(--accent);
  padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 66%, transparent),
              0 2px 5px -2px rgba(20, 17, 30, 0.22);
  opacity: 0; transition: opacity 300ms var(--wz-ease);
  pointer-events: none;
}
.wz-look-badge::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border: 6px solid transparent; border-bottom: 0;
  border-top-color: var(--accent);
}
.wz-gallery-card.is-center .wz-look-badge { opacity: 1; }

/* The phones are now interactive: the centre one opens the full-size preview,
 * the neighbours bring themselves forward. Before this they carried no cursor
 * and no hover, so nothing suggested the carousel could be touched at all. */
.wz-gallery-card { cursor: pointer; }
.wz-gallery-card.is-far-left, .wz-gallery-card.is-far-right { cursor: default; pointer-events: none; }
@media (hover: hover) {
  .wz-gallery-card.is-center:hover .pf { transform: translateY(-5px); }
  .wz-gallery-card.is-center .pf { transition: transform 220ms var(--wz-ease); }
}
/* "Tap to see it full size" — hangs off the caption block, NOT the phone card.
 * On the card it landed at the same y as the caption (both ~666px) and was
 * simply painted over. The caption is in normal flow, so a third line here
 * cannot collide with anything. Decorative: the carousel's own aria-label
 * already describes the interaction, so it stays out of the AT tree. */
.wz-design-cap::after {
  content: "Tap the phone to see it full size";
  display: block; margin-top: 7px;
  font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.02em;
  color: var(--mute); opacity: 0.75;
}

.wz-design-cap {
  flex: 1 1 auto; min-width: 0; text-align: center;
  display: flex; flex-direction: column; justify-content: center; min-height: 3em;
}
.wz-design-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
.wz-design-desc { font-family: var(--font-body); font-size: 0.92rem; color: var(--mute); margin-top: 3px; line-height: 1.35; }
@media (max-height: 860px) {
  .wz-look-gallery {
    --phone-w: clamp(144px, 20.4vh, 172px);
    height: clamp(330px, 50vh, 418px);
  }
  .wz-design-desc { font-size: 0.88rem; }
  .wz-look-nav { width: 42px; height: 42px; }
}
@media (max-width: 620px) {
  .wz-look-gallery {
    --phone-w: clamp(132px, 38vw, 158px);
    height: clamp(316px, 54vh, 372px);
  }
  .wz-gallery-card.is-far { display: none; }
  .wz-look-controls { gap: 10px; }
  .wz-look-nav { width: 42px; height: 42px; }
  .wz-look-nav svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .wz-gallery-card, .wz-look-nav, .wz-look-badge { transition: none; }
  .wz-gallery-card:not(.is-center) { display: none; }
}

/* table-stakes grid (multi-select cards) */
.wz-stakes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 4px; }
@media (max-width: 620px) { .wz-stakes { grid-template-columns: 1fr; } }
@media (max-height: 860px) { .wz-stakes .feat { padding: 11px 15px !important; } }
.wz-stakes .feat {
  display: flex; align-items: flex-start; gap: 13px; text-align: left;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 13px 16px;
  cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, transform 0.2s var(--wz-ease);
}
.wz-stakes .feat:hover { border-color: var(--ink); transform: translateY(-1px); }
.wz-stakes .feat-box {
  width: 22px; height: 22px; min-width: 22px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid var(--rule); display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.18s ease, border-color 0.18s ease;
}
.wz-stakes .feat-box svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.5); transition: opacity 0.18s ease, transform 0.2s var(--wz-ease); }
.wz-stakes .feat.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.wz-stakes .feat.is-on .feat-box { background: var(--accent); border-color: var(--accent); }
.wz-stakes .feat.is-on .feat-box svg { opacity: 1; transform: scale(1); }
.wz-stakes .feat-t { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.wz-stakes .feat-d { font-family: var(--font-body); font-size: 0.92rem; color: var(--mute); margin-top: 3px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .wz-stakes .feat, .wz-stakes .feat-box svg { transition: none; } }

/* ============================================================ shared touches
 * Every custom control presses down slightly under the finger and shows one
 * consistent keyboard-focus ring. Hover lifts, press settles: the whole wizard
 * answers touch the same way. */
.wz-niche-chip:active, .wz-func-item:active, .wz-stakes .feat:active { transform: scale(0.985); }
.wz-niche-chip:focus-visible, .wz-func-item:focus-visible,
.wz-stakes .feat:focus-visible, .wz-skip:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
