/* How it works, picked 6 Nov (steps-variants-2, B · three states, still). Nothing plays on its own:
   three drawn states of what each step gives you; hover or focus frames one with the selection box. */
.how { padding: var(--sec) 0; }
.how .h2 { max-width: 18ch; }
.how h4 { margin: 0; }
/* ===== the selection box (same build as .cue-btn .sel / .nl-box) ===== */
.sbox { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; border: 1px dashed rgba(29, 29, 31, 0.6); border-radius: 3px; opacity: 0;
  transition: transform 460ms var(--bx-spring), width 460ms var(--bx-spring), height 460ms var(--bx-spring), opacity 160ms var(--ease), border-color 160ms; }
.sbox.on { opacity: 1; }
.sbox i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.2px var(--ink); }
.sbox i:nth-child(1) { left: -4px; top: -4px; } .sbox i:nth-child(2) { right: -4px; top: -4px; }
.sbox i:nth-child(3) { left: -4px; bottom: -4px; } .sbox i:nth-child(4) { right: -4px; bottom: -4px; }
/* keyboard focus: the box turns solid, so it is the focus ring (same rule as .cue-btn:focus-visible .sel) */
.sbox.is-focus { border: 1.5px solid var(--ink); }

/* ===== B · three states, still ===== */
.vb-head .h2 { max-width: 18ch; }
.vb-grid { position: relative; margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 3vw, 44px); }
.vb-state { outline: none; transition: opacity 240ms var(--ease); }
.vb-grid.has-on .vb-state:not(.is-on) { opacity: 0.5; }
.vb-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--sep), 0 18px 40px -30px rgba(0, 0, 0, 0.3); container-type: inline-size; }
/* a 400×300 drawing in em: 1em = 1/25 of the shot's width, so it scales as one picture */
.vb-c { position: absolute; inset: 0; font-size: calc(100cqw / 25); line-height: 1.3; color: var(--ink); }
.vb-cap { margin-top: 22px; display: grid; gap: 6px; }
.vb-n { font-size: 13px; color: var(--label-2); }
.vb-cap h4 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.vb-cap p { max-width: 36ch; color: var(--label-2); text-wrap: pretty; }

