/* The free Check game ("Where are you losing clients?") in the Learning Bakehouse system.
   White and blue lead. Step tints only on step stickers, stations (map nodes), step chips and the reveal cover.
   One orange button a screen. Soft shadows and glow; no left-edge stripes, no hard offset ink shadows. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--surface); color: var(--text); font: 400 var(--fs-16)/var(--lh-body) var(--font-body); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lb-blue-bright); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The torn blue strip ---------- */
.strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(1160px, 100% - 16px); margin: 10px auto 0; padding: 14px clamp(18px, 3vw, 36px) 16px; background: var(--lb-strip); clip-path: var(--torn-edge); }
.brand img { width: clamp(104px, 11vw, 136px); }
.strip-end { display: flex; align-items: center; gap: 10px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 14px; border: 1.5px solid color-mix(in srgb, #fff 60%, transparent); border-radius: var(--r-pill); background: transparent; color: #fff; font: 600 var(--fs-14)/1 var(--font-display); transition: background-color var(--t-fast) var(--ease); }
.pill-btn:hover { background: color-mix(in srgb, #fff 14%, transparent); }
.pill-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill-btn[aria-pressed="true"] .i-off, .pill-btn[aria-pressed="false"] .i-on { display: none; }
.theme-switch { position: relative; flex: none; display: inline-flex; align-items: center; width: 60px; height: 32px; padding: 0; border: 1.5px solid color-mix(in srgb, #fff 55%, transparent); border-radius: var(--r-pill); background: color-mix(in srgb, var(--lb-ink) 22%, transparent); }
.theme-switch::after { content: ""; position: absolute; inset: -6px; }
.theme-switch .knob { position: absolute; top: 2px; left: 2px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--lb-paper); color: var(--lb-ink); transition: transform var(--t-base) var(--ease); }
.theme-switch[aria-pressed="true"] .knob { transform: translateX(28px); }
.theme-switch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-switch .moon, .theme-switch[aria-pressed="true"] .sun { display: none; }
.theme-switch[aria-pressed="true"] .moon { display: block; }

/* ---------- Type and buttons ---------- */
.eyebrow { font: 600 var(--fs-12)/1.3 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card h1 { font: 800 clamp(34px, 5vw, 56px)/var(--lh-tight) var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.card h2 { font: 800 clamp(24px, 3vw, 32px)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.lede { font-size: var(--fs-18); color: var(--muted); text-wrap: pretty; }
.sub { color: var(--muted); text-wrap: pretty; }
.field-label { margin-top: 4px; font: 700 var(--fs-18)/1.3 var(--font-display); }

.arr { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 24px; border: 0; border-radius: var(--r-pill); background: var(--lb-orange); color: var(--lb-ink); font: 600 var(--fs-16)/1.1 var(--font-display); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:hover { background: var(--lb-orange-hover); }
.btn:active { transform: translateY(1px); }
.btn.big { min-height: 56px; padding: 16px 30px; font-size: var(--fs-18); }
.btn:hover .arr, .btn-line:hover .arr, .free-tile:hover .arr, .big-choice:hover .arr { transform: translateX(3px); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--text); border-radius: var(--r-pill); background: transparent; color: var(--text); font: 600 15px/1.1 var(--font-display); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn-line:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.btn-line:disabled { opacity: 0.5; cursor: default; }
.btn-line.sm { min-height: var(--tap); padding: 0 16px; font-size: var(--fs-14); }
.link { min-height: var(--tap); padding: 0 6px; border: 0; background: none; color: var(--text); font: 600 15px/1 var(--font-display); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: currentColor; }

/* Status: outline in the status colour, with the exact word. */
.dot { flex: none; display: inline-block; width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; }
.dot.flowing { background: currentColor; }
.dot.wobbly { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.dot.stuck { border-radius: 2px; transform: rotate(45deg) scale(0.9); }
.chip-status, .chip-mini { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1.5px solid currentColor; border-radius: var(--r-pill); background: var(--raised); font: 600 var(--fs-12)/1.2 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.chip-mini { gap: 4px; padding: 2px 7px; font-size: calc(var(--name) * 0.68); letter-spacing: 0.04em; }
.chip-mini .dot { width: 7px; height: 7px; border-width: 1.5px; }
.is-flowing { color: var(--status-flowing); }
.is-wobbly { color: var(--status-wobbly); }
.is-stuck { color: var(--status-stuck); }
.chip-step { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: var(--r-pill); background: var(--tint); color: var(--deep); font: 800 15px/1.2 var(--font-display); letter-spacing: 0; text-transform: none; }
.chip-step img { width: 24px; height: 24px; }
[data-theme="dark"] .chip-step, [data-theme="dark"] .m-pill rect { background: color-mix(in srgb, var(--tint) 85%, #000); }

/* ---------- The board: the winding path through six stations ---------- */
.board { container-type: inline-size; position: relative; width: min(1120px, 100% - 24px); margin: 14px auto 0; padding: clamp(10px, 2vw, 22px) clamp(10px, 2.4vw, 30px) clamp(8px, 1.4vw, 16px); border-radius: var(--r-xl); background: radial-gradient(120% 100% at 50% 0%, var(--accent-wash), var(--raised) 72%); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.path { position: relative; }
.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route, .route-walked, .route-measure { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route { stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 5; stroke-dasharray: 0.1 12; }
.route-walked { stroke: var(--lb-blue); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(82, 113, 255, 0.45)); transition: opacity var(--t-base); }
[data-theme="dark"] .route-walked { stroke: var(--lb-blue-bright); }
.route-measure { stroke: none; visibility: hidden; }
.mini .route, .mini .route-walked { stroke-width: 4; }
.mini .route { stroke-dasharray: 0.1 10; }

.nodes { list-style: none; padding: 0; }
.node { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 5px; width: max-content; transform: translateX(-50%); }
.stone { display: grid; place-items: center; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--raised); box-shadow: var(--shadow-soft); transition: background-color var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-slow); }
.stone img { width: 82%; height: 82%; object-fit: contain; filter: grayscale(0.85) opacity(0.5); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.node-name { position: relative; z-index: 1; font: 800 var(--name)/1 var(--font-display); color: var(--muted); }
.node-chip { position: relative; z-index: 1; }
.node-chip:empty { display: none; }
.node.current .stone { box-shadow: var(--glow-blue); transform: scale(1.1); border-color: var(--lb-blue-bright); }
.node.current .stone img { filter: none; }
.node.current .node-name, .node[data-status] .node-name { color: var(--text); }
.node[data-status] .stone { border-color: transparent; background: var(--tint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tint) 45%, transparent), 0 12px 28px -12px color-mix(in srgb, var(--deep) 60%, transparent); }
[data-theme="dark"] .node[data-status] .stone { background: color-mix(in srgb, var(--tint) 85%, #000); }
.node[data-status] .stone img { filter: none; }
/* Her stuck step glows like the Events oven. */
.node.glow .stone { transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--tint) 70%, transparent), 0 0 34px 8px rgba(255, 154, 92, 0.55); animation: oven 2.6s ease-in-out infinite; }
.node.glow .node-name { margin-top: calc(var(--r) * 0.16); }
@keyframes oven { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--tint) 70%, transparent), 0 0 54px 14px rgba(255, 154, 92, 0.75); } }
.node.pop .stone { animation: pop 0.55s cubic-bezier(.3, 1.6, .5, 1); }
.node.pop .stone img { animation: wiggle 0.55s cubic-bezier(.3, 1.6, .5, 1); }
.node.pop .node-chip { animation: chip-in 0.4s cubic-bezier(.3, 1.6, .5, 1) 0.08s both; }
@keyframes pop { 0% { transform: scale(0.82); } 55% { transform: scale(1.16); } }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.1); } 65% { transform: rotate(6deg); } }
@keyframes chip-in { from { transform: translateY(-6px) scale(0.6); opacity: 0; } }
/* Stations ahead stay a mystery: a dashed stone with a question mark, no sticker, no name. Each one unveils on arrival. */
.node.unrevealed .stone { position: relative; border-style: dashed; box-shadow: none; }
.node.unrevealed .stone img { opacity: 0; }
.node.unrevealed .stone::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 calc(var(--r) * 0.8)/1 var(--font-display); color: var(--muted); opacity: 0.55; }
.node.unrevealed .node-name { visibility: hidden; }
.node.unveil .stone { animation: unveil 0.6s cubic-bezier(.3, 1.6, .5, 1); }
.node.unveil .stone img { animation: wiggle 0.6s cubic-bezier(.3, 1.6, .5, 1); }
.node.unveil .node-name { animation: chip-in 0.45s cubic-bezier(.3, 1.6, .5, 1) 0.12s both; }
@keyframes unveil { 0% { transform: scale(0.6) rotate(-12deg); } 60% { transform: scale(1.18); } }

.walkers { position: absolute; inset: 0; pointer-events: none; }
.walker { position: absolute; left: 0; top: 0; z-index: 3; width: var(--ww); transition: opacity 0.5s, filter 0.5s; will-change: transform; }
body[data-phase="intro"] #board .walker { opacity: 0; }
.figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.walker .leg, .walker .arm { transform-box: fill-box; transform-origin: 50% 4%; }
.walker .mouth { display: none; }
.walker:not([data-mood]) .mouth.happy, .walker[data-mood="happy"] .mouth.happy, .walker[data-mood="thinking"] .mouth.thinking, .walker[data-mood="sad"] .mouth.sad { display: inline; }
.walker.walking .figure { animation: bounce 0.36s ease-in-out infinite; }
.walker.walking .leg.l, .walker.walking .arm.r { animation: swing 0.36s ease-in-out infinite; }
.walker.walking .leg.r, .walker.walking .arm.l { animation: swing 0.36s ease-in-out infinite reverse; }
.walker.waving .arm.r { animation: wave 0.9s ease-in-out; }
.walker.hop .figure { animation: hop 0.45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes swing { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-18deg); } }
@keyframes bounce { 50% { transform: translateY(-3px); } }
@keyframes hop { 40% { transform: translateY(-22%); } }
@keyframes wave { 20%, 60% { transform: rotate(-150deg); } 40%, 80% { transform: rotate(-120deg); } }
.walker[data-mood="sad"] .figure svg { transform: translateY(3px) rotate(-4deg); transition: transform 0.4s; }
.walker.gave-up { opacity: 0.45; filter: grayscale(0.9); }

.name-tag { position: absolute; bottom: 6%; padding: 2px 8px; border-radius: var(--r-pill); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font: 600 11px/1.4 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--text); }
.walker[data-side="right"] .name-tag { right: 88%; }
.walker[data-side="left"] .name-tag { left: 88%; }
/* Thought bubbles sit beside their head, on the roomier side. */
.say { position: absolute; bottom: 64%; z-index: 2; width: max-content; padding: 7px 12px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); color: var(--text); box-shadow: var(--shadow-overlay); font: 400 clamp(17px, 2.2cqi, 22px)/1.12 var(--font-hand); text-align: left; opacity: 0; transform: translateY(6px) scale(0.92); transition: opacity var(--t-base), transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.walker[data-lift="low"] .say { bottom: 88%; }
.walker[data-side="right"] .say { left: 86%; border-bottom-left-radius: 4px; transform-origin: 0 100%; }
.walker[data-side="left"] .say { right: 86%; border-bottom-right-radius: 4px; transform-origin: 100% 100%; }
.say.show { opacity: 1; transform: none; }
.say:empty { display: none; }
/* The stuck line: a white die-cut sticker with a halo in the step's tint, slapped on with a tilt. */
.say.speech { border: 2px solid var(--lb-ink); background: #fff; color: var(--lb-ink); box-shadow: 0 0 0 5px var(--say), var(--shadow-overlay); rotate: -3deg; }
.say.speech.show { animation: slap 0.45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes slap { from { transform: scale(1.6); opacity: 0; } }

/* ---------- Cards ---------- */
main { display: grid; justify-items: center; gap: 24px; width: min(1120px, 100% - 24px); margin: 22px auto 0; padding-bottom: 96px; }
main.swap > * { animation: rise 0.5s var(--ease) both; }
main.swap > *:nth-child(2) { animation-delay: 0.08s; }
main.swap > *:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card { width: min(760px, 100%); display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--raised); box-shadow: var(--shadow-soft); }
.card > .btn, .card > .btn-line { justify-self: start; }
.card.intro { width: min(880px, 100%); }

.serve { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; min-height: 84px; padding: 18px 20px; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); background: var(--raised); box-shadow: var(--shadow-soft); text-align: left; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast); }
.big-choice:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.big-choice strong { font: 800 var(--fs-22)/1.15 var(--font-display); }
.big-choice span { grid-column: 1; font-size: 15px; color: var(--muted); }
.big-choice .arr { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); width: 20px; height: 20px; }

.cast { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cast-card { display: grid; justify-items: center; gap: 6px; min-height: 120px; padding: 14px 6px 10px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform 0.2s cubic-bezier(.3, 1.6, .5, 1), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
.cast-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cast-card[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--accent); box-shadow: var(--glow-blue); transform: translateY(-3px); }
.cast-figure svg { display: block; width: 60px; height: auto; overflow: visible; }
.cast-card strong { font: 800 15px/1 var(--font-display); }
.pick-end { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-top: 4px; }
.field { display: grid; gap: 6px; font: 600 var(--fs-14)/1.3 var(--font-display); }
.pick-end .field { flex: 1 1 220px; max-width: 320px; }
.field input, .gate-form input[type="email"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); color: var(--text); font: 400 var(--fs-16)/1.2 var(--font-body); transition: border-color var(--t-fast); }
.field input:focus, .gate-form input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }

