/* Hallmark · shape: Workbench · genre: atmospheric · theme: brand · redesign: full · copy: verbatim · job: book
 * paper: oklch(14% 0.008 270) · accent: oklch(52% 0.07 195) · display: Space Grotesk · body: Geist · hero: Settled, the interface opening up from below · nav: edge-aligned bar, wordmark, three links, one action · footer: mast, the wordmark over the links · signature: the real StudioLot interface tilting flat as you scroll, then seven pinned stages playing the real app recordings
 * axes: dark/grotesk-sans/cool · posture: one teal signal on near-black · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the product recordings carry every section so nothing could belong to another tool */
/* Hallmark · dropped "🎬" · 30a names the emoji icon on the form's done state */
/* Hallmark · waive 44c · the hero is a Settled posture with the product window opening up below the fold · the owner asked to keep the interface rising from the bottom of the first screen */
/* Hallmark · waive 79 · the space under the actions holds the tilted product window, which the measure does not count · the interface opening up from below is the owner's chosen hero */
/* Hallmark · waive 38iii · the accented word is "film." in the hero h1, once on the page · the owner asked for a quirk in the hero line, so the second line drops to a lighter weight and film takes the teal */
/* Hallmark · dropped the aurora blobs · 29 names them */
@import url("./hallmark-tokens.css?v=8");
@import url("./hallmark-base.css?v=6");

:root {
  --color-paper-glass: color-mix(in oklab, var(--color-paper) 86%, transparent);
  --color-ink-faint: color-mix(in oklab, var(--color-ink) 8%, transparent);
  --color-accent-wash: color-mix(in oklab, var(--color-accent-bright) 12%, transparent);
  --color-media: var(--color-canvas);
  --nav-h: 64px;
  --nav-h-top: 88px;
  --color-soft: color-mix(in oklab, var(--color-ink) 8%, transparent);
  --color-soft-hover: color-mix(in oklab, var(--color-ink) 13%, transparent);
  --color-chip-on: var(--color-ink);
  --text-nav: var(--text-sm);
  --ease-nav: cubic-bezier(0.33, 1, 0.68, 1);
  --color-glass: color-mix(in oklab, var(--color-paper) 90%, transparent);
  --color-brand-lift: color-mix(in oklab, var(--color-accent) 82%, var(--color-accent-bright));
  --color-brand-glow: color-mix(in oklab, var(--color-accent) 45%, transparent);
  --color-glow-bright: color-mix(in oklab, var(--color-accent-bright) 40%, transparent);
  --color-el-loc: oklch(75% 0.12 80);
  --color-el-prop: oklch(70% 0.14 300);
}

/* ---------- chrome ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

/* nav: overlays the page at full width; on scroll it tightens and a hairline fades in (no layout shift) */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); height: var(--nav-h-top); background: var(--color-glass); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-bottom: var(--rule-hair) solid transparent; transition: height 300ms var(--ease-nav), border-color 300ms var(--ease-nav); }
.nav[data-scrolled] { height: var(--nav-h); border-bottom-color: var(--color-rule); }
.nav-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-lg); height: 100%; }
.logo { justify-self: start; }
.nav-links a[aria-current="page"] { color: var(--color-ink); background: var(--color-soft); }
.logo { display: inline-flex; align-items: center; gap: var(--space-xs); padding-inline: var(--space-2xs); text-decoration: none; font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; border-radius: var(--radius-input); }
.logo img { width: 28px; height: 28px; }
.logo img, .mast img { border-radius: 50%; }
.logo em, .mast em { font-style: normal; color: var(--color-accent-bright); }
.nav-links { display: flex; gap: var(--space-2xs); }
.nav-links a { padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-input); font-size: var(--text-nav); color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav-links a:hover { color: var(--color-ink); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: var(--space-2xs); }
.nav .btn--sm { font-size: var(--text-nav); }
.nav-links a:focus-visible, .logo:focus-visible, .mast:focus-visible, .footer nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- controls: soft flat pills; teal only on the primary action, solid ink on a selected chip ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-soft); color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.btn svg { transition: transform var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-soft-hover); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { opacity: 0.8; transition-duration: var(--dur-micro); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-brand-lift); }
/* secondary is the default soft fill; --quiet kept as an alias for existing markup */
.btn--ghost { background: transparent; color: var(--color-ink-2); }
.btn--ghost:hover { background: var(--color-soft); color: var(--color-ink); }