/* wireframe page lines, shared by B1 and C2 */
.pg-l { display: block; height: 0.9em; border-radius: 0.2em; background: #e8e8ed; }
.pg-l.thin { height: 0.5em; background: #efeff3; }
.w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; }

/* B1 · Chrome, cropped to the toolbar */
.s1-tabs { position: absolute; left: 0; right: 0; top: 0; height: 2.75em; background: #e5e5ea; }
.s1-lights { position: absolute; left: 1em; top: 1.05em; display: flex; gap: 0.45em; }
.s1-lights i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #c7c7cc; }
/* sizes in this rule are in the tab's own 0.8em */
.s1-tab { position: absolute; left: 6.9em; bottom: 0; width: 13.75em; height: 2.56em; padding: 0.7em 1.1em 0; border-radius: 0.75em 0.75em 0 0; background: var(--bg-2); font-size: 0.8em; font-weight: 500; }
.s1-bar { position: absolute; left: 0; right: 0; top: 2.75em; height: 3.4em; background: var(--bg-2); border-bottom: 1px solid var(--sep); }
.s1-omni { position: absolute; left: 1.1em; right: 13em; top: 0.75em; height: 2.75em; padding: 0 1.25em; border-radius: 1.4em; background: #fff; box-shadow: 0 0 0 1px var(--sep); font-size: 0.8em; line-height: 2.75em; color: var(--label-2); white-space: nowrap; overflow: hidden; }
.s1-ext { position: absolute; right: 7.8em; top: 1em; width: 1.4em; height: 1.4em; color: var(--label-2); }
.s1-cue { position: absolute; right: 3.6em; top: 0.45em; width: 2.5em; height: 2.5em; border-radius: 0.55em; background: #fff; box-shadow: 0 0 0 0.1em var(--ink); }
.s1-cue svg { position: absolute; left: 0.25em; top: 0.25em; width: 2em; height: 2em; }
.s1-cue b { position: absolute; right: -0.7em; bottom: -0.5em; padding: 0 0.4em; border-radius: 0.3em; background: var(--ink); color: #fff; font: 700 0.62em/1.6 var(--font-ui); letter-spacing: 0.03em; box-shadow: 0 0 0 0.2em var(--bg-2); }
.s1-more { position: absolute; right: 1.3em; top: 1em; display: grid; gap: 0.2em; }
.s1-more i { width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--label-2); }
.s1-page { position: absolute; left: 0; right: 0; top: 6.15em; bottom: 0; padding: 1.6em 1.8em; display: grid; align-content: start; gap: 0.7em; }
/* the recording edge: Cue outlines the tab it records */
.s1-page::after { content: ""; position: absolute; inset: 0.45em; border: 0.12em solid var(--ink); border-radius: 0.25em; }
.s1-page .pg-l:nth-child(2) { margin-bottom: 0.6em; }
.s1-tip { position: absolute; left: 50%; bottom: 1.3em; translate: -50% 0; padding: 0.45em 0.8em; border-radius: 0.45em; background: var(--ink); color: #fff; font-size: 0.72em; white-space: nowrap; }

/* B2 · the editor, with its own Zoom lane */
.s2-top { display: flex; align-items: center; gap: 0.5em; height: 3.4em; padding: 0 1.35em; font-size: 0.75em; font-weight: 500; }
.s2-top svg { width: 1.6em; height: 1.6em; }
.s2-top .mono { margin-left: auto; color: var(--label-2); font-weight: 400; }
.s2-pv { position: absolute; left: 1em; right: 1em; top: 2.6em; height: 9.6em; overflow: hidden; border-radius: 0.4em; background: var(--bg-2); }
.s2-zoom { position: absolute; left: 1.4em; top: 1.1em; right: 1.4em; }
.s2-h { font-size: 1.25em; font-weight: 600; letter-spacing: -0.03em; }
.s2-row { display: flex; align-items: baseline; gap: 0.8em; margin-top: 0.55em; font-size: 0.85em; }
.s2-lab { width: 4.6em; color: var(--label-2); flex: none; }
.s2-mail { filter: blur(0.3em); color: var(--ink); white-space: nowrap; }
.s2-mail.mono { font-size: 0.95em; }
.s2-tl { position: absolute; left: 1em; right: 1em; bottom: 1em; display: grid; gap: 0.45em; }
.s2-lane { display: grid; grid-template-columns: 3.3em minmax(0, 1fr); align-items: center; height: 1.75em; }
.s2-ln { font: 0.62em/1 var(--font-mono); color: var(--label-2); }
.s2-film { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.12em; height: 100%; padding: 0.12em; border-radius: 0.3em; background: var(--ink); }
.s2-film i { border-radius: 0.15em; background: #e8e8ed; }
.s2-film i:nth-child(odd) { background: #f2f2f5; }
.s2-track { position: relative; height: 100%; border-radius: 0.3em; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--sep); }
.s2-track b { position: absolute; left: 36%; width: 32%; top: 0; bottom: 0; display: grid; place-items: center; border-radius: 0.3em; background: rgba(47, 107, 255, 0.16); box-shadow: inset 0 0 0 0.1em #2f6bff; color: #1a4fd6; font: 600 0.62em/1 var(--font-ui); white-space: nowrap; } /* the editor's Zoom lane colour */
.s2-ph { position: absolute; left: calc(3.3em + (100% - 3.3em) * 0.47); top: -0.5em; bottom: -0.3em; width: 0.1em; background: var(--ink); }
.s2-ph::before { content: ""; position: absolute; left: -0.3em; top: 0; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--ink); }

/* B3 · saved */
.s3-top { display: flex; align-items: center; justify-content: space-between; height: 4.4em; padding: 0 1.35em; font-size: 0.75em; font-weight: 500; border-bottom: 1px solid var(--sep); }
.s3-exp { padding: 0.65em 1.1em; border-radius: 0.5em; background: var(--ink); color: #fff; }
.s3-prog { position: relative; display: flex; justify-content: space-between; margin: 2em 1.8em 0; font-size: 0.66em; color: var(--label-2); }
.s3-prog i { position: absolute; left: 0; right: 0; bottom: -0.9em; height: 0.15em; background: var(--ink); }
.s3-done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8em; margin: 2.1em 1.2em 0; }
.s3-ok { width: 1.7em; height: 1.7em; margin-top: 0.1em; }
.s3-t { font-size: 1.15em; font-weight: 500; letter-spacing: -0.02em; }
.s3-f { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.5em; padding: 0.4em 0.6em; border-radius: 0.35em; background: var(--bg-2); font-size: 0.75em; white-space: nowrap; }
.s3-f svg { width: 1.2em; height: 1.2em; }
.s3-m { margin-top: 0.7em; font-size: 0.62em; color: var(--label-2); }
.s3-note { position: absolute; left: 1.7em; right: 1.7em; bottom: 1.6em; padding-top: 0.8em; border-top: 1px solid var(--sep); font-size: 0.7em; color: var(--label-2); }

@media (max-width: 899px) {
  .vb-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 56px; }
}
