/* ───────────────────────────────────────────────────────────────────
   How it works on marketing v2 (2026-11-29). Loaded after
   how-it-works.css and marketing-v2.css; every rule is behind body.v2.
   The setup builder, the walkthrough player and the film tabs keep their
   markup, ids and scripts; this sheet only places and restyles them.
   ─────────────────────────────────────────────────────────────────── */

/* ─── Hero + the hand-off film overlapping it ─── */
body.v2 .hw2-hero { padding-bottom: 200px; }
body.v2 .hw2-over { position: relative; z-index: 3; margin-top: -152px; max-width: 1000px; }
body.v2 .hw2-film { margin: 0; }
body.v2 .hw2-film figcaption { display: none; }
body.v2 .hw2-win .mk-film::after { display: none; }

/* ─── The flow: an ordered timeline (dots on a line, no number markers) ─── */
body.v2 .hw2-flow { padding-bottom: 96px; }
body.v2 .hw2-steps { position: relative; gap: 30px; margin-top: 8px; }
body.v2 .hw2-steps::after { content: ''; position: absolute; left: 11px; top: 14px; bottom: 18px; border-left: 2px solid var(--line); }
body.v2 .hw2-steps li { padding-left: 46px; }
body.v2 .hw2-steps li::before { counter-increment: none; content: ''; z-index: 1; top: 4px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--teal); }
body.v2 .hw2-steps li:last-child::before { background: var(--teal); }
body.v2 .hw2-steps li b { font-size: 20px; letter-spacing: -.015em; margin-bottom: 4px; }

/* the clickable builder, folded */
body.v2 .hw2-builder { margin-top: 64px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
body.v2 .hw2-builder > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; }
body.v2 .hw2-builder > summary::-webkit-details-marker { display: none; }
body.v2 .hw2-builder > summary b { display: block; font-size: 18px; font-weight: 650; color: var(--navy); }
body.v2 .hw2-builder > summary small { display: block; margin-top: 2px; font-size: 15px; color: var(--slate); }
body.v2 .hw2-builder > summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wash); color: var(--navy); font-size: 20px; line-height: 34px; text-align: center; }
body.v2 .hw2-builder[open] > summary::after { content: '\2212'; }
body.v2 .hw2-builder > summary:focus-visible { outline: 2px solid var(--cyan-ui); outline-offset: 2px; border-radius: 16px; }
body.v2 .hw2-builder-body { padding: 8px 26px 28px; border-top: 1px solid var(--line); }
body.v2 .hw2-builder .hiw-setup-tabs { position: relative; top: auto; margin: 20px auto 16px; }
body.v2 .hw2-builder .hiw-setup-stage { box-shadow: inset 0 0 0 1px var(--line); }
body.v2 .hw2-next { margin: 28px 0 0; }

/* ─── Watch: the captioned walkthrough in window chrome ─── */
body.v2 .hw2-walk { margin-top: 48px; }
body.v2 .hw2-walk .hw-walk-film { overflow: hidden; }
body.v2 .hw2-walk .hw-walk-ch time { font-family: var(--sn-font-body, Inter, sans-serif); font-size: 13px; }
body.v2 .hw2-walk .hw-walk-ch button { font-size: 15px; }

/* ─── What you get: the film tabs on the gradient ─── */
body.v2 .hw2-rep .hw-rep { margin-top: 48px; }
body.v2 .hw2-rep .mk-film { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.55); }
body.v2 .hw2-rep .hw-dlv span { color: rgba(255,255,255,.9); }
body.v2 .hw2-rep .hw-dlv [aria-selected=true] span { color: var(--slate); }
body.v2 .hw2-rep .hw-fnote { margin-top: 14px; font-size: 14px; color: var(--on-dark); }

/* ─── More detail and close ─── */
body.v2 .hw2-more { padding: 88px 0; }
body.v2 .hw2-more .hw-more { box-shadow: none; }
body.v2 .hw2-close { padding: 128px 0 136px; }
body.v2 .hw2-close .v2-big { max-width: 22ch; }
body.v2 .hw2-close .mk-cin-key { display: block; max-width: 46ch; color: rgba(255,255,255,.92); }
body.v2 .hw2-close .v2-actions { justify-content: center; }