/* ---------- hero: centred copy, the product opens up from below ---------- */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--nav-h-top) + var(--space-3xl)); overflow: clip; }
.hero-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; color: var(--color-ink); --field-accent: var(--color-accent-bright);
  /* keep the whole copy block clear (headline, sentence and both actions); fade out before the product video */
  mask: radial-gradient(ellipse 34% 20% at 50% 30%, transparent 60%, var(--color-ink) 100%), linear-gradient(var(--color-ink) 45%, transparent 70%); mask-composite: intersect; }
.hero-copy { display: grid; justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 4.5vw + 1rem, 5.5rem); line-height: 1; letter-spacing: -0.05em; max-width: none; margin-inline: auto; overflow-wrap: break-word; min-width: 0; }
.hero h1 .line { display: block; }
.hero h1 .line.soft { font-weight: 500; letter-spacing: -0.035em; }
.hero h1 .w { display: inline-block; }
.hero h1 .accent { color: var(--color-accent-bright); }
.eyebrow { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-ink-faint); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.hero .eyebrow { margin-bottom: var(--space-lg); }
.hero .lead { margin-top: var(--space-xl); color: var(--color-ink-2); max-width: 64ch; margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xl); }
.stage3d { perspective: 1600px; margin-block: var(--space-2xl) 0; }
.appwin { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--color-media); outline: var(--rule-hair) solid var(--color-rule); }
.ratio { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ratio > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#heroWin { max-width: 1200px; margin-inline: auto; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, 0.94)); transform-origin: 50% 0; box-shadow: 0 40px 120px -40px var(--color-brand-glow); }
.js #heroWin { transition: transform var(--dur-micro) linear; }

.models { display: grid; justify-items: center; gap: var(--space-lg); padding-block: var(--space-2xl) var(--space-xl); }
.models p { font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, var(--color-ink) 12%, var(--color-ink) 88%, transparent); }
.models ul { display: flex; gap: var(--space-sm); width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 36s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.models li { display: grid; place-items: center; min-width: 168px; height: 64px; padding: 0 var(--space-lg); font: 500 var(--text-xl)/1 var(--font-display); color: var(--color-muted); letter-spacing: -0.015em; }
.models li.own { color: var(--color-ink); }
@keyframes slide { to { transform: translateX(calc(-50% - var(--space-sm) / 2)); } }
@media (prefers-reduced-motion: reduce) { .models ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .models li[aria-hidden="true"] { display: none; } .marquee { mask-image: none; } }

/* one entrance, words only, visible without script */
@keyframes rise { from { opacity: 0; transform: translateY(0.3em); } to { opacity: 1; transform: none; } }
.js .hero h1 .w { animation: rise var(--dur-long) var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }

/* ---------- section heads ---------- */
.formats-split, .features, .showcase, .faq, .demo { padding-block: var(--section-gap-s); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-lg); padding-bottom: var(--space-lg); margin-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.section-head .side { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- two formats: twin stages of equal size, the frame shape lives inside ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.fmt { display: grid; grid-template-rows: auto 1fr; gap: var(--space-xl); }
.fmt-frame { margin: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 4 / 3; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-canvas); outline: var(--rule-hair) solid var(--color-rule); overflow: hidden; }
.fmt-frame video { display: block; max-width: 100%; max-height: 100%; object-fit: cover; background: var(--color-media); box-shadow: 0 30px 80px -30px var(--color-brand-glow); }
.fmt-frame--vertical video { width: auto; height: 100%; aspect-ratio: 9 / 16; border-radius: 22px; outline: 4px solid var(--color-ink-faint); }
.fmt-frame--wide video { width: 100%; aspect-ratio: 2.39 / 1; border-radius: var(--radius-input); }
.fmt-copy { display: flex; flex-direction: column; align-items: flex-start; }
.fmt-copy h3 { margin-top: var(--space-md); font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -0.025em; overflow-wrap: break-word; min-width: 0; }
.fmt-copy > p:not(.eyebrow) { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 44ch; }
.points { display: grid; gap: var(--space-xs); margin: var(--space-lg) 0 0; padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); width: 100%; }
.points li { padding-left: var(--space-lg); position: relative; color: var(--color-ink-2); font-size: var(--text-sm); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 2px; background: var(--color-accent-bright); }
.more { margin-top: auto; padding-top: var(--space-lg); font-weight: 600; color: var(--color-ink); text-decoration: none; border-radius: var(--radius-input); }
.more:hover { color: var(--color-accent-bright); }
.more:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- how it works: pinned steps, copy left, the real recording right; plays on its own, scroll fast-forwards ---------- */
.js .pin { position: relative; height: calc(5 * 90svh + 100svh); }
.feat-stage { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); align-items: center; column-gap: var(--space-2xl); padding: var(--space-lg) max(var(--gutter), (100vw - 1720px) / 2); }
.js .feat-stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); box-sizing: border-box; }
.feat-copy { display: grid; justify-items: start; }
.how-h { font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -0.025em; max-width: 16ch; overflow-wrap: break-word; min-width: 0; }
.fc-stack { display: grid; width: 100%; margin-top: var(--space-2xl); gap: var(--space-xl); }
.js .fc-stack { gap: 0; }
.js .fc { grid-area: 1 / 1; opacity: 0; translate: 0 12px; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), translate var(--dur-long) var(--ease-out), visibility 0s var(--dur-long); }
.js .fc.on { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.fc-eyebrow { display: flex; gap: var(--space-sm); align-items: baseline; font: 500 var(--text-2xl)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
.fc-eyebrow span { font: 500 var(--text-sm)/1 var(--font-body); color: var(--color-accent-bright); font-variant-numeric: tabular-nums; }
.fc-p { margin-top: var(--space-md); font-size: var(--text-lg); line-height: 1.5; color: var(--color-ink-2); max-width: 34ch; }
.fc-dashes { display: flex; gap: var(--space-xs); margin-top: var(--space-2xl); }
html:not(.js) .fc-dashes { display: none; }
.dash { width: 28px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dash::before, .dash i { grid-area: 1 / 1; content: ""; height: 3px; border-radius: var(--radius-pill); }
.dash::before { background: var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }
.dash:hover::before { background: var(--color-muted); }
.dash i { background: var(--color-accent-bright); transform: scaleX(0); transform-origin: 0 50%; }
.dash[aria-selected="true"] { width: 48px; }
.dash:not([aria-selected="true"]) i { transform: scaleX(0) !important; }
.dash:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-input); }
.assist-line { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); max-width: 34ch; }
.feat-art { display: grid; align-self: center; aspect-ratio: 16 / 10; max-height: 100%; max-width: 100%; overflow: hidden; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-media); box-shadow: 0 40px 120px -60px var(--color-brand-glow); }
.feat-art > video { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.feat-art > video.on, html:not(.js) .feat-art > video:first-child { opacity: 1; }

/* ---------- showcase ---------- */
.showcase { background: var(--color-canvas); border-block: var(--rule-hair) solid var(--color-rule); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs); padding: var(--space-2xs); margin-bottom: var(--space-xl); border-radius: var(--radius-pill); background: var(--color-soft); }
.tab { min-height: 40px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.tab:hover { color: var(--color-ink); }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tab[aria-selected="true"] { background: var(--color-chip-on); color: var(--color-paper); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md); align-items: start; }
.tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-2); }
.tile video.contain { object-fit: contain; }
.tile figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* kept for crawlers and screen readers (brief IX) */
.tile video { display: block; width: 100%; height: 100%; object-fit: cover; background: black; transition: transform var(--dur-long) var(--ease-out); }
.tile:hover video { transform: scale(1.03); }
.tile.r9x16 { grid-column: span 3; aspect-ratio: 9 / 16; }
.tile.r16x9 { grid-column: span 6; aspect-ratio: 16 / 9; }
.tile.r21x9 { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.tile.r1x1 { grid-column: span 4; aspect-ratio: 1; }
.panel-h { grid-column: 1 / -1; font: 500 var(--text-lg)/1.3 var(--font-body); color: var(--color-muted); }
.panel + .panel { margin-top: var(--space-xl); }
.js .panel-h, html:not(.js) .tabs { display: none; }
.panel[hidden] { display: none; }
.js .panel + .panel { margin-top: 0; }
.tile.empty { display: grid; place-items: end start; padding: var(--space-md); background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper)); box-shadow: inset 0 1px 0 var(--color-ink-faint); }
.tile.empty span { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-soft); color: var(--color-ink-2); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.faq-layout h2 { position: sticky; top: calc(var(--nav-h) + var(--space-lg)); }
.faq-item { border-top: var(--rule-hair) solid var(--color-rule); }
.faq-item:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-lg) 0; list-style: none; font: 500 var(--text-lg)/1.35 var(--font-body); color: var(--color-ink); cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-accent-bright); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-input); }
.faq-item svg { flex: none; color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.faq-item[open] svg { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--space-lg); color: var(--color-ink-2); max-width: 60ch; }

