/* == Takeroom home page: every band from the walkthrough down. Loaded without blocking render
   (media="print", switched to all by site.js); see the header of home.css. */

/* == Walkthrough step 1: the take as filmed, moving (the as-filmed loop), no drawing. */
.walk__filmed .media { aspect-ratio: 16 / 9; border-radius: 6px; }
.walk__tag { padding: 10px 6px 4px; color: var(--ink); font: 500 13px/1.3 var(--font-mono); }

/* == Walkthrough step 5: one save, two shapes. A real wide save narrows to 9:16 around the
   person talking, and the real vertical save (its own framing, nothing chopped) takes over. */
.walk__shapes { margin: 0; }
.shapes__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; }
.shapes__pic { position: absolute; inset: 0; clip-path: inset(0 round 12px); }
.shapes__pic picture, .shapes__pic img, .shapes__tall picture, .shapes__tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The vertical slot: 9:16 of a 16:9 frame is 31.64% wide, centred. */
.shapes__tall { position: absolute; top: 0; bottom: 0; left: 34.18%; width: 31.64%; overflow: hidden; border-radius: 12px; opacity: 0; }
.shapes__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.shapes__labels { display: grid; color: var(--ink); font: 500 13px/1.3 var(--font-mono); }
.shapes__l { grid-area: 1 / 1; }
.shapes__l--tall { opacity: 0; }
.walk__shapes .shapes__frame { box-shadow: var(--shadow-contact); }
@media (prefers-reduced-motion: no-preference) {
  .shapes__pic { animation: shape 5s var(--ease-io) infinite paused; }
  .shapes__pic img { animation: shape-img 5s var(--ease-io) infinite paused; }
  .shapes__tall { animation: shape-tall 5s var(--ease-io) infinite paused; }
  .shapes__l--wide { animation: lab-wide 5s linear infinite paused; }
  .shapes__l--tall { animation: lab-tall 5s linear infinite paused; }
  .walk__shapes.is-run:not(.is-paused) :is(.shapes__pic, .shapes__pic img, .shapes__tall, .shapes__l) { animation-play-state: running; }
  .walk__shapes .shapes__frame { box-shadow: none; }
}
/* The talker (Theo) sits at 80% across the wide save, so the picture slides 30% to centre him. */
@keyframes shape { 0%, 22% { clip-path: inset(0 0 0 0 round 12px); } 40%, 72% { clip-path: inset(0 34.18% 0 34.18% round 12px); } 90%, 100% { clip-path: inset(0 0 0 0 round 12px); } }
@keyframes shape-img { 0%, 22% { transform: none; } 40%, 72% { transform: translateX(-30%); } 90%, 100% { transform: none; } }
@keyframes shape-tall { 0%, 31% { opacity: 0; } 40%, 70% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes lab-wide { 0%, 26% { opacity: 1; } 30%, 82% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes lab-tall { 0%, 26% { opacity: 0; } 30%, 82% { opacity: 1; } 86%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .shapes__frame { display: grid; grid-template-columns: 16fr 5.06fr; gap: 8px; aspect-ratio: auto; background: none; }
  .shapes__pic { position: relative; aspect-ratio: 16 / 9; }
  .shapes__tall { position: relative; inset: auto; width: auto; aspect-ratio: 9 / 16; opacity: 1; }
  .shapes__l--tall { opacity: 1; }
  .shapes__labels { grid-template-columns: 16fr 5.06fr; justify-items: start; gap: 8px; }
  .shapes__l { grid-area: auto; }
}

/* == Walkthrough: one episode on full-bleed sand. Step 1 wide, steps 2-4 on one pinned
   phone (stacked phones on small screens and with reduced motion), step 5 the pair. */
.walk__head { max-width: 760px; }
.walk__frame { margin: 0; overflow: hidden; border: 6px solid var(--white); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-contact); }
.walk__one, .walk__save { display: grid; gap: 20px; margin-top: 40px; }
.step__title { display: flex; align-items: baseline; gap: 12px; font: 900 clamp(24px, 2.6vw, 36px)/1.05 var(--font-display); letter-spacing: -0.03em; }
.step__n { flex: none; color: var(--red-mark); font-variant-numeric: tabular-nums; }
.step__text p { max-width: 46ch; margin-top: 10px; color: var(--text-2); font: 400 16px/1.55 var(--font-sans); text-wrap: pretty; }
.step__text .step__pro { color: var(--ink); }
.walk__pin { position: relative; margin-top: 56px; }
.walk__steps { display: grid; gap: 48px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 20px; }
.step__phone { justify-self: center; }
.walk__stage, .walk__rail { display: none; }
.walk__cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-top: 8px;
  color: var(--red-text);
  font: 600 16px/1 var(--font-sans);
  text-decoration: none;
}
.walk__cta:hover { color: var(--ink); }
.walk__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
@media (min-width: 960px) {
  .walk__one, .walk__save { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: end; margin-top: 64px; }
  .step { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: center; }
  .walk__pin { margin-top: 96px; }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .walk__pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .walk__steps { gap: 0; padding-left: 40px; }
  .step--pin { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; min-height: 62svh; }
  .step--pin .step__phone { display: none; }
  .step--pin .step__title, .step--pin .step__n { color: var(--text-2); transition: color 240ms var(--ease-cut); }
  .step--pin.is-active .step__title { color: var(--ink); }
  .step--pin.is-active .step__n { color: var(--red-mark); }
  .walk__rail { display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: rgba(17, 17, 20, 0.08); }
  .walk__rail > span { position: absolute; inset: 0; background: var(--red-mark); transform: scaleY(0); transform-origin: 50% 0; }
  @supports (animation-timeline: view()) {
    .walk__rail > span { animation: fill linear both; animation-timeline: view(); animation-range: cover 17% cover 83%; }
  }
  .walk__stage { display: block; }
  .walk__save { margin-top: 160px; }
  /* Sized from the window height so the whole phone fits under the nav, 1366x768 included. */
  .walk__phone { position: sticky; top: 96px; width: min(340px, calc((100vh - 160px) * 540 / 1128 + 18px)); width: min(340px, calc((100svh - 160px) * 540 / 1128 + 18px)); margin-inline: auto; }
  .walk__screen { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms var(--ease-io); }
  .walk__screen.is-active { opacity: 1; }
  .walk__screen > .media { position: absolute; inset: 0; }
}
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* == One phone vs a multicam shoot: one wide frame, and the camera moves inside it */
.compare__title { max-width: 14ch; }
.compare__fig { max-width: 1040px; margin: clamp(32px, 4vw, 56px) 0 0; }
.compare__frame { padding: 6px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-contact); }
.compare__view { aspect-ratio: 16 / 9; border-radius: 6px; }
.compare__cam { position: absolute; inset: 0; transform-origin: 0 0; }
.compare__cam > picture, .compare__cam img, .compare__cam > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__cam > video { opacity: 0; }
.compare__cam > video.is-playing { opacity: 1; }
/* Pair B (hosts-b, 1264 x 720; a 16:9 view shows 1264 x 711 from y 4.5). Close-ups measured on
   that frame at s = 1.8: left x 39 y 210, right x 529 y 210, each 702 x 395. The push keeps each
   crop's centre at s = 1.86 (left x 50.2, right x 540.2, y 216.4). t = -s * x0 / 1264 and
   -s * (y0 - 4.5) / 711. The still path's second view is the left close-up. */