/* ─── Text links: at least a 44px tap target ─── */
body.v2 .hw2-more .hw-mbody a, body.v2 .hw2-walk .hw-walk-more a { display: inline-block; padding-block: 12px; margin-block: -12px; }

@media (max-width: 980px) {
  body.v2 .hw2-builder { display: none; }   /* the builder mock is desktop only; the steps are the layout */
  body.v2 .hw2-next { margin-top: 32px; }
}
@media (max-width: 600px) {
  body.v2 .hw2-hero { padding-bottom: 116px; }
  body.v2 .hw2-over { margin-top: -84px; padding: 0 12px; }
  body.v2 .hw2-flow { padding-top: 56px; padding-bottom: 48px; }
  body.v2 .hw2-flow .v2-lead { font-size: 16px; }
  body.v2 .hw2-steps { gap: 20px; }
  body.v2 .hw2-steps li { padding-left: 40px; }
  body.v2 .hw2-steps li b { font-size: 17px; }
  body.v2 .hw2-watch { padding: 56px 0; }
  body.v2 .hw2-walk { margin-top: 24px; }
  body.v2 .hw2-rep { padding: 56px 0; }
  body.v2 .hw2-rep .v2-lead { display: none; }
  body.v2 .hw2-rep .hw-rep { margin-top: 24px; }
  body.v2 .hw2-rep .hw-dlv span { font-size: 13px; }
  body.v2 .hw2-rep .hw-fnote { display: block; font-size: 13px; }
  body.v2 .hw2-more { padding: 48px 0; }
  body.v2 .hw2-close { padding: 72px 0 80px; }
  body.v2 .hw2-more .hw-mbody a, body.v2 .hw2-walk .hw-walk-more a { padding-block: 14px; margin-block: -14px; }
}
body.v2 .hw2-walk .hw-walk-ch button { min-height: 44px; }
body.v2 .hw2-rep .hw-dlv span { font-size: 13px; }
body.v2 .hw2-more .hw-phases dt small { font: 500 13px/1.4 var(--sn-font-body, Inter, sans-serif); letter-spacing: 0; text-transform: none; }
body.v2 .hw2-rep .hw-dlv [role=tab]:not([aria-selected=true]) span { color: #fff; }

/* phone polish (2026-11-30): the three report tabs stack as rows, icon left, label and line right */
@media (max-width: 600px) {
  body.v2 .hw2-rep .hw-dlv { grid-template-columns: 1fr; gap: 6px; }
  body.v2 .hw2-rep .hw-dlv [role=tab] { flex-direction: row; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; }
  body.v2 .hw2-rep .hw-dlv i { width: 34px; height: 34px; border-radius: 9px; }
  body.v2 .hw2-rep .hw-dlv i svg { width: 18px; height: 18px; }
  body.v2 .hw2-rep .hw-dlv b { font-size: 15px; }
}
@media (max-width: 980px) { body.v2 .hw2-rep .hw-dlv { align-self: stretch; } }

/* Motion pass (2026-11-30): the fold's plus turns into a cross. */
@media (prefers-reduced-motion: no-preference) {
  body.v2 .hw2-builder > summary::after { transition: transform .18s ease-out; }
  body.v2 .hw2-builder[open] > summary::after { content: '+'; transform: rotate(45deg); }
}

/* 2026-11-30 (founder): icons in place of the timeline dots: a question, the
   codes, the mail, the answer. The connecting line stays. */
body.v2 .hw2-steps li::before { display: none; }
body.v2 .hw2-steps::after { left: 17px; top: 20px; }
body.v2 .hw2-steps li { padding-left: 56px; }
body.v2 .hw2-steps .hw2-ic { position: absolute; left: 0; top: -4px; z-index: 1; width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
body.v2 .hw2-steps li:last-child .hw2-ic { background: var(--teal); color: #fff; }
@media (max-width: 600px) {
  body.v2 .hw2-steps li { padding-left: 50px; }
  body.v2 .hw2-steps .hw2-ic { width: 32px; height: 32px; padding: 7px; top: -3px; }
  body.v2 .hw2-steps::after { left: 15px; }
}