/* ---------- demo ---------- */
html:not(.js) .demo-card { display: none; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
/* top of the heading lines up with the question, below the progress dots */
.demo-copy { padding-top: calc(3px + var(--space-xl)); }
.demo-copy p { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 36ch; font-size: var(--text-lead); }
.demo-card { position: relative; display: flex; flex-direction: column; gap: var(--space-xl); color: var(--color-ink); }
.dots { display: flex; gap: var(--space-2xs); }
.dots i { width: 48px; height: 3px; border-radius: var(--radius-pill); background: var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }
.dots i.on { background: var(--color-accent-bright); }
.step { display: none; flex-direction: column; gap: var(--space-md); }
.step.active { display: flex; }
.step label, .step h3 { font: var(--display-weight) var(--text-3xl)/1.1 var(--font-display); letter-spacing: -0.025em; }
/* done state mirrors .demo-copy's type so both columns share a baseline */
.step.done { gap: var(--space-lg); }
.step.done h3 { font-size: var(--text-section); line-height: 1.05; }
.step.done p { color: var(--color-ink-2); max-width: 36ch; font-size: var(--text-lead); }
.step.done:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.field { width: 100%; min-height: 64px; padding: 0 var(--space-lg); background: var(--color-paper-2); color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: var(--radius-input); font: 500 var(--text-xl)/1.2 var(--font-display); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.field::placeholder { color: var(--color-muted); }
.field:hover { border-color: var(--color-muted); }
.field:focus-visible { outline: none; border-color: var(--color-accent-bright); box-shadow: 0 0 0 3px var(--color-glow-bright); }
.field[aria-invalid="true"] { border-color: var(--color-error); }
.field:disabled { opacity: 0.55; cursor: not-allowed; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.choice { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-soft); font-weight: 500; color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.choice:hover { background: var(--color-soft-hover); color: var(--color-ink); }
.choice:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice[aria-pressed="true"] { background: var(--color-chip-on); color: var(--color-paper); }
.err { min-height: 1.5em; font-size: var(--text-sm); color: var(--color-error); }
.err:empty { display: none; }
.step-nav { display: flex; align-items: center; gap: var(--space-sm); }
.step-count { margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- footer ---------- */
.footer { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: var(--space-xl) var(--gap-columns); }
.mast { display: inline-flex; align-items: center; gap: var(--space-md); text-decoration: none; font: 600 clamp(2rem, 3vw, 3rem)/1 var(--font-display); letter-spacing: var(--tracking-display); border-radius: var(--radius-input); }
.mast img { width: clamp(40px, 3vw, 48px); height: auto; }
.tagline { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 40ch; }
.company { margin-top: var(--space-lg); font-style: normal; font-size: var(--text-sm); line-height: 1.6; color: var(--color-muted); }
.company b { font-weight: 500; color: var(--color-ink-2); }
.foot-col h3 { font: 500 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.foot-col ul { display: grid; gap: var(--space-sm); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.foot-col a { color: var(--color-ink-2); text-decoration: none; border-radius: var(--radius-input); transition: color var(--dur-short) var(--ease-out); }
.foot-col a:hover { color: var(--color-accent-bright); }
.foot-col a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .faq-layout, .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout h2 { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-3xl); }
  /* still pinned on small screens: heading, step copy, then the recording, all inside one screen */
  .feat-stage { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: var(--space-lg); padding-inline: var(--gutter); }
  .feat-art { width: 100%; }
  .fc-stack { margin-top: var(--space-lg); }
  .fc-dashes { margin-top: var(--space-lg); }
  .how-h { font-size: var(--text-2xl); }
  .fc-eyebrow { font-size: var(--text-xl); }
  .fc-p { font-size: var(--text-md); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .tile.r9x16 { grid-column: span 6; }
  .tile.r16x9, .tile.r1x1 { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .nav-bar { display: flex; justify-content: space-between; }
  .nav-links { display: none; }
  .demo-copy { padding-top: 0; }
  .step-count { display: none; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .tabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--space-lg); }
  .tab { flex: 1 0 auto; min-height: 36px; padding: 0 10px; font-size: var(--text-xs); }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w { animation: none; }
  #heroWin { transform: none; }
  .nav { transition: none; }
}
@media (max-width: 64rem) { .nav-links { display: none; } .nav-bar { display: flex; justify-content: space-between; } }

/* mobile menu (built in site.js): replaces the nav's demo button below 64rem; without JS the button stays */
.nav-toggle { display: none; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-toggle:hover { background: var(--color-soft); }
.nav-toggle:focus-visible, .nav-menu a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav-menu { position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column; padding: var(--space-sm) var(--space-lg) var(--space-xl); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); animation: nav-menu-in 200ms var(--ease-nav); }
.nav-menu[hidden] { display: none; }
.nav-menu a:not(.btn) { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font: 500 var(--text-lg)/1.3 var(--font-display); color: var(--color-ink-2); text-decoration: none; }
.nav-menu a[aria-current="page"] { color: var(--color-ink); }
.nav-menu .btn { margin-top: var(--space-lg); justify-content: center; }
.nav[data-menu] { border-bottom-color: var(--color-rule); }
@keyframes nav-menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 64rem) {
  .nav-toggle { display: grid; }
  .js .nav-actions .btn { display: none; }
}
@media (min-width: 64.0625rem) { .nav-menu { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-menu { animation: none; } .nav-toggle span { transition: none; } }

/* ---------- abstract product stand-ins: what each stage produces, drawn plainly; no chrome, no inner cards ---------- */
.mock { position: relative; display: grid; align-content: center; gap: var(--space-md); min-width: 0; min-height: 0; height: 100%; padding: var(--space-xl); box-sizing: border-box; text-align: left; }
.mock figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-xs); min-height: 0; margin: 0; }
.mock figure img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius-input); background: var(--color-paper-3); }
.mock figcaption, .mock-note { font-size: var(--text-xs); color: var(--color-muted); }
/* one stage at a time: stacked mocks crossfade on .on */
.mock-stack { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.mock-stack > .mock { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s var(--dur-long); }
.mock-stack > .mock.on { opacity: 1; visibility: visible; transition-delay: 0s; }
/* items appear in sequence each time the mock becomes active */
.mock.on [style*="--d"] { animation: appear var(--dur-long) var(--ease-out) both; animation-delay: var(--d); }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }

/* shared pieces: a request, a status with its progress line, a reply */
.mc-user { justify-self: end; max-width: 80%; padding: var(--space-xs) var(--space-sm); border-radius: 12px 12px 4px 12px; background: var(--color-soft); font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink); }
.mc-status { display: grid; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-accent-bright); }
.mc-bar, .ha-bar { height: 2px; border-radius: var(--radius-pill); background: var(--color-rule); overflow: hidden; }
.mc-bar::before, .ha-bar::before { content: ""; display: block; height: 100%; background: var(--color-accent-bright); transform-origin: 0 50%; animation: fill var(--fill, 3s) linear both; }
.mc-bar::before { animation-iteration-count: infinite; }
@keyframes fill { from { transform: scaleX(0); } }
.mc-ctx { font-size: var(--text-xs); color: var(--color-muted); }
.mc-reply { display: grid; gap: var(--space-xs); padding-left: var(--space-md); border-left: 2px solid var(--color-accent); font-size: var(--text-sm); color: var(--color-ink-2); }
.mc-prompt { font-size: var(--text-xs); line-height: 1.6; color: var(--color-muted); }