/* ---------- One question a screen ---------- */
.progress { display: grid; gap: 10px; }
.progress-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 var(--fs-12)/1 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.progress-label .sep { font-size: 16px; }
.bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.bar i { height: 6px; border-radius: var(--r-pill); background: var(--line-strong); }
.bar i.done { background: var(--accent); }
.bar i.now { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.choices { display: grid; gap: 12px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; width: 100%; min-height: 64px; padding: 16px 18px 16px 58px; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); background: var(--raised); box-shadow: var(--shadow-soft); text-align: left; font: 500 17px/1.35 var(--font-body); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast), background-color var(--t-fast), opacity var(--t-base); }
.choice::before { content: ""; position: absolute; left: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--bg); transition: background-color var(--t-fast), border-color var(--t-fast); }
.choice::after { content: ""; position: absolute; left: 26px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1); }
.choice:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.choice:hover:not(:disabled)::before { border-color: var(--accent); }
.choice.picked { background: var(--accent-wash); border-color: var(--accent); box-shadow: var(--glow-blue); }
.choice.picked::before { background: var(--accent); border-color: var(--accent); }
.choice.picked::after { transform: rotate(45deg) scale(1); }
.choice:disabled { cursor: default; }
.choice:disabled:not(.picked) { opacity: 0.45; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; max-width: min(560px, calc(100% - 32px)); padding: 12px 20px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); box-shadow: var(--shadow-overlay); font-size: 15px; line-height: 1.35; text-align: center; opacity: 0; transform: translate(-50%, 16px); transition: opacity var(--t-base), transform var(--t-base) var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { font-weight: 800; }