.compare__view--sam { display: none; }
.compare__view--sam .compare__cam, .who__cam--left { transform: translate(-5.554%, -53.29%) scale(1.8); }
.who__cam--right { transform: translate(-75.33%, -53.29%) scale(1.8); }
.compare__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.compare__shots { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.compare__shot { position: relative; padding-left: 14px; color: var(--text-2); font: 600 14px/1.4 var(--font-sans); }
.compare__shot::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: transparent; }
.compare__shot--wide { color: var(--ink); }
.compare__shot--wide::before { background: var(--red-mark); }
.compare__still-labels { display: none; }
.compare__honest { margin-top: 20px; color: var(--ink); font: 600 16px/1.5 var(--font-sans); }
.compare__body { display: grid; gap: 12px; margin-top: 32px; }
.compare__body p { max-width: 52ch; color: var(--text-2); font: 400 16px/1.6 var(--font-sans); }
@media (min-width: 760px) {
  .compare__body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .compare__frame { display: grid; gap: 6px; }
  .compare__view--sam { display: block; }
  .compare__shots { display: none; }
  .compare__still-labels { display: flex; flex-wrap: wrap; gap: 4px 24px; color: var(--ink); font: 600 14px/1.4 var(--font-sans); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 760px) {
  .compare__frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__still-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  /* 9.6s: wide, a hard cut to the left close-up with a slow push, a cut back to wide, then the
     same on the right. Both crops are measured on pair B's frame (above). */
  .compare__view:first-child .compare__cam { animation: cam 9.6s linear infinite paused; }
  .compare__shot { animation: shot-c 9.6s linear infinite paused; }
  .compare__shot::before { animation: shot-d 9.6s linear infinite paused; }
  .compare__shot--wide { animation-name: shot-wide-c; }
  .compare__shot--wide::before { animation-name: shot-wide-d; }
  .compare__shot--theo, .compare__shot--theo::before { animation-delay: -4.8s; }
  .compare.is-run:not(.is-paused) .compare__view:first-child .compare__cam,
  .compare.is-run:not(.is-paused) .compare__shot,
  .compare.is-run:not(.is-paused) .compare__shot::before { animation-play-state: running; }
  .compare.is-run .compare__view:first-child .compare__cam { will-change: transform; }
}
@keyframes cam {
  0%, 12.49% { transform: none; }
  12.5% { transform: translate(-5.554%, -53.29%) scale(1.8); animation-timing-function: var(--ease-decel); }
  44.99% { transform: translate(-7.387%, -55.43%) scale(1.86); }
  45%, 62.49% { transform: none; }
  62.5% { transform: translate(-75.33%, -53.29%) scale(1.8); animation-timing-function: var(--ease-decel); }
  94.99% { transform: translate(-79.49%, -55.43%) scale(1.86); }
  95%, 100% { transform: none; }
}
/* Left's label is on from 12.5% to 45%; Right's runs the same track 4.8s later (62.5% to 95%). */
@keyframes shot-c { 0%, 12.49%, 45%, 100% { color: var(--text-2); } 12.5%, 44.99% { color: var(--ink); } }
@keyframes shot-d { 0%, 12.49%, 45%, 100% { background-color: transparent; } 12.5%, 44.99% { background-color: var(--red-mark); } }
@keyframes shot-wide-c { 0%, 12.49%, 45%, 62.49%, 95%, 100% { color: var(--ink); } 12.5%, 44.99%, 62.5%, 94.99% { color: var(--text-2); } }
@keyframes shot-wide-d { 0%, 12.49%, 45%, 62.49%, 95%, 100% { background-color: var(--red-mark); } 12.5%, 44.99%, 62.5%, 94.99% { background-color: transparent; } }

/* == Features: one glass console. Tabs pick a group; each row has a small scene built in
   HTML, CSS and SVG over real frames (no capture). The base styles ARE each scene's final frame,
   so no JS, reduced motion and a paused console all show something true. A scene plays once per
   row (.demo.is-play) while the console runs; the keyframes only exist with motion welcome.
   With JS every panel sits in one grid cell, so the console is always as tall as its tallest
   group and switching groups never moves the page (CLS 0). */
.feats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.feats__title { min-width: 0; font-size: clamp(34px, 5vw, 72px); line-height: 0.98; letter-spacing: var(--track-display); }
.feats__credit { margin-top: 14px; }
.ctl--ring { border-color: rgba(17, 17, 20, 0.1); }
.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.ring__c { fill: none; stroke: var(--red-mark); stroke-width: 1.5; stroke-dasharray: 128.8; stroke-dashoffset: 128.8; }
.console { margin-top: clamp(24px, 3vw, 40px); padding: 12px; border-radius: 16px; }
html.js .console { display: grid; grid-template-columns: minmax(0, 1fr); }
html.js .console > .console__panel { position: relative; grid-row: 2; grid-column: 1; align-self: start; }
html.js .console > .console__panel.is-cur { z-index: 1; }
/* !important: a scene inside sets visibility: visible, which would show through a hidden panel.
   The outgoing panel (.is-leave) stays visible under the incoming one until that one has faded
   in, so a tab switch never shows an empty console. */
html.js .console__panel:not(.is-cur):not(.is-leave), html.js .console__panel:not(.is-cur):not(.is-leave) * { visibility: hidden !important; }
.console__bar { display: flex; justify-content: center; padding: 4px 0 12px; }
html:not(.js) .console__bar { display: none; }
.seg--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: 620px; background: rgba(247, 243, 239, 0.9); }
.seg--5 .seg__pill { width: calc((100% - 8px) / 5); box-shadow: 0 1px 2px rgba(60, 35, 20, 0.12), 0 4px 10px -6px rgba(60, 35, 20, 0.3); }
.seg--5[data-i="1"] .seg__pill { transform: translateX(100%); }
.seg--5[data-i="2"] .seg__pill { transform: translateX(200%); }
.seg--5[data-i="3"] .seg__pill { transform: translateX(300%); }
.seg--5[data-i="4"] .seg__pill { transform: translateX(400%); }
.seg--5 button { padding: 0 6px; }
.console__panel { display: grid; gap: 16px; padding: 4px; }
html:not(.js) .console__panel + .console__panel { margin-top: 24px; }
html.js .console__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.console__h { color: var(--red-text); font: 600 15px/1.3 var(--font-sans); }
.console__stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: clamp(12px, 2.4vw, 32px); border-radius: 12px; background: var(--sand); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.05); aspect-ratio: 4 / 3; overflow: hidden; }
.demo { grid-area: 1 / 1; display: grid; gap: 14px; align-content: center; justify-items: center; min-width: 0; min-height: 0; opacity: 0; visibility: hidden; }
.demo.is-on { opacity: 1; visibility: visible; }
/* A panel scene stretches to the whole stage. */
.demo:has(> .demo__panel) { grid-template-rows: minmax(0, 1fr); align-content: stretch; }
.console__rows { display: grid; gap: 2px; margin: 0; align-content: center; }
.console__row { position: relative; padding: 10px 12px 10px 26px; border-radius: 10px; }
.console__row::before { content: ""; position: absolute; left: 10px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-mark); transform: scale(0); }
.console__row.is-on { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.05); }
.console__row.is-on::before { transform: none; }
.console__pick { display: block; width: 100%; min-height: 28px; padding: 0; border: 0; background: none; color: var(--text-2); font: 900 20px/1.2 var(--font-display); letter-spacing: -0.015em; text-align: left; cursor: pointer; }
.console__row.is-on .console__pick, .console__pick:hover { color: var(--ink); }
.console__rows dd { margin: 2px 0 0; color: var(--text-2); font: 400 15px/1.45 var(--font-sans); text-wrap: pretty; }
html:not(.js) .console__pick { color: var(--ink); cursor: default; }
@media (min-width: 960px) {
  .console { padding: 16px; }
  .console__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; padding: 8px; }
  .console__stage { aspect-ratio: 16 / 11; }
}