/* script: the agent writes the screenplay from an idea; the breakdown falls out of it */
.ms-page { display: grid; gap: var(--space-xs); padding-left: var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.ms-slug { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.ms-line { font-size: var(--text-md); line-height: 1.6; color: var(--color-ink-2); }
.ms-line mark { background: none; color: var(--color-ink); text-decoration: underline 2px var(--color-accent-bright); text-underline-offset: 4px; }
.ms-line .el-loc { text-decoration-color: var(--color-el-loc); }
.ms-line .el-prop { text-decoration-color: var(--color-el-prop); }
/* cast: built once */
.mock-cast { grid-template: minmax(0, 1fr) auto / repeat(3, minmax(0, 1fr)); align-content: stretch; gap: var(--space-sm); }
.mock-cast .mock-note { grid-column: 1 / -1; }
/* storyboard */
.mock-board { grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); align-content: stretch; gap: var(--space-sm); }
/* scene: the clip plays through, then the step moves on */
.mock.mock-scene { grid-template: minmax(0, 1fr) / minmax(0, 1fr); align-content: stretch; padding: 0; }
.mock-scene > video { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; background: var(--color-media); }
.ms-over { position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; display: grid; grid-template-columns: 1fr auto; gap: var(--space-xs); padding: var(--space-xl) var(--space-md) var(--space-md); background: linear-gradient(transparent, var(--color-scrim)); font-size: var(--text-xs); color: var(--color-ink-2); }
.ms-over p:last-of-type { color: var(--color-accent-bright); }
.ms-shots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3xs); }
.ms-shots i { height: 2px; border-radius: var(--radius-pill); background: var(--color-rule); }
.ms-shots .done { background: var(--color-accent-bright); }
/* edit: the cut, its timeline and where it goes */
.mock.mock-edit { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.mock-edit > img, .mock-edit > video { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius-input); background: var(--color-media); }
.me-side { display: grid; gap: var(--space-sm); align-content: end; }
.me-tracks { display: grid; gap: var(--space-2xs); }
.me-tracks p { display: flex; gap: var(--space-3xs); }
.me-tracks i { height: 14px; width: var(--w); border-radius: 3px; background: var(--color-accent); }
.me-tracks i:nth-child(even) { background: var(--color-brand-lift); }
.me-tracks p + p i { height: 6px; background: var(--color-paper-3); }
.mock-edit.on .me-tracks i { animation: land var(--dur-long) var(--ease-out) both; }
.mock-edit.on .me-tracks i:nth-child(2) { animation-delay: 150ms; }
.mock-edit.on .me-tracks i:nth-child(3) { animation-delay: 300ms; }
.mock-edit.on .me-tracks i:nth-child(4) { animation-delay: 450ms; }
@keyframes land { from { opacity: 0; transform: translateX(12px); } }
/* vertical edit (micro-dramas): the 9:16 cut beside its timeline */
.mock.mock-edit--vertical { grid-template: minmax(0, 1fr) / auto minmax(0, 1fr); align-items: stretch; gap: var(--space-lg); }
.mock.mock-edit--vertical > video { width: auto; aspect-ratio: 9 / 16; }
/* in the feature pages' frames: text mocks size to their content, picture mocks keep the frame */
.md-screen .mock { border-radius: var(--radius-input); background: var(--color-canvas); }
.md-screen .mock-edit { aspect-ratio: 16 / 10; padding: var(--space-lg); }
.md-proof .mock video { border-radius: var(--radius-input); }
@media (max-width: 40rem) {
  .mock { padding: var(--space-lg); }
  .md-screen .mock-edit { aspect-ratio: auto; padding: var(--space-sm) 0 0; background: none; }
  .mock.mock-edit--vertical { grid-template: auto auto / minmax(0, 1fr); }
  .mock.mock-edit--vertical > video { justify-self: center; width: 82%; height: auto; }
}

