/* Misclo homepage v4 (8 Nov 2026): the improvement pass on v3. Loaded last; v3's files are unchanged underneath, so this file is the
   whole visual diff for the cold landing, the companion art, the connected sample day, Academy, Journey, Progress, the coming-soon
   panel, the guided-tour transport and the free-beta offer. Same tokens, type and surfaces as v3. */

/* ================================================================== 1 · the cold landing: the early cue (audit F01) */
/* the brand stays visible from the first frame (it was hidden in the dark opening) */
.stage[data-scene="hero"][data-hero="dark"] .st-wm { opacity: 1; pointer-events: auto; }
.h-early { position: absolute; z-index: 4; left: 16px; top: calc(56px + env(safe-area-inset-top, 0px)); max-width: min(380px, 34vw);
  display: grid; gap: 10px; color: var(--ivory); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.h-early p { margin: 0; }
.h-early-t { font: 600 15px/1.45 var(--font-body); color: #e3e6ea; text-shadow: 0 1px 10px #000c; }
.h-early-a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.h-early-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fbfaf7eb; color: var(--graphite);
  font: 750 14.5px/1 var(--font-body); text-decoration: none; box-shadow: 0 10px 30px -14px #000; }
.h-early-go:hover { background: var(--ivory); }
.h-early-b { font: 650 13px/1.3 var(--font-body); color: #c9ccd2; text-shadow: 0 1px 8px #000; }
/* it shows from the first paint, before the scripts arrive (cold load, 8 Nov: scripts land ~4 s in on a slow phone), and through the
   dark opening; once the film's copy rises, or the script settles the entrance, the full copy carries the same action */
.js.st-ready .sc-hero:not([data-phase="dark"]) .h-early, .js .sc-hero[data-phase="copy"] .h-early { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .4s, transform .4s, visibility 0s .4s; }
.no-js .h-early { display: none; }
/* phone layout by media query (the same 0.95 aspect split as the stage), so it is right at the first paint, before the script sets data-fmt */
@media (max-aspect-ratio: 95/100) {
  .h-early { left: 16px; right: 16px; max-width: none; top: calc(54px + env(safe-area-inset-top, 0px)); gap: 8px; }
  .h-early-t { font-size: 14px; max-width: 30ch; }
  .h-early-go { min-height: 44px; font-size: 14px; }
}
html[data-motion="reduced"] .h-early { transition: none; }
.h-early :focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }

/* ================================================================== 2 · the companions: the supplied B2 art */
/* the small faces: the idle miniature for each companion, the proposing one only while a proposal is on screen */
.stage .face { background: center / contain no-repeat transparent; box-shadow: none; border-radius: 0; }
.stage .face::before, .stage .face::after { content: none; }
.stage .face--theo { background-image: image-set(url("../media/companions/theo-mini-idle-128.webp") 1x, url("../media/companions/theo-mini-idle-256.webp") 2x); }
.stage .face--lumi { background-image: image-set(url("../media/companions/lumi-mini-idle-128.webp") 1x, url("../media/companions/lumi-mini-idle-256.webp") 2x); }
.stage .d-today[data-dock="prop"] .d-mface .face--theo { background-image: image-set(url("../media/companions/theo-mini-proposing-128.webp") 1x, url("../media/companions/theo-mini-proposing-256.webp") 2x); }
.stage .d-today[data-dock="prop"] .d-mface .face--lumi { background-image: image-set(url("../media/companions/lumi-mini-proposing-128.webp") 1x, url("../media/companions/lumi-mini-proposing-256.webp") 2x); }
/* the miniatures sit on an ivory disc so the dark hair reads on graphite too; the ring keeps each companion's colour */
.stage .d-mface { overflow: hidden; }
.stage .d-mface .face { width: 100%; height: 100%; }
.stage .say-face .face, .stage .d-cswitch .face, .stage .d-msg--ai > .face { border-radius: 50%; background-color: var(--iv); box-shadow: 0 0 0 1.5px var(--ln); }
.stage .d-cswitch [aria-pressed="true"] .face { box-shadow: 0 0 0 2px var(--accv); }
.stage .d-msg--ai > .face { width: 28px; height: 28px; }
.stage[data-fmt="laptop"] .say-face .face { width: 40px; height: 40px; }

/* the choice portraits: the whole 3:4 frame, contained (the crown has little headroom, so nothing is cropped) */
.stage .d-port { position: relative; overflow: hidden; height: calc(250 * var(--u)); background: radial-gradient(80% 70% at 50% 30%, #2c3139 0%, #191c21 70%); }
.d-port-img { display: block; height: 100%; width: auto; max-width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: 50% 0; }
.d-card--theo .d-port { box-shadow: inset 0 -3px 0 var(--cv); }
.d-card--lumi .d-port { box-shadow: inset 0 -3px 0 var(--cv); }
.stage[data-fmt="phone"] .d-port { width: calc(84 * var(--u)); height: calc(112 * var(--u)); border-radius: calc(14 * var(--u)); }
@container (max-height: 630px) { .stage[data-fmt="phone"] .d-port { width: calc(66 * var(--u)); height: calc(88 * var(--u)); } }
@container (max-height: 500px) { .stage[data-fmt="laptop"] .d-port { height: calc(150 * var(--u)); } }
@media (max-height: 800px) { .stage[data-fmt="laptop"] .d-port { height: calc(200 * var(--u)); } }

/* ================================================================== 3 · Today: one constraint, the proposal with its reasons, your call */
.js .d-constraint { display: none; }
.d-constraint { align-self: flex-end; max-width: 92%; margin: 0; }
.d-constraint small { display: block; margin-bottom: 2px; font: 800 12px/1.2 var(--font-body); letter-spacing: .04em; text-transform: uppercase; opacity: .78; }
.js .d-today[data-dock="ask"] .d-constraint { display: block; animation: dRise .42s var(--ease-out) both; }
.js .stage[data-fmt="phone"] .d-today[data-dock="ask"] .d-dock { display: flex; animation: dSheet .4s var(--ease-out) both; }
.js .stage[data-fmt="phone"] .d-today[data-dock="ask"]::after { content: ''; position: absolute; inset: 0; z-index: 2; background: #ECEAE4b8; animation: dFade .3s linear both; }
/* the mini bubble: "kept" has its own line */
.js .d-today[data-dock="prop"][data-kept="1"] .d-say--prop { display: none; }
.js .d-today[data-dock="prop"][data-kept="1"] .d-say--kept { display: block; }
.d-swaps { display: grid; gap: 6px; }
.d-why { padding: calc(8 * var(--u)) calc(10 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--st); }
.d-why-h { margin: 0 0 3px; font: 800 max(12px, calc(12 * var(--u)))/1.25 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.d-why ul { margin: 0; padding-left: 1.1em; display: grid; gap: 2px; font: 650 max(12.5px, calc(13.5 * var(--u)))/1.35 var(--font-body); color: var(--ink); }
.js .d-today[data-dock="done"] .d-why, .js .d-today[data-dock="done"] .d-swaps { display: none; }
.js .d-today[data-kept="1"] .d-why { display: none; }
.d-undo { margin-left: auto; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1.5px var(--ln2); font: 750 max(12.5px, calc(13 * var(--u)))/1 var(--font-body); color: var(--ink); cursor: pointer; }
.d-undo:hover { box-shadow: inset 0 0 0 1.5px var(--acc); }
.d-undo:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.d-okline { flex-wrap: wrap; }
/* Wednesday's rows: the changed ones are tagged; the rest of the week says it is unchanged */
.d-rows .a-txt b > span { display: inline; }

/* ================================================================== 4 · media not supplied yet: designed, honest, keeps the B4 hook */
.x-pending { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(18 * var(--u));
  background: repeating-linear-gradient(135deg, #f0eee9 0 10px, #ebe8e2 10px 20px); box-shadow: inset 0 0 0 1px var(--ln); color: var(--ink2); text-align: left; min-height: 0; }
.x-pending > .i { flex: none; width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: var(--sl); stroke-width: 1.6; }
.x-pend-t { margin: 0; display: grid; gap: 2px; }
.x-pend-t b { font: 750 max(13px, calc(14 * var(--u)))/1.25 var(--font-body); color: var(--ink); }
.x-pend-t span { font: 650 max(12px, calc(12.5 * var(--u)))/1.35 var(--font-body); color: var(--ink2); }
.stage[data-fmt="laptop"] .x-media.x-pending { min-height: calc(120 * var(--u)); }
.x-player .d-media.x-pending { background: repeating-linear-gradient(135deg, #2a2f37 0 10px, #262a31 10px 20px); box-shadow: inset 0 0 0 1px #ffffff1a; color: var(--od2); }
.x-player .d-media.x-pending .x-pend-t b { color: #fff; }
.x-player .d-media.x-pending .x-pend-t span, .x-player .d-media.x-pending > .i { color: var(--od2); }
.x-thumb--pending, .x-thumb--icon { display: grid; place-items: center; border-radius: 12px; background: repeating-linear-gradient(135deg, #f0eee9 0 6px, #ebe8e2 6px 12px); box-shadow: inset 0 0 0 1px var(--ln); color: var(--sl); }
.x-thumb--icon { background: var(--accs); box-shadow: none; color: var(--acc); }
.x-thumb--pending .i, .x-thumb--icon .i { width: 20px; height: 20px; }
/* the player's written cue and its link to the card */
.fx-cue { margin: 4px 0 0; font: 600 max(12.5px, calc(13.5 * var(--u)))/1.4 var(--font-body); color: var(--od2); }
.fx-cardlink { display: inline-flex; align-items: center; min-height: 32px; margin-left: 4px; color: #fff; }
.x-stop { margin: 8px 0 0; padding: 6px 10px; border-radius: 10px; background: #fff4e5; font: 700 max(12px, calc(12.5 * var(--u)))/1.35 var(--font-body); color: #6b3d00; }

/* ================================================================== 5 · Academy: disciplines, one useful programme card, Add to my week */
.x-tiles--disc { grid-template-columns: minmax(0, 1fr); }
.stage[data-fmt="laptop"] .x-tiles--disc { grid-template-columns: minmax(0, 1fr); max-width: calc(420 * var(--u)); }
.x-disc-note { font-size: max(12px, calc(12.5 * var(--u))); color: var(--sl); }
.x-feat { gap: calc(8 * var(--u)); }
.x-prog-t { margin: 0; font: 600 calc(24 * var(--u))/1.1 var(--font-display); letter-spacing: -.035em; }
.x-feat-w { margin: 0; display: flex; align-items: center; gap: 6px; font: 700 max(12.5px, calc(13 * var(--u)))/1.3 var(--font-body); color: var(--ink2); }
.x-feat-w .i { width: 15px; height: 15px; color: var(--sl); }
.x-facts { margin: 0; display: grid; gap: calc(6 * var(--u)); }
.x-facts > div { display: grid; grid-template-columns: calc(96 * var(--u)) minmax(0, 1fr); gap: 10px; padding: calc(7 * var(--u)) calc(12 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--iv); box-shadow: var(--sc); }
.x-facts dt { font: 800 max(12px, calc(12 * var(--u)))/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--sl); }
.x-facts dd { margin: 0; font: 650 max(13px, calc(14 * var(--u)))/1.35 var(--font-body); color: var(--ink); }
.x-addweek { margin-top: calc(2 * var(--u)); }
.x-incur { margin: 0; display: flex; align-items: center; gap: 6px; font: 750 max(12.5px, calc(13.5 * var(--u)))/1.3 var(--font-body); color: var(--acc); }
.x-incur .i { width: 16px; height: 16px; stroke-width: 2.4; }
.x-compose { display: flex; flex-direction: column; gap: calc(8 * var(--u)); padding: calc(13 * var(--u)) calc(14 * var(--u)); border-radius: calc(20 * var(--u)); background: var(--iv);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accv) 55%, transparent), var(--sc); }
.x-compose p { margin: 0; }
.x-crows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.x-crows li { display: grid; grid-template-columns: calc(88 * var(--u)) minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--ln); font: 650 max(12.5px, calc(13.5 * var(--u)))/1.3 var(--font-body); }
.x-crows li:last-child { border-bottom: 0; }
.x-crows b { font-weight: 800; color: var(--ink); }
.x-crows em { font: 800 12px/1 var(--font-body); font-style: normal; padding: 4px 8px; border-radius: 999px; background: var(--accs); color: var(--acc); white-space: nowrap; }
.x-cacts { display: flex; gap: 8px; align-items: center; }
.x-cacts .a-btn { width: auto; flex: 1 1 auto; }
.x-cdone { display: flex; align-items: center; gap: 6px; font: 750 max(12.5px, calc(13.5 * var(--u)))/1.3 var(--font-body); color: var(--acc); }
.x-cdone .i { width: 16px; height: 16px; stroke-width: 2.4; }
.x-lsec { margin-bottom: calc(6 * var(--u)); }
.x-progside { display: flex; flex-direction: column; gap: calc(9 * var(--u)); min-width: 0; }
.stage[data-fmt="phone"] .x-facts > div { grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 6px 10px; }
.stage[data-fmt="phone"] .x-crows li { grid-template-columns: minmax(0, 1fr) auto; }
.stage[data-fmt="phone"] .x-crows li span { grid-column: 1 / -1; grid-row: 2; }

/* ================================================================== 6 · Journey: Now · Next checkpoint · Later */
.x-jny { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(8 * var(--u)); }
.stage[data-fmt="laptop"] .x-jny { grid-template-columns: 1.15fr 1fr .85fr; align-items: stretch; }
.x-j { display: flex; flex-direction: column; gap: calc(5 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(20 * var(--u)); background: var(--iv); box-shadow: var(--sc); min-width: 0; }
.x-j > b { font: 650 max(14px, calc(16 * var(--u)))/1.25 var(--font-display); letter-spacing: -.015em; }
.x-j > small, .x-jnext small { font: 650 max(12.5px, calc(13 * var(--u)))/1.4 var(--font-body); color: var(--ink2); }
.x-jk { margin: 0; font: 800 max(12px, calc(12 * var(--u)))/1.25 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--sl); }
.x-j--now { background: var(--dark); color: #fff; }
.x-j--now .x-jk { color: var(--accd); }
.x-j--now > small { color: var(--od2); }
.x-jnext { margin-top: auto; display: grid; gap: 3px; padding-top: calc(8 * var(--u)); border-top: 1px solid #ffffff22; }
.x-jnext b { font: 700 max(13px, calc(14 * var(--u)))/1.3 var(--font-body); }
.x-jnext small { color: var(--od2); }
.x-jgo { margin-top: 6px; }
.x-j--next { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accv) 55%, transparent), var(--sc); }
.x-jchecks { margin: 0; padding-left: 1.1em; display: grid; gap: 2px; font: 650 max(12.5px, calc(13 * var(--u)))/1.35 var(--font-body); color: var(--ink); }
.x-jalso { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; font: 750 max(12.5px, calc(13 * var(--u)))/1.3 var(--font-body); color: var(--acc); }
.x-jalso .i { width: 15px; height: 15px; }
.x-jnote { font-size: max(12px, calc(12.5 * var(--u))); color: var(--sl); }

/* ================================================================== 7 · Progress: the day's receipt; milestones apart from XP */
.stage[data-fmt="laptop"] .x-pgcols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: calc(12 * var(--u)); align-items: start; }
.x-rcpt-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.x-rcpt-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--ln2); }
.x-rcpt-rows b { font: 700 max(13px, calc(14.5 * var(--u)))/1.3 var(--font-body); }
.x-rcpt-rows small { grid-column: 1; font: 650 max(12px, calc(12.5 * var(--u)))/1.3 var(--font-body); color: var(--sl); }
.x-rcpt-rows em { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 800 max(12.5px, calc(13.5 * var(--u)))/1 var(--font-body); font-style: normal; color: var(--acc); }
.x-rcpt-f { margin: 2px 0 0; display: flex; align-items: center; gap: 8px; font: 650 max(12.5px, calc(13 * var(--u)))/1.3 var(--font-body); color: var(--ink2); }
.x-rcpt .a-out { align-self: flex-start; }
.x-skill .x-sd { font-size: max(12.5px, calc(13 * var(--u))); }
.x-pg-note { font-size: max(12px, calc(12.5 * var(--u))); color: var(--sl); }

/* ================================================================== 8 · Coming soon: three cards, apart from membership */
.x-soon3 { display: grid; gap: calc(8 * var(--u)); }
.stage[data-fmt="laptop"] .x-soon3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.x-soon-l { margin: 0; font: 650 max(13px, calc(14 * var(--u)))/1.4 var(--font-body); color: var(--ink); }
.x-soon-s { margin: 0; font: 650 max(12px, calc(12.5 * var(--u)))/1.35 var(--font-body); color: var(--sl); }
.x-more[data-focus="groc"] .x-soon--groc { box-shadow: inset 0 0 0 2px var(--acc), var(--sc); }
.stage[data-fmt="phone"] .x-soon { padding: 10px 12px; }

/* ================================================================== 9 · the end of the sample day: go deeper */
.stage[data-fmt="laptop"] .d-go { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d-go-soon b { color: var(--ink2); }
.d-end-acts { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.d-fulltour { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.d-fulltour .i { width: 14px; height: 14px; fill: currentColor; }

/* ================================================================== 10 · the guided-tour transport: quieter than the app's own tabs */
.d-chaps button > span small { font: inherit; font-weight: 650; color: var(--sl); }
.stage[data-fmt="laptop"] .d-chaps { flex: 0 1 360px; }
.stage[data-fmt="phone"] .d-chaps button > span small { display: none; }
.stage[data-fmt="phone"] .p-foot { gap: 8px; padding-top: 5px; padding-bottom: calc(5px + var(--safe-b, 0px)); }
.stage[data-fmt="phone"] .d-where { display: none; }
/* the app's tab bar stays part of the app (full contrast: dimming it failed AA, axe 8 Nov); the transport is told apart by shape
   (round Back/Play, the dark Next pill) rather than by fading the app */

/* ================================================================== 11 · section 4: membership (O-36) */
.s4-facts { list-style: none; margin: 18px 0 0 !important; padding: 0; display: grid; gap: 10px; max-width: 56ch; }
.s4-facts li { padding: 10px 14px; border-left: 3px solid var(--s4-accv); border-radius: 0 12px 12px 0; background: var(--s4-soft); font: 600 15px/1.45 var(--font-body); color: #3a3f48; }
.s4-facts b { color: var(--graphite); }
.s4-blocker { margin-top: 10px !important; max-width: 60ch; padding: 8px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; font: 650 13px/1.4 var(--font-body); color: var(--graphite); background: #fff8e8; }
.s4-blocker:empty { display: none; }
.s4-steps { margin: 10px 0 0 !important; padding-left: 1.3em; display: grid; gap: 6px; font-weight: 650; }
.s4-steps + .s4-card-h, .s4-inc + .s4-card-h { margin-top: 18px !important; }
.s4-soon li { font-size: 15px; }
.s4-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font: 650 14px/1.4 var(--font-body); color: var(--graphite); }
.s4-links a { color: var(--graphite); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.s4-pend { font-weight: 600; color: var(--slate); }
.s4-back a + span + a { margin-left: 0; }
@media (max-aspect-ratio: 95/100) {
  .s4-facts li { font-size: 14.5px; }
}

/* ================================================================== 12 · small phones: Journey and the programme card fit without smaller type */
.x-jcsum { display: none; }
.stage[data-fmt="phone"] .x-jchecks, .stage[data-fmt="phone"] .x-j--now > small { display: none; }
.stage[data-fmt="phone"] .x-jcsum { display: block; }
.stage[data-fmt="phone"] .x-j { padding: 9px 12px; gap: 3px; border-radius: 16px; }
.stage[data-fmt="phone"] .x-jnext { padding-top: 6px; }
.stage[data-fmt="phone"] .x-jgo { margin-top: 4px; }
.stage[data-fmt="phone"] .x-facts { gap: 0; padding: 2px 10px; border-radius: 14px; background: var(--iv); box-shadow: var(--sc); }
.stage[data-fmt="phone"] .x-facts > div { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 5px 0; background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--ln); }
.stage[data-fmt="phone"] .x-facts > div:last-child { border-bottom: 0; }
.stage[data-fmt="phone"] .x-facts dd { font-size: 13px; }
.stage[data-fmt="phone"] .x-compose { padding: 10px 12px; gap: 6px; border-radius: 16px; }
.stage[data-fmt="phone"] .x-crows li { padding: 3px 0; }
@container (max-height: 700px) { .stage[data-fmt="phone"] .x-jnote, .stage[data-fmt="phone"] .x-compose > .x-sd, .stage[data-fmt="phone"] .x-cwhen { display: none; } }
.x-ph-only { display: none; }
.stage[data-fmt="phone"] .x-lap-only { display: none; }
.stage[data-fmt="phone"] .x-ph-only { display: inline; }
.x-cwhen { margin: 0; font: 750 max(12px, calc(12.5 * var(--u)))/1.3 var(--font-body); color: var(--sl); }
/* phone: Later is one line; once the week is under review, the facts already read give the review their room */
.stage[data-fmt="phone"] .x-j--later { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.stage[data-fmt="phone"] .x-j--later > small { display: none; }
.stage[data-fmt="phone"] .x-progcols:not([data-st="none"]) .x-facts > div:is(:nth-child(1), :nth-child(4), :nth-child(5)) { display: none; }
.stage[data-fmt="phone"] .x-crows li { grid-template-columns: 64px minmax(0, 1fr) auto; }
.stage[data-fmt="phone"] .x-crows li span { grid-column: auto; grid-row: auto; }
.stage[data-fmt="phone"] .x-j--now > b { font-size: 14px; }
@container (max-height: 700px) { .stage[data-fmt="phone"] .x-j--now > b { display: none; } }
@container (max-height: 700px) { .stage[data-fmt="phone"] .x-feat > .x-sd, .stage[data-fmt="phone"] .x-disc-note { display: none; } }

/* ================================================================== 13 · small papers: phones up to 700 px of paper and the compact landscape paper
   (a phone held sideways). Same content, less chrome: labels the layout already makes clear give their line back; explanations
   that repeat a heading or the guide line step aside; nothing gets smaller type. */
.d-rows .a-txt small { white-space: normal; }
@container (max-height: 700px) {
  .stage[data-fmt="phone"] .d-was small, .stage[data-fmt="phone"] .d-now small, .stage[data-fmt="phone"] .d-bn-l,
  .stage[data-fmt="phone"] .x-player .x-pend-t span, .stage[data-fmt="phone"] .x-pg-note, .stage[data-fmt="phone"] .x-progwhy { display: none; }
  .stage[data-fmt="phone"] .x-player .d-media.x-pending { padding: 8px 12px; }
}
@container (max-height: 500px) {
  .stage[data-fmt="laptop"] .d-was small, .stage[data-fmt="laptop"] .d-now small, .stage[data-fmt="laptop"] .d-bn-l,
  .stage[data-fmt="laptop"] .x-player .x-pend-t span, .stage[data-fmt="laptop"] .x-pg-note, .stage[data-fmt="laptop"] .x-progwhy,
  .stage[data-fmt="laptop"] .x-feat > .x-sd, .stage[data-fmt="laptop"] .x-disc-note, .stage[data-fmt="laptop"] .x-jnote,
  .stage[data-fmt="laptop"] .x-compose > .x-sd, .stage[data-fmt="laptop"] .x-cwhen, .stage[data-fmt="laptop"] .x-jchecks,
  .stage[data-fmt="laptop"] .x-j--now > b, .stage[data-fmt="laptop"] .x-lap-only,
  .stage[data-fmt="laptop"] .d-today[data-dock="prop"] .d-mini, .stage[data-fmt="laptop"] .x-j--later > small { display: none; }
  .stage[data-fmt="laptop"] .x-jcsum, .stage[data-fmt="laptop"] .x-ph-only { display: inline; }
  .stage[data-fmt="laptop"] .x-progcols:not([data-st="none"]) .x-facts > div:is(:nth-child(1), :nth-child(4), :nth-child(5)) { display: none; }
  .stage[data-fmt="laptop"] .x-facts { gap: 0; padding: 2px 10px; border-radius: 14px; background: var(--iv); box-shadow: var(--sc); }
  .stage[data-fmt="laptop"] .x-facts > div { padding: 3px 0; background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--ln); }
  .stage[data-fmt="laptop"] .x-facts > div:last-child { border-bottom: 0; }
  .stage[data-fmt="laptop"] .x-j { padding: 8px 12px; gap: 3px; }
  .stage[data-fmt="laptop"] .x-compose, .stage[data-fmt="laptop"] .d-prop { padding: 8px 12px; gap: 5px; }
  .stage[data-fmt="laptop"] .d-why { padding: 6px 10px; }
  .stage[data-fmt="laptop"] .d-port { height: calc(130 * var(--u)); }
}
.fx-revnote { display: none; }
.a-back-row > span { white-space: normal; line-height: 1.2; }
@container (max-height: 500px) {
  .stage[data-fmt="laptop"] .x-player .fx-phead, .stage[data-fmt="laptop"] .x-facts > div:nth-child(5) { display: none; }
}

/* ================================================================== 14 · review fixes (8 Nov): status chips, Undo in the conversation, reduced-motion
   copy, the early cue's disclosure, draft-cue label, coming-soon kicker on phone, focus on dark cards, larger hit areas on phone */
.x-cst { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font: 800 12px/1.2 var(--font-body); white-space: nowrap; }
.x-cst--ask { background: var(--accs); color: var(--acc); }
.x-cst--ok { background: var(--dark); color: #fff; }
.x-cst--kept { background: #E3E0D9; color: var(--ink2); }
.d-chat-undo { margin: 0; display: none; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 14px; background: var(--accs);
  font: 750 max(12.5px, calc(13 * var(--u)))/1.3 var(--font-body); color: var(--acc); }
.js .stage[data-fmt="phone"] .d-today[data-acc="1"] .d-chat-undo { display: flex; }
.d-chat-undo .d-undo { margin-left: 0; background: var(--iv); }
.m-red { display: none; }
html[data-motion="reduced"] .m-full { display: none; }
html[data-motion="reduced"] .m-red { display: inline; }
.h-early-d { margin: 0; font: 600 12px/1.35 var(--font-body); color: #b9bdc4; text-shadow: 0 1px 8px #000; }
.fx-draft { font-weight: 800; color: #fff; }
.stage[data-fmt="phone"] .x-more .a-kick { display: block; }
.d-soon--seg { margin-left: 5px; padding: 1px 5px; font-size: 12px; }
.x-j--now :focus-visible, .x-jnext :focus-visible { outline-color: var(--accd) !important; }
.s4-blocker:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
/* phone: the secondary controls keep their size on screen but get a 44 px hit area (WCAG 2.5.8 asks 24 px; these meet 44) */
.stage[data-fmt="phone"] :is(.d-undo, .p-skip, .d-cswitch button, .a-back, .x-seg button, .x-tablist [role="tab"], .d-chip, .fx-cardlink, .x-link) { position: relative; }
.stage[data-fmt="phone"] :is(.d-undo, .p-skip, .d-cswitch button, .a-back, .x-seg button, .x-tablist [role="tab"], .d-chip, .fx-cardlink, .x-link)::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 44px; transform: translateY(-50%); }
@container (max-height: 500px) {
  /* the compact landscape paper: the facts sit two by two, each label above its value */
  .stage[data-fmt="laptop"] .x-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
  .stage[data-fmt="laptop"] .x-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 0; }
}

/* 15 · walkthrough additions (8 Nov): the Enhance sample; list rows on small phone papers (still at least 44 px) */
@container (max-height: 700px) { .stage[data-fmt="phone"] .x-item { min-height: 46px; padding-top: 3px; padding-bottom: 3px; } }
.x-cdone .d-undo { margin-left: 8px; }
.x-jalso { margin: 0 0 calc(6 * var(--u)); }
.x-soon-ex { margin: 0; font: 650 max(12px, calc(12.5 * var(--u)))/1.35 var(--font-body); color: var(--ink); }
.x-soon-ex .x-pill { margin: 0 4px 0 0; }

/* 16 · section 4, membership (O-36, 8 Nov): the price, the trial terms next to the buttons, the free-start button, the film link */
.s4-price { margin-top: 18px !important; display: grid; gap: 2px; }
.s4-price-a { margin: 0; font: 600 18px/1.2 var(--font-body); color: var(--graphite); }
.s4-price-a b { font: 700 clamp(34px, 4vw, 44px)/1 var(--font-display); letter-spacing: -.02em; margin-right: 4px; }
.s4-price-s { margin: 0; max-width: 56ch; font: 600 14.5px/1.45 var(--font-body); color: #3a3f48; }
.s4-free { border: 1.5px solid var(--graphite); color: var(--graphite); background: transparent; }
.s4-free:hover { background: var(--plaster); }
.s4-tnote { margin-top: 10px !important; max-width: 60ch; font: 600 14px/1.45 var(--font-body); color: #3a3f48; }
.s4-link { min-height: 44px; padding: 0; border: 0; background: none; font: 700 15px/1.2 var(--font-body); color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.s4-link:focus-visible { outline: 3px solid var(--graphite); outline-offset: 2px; }
.s4-back { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.s4-tnote--trial { margin-top: 18px !important; color: var(--graphite); }
.s4-tnote--trial + .s4-actions { margin-top: 10px !important; }