/* scene furniture */
.demo__frame { position: relative; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 4px var(--white), var(--shadow-contact); }
.demo__frame--tall { width: 32%; max-width: none; aspect-ratio: 9 / 16; border-radius: 10px; }
.demo__frame picture, .demo__frame img, .demo__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The panel scenes fill the stage: one white sheet, content at a readable size. */
.demo__panel { display: grid; gap: clamp(12px, 2vw, 20px); align-content: center; justify-items: center; width: 100%; height: 100%; padding: clamp(16px, 3vw, 36px); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-contact); }
.demo__panel > * { width: 100%; max-width: 480px; }
.demo__panel > .demo__keys, .demo__panel > .demo__cap, .demo__panel > .share__ready { width: auto; }
.demo__cap { display: grid; justify-items: center; color: var(--text-2); font: 500 13px/1.3 var(--font-mono); }
.demo__cap > * { grid-area: 1 / 1; }
.demo__a { opacity: 0; }
.demo__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.key-ui { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 8px; background: var(--sand); color: var(--ink); font: 600 14px/1 var(--font-sans); }
.key-ui--red { background: var(--red-mark); color: var(--white); }
.chips { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 300px); padding: 3px; border-radius: 999px; background: rgba(17, 17, 20, 0.06); }
.chips > span:not(.chips__pill) { position: relative; padding: 6px 4px; color: var(--ink); font: 600 12px/1 var(--font-sans); text-align: center; }
.chips__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: var(--white); box-shadow: 0 1px 2px rgba(60, 35, 20, 0.14); transform: translateX(200%); }
.chk { width: 18px; height: 18px; flex: none; }
.chk path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }

/* Picture: Looks. Each Look is its own grade AND its own caption and name style. */
.lk-img--1 img { filter: contrast(1.04); }
.lk-img--2 img { filter: saturate(1.4) contrast(1.08) brightness(1.05); }
.lk-img--3 img { filter: contrast(1.12) saturate(0.68) sepia(0.18); }
.lk { position: absolute; inset: 0; margin: 0; }
.lk--1, .lk--2 { opacity: 0; }
.lk__name, .lk__cap { position: absolute; white-space: nowrap; }
.lk__cap { left: 50%; transform: translateX(-50%); }
.lk--1 .lk__name { left: 4%; bottom: 25%; padding: 0.45em 0.7em; border-left: 3px solid var(--red-mark); background: var(--white); color: var(--ink); font: 600 clamp(9px, 1.1vw, 12px)/1 var(--font-sans); }
.lk--1 .lk__cap { bottom: 7%; padding: 0.35em 0.6em; border-radius: 4px; background: rgba(17, 17, 20, 0.74); color: var(--white); font: 600 clamp(10px, 1.25vw, 14px)/1.2 var(--font-sans); }
.lk--2 .lk__name { left: 4%; top: 7%; padding: 0.45em 0.8em; border-radius: 999px; background: var(--red-mark); color: var(--white); font: 700 clamp(9px, 1.1vw, 12px)/1 var(--font-sans); }
.lk--2 .lk__cap { bottom: 10%; padding: 0.2em 0.35em; background: var(--ink); color: var(--white); font: 900 clamp(13px, 1.9vw, 22px)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; }
.lk--2 .lk__cap b { padding: 0 0.15em; background: var(--red-mark); font-weight: 900; }
.lk--3::before { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(17, 17, 20, 0.62)); }
.lk--3 .lk__name { left: 5%; bottom: 25%; color: var(--white); font: 500 clamp(8px, 0.95vw, 11px)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.lk--3 .lk__cap { left: 5%; bottom: 9%; transform: none; color: var(--white); font: 900 clamp(12px, 1.6vw, 19px)/1.1 var(--font-display); letter-spacing: -0.02em; }

/* Picture: Fix light. The fixed frame is underneath; the dim warm "as filmed" copy slides off it,
   and its leading edge is a thin white line, so you watch the light change across the frame. */
.lt { position: absolute; inset: 0; overflow: hidden; transform: translateX(100%); }
.lt__in { position: absolute; inset: 0; transform: translateX(-100%); }
.lt__dim img { filter: brightness(0.6) sepia(0.4) saturate(0.85) contrast(0.86); }
.lt__edge { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--white); }
.sw { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 13px/1 var(--font-sans); }
.sw__t { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--red-mark); }
.sw__n { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(17, 17, 20, 0.3); transform: translateX(16px); }