/* ---------- mobile / small screens ---------- */
/* the feature pages show the real recordings on wide screens and the abstract stand-ins on phones */
@media (min-width: 40.0625rem) { .only-mobile { display: none !important; } }
@media (max-width: 40rem) { .only-desktop { display: none !important; } }
@media (max-width: 64rem) { .hero-field { display: none; } }
.hero-app, .feat-art .mock, .fc-arrow { display: none; }

@media (max-width: 40rem) {
  /* hero: an abstract app card where an agent walks one episode through every stage (the recording is unreadable here) */
  .stage3d .appwin { display: none; }
  .hero-app { display: grid; gap: var(--space-md); max-width: 24rem; margin-inline: auto; padding: var(--space-md); border-radius: 20px; background: var(--color-paper-2); color: var(--color-ink); outline: var(--rule-hair) solid var(--color-rule); box-shadow: 0 40px 120px -40px var(--color-brand-glow); }
  .ha-head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--text-sm); color: var(--color-muted); }
  .ha-head b { font: 600 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); }
  .ha-rail { display: flex; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
  .ha-rail li { flex: 1 1 auto; padding: var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-soft); font-size: var(--text-xs); text-align: center; color: var(--color-muted); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
  .ha-rail .done { background: var(--color-accent-wash); color: var(--color-accent-bright); }
  .ha-rail .now { background: var(--color-accent); color: var(--color-accent-ink); }
  .ha-shot { aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--color-canvas); }
  .ha-shot .mock { padding: var(--space-md); }
  .ha-shot .mock.mock-scene { padding: 0; }
  .ha-agent { display: grid; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }

  /* format frames: each clip in its real frame, a phone or a 2.39:1 strip, never cropped */
  .fmt-frame { aspect-ratio: auto; padding: 0; margin-block: var(--space-xl); background: none; outline: 0; overflow: visible; }
  .fmt-frame video { height: auto; box-shadow: none; }
  .fmt-frame--vertical video { width: 72%; aspect-ratio: 9 / 16; border-radius: 32px; outline: 8px solid var(--color-paper-3); }
  .fmt-frame--wide video { width: 100%; aspect-ratio: 2.39 / 1; border-radius: var(--radius-input); outline: 0; }
}

@media (max-width: 60rem) {
  /* how it works: a carousel, not a pinned scroll. Visual first, controls right under it, then the step */
  .js .pin { height: auto; }
  .js .feat-stage { position: static; height: auto; }
  .feat-copy { display: contents; }
  .how-h { order: 1; }
  .feat-art { order: 2; aspect-ratio: 1; margin-top: var(--space-md); grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .fc-nav { order: 3; }
  .fc-stack { order: 4; }
  .assist-line { order: 5; }
  .js .feat-art > video { display: none; }
  .js .feat-art .mock { display: grid; }
  .fc-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--color-soft); color: var(--color-ink); cursor: pointer; }
  .fc-arrow:hover { background: var(--color-soft-hover); }
  .fc-arrow:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  .fc-nav .fc-dashes { margin-top: 0; }
  .fc-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); }
}