/* ---------- The reveal ---------- */
.card.hero { width: min(1000px, 100%); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 3vw, 36px); }
.reveal-cover { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 340px; padding: 24px; border-radius: var(--r-lg); background: var(--tint); color: var(--deep); }
[data-theme="dark"] .reveal-cover:not(.blue) { background: color-mix(in srgb, var(--tint) 85%, #000); }
.reveal-cover::before { content: ""; position: absolute; z-index: -1; right: -20%; bottom: -25%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)); }
.cover-label { font: 600 var(--fs-12)/1.3 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; }
.cover-name { font: 800 clamp(48px, 7vw, 72px)/0.95 var(--font-display); letter-spacing: -0.02em; }
.cover-q { max-width: 60%; font: 600 var(--fs-18)/1.25 var(--font-display); }
.reveal-cover .chip-status { margin-top: auto; }
.reveal-sticker { position: absolute; right: -10%; bottom: -12%; width: 68%; max-width: 330px; filter: drop-shadow(0 18px 26px rgba(14, 15, 18, 0.18)); animation: sticker-in 0.8s cubic-bezier(.3, 1.5, .5, 1) 0.15s both; }
@keyframes sticker-in { from { transform: scale(0.5) rotate(-14deg); opacity: 0; } }
.reveal-cover.blue { background: linear-gradient(140deg, #3E54E2, #5271FF 55%, #B6C3FF); color: #fff; }
.cover-ring { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; max-width: 300px; margin-top: auto; }
.blue .reveal-sticker { position: static; width: 100%; filter: drop-shadow(0 8px 14px rgba(14, 15, 18, 0.2)); }
.cover-ring .reveal-sticker:nth-child(2) { animation-delay: 0.22s; } .cover-ring .reveal-sticker:nth-child(3) { animation-delay: 0.29s; }
.cover-ring .reveal-sticker:nth-child(4) { animation-delay: 0.36s; } .cover-ring .reveal-sticker:nth-child(5) { animation-delay: 0.43s; }
.cover-ring .reveal-sticker:nth-child(6) { animation-delay: 0.5s; }
.reveal-copy { display: grid; gap: 14px; align-content: center; }
.works { display: grid; gap: 6px; }
.works-tag { justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent-wash); color: var(--accent); font: 600 var(--fs-12)/1.3 var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; }
.works-text { font: 700 clamp(19px, 2vw, 22px)/1.3 var(--font-display); text-wrap: pretty; }
.kind { color: var(--muted); }
.share { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-thumb { flex: none; width: 72px; height: 128px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-soft); background: #fff; }
.share-copy { display: grid; gap: 8px; }
.share-title { font: 700 var(--fs-14)/1.2 var(--font-display); color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Quick win ---------- */
.chip-win { justify-self: start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent-wash); color: var(--accent); font: 600 var(--fs-12)/1.4 var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; }
.card.win h2 { font-size: clamp(22px, 2.6vw, 28px); }
.win-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.win-fields { display: grid; gap: 12px; }
.win-fields .btn-line { justify-self: start; margin-top: 4px; }

.phone { position: relative; justify-self: center; width: min(290px, 100%); padding: 34px 12px 16px; border-radius: 36px; background: #141414; box-shadow: var(--shadow-overlay); }
.notch { position: absolute; top: 11px; left: 50%; width: 78px; height: 16px; translate: -50% 0; border-radius: 999px; background: #000; }
.phone-who { display: block; margin-bottom: 8px; text-align: center; font: 600 10.5px/1 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250, 246, 238, 0.6); }
.phone-screen { overflow: hidden; border-radius: 22px; background: #F7F8FC; color: #141414; }
.mock { display: grid; align-content: start; gap: 10px; min-height: 250px; padding: 18px; background: #fff; font-size: 15px; line-height: 1.4; }
.mk-eyebrow { font: 600 11px/1.3 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: #2E3FB0; }
.mk-title { font: 800 19px/1.2 var(--font-display); }
.mk-btn { justify-self: start; padding: 9px 16px; border-radius: 999px; background: #3E54E2; color: #fff; font: 700 14px/1 var(--font-display); }
.pf-top { display: flex; align-items: center; gap: 12px; }
.pf-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #3E54E2, #B6C3FF); color: #fff; font: 800 22px/1 var(--font-display); }
.pf-top strong { display: block; font: 800 17px/1.1 var(--font-display); }
.pf-top small { color: #5E6272; }
.pf-pins { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-pins span { padding: 4px 10px; border-radius: 8px; background: #EEF0FD; font-size: 12.5px; }
.mock.email .em-head { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.mock.email .em-head small { color: #5E6272; font-size: 12.5px; }
.em-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e4e6ef; }
.em-row b { font: 600 12px/1.6 var(--font-label); text-transform: uppercase; color: #2E3FB0; }
.tracker strong { font: 800 18px/1.2 var(--font-display); }
.tr-bar { height: 10px; overflow: hidden; border-radius: 99px; background: #eef0f5; }
.tr-bar i { display: block; width: 0; height: 100%; background: #1E7A45; transition: width 0.4s; }
.tracker small { font: 600 12px/1 var(--font-label); color: #5E6272; }
.tr-row { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 10px; cursor: pointer; }
.tr-row input { width: 18px; height: 18px; accent-color: #1E7A45; }
.tr-row input:checked + span { text-decoration: line-through; opacity: 0.6; }
.mock.finish { background: linear-gradient(160deg, #fff, #EEF0FD); }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.ba small { font: 600 11px/1 var(--font-label); text-transform: uppercase; color: #5E6272; }
.ba-arrow { font: 800 24px/1 var(--font-display); color: #3E54E2; }
.ba-ask { font: 19px/1.25 var(--font-hand); color: #2E3FB0; }
.mock.chat { background: #F7F8FC; }
.ch-day, .ch-from { font: 600 11px/1.3 var(--font-label); text-transform: uppercase; color: #5E6272; text-align: center; }
.mock .bubble { max-width: 85%; margin: 0; padding: 10px 14px; border-radius: 16px; }
.mock .bubble.me { justify-self: end; background: #3E54E2; color: #fff; border-bottom-right-radius: 4px; }
.mock .bubble.them { justify-self: start; background: #fff; border: 1px solid #e4e6ef; border-bottom-left-radius: 4px; }

/* ---------- The email gate: one card under the free result ---------- */
.card.gate { gap: 12px; border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: radial-gradient(120% 100% at 50% 0%, var(--accent-wash), var(--raised) 72%); }
.gate-form { display: grid; gap: 14px; margin-top: 4px; }
.gate-form input[type="email"] { max-width: 460px; }
.gate-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.gate-consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.gate-form .btn { justify-self: start; }
.gate-note { font-weight: 600; color: var(--danger); }
.gate-note:empty { display: none; }
.gate-small { margin-top: -4px; font-size: var(--fs-14); color: var(--muted); }
.gate-sent { font-size: var(--fs-18); text-wrap: pretty; }
.gate-sent b { font: 800 var(--fs-18)/1 var(--font-display); }
.card.gate.sent { padding-block: clamp(18px, 3vw, 24px); }

/* ---------- Now picture this ---------- */
.picture-stage { container-type: inline-size; padding: 14px clamp(10px, 2vw, 18px) 10px; border-radius: var(--r-lg); background: radial-gradient(120% 100% at 50% 0%, var(--accent-wash), var(--surface) 70%); border: 1px solid var(--line); }
.picture-stage .path { min-height: 150px; }
.caption { min-height: 1.3em; font: 400 clamp(20px, 2.4vw, 24px)/1.25 var(--font-hand); color: var(--lb-blue-deep); }
[data-theme="dark"] .caption { color: var(--lb-lavender); }
.picture .btn-line { justify-self: start; }

/* ---------- Her Then map ---------- */
.card.then { width: min(1000px, 100%); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(16px, 3vw, 36px); }
.then-copy { display: grid; gap: 14px; }
.legend { list-style: none; display: grid; gap: 10px; padding: 0; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.legend b { color: var(--text); }
.sw { flex: none; display: inline-block; width: 30px; }
.sw-then { height: 0; border-top: 3.5px dotted var(--muted); }
.sw-now { height: 16px; border: 2px solid var(--m-stroke, var(--lb-blue)); border-radius: var(--r-pill); background: linear-gradient(90deg, rgba(62, 84, 226, 0.55), rgba(82, 113, 255, 0.55), rgba(182, 195, 255, 0.55)); }
.map-wrap { max-width: 520px; width: 100%; justify-self: center; }
.map { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-display); --m-line: rgba(62, 84, 226, 0.16); --m-stroke: var(--lb-blue); --dot-fill: #fff; --hand: var(--lb-blue-deep); }
[data-theme="dark"] .map { --m-line: rgba(182, 195, 255, 0.14); --m-stroke: #8EA2FF; --dot-fill: #1F2027; --hand: var(--lb-lavender); }
.m-ring { fill: none; stroke: var(--m-line); stroke-width: 1.4; }
.m-spoke { stroke: var(--m-line); stroke-width: 1.2; }
.m-ring-label { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--muted); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--raised); stroke-width: 5px; stroke-linejoin: round; }
.m-ghost { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.m-ghost.guess { stroke: var(--muted); stroke-dasharray: 0.1 8; stroke-width: 3.5; }
.m-dot { fill: var(--dot-fill); stroke: var(--muted); stroke-width: 2.5; }
.m-halo { fill: rgba(82, 113, 255, 0.1); stroke: var(--hand); stroke-width: 1.8; stroke-dasharray: 4 5; }
.m-arrow { fill: none; stroke: var(--hand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.m-scrawl { font-family: var(--font-hand); fill: var(--hand); paint-order: stroke; stroke: var(--raised); stroke-width: 6px; stroke-linejoin: round; }
.m-pill rect { fill: var(--tint); filter: drop-shadow(0 4px 10px rgba(14, 15, 18, 0.08)); }
[data-theme="dark"] .m-pill rect { fill: color-mix(in srgb, var(--tint) 85%, #000); }
.m-pill-name { font-weight: 800; fill: var(--deep); dominant-baseline: central; }

/* ---------- Brain Raid, then the free doors ---------- */
.raid-head { display: flex; align-items: center; gap: 18px; }
.raid-photo { flex: none; width: 88px; height: 88px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; background: var(--accent-wash); box-shadow: 0 0 0 4px var(--raised), 0 0 0 6px var(--accent-wash), var(--shadow-soft); }
.raid-lede { font-size: var(--fs-18); text-wrap: pretty; }
.leave { list-style: none; display: grid; gap: 10px; padding: 0; }
.leave li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--status-flowing); }
.tick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.credit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); }
.chip-good { padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent-wash); color: var(--accent); font: 600 var(--fs-12)/1.3 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; }
.quote { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 4px 16px; min-height: 150px; padding: 18px 0 40px; border-block: 1px solid var(--line); }
.quote.swap .q-body, .quote.swap .q-photo { animation: rise 0.45s var(--ease); }
.q-photo img, .q-initials { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--accent-wash); color: var(--accent); font: 800 18px/1 var(--font-display); box-shadow: 0 0 0 3px var(--raised), 0 0 0 5px var(--accent-wash); }
.quote blockquote { margin-bottom: 6px; font-size: 16.5px; text-wrap: pretty; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.q-dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; gap: 2px; }
.q-dots button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; }
.q-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: background-color var(--t-fast), transform var(--t-fast); }
.q-dots button[aria-selected="true"]::before { background: var(--accent); transform: scale(1.2); }
.raid-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.chip-price { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--raised); font: 600 13px/1 var(--font-label); letter-spacing: 0.06em; }
.free { width: min(760px, 100%); display: grid; gap: 12px; }
.free-title { font: 700 var(--fs-18)/1.3 var(--font-display); color: var(--muted); }
.free-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.free-tile { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); box-shadow: var(--shadow-soft); text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.free-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.free-tile strong { font: 800 var(--fs-18)/1.1 var(--font-display); }
.free-tile span { font-size: 15px; color: var(--muted); }
.free-tile em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 700 var(--fs-14)/1 var(--font-display); font-style: normal; color: var(--accent); }
.retake { text-align: center; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

/* ---------- Phones ---------- */
@container (max-width: 560px) {
  .node[data-status] .node-name { display: none; }
  .name-tag { display: none; }
}
@media (max-width: 760px) {
  .card.hero, .card.then { grid-template-columns: 1fr; }
  .reveal-cover { min-height: 260px; }
  .win-grid { grid-template-columns: 1fr; }
  .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .serve, .free-row { grid-template-columns: 1fr; }
  .gate-form .btn, .pick-end .btn, .raid-cta .btn { width: 100%; }
  .pick-end .field { max-width: none; }
  .choice { font-size: 16px; }
  .pill-btn span { display: none; }
  .pill-btn { width: var(--tap); padding: 0; justify-content: center; }
  .raid-photo { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
  html { scroll-behavior: auto; }
}