/* Picture: Camera movement and Re-cut */
.demo__move, .demo__recut { position: absolute; inset: 0; }
.demo__move { transform: scale(1.34); transform-origin: 28% 40%; }
/* Pair B: the push lands on the man on the left (face at 420, 360 of 1264 x 720). */
.demo__move--b { transform-origin: 33% 50%; }
.demo__recut { transform-origin: 0 0; transform: translate(-2.624%, -4.128%) scale(1.486); }
.strips { display: grid; width: min(100%, 300px); }
.strip { grid-area: 1 / 1; display: flex; gap: 2px; height: 12px; padding: 0 1px; border-radius: 3px; background: var(--red-mark); opacity: 0; }
.strip--quick { opacity: 1; }
.strip i { flex: 1 1 0; border-radius: 2px; background: var(--ink); }
.strip i:nth-child(3n + 2) { background: #8C8C96; }
.strip i:nth-child(3n) { background: #C9BFB5; }
.strip--calm i:nth-child(1) { flex-grow: 3; } .strip--calm i:nth-child(2) { flex-grow: 4; } .strip--calm i:nth-child(3) { flex-grow: 3; }
.strip--bal i:nth-child(2n) { flex-grow: 1.5; }
.strip--quick i:nth-child(3n + 1) { flex-grow: 0.7; }

/* On screen */
.cap { position: absolute; left: 0; right: 0; bottom: 8%; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin: 0; padding: 0 8%; }
.cap > span { padding: 3px 6px; border-radius: 4px; background: rgba(17, 17, 20, 0.74); color: var(--white); font: 600 clamp(11px, 1.3vw, 15px)/1.2 var(--font-sans); }
.demo__frame--tall .cap { bottom: 20%; padding: 0 6%; }
.demo__frame--tall .cap > span { padding: 2px 5px; font-size: clamp(9px, 1.05vw, 13px); }
.cap__key { font-weight: 600; }
.cap > span:last-child { background: var(--red-mark); }
.gfx { position: absolute; left: 37%; top: 7%; width: 26%; display: grid; gap: 5px; padding: 9px 10px; border-radius: 6px; background: var(--white); box-shadow: 0 6px 18px -8px rgba(17, 17, 20, 0.5); }
.gfx__t { color: var(--ink); font: 900 clamp(9px, 1.1vw, 13px)/1.1 var(--font-display); }
.gfx__bar { height: 4px; border-radius: 2px; background: #B9B0A8; transform-origin: 0 50%; }
.gfx__bar:nth-of-type(3) { width: 80%; } .gfx__bar:nth-of-type(4) { width: 62%; }
/* Brand kit: the raw close-up, then the real Takeroom frame with the logo, name and caption, then the end card. */
.bk__cut { position: absolute; inset: 0; }
.bk__logo { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--red-mark); color: var(--white); font: 900 clamp(9px, 1.1vw, 13px)/1 var(--font-display); }
.bk__end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: var(--sand); opacity: 0; }
.bk__logo--end { width: 40px; height: 40px; font-size: 14px; }
.bk__name { color: var(--ink); font: 900 clamp(18px, 2.4vw, 28px)/1 var(--font-display); letter-spacing: -0.03em; }
.bk__sub { color: var(--text-2); font: 500 12px/1 var(--font-mono); }

/* Sound */
.snd { height: auto; }
.snd__hum { fill: none; stroke: #8C8C96; stroke-width: 1.2; }
.snd__humg { transform-box: fill-box; transform-origin: 50% 50%; transform: scaleY(0.06); opacity: 0.25; }
.snd__bar { fill: var(--ink); }
.snd__bar--b { fill: #5C5C66; }
.snd__b { transform-box: fill-box; transform-origin: 50% 50%; }
.meters { gap: 22px; }
.meter { display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px 44px; gap: 12px; align-items: center; }
.meter__k { color: var(--ink); font: 600 15px/1 var(--font-sans); }
.meter__rail { height: 8px; border-radius: 4px; background: var(--sand); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform: scaleX(0.82); transform-origin: 0 50%; }
.meter__v { color: var(--text-2); font: 500 13px/1 var(--font-mono); }

/* Timing: pauses. Talking is ink; pauses are pale red and shrink; the one put back turns solid red. */
.pzs { height: auto; overflow: visible; }
.sp { fill: var(--ink); }
.pz { fill: rgba(224, 16, 43, 0.3); }
.pz, .sp, .pz__row { transform-box: fill-box; transform-origin: 0 50%; }
.pz1 { transform: scaleX(0.25); }
.pz2 { fill: var(--red-mark); transform: translateX(-30px); }
.pz3 { transform: translateX(-30px) scaleX(0.27); }
.sp1, .sp2 { transform: translateX(-30px); }
.sp3 { transform: translateX(-52px); }
.pz__row { transform: translateX(26px); }
.pz__key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; color: var(--text-2); font: 500 13px/1 var(--font-sans); }
.pz__k { display: inline-flex; align-items: center; gap: 7px; }
.pz__k::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--ink); }
.pz__k--gap::before { background: rgba(224, 16, 43, 0.3); }
.pz__k--back::before { background: var(--red-mark); }
.takes { gap: 10px; }
.take { display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.take--2 { background: var(--blush); }
.take__k { color: var(--ink); font: 600 14px/1 var(--font-sans); }
.take__w { width: 100%; height: 30px; }
.take__bar { fill: var(--ink); }

/* Posting */
.clips__fan { position: relative; display: grid; place-items: center; }
.clip { grid-area: 1 / 1; display: grid; width: clamp(70px, 11vw, 116px); padding: 3px; border-radius: 9px; background: var(--white); box-shadow: 0 1px 2px rgba(60, 35, 20, 0.12), 0 12px 24px -14px rgba(60, 35, 20, 0.45); transform-origin: 50% 100%; }
.clip__pic { position: relative; aspect-ratio: 9 / 14; overflow: hidden; border-radius: 6px; background: var(--sand); }
.clip__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip--a .clip__pic img { object-position: 30% 30%; }
.clip--c .clip__pic img { object-position: 69% 40%; }
.clip__hook { padding: 5px 2px 2px; color: var(--ink); font: 500 clamp(9px, 1vw, 11px)/1.1 var(--font-mono); text-align: center; white-space: nowrap; }
.clip--a { transform: translateX(-112%) rotate(-7deg); }
.clip--c { transform: translateX(112%) rotate(7deg); }
.share__on { background: var(--ink); color: var(--white); }
.share__file { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 7px 12px; align-items: center; padding: 14px; border-radius: 10px; background: var(--sand); }
.share__icon { grid-row: span 3; width: 24px; height: 30px; border-radius: 3px; background: var(--red-mark); }
.share__name { color: var(--ink); font: 500 13px/1 var(--font-mono); }
.share__bar { height: 6px; border-radius: 3px; background: #C9BFB5; }
.share__bar--s { width: 64%; }
.share__ready { display: flex; align-items: center; gap: 6px; color: var(--ink); font: 600 14px/1 var(--font-sans); }

@media (prefers-reduced-motion: no-preference) {
  .console__panel.is-enter { animation: panel-in 240ms var(--ease-decel) both; }
  .console__panel.is-leave { animation: panel-out 240ms var(--ease-io) both; pointer-events: none; }
  .console__row::before { transition: transform 240ms var(--ease-cut); }
  .console__row { transition: background-color 200ms var(--ease-decel); }
  .console__pick { transition: color 150ms var(--ease-decel); }
  .demo { transition: opacity 220ms var(--ease-decel), visibility 0s linear 220ms; }
  .demo.is-on { transition: opacity 220ms var(--ease-decel), visibility 0s; }
  .ring__c.is-go { animation: ring 3200ms linear forwards; }
  .feats.is-paused .ring__c, .feats:not(.is-run) .ring__c { animation-play-state: paused; }
  .feats:not(.is-run) .demo *, .feats:not(.is-run) .demo *::before, .feats.is-paused .demo * { animation-play-state: paused !important; }
  .is-play .chips__pill { animation: chips3 3s var(--ease-emph) both; }
  .demo--looks.is-play .chips__pill, .demo--move.is-play .chips__pill { animation-duration: 4.2s; }
  .is-play .lk-img--2 { animation: lk-2 4.2s linear both; }
  .is-play .lk-img--3, .is-play .lk--3 { animation: lk-3 4.2s linear both; }
  .is-play .lk--1 { animation: lk-1 4.2s linear both; }
  .is-play .lk--2 { animation: lk-2o 4.2s linear both; }
  .is-play .lt { animation: lt-wipe 4.2s var(--ease-io) both; }
  .is-play .lt__in { animation: lt-in 4.2s var(--ease-io) both; }
  .is-play .sw__t { animation: sw-t 4.2s var(--ease-decel) both; }
  .is-play .sw__n { animation: sw-n 4.2s var(--ease-decel) both; }
  .is-play .demo__a { animation: cap-a 3s linear both; }
  .is-play .demo__b { animation: cap-b 3s linear both; }
  .is-play .demo__move { animation: move 4.2s var(--ease-io) both; }
  .is-play .demo__recut { animation: recut 3s step-end both; }
  .demo--brand.is-play .demo__recut { animation: none; }
  .is-play .strip--calm { animation: strip-1 3s linear both; }
  .is-play .strip--bal { animation: strip-2 3s linear both; }
  .is-play .strip--quick { animation: strip-3 3s linear both; }
  .is-play .cap > span { animation: word 160ms var(--ease-decel) both; }
  .is-play .cap > span:nth-child(2) { animation-delay: 180ms; }
  .is-play .cap > span:nth-child(3) { animation-delay: 360ms; }
  .is-play .cap > span:nth-child(4) { animation-delay: 540ms; }
  .is-play .cap > span:nth-child(5) { animation-delay: 720ms; }
  .is-play .cap > span:nth-child(6) { animation: word 160ms var(--ease-decel) 900ms both, lit 1.6s linear 900ms both; }
  .is-play .gfx { animation: gfx-in 1.2s var(--ease-decel) both; }
  .is-play .gfx__bar { animation: grow-x 240ms var(--ease-cut) 700ms both; }
  .is-play .gfx__bar:nth-of-type(3) { animation-delay: 780ms; }
  .is-play .gfx__bar:nth-of-type(4) { animation-delay: 860ms; }
  .is-play .bk__cut { animation: bk-cut 3s linear both; }
  .is-play .bk__end { animation: endcard 3s var(--ease-io) both; }
  .is-play .snd__humg { animation: hum 3s var(--ease-io) both; }
  .is-play .snd__b { animation: even 3s var(--ease-io) both; }
  .is-play .meter__fill { animation: meter 2.6s var(--ease-decel) both; }
  .is-play .meter + .meter .meter__fill { animation-delay: 200ms; }
  .is-play .chk path { animation: draw 3s var(--ease-cut) both; }
  .is-play .meter + .meter .chk path { animation-delay: 200ms; }
  .is-play .pz1 { animation: pz1 3s var(--ease-emph) both; }
  .is-play .pz2 { animation: pz2 3s var(--ease-emph) both; }
  .is-play .pz3 { animation: pz3 3s var(--ease-emph) both; }
  .is-play .sp1 { animation: sp1 3s var(--ease-emph) both; }
  .is-play .sp2 { animation: sp2 3s var(--ease-emph) both; }
  .is-play .sp3 { animation: sp3 3s var(--ease-emph) both; }
  .is-play .pz__row { animation: pz-row 3s var(--ease-emph) both; }
  .is-play .pz__k--back { animation: pz-back 3s linear both; }
  .demo--pauses.is-play .demo__a { animation-name: cap-a2; }
  .demo--pauses.is-play .demo__b { animation-name: cap-b2; }
  .is-play .take--2 { animation: take-pick 3s var(--ease-decel) both; }
  .is-play .clip--a { animation: fan-a 3s var(--ease-emph) both; }
  .is-play .clip--c { animation: fan-c 3s var(--ease-emph) both; }
  .is-play .clip--b { animation: fan-b 3s var(--ease-emph) both; }
  .is-play .clips__save { animation: tap-2 3s var(--ease-decel) both; }
  .is-play .share__on { animation: pick 3s linear both; }
  .is-play .share__file { animation: file-in 3s var(--ease-decel) both; }
  .is-play .share__ready { animation: ready 3s var(--ease-decel) both; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes panel-out { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ring { from { stroke-dashoffset: 128.8; } to { stroke-dashoffset: 0; } }
@keyframes chips3 { 0%, 26% { transform: none; } 34%, 60% { transform: translateX(100%); } 68%, 100% { transform: translateX(200%); } }
@keyframes lk-1 { 0%, 29% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes lk-2 { 0%, 29% { opacity: 0; } 33%, 100% { opacity: 1; } }
@keyframes lk-2o { 0%, 29% { opacity: 0; } 33%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes lk-3 { 0%, 62% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes lt-wipe { 0%, 24% { transform: none; } 76%, 100% { transform: translateX(100%); } }
@keyframes lt-in { 0%, 24% { transform: none; } 76%, 100% { transform: translateX(-100%); } }
@keyframes sw-t { 0%, 14% { background-color: rgba(17, 17, 20, 0.22); } 20%, 100% { background-color: var(--red-mark); } }
@keyframes sw-n { 0%, 14% { transform: none; } 20%, 100% { transform: translateX(16px); } }
@keyframes cap-a { 0%, 45% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes cap-b { 0%, 45% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes cap-a2 { 0%, 56% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes cap-b2 { 0%, 56% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes move { 0%, 24% { transform: none; } 33%, 58% { transform: scale(1.16); } 67%, 100% { transform: scale(1.34); } }
@keyframes recut {
  0% { transform: none; } 16% { transform: translate(-2.624%, -4.128%) scale(1.486); }
  33% { transform: translate(-45.97%, -4.128%) scale(1.486); } 44% { transform: none; } 55% { transform: translate(-2.624%, -4.128%) scale(1.486); }
  66% { transform: translate(-45.97%, -4.128%) scale(1.486); } 72% { transform: translate(-2.624%, -4.128%) scale(1.486); } 78% { transform: none; }
  84% { transform: translate(-45.97%, -4.128%) scale(1.486); } 90%, 100% { transform: translate(-2.624%, -4.128%) scale(1.486); }
}
@keyframes strip-1 { 0%, 28% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes strip-2 { 0%, 28% { opacity: 0; } 33%, 61% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes strip-3 { 0%, 61% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes word { from { opacity: 0; transform: translateY(4px); } }
@keyframes lit { 0%, 30% { background-color: rgba(17, 17, 20, 0.74); } 40%, 100% { background-color: var(--red-mark); } }
@keyframes gfx-in { 0%, 30% { opacity: 0; transform: translateY(14px); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes bk-cut { 0%, 26% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes endcard { 0%, 52% { opacity: 0; } 60%, 90% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes hum { 0%, 14% { transform: none; opacity: 1; } 38%, 100% { transform: scaleY(0.06); opacity: 0.25; } }
@keyframes even { 0%, 40% { transform: scaleY(0.5); } 58%, 100% { transform: none; } }
@keyframes meter { from { transform: scaleX(0); } 30%, to { transform: scaleX(0.82); } }
@keyframes draw { 0%, 30% { stroke-dashoffset: 16; } 40%, 100% { stroke-dashoffset: 0; } }
/* Pauses: all three shrink (14-32%), then the middle one is put back (56-70%). The row stays centred. */
@keyframes pz1 { 0%, 14% { transform: none; } 32%, 100% { transform: scaleX(0.25); } }
@keyframes pz3 { 0%, 14% { transform: none; } 32%, 56% { transform: translateX(-57px) scaleX(0.27); } 70%, 100% { transform: translateX(-30px) scaleX(0.27); } }
@keyframes pz2 { 0%, 14% { transform: none; fill: rgba(224, 16, 43, 0.3); } 32%, 56% { transform: translateX(-30px) scaleX(0.25); fill: rgba(224, 16, 43, 0.3); } 62% { fill: var(--red-mark); } 70%, 100% { transform: translateX(-30px); fill: var(--red-mark); } }
@keyframes sp1 { 0%, 14% { transform: none; } 32%, 100% { transform: translateX(-30px); } }
@keyframes sp2 { 0%, 14% { transform: none; } 32%, 56% { transform: translateX(-57px); } 70%, 100% { transform: translateX(-30px); } }
@keyframes sp3 { 0%, 14% { transform: none; } 32%, 56% { transform: translateX(-79px); } 70%, 100% { transform: translateX(-52px); } }
@keyframes pz-row { 0%, 14% { transform: none; } 32%, 56% { transform: translateX(39.5px); } 70%, 100% { transform: translateX(26px); } }
@keyframes pz-back { 0%, 52% { color: var(--text-2); } 56%, 100% { color: var(--ink); } }
@keyframes take-pick { 0%, 30% { background-color: transparent; } 42%, 100% { background-color: var(--blush); } }
@keyframes tap-2 { 0%, 52% { transform: none; } 56% { transform: scale(0.96); } 62%, 100% { transform: none; } }
@keyframes fan-a { 0%, 10% { transform: none; } 34%, 100% { transform: translateX(-112%) rotate(-7deg); } }
@keyframes fan-c { 0%, 12% { transform: none; } 36%, 100% { transform: translateX(112%) rotate(7deg); } }
@keyframes fan-b { 0%, 14% { transform: none; } 38%, 100% { transform: translateY(-6px); } }
@keyframes pick { 0%, 15% { background-color: var(--sand); color: var(--ink); } 22%, 100% { background-color: var(--ink); color: var(--white); } }
@keyframes file-in { 0%, 28% { opacity: 0; transform: translateY(6px); } 40%, 100% { opacity: 1; transform: none; } }
@keyframes ready { 0%, 52% { opacity: 0; transform: translateY(4px); } 62%, 100% { opacity: 1; transform: none; } }

/* == Privacy: the title and a 7-day timeline on the left, the five facts as glass rows on the
   right. The timeline's base styles are its last frame (day 7: the phone copy saved, the upload
   gone), so no JS and reduced motion show the true end state. With motion it plays once, about
   5 s, as it comes into view: day 1 to day 7, then the upload tile empties. */
.trust__grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.trust__title { max-width: 18ch; font: 900 clamp(34px, 4.4vw, 60px)/1 var(--font-display); letter-spacing: var(--track-display); text-wrap: balance; }
.vault { display: grid; gap: 14px; margin: clamp(24px, 3vw, 36px) 0 0; padding: clamp(16px, 2vw, 24px); border-radius: 16px; }
.vault__lane { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.6); }
.vault__k { color: var(--ink); font: 600 15px/1.3 var(--font-sans); }
.vault__tile { position: relative; width: clamp(72px, 9vw, 104px); aspect-ratio: 16 / 9; border-radius: 6px; }
.vault__pic { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: var(--sand); box-shadow: 0 1px 2px rgba(60, 35, 20, 0.14), 0 6px 14px -8px rgba(60, 35, 20, 0.4); }
.vault__pic picture, .vault__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The emptied slot: a dashed outline where the upload was (nothing is drawn over footage). */
.vault__tile--up::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed rgba(224, 16, 43, 0.55); border-radius: 6px; }
.vault__tile--up .vault__pic { clip-path: inset(0 0 100% 0); opacity: 0; }
.vault__state { display: inline-flex; align-items: center; gap: 6px; min-width: 76px; color: var(--ink); font: 500 13px/1 var(--font-mono); }
.vault__chk { width: 16px; height: 16px; flex: none; }
.vault__chk path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }
.vault__swap { display: inline-grid; }
.vault__swap > * { grid-area: 1 / 1; }
.vault__s1 { opacity: 0; }
.vault__s2 { color: var(--red-text); }
.vault__track { position: relative; height: 8px; margin: 10px 4px 0; border-radius: 4px; background: rgba(17, 17, 20, 0.08); }
.vault__fill { position: absolute; inset: 0; border-radius: 4px; background: var(--red-mark); transform-origin: 0 50%; }
.vault__ticks { position: absolute; inset: 0; display: flex; justify-content: space-evenly; }
.vault__ticks i { width: 2px; height: 100%; background: rgba(255, 255, 255, 0.75); }
/* The head is a track-wide layer that slides (transform only); its dot sits at its right end. */
.vault__head { position: absolute; inset: 0; }
.vault__head::after { content: ""; position: absolute; top: 50%; right: 0; width: 14px; height: 14px; margin: -7px -7px 0 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--red-mark), 0 2px 6px rgba(60, 35, 20, 0.3); }
.vault__days { display: flex; justify-content: space-between; color: var(--text-2); font: 500 12px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
/* The day number is an animatable integer (@property), so it counts 1 to 7 with the track. */
@property --day { syntax: "<integer>"; inherits: false; initial-value: 7; }
.vault__day { counter-reset: day var(--day); }
.vault__day::after { content: counter(day); }
.trust__rows { display: grid; gap: 4px; margin: 0; padding: 8px; border-radius: 18px; list-style: none; }
.trust__rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 14px 14px 12px; border-radius: 12px; }
@media (hover: hover) { .trust__rows li:hover { background: rgba(255, 255, 255, 0.7); } }
.trust__ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blush); fill: none; stroke: var(--red-mark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust__rows h3 { font: 600 17px/1.3 var(--font-sans); }
.trust__rows p { margin-top: 4px; color: var(--text-2); font: 400 15px/1.5 var(--font-sans); text-wrap: pretty; }
.trust__rows a, .trust__link { color: var(--red-text); }
.trust__link { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 12px; font: 600 15px/1 var(--font-sans); }
@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(48px, 5vw, 88px); align-items: center; }
}
@media (max-width: 479px) {
  .vault__lane { grid-template: "k tile" auto "s tile" auto / minmax(0, 1fr) auto; row-gap: 8px; }
  .vault__k { grid-area: k; align-self: end; }
  .vault__tile { grid-area: tile; }
  .vault__state { grid-area: s; align-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .trust__rows li { transition: background-color 200ms var(--ease-decel); }
  html.js .vault :is(.vault__fill, .vault__head, .vault__day, .vault__pic, .vault__s1, .vault__s2, .vault__chk path) { animation-duration: 5.2s; animation-fill-mode: both; animation-play-state: paused; }
  html.js .vault__fill { animation-name: v-fill; animation-timing-function: steps(6, end); }
  html.js .vault__head { animation-name: v-head; animation-timing-function: steps(6, end); }
  html.js .vault__day { animation-name: v-day; animation-timing-function: steps(6, end); }
  html.js .vault__tile--up .vault__pic { animation-name: v-empty; animation-timing-function: var(--ease-cut); }
  html.js .vault__s1 { animation-name: v-s1; animation-timing-function: linear; }
  html.js .vault__s2 { animation-name: v-s2; animation-timing-function: linear; }
  html.js .vault__chk path { animation-name: v-chk; animation-timing-function: var(--ease-cut); }
  html.js .trust.is-run .vault :is(.vault__fill, .vault__head, .vault__day, .vault__pic, .vault__s1, .vault__s2, .vault__chk path) { animation-play-state: running; }
}
/* Day 1 (one segment) holds 0.4 s, then a day every 0.7 s to day 7 at 4.6 s (88.5% of 5.2 s).
   Track, head and number share one steps(6) curve, so the number always matches the segments. */
@keyframes v-fill { 0%, 8% { transform: scaleX(0.142857); } 88.5%, 100% { transform: scaleX(1); } }
@keyframes v-head { 0%, 8% { transform: translateX(-85.7143%); } 88.5%, 100% { transform: none; } }
@keyframes v-day { 0%, 8% { --day: 1; } 88.5%, 100% { --day: 7; } }
@keyframes v-empty { 0%, 86% { clip-path: inset(0 0 0 0 round 6px); opacity: 1; } 97%, 100% { clip-path: inset(0 0 100% 0 round 6px); opacity: 0; } }
@keyframes v-s1 { 0%, 88% { opacity: 1; } 91%, 100% { opacity: 0; } }
@keyframes v-s2 { 0%, 90% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes v-chk { 0%, 4% { stroke-dashoffset: 16; } 14%, 100% { stroke-dashoffset: 0; } }

/* == FAQ: the title holds still on the left; the questions are rows (dividers belong to the controls) */
.faq__in { display: grid; gap: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font: 600 clamp(16px, calc(0.8rem + 0.4vw), 19px)/1.35 var(--font-sans); }
.faq__item summary:hover h3 { color: var(--red-text); }
.faq__plus { position: relative; flex: none; width: 14px; height: 14px; margin-right: 4px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 1px; background: var(--ink); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__a { padding: 0 48px 22px 0; }
.faq__a p { max-width: 62ch; color: var(--text-2); font: 400 16px/1.6 var(--font-sans); }
.faq__a a { color: var(--red-text); }
@media (min-width: 1024px) {
  .faq__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .faq__title { position: sticky; top: 96px; }
}

/* == Closing: the cut band rhymes with the hero, then the last word and the sign-up */
.closing { padding-bottom: clamp(56px, 6vw, 96px); }
/* The footer sits on the closing's sand, full-bleed, so the page ends on one ground. */
.closing.ground--lit { background: linear-gradient(transparent 62%, var(--sand)); }
main:has(.closing) ~ .site-foot { margin-top: 0; background: var(--sand); box-shadow: 0 0 0 100vmax var(--sand); clip-path: inset(0 -100vmax); }
/* The closing card: one glass surface over the lit field. */
.closing__in { display: grid; gap: 28px; padding: clamp(24px, 4vw, 56px); border-radius: 20px; }
.closing__title { font: 900 clamp(40px, 5.2vw, 84px)/0.96 var(--font-display); letter-spacing: var(--track-display); text-wrap: balance; }
.closing__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 16px; color: var(--text-2); font: 400 15px/1.5 var(--font-sans); }
.closing__ask a { color: var(--red-text); }
@media (min-width: 1024px) {
  .closing__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
}
.closing__demo { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--red-text); font: 600 15px/1 var(--font-sans); }
.closing__demo:hover { color: var(--ink); }

.site-foot { margin-top: 0; background: var(--sand); box-shadow: 0 0 0 100vmax var(--sand); clip-path: inset(0 -100vmax); }
.closing__in { display: grid; gap: 28px; }
.closing__title { font: 900 clamp(44px, 5.2vw, 88px)/0.96 var(--font-display); letter-spacing: var(--track-display); text-wrap: balance; }
.closing__ask { margin-top: 20px; color: var(--text-2); font: 400 15px/1.5 var(--font-sans); }
.closing__ask a { color: var(--red-text); }
@media (min-width: 1024px) {
  .closing__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
}

.site-foot { max-width: calc(var(--page-max) + 2 * var(--gutter)); padding-bottom: 88px; }

/* == Motion for the sections (only when welcome) */
@media (prefers-reduced-motion: no-preference) {
  .faq__plus { transition: transform 240ms var(--ease-cut); }

  /* M1 reveal: the hidden state exists only here, and site.js marks anything already on screen
     before it turns html.js on. */
  html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }
  html.js [data-reveal] { transition: opacity 560ms var(--ease-cut), transform 640ms var(--ease-cut); }
  html.js .r2 { transition-delay: 60ms; }
  html.js .r3 { transition-delay: 120ms; }

  /* M10: an answer settles in as it opens; where details content can animate, it grows too. */
  @supports (interpolate-size: allow-keywords) {
    .faq__item { interpolate-size: allow-keywords; }
    .faq__item::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease-cut), content-visibility 300ms allow-discrete; }
    .faq__item[open]::details-content { height: auto; }
  }
  .faq__item summary h3 { transition: color var(--dur-hover) var(--ease-decel), transform 240ms var(--ease-cut); }
  .faq__item summary:hover h3 { transform: translateX(4px); }
  .faq__item[open] .faq__a { animation: rise-in 260ms var(--ease-cut); }

  /* M5 settle: a big frame grows into place as it enters (transform only). */
  @supports (animation-timeline: view()) {
    .settle { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes settle { from { transform: scale(0.94); } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }

/* == Phones: a denser rhythm */
@media (max-width: 759px) {
  .compare__body p { font-size: 15px; line-height: 1.55; }
  .faq__a { padding-right: 24px; }
  .site-foot { padding-top: 32px; }
}
@media (max-width: 559px) {
  .compare__bar { flex-wrap: nowrap; }
  .compare__shots { gap: 8px 18px; }
  .console { margin-inline: -8px; padding: 8px; border-radius: 14px; }
  .seg--5 button { padding: 0 2px; font-size: 13px; }
  .console__stage { padding: 12px; }
  .console__row { padding: 8px 10px 8px 24px; }
  .console__row::before { left: 9px; top: 19px; }
  .console__pick { font-size: 18px; }
  .console__rows dd { font-size: 14px; }
  .demo__panel { padding: 16px; }
}
/* 320-399: five tabs share about 56-66 px each, so a two-word label wraps onto two lines
   inside its own button instead of running past it. */
@media (max-width: 399px) {
  .seg--5 button { padding: 4px 1px; font-size: 12px; line-height: 1.1; white-space: normal; overflow-wrap: normal; }
}
