/* Quickly Clip Pro: a product, not a film set. One sans family (Geist; Geist Mono only for real data: timecodes, sizes,
   codes), neutral cool grays, hairline borders, an 8 px spacing scale, three radii (4 / 8 / 12 px, plus full pills), and
   one orange that is kept for the primary action, progress and playheads, and focus and selected states.
   Light and dark are at parity through prefers-color-scheme.
   Contrast (WCAG 2.1 AA), text on its usual background:
     dark   ink 16.7:1, ink-2 9.8:1, muted 6.1:1 (5.1:1 on surface-3); primary button #0b0c0e on #ff5a1f 6.3:1
     light  ink 19.4:1, ink-2 10.4:1, muted 5.8:1 (5.0:1 on surface-3); primary button #fff on #cf4108 4.8:1
   --faint is for placeholders and decoration only (3.2:1), never for text that carries meaning.
   Motion is transform/opacity only and stops under prefers-reduced-motion. */

:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-2: #0f1013;
  --surface: #111215;
  --surface-2: #16171b;
  --surface-3: #1e2025;
  --line: #1f2125;
  --line-2: #2a2d33;
  --line-3: #3b3f47;
  --ink: #ededef;
  --ink-2: #b5b7bd;
  --muted: #8c9099;
  --faint: #5f636b;
  --accent: #ff5a1f;
  --accent-2: #ff7140;
  --accent-ink: #0b0c0e;
  --accent-soft: rgba(255, 90, 31, .12);
  --c1: #5b7cfa;
  --c2: #3fb68b;
  --ok: #3fb68b;
  --ok-soft: rgba(63, 182, 139, .12);
  --danger: #ff6b5e;
  --danger-soft: rgba(255, 107, 94, .1);
  --info: #8ea6ff;
  --info-soft: rgba(91, 124, 250, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;
  --radius: var(--r);
  --radius-sm: var(--r-sm);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(56px, 6.5vw, 88px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-2: #f7f7f8;
    --surface: #ffffff;
    --surface-2: #f7f7f8;
    --surface-3: #eeeef0;
    --line: #ebebee;
    --line-2: #dddde1;
    --line-3: #c6c7cc;
    --ink: #0c0d10;
    --ink-2: #3d4047;
    --muted: #62656d;
    --faint: #8e9198;
    --accent: #cf4108;
    --accent-2: #b83905;
    --accent-ink: #ffffff;
    --accent-soft: rgba(207, 65, 8, .08);
    --ok: #17845f;
    --ok-soft: rgba(23, 132, 95, .08);
    --danger: #c9372c;
    --danger-soft: rgba(201, 55, 44, .07);
    --info: #3557d6;
    --info-soft: rgba(53, 87, 214, .07);
    --shadow-sm: 0 1px 2px rgba(16, 18, 24, .06);
    --shadow: 0 1px 2px rgba(16, 18, 24, .06), 0 16px 40px -20px rgba(16, 18, 24, .22);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--line-3); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
::selection { background: var(--accent); color: var(--accent-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 16px; border-radius: var(--r-sm); background: var(--accent);
  color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: transform .2s var(--ease); }
.skip:focus { transform: translateY(72px); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* The moments offer uses the Pro type and controls, with warmer surfaces and room for the film. */
.moments-offer { --bg: #11120f; --bg-2: #181914; --surface: #1c1e18; --surface-2: #23251e;
  --line: #303328; --line-2: #414538; --ink: #f7f4e9; --ink-2: #d3d3c3; --muted: #a7aa98; }
.offer-hero { padding: clamp(48px, 7vw, 88px) 0 56px; }
.offer-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.offer-intro { padding: 12px 0; }
.offer-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--ink-2); font-size: 13px; }
.offer-eyebrow > span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.offer-intro h1 { max-width: 670px; font-size: clamp(40px, 4.65vw, 66px); line-height: 1.055; letter-spacing: -.045em; text-wrap: balance; }
.offer-lead { max-width: 530px; margin: 26px 0 28px; color: var(--ink-2); font-size: clamp(17px, 1.65vw, 19px); line-height: 1.65; }
.offer-hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 17px; }
.offer-hero-price strong { color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.offer-hero-price span { color: var(--muted); font-size: 14px; }
.offer-primary { min-height: 54px; padding: 14px 23px; white-space: normal; text-align: center; line-height: 1.3; }
.offer-cta-note { max-width: 460px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.offer-existing { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.offer-existing a { color: var(--ink-2); }
.offer-sample { margin: 0 auto; width: 100%; max-width: 340px; padding: 12px; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--surface); box-shadow: 0 24px 60px -24px #0006; }
.offer-sample-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 3px 2px 13px; font-size: 11px; color: var(--ink-2); }
.offer-sample-top .mono { color: var(--muted); font-size: 10px; }
.offer-sample video, .offer-sample-pending { width: 100%; aspect-ratio: 9 / 16; border-radius: 7px; background: #0b0c09; }
.offer-sample video { object-fit: contain; }
.offer-sample-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px; text-align: center; color: var(--ink); }
.offer-sample-pending > span:last-child { color: var(--muted); font-size: 13px; }
.offer-pending-mark { display: grid; width: 60px; height: 60px; place-items: center; padding-left: 4px; margin-bottom: 10px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); }
.offer-sample figcaption { display: grid; gap: 5px; padding: 13px 3px 2px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.offer-sample figcaption strong { color: var(--ink-2); font-weight: 500; }
.offer-included { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.offer-included-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 25px 0; }
.offer-included-grid div { border-right: 1px solid var(--line-2); padding-right: 12px; }
.offer-included-grid div:last-child { border-right: 0; }
.offer-included dt { font-size: 14px; font-weight: 500; }
.offer-included dd { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.offer-section { padding: clamp(56px, 7vw, 88px) 0; }
.offer-section-head { max-width: 550px; }
.offer-section-head h2 { font-size: clamp(29px, 3.5vw, 43px); line-height: 1.12; letter-spacing: -.035em; }
.offer-section-head > p:not(.kicker) { margin: 23px 0 24px; color: var(--ink-2); line-height: 1.75; }
.offer-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 40px 0 0; padding: 0; list-style: none; }
.offer-steps li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.offer-step-number { font: 12px/1.4 var(--mono); color: var(--accent); }
.offer-steps h3 { margin: 20px 0 12px; font-size: 19px; line-height: 1.35; }
.offer-steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.offer-detail-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.offer-detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 100px); align-items: center; }
.offer-purchase-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.offer-purchase-card h3 { font-size: 23px; }
.offer-card-price { margin: 14px 0 22px; font-size: 44px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.offer-card-price span { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.offer-purchase-card ul { display: grid; gap: 12px; margin: 0 0 24px; padding-left: 19px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.offer-purchase-card li::marker { color: var(--accent); }
.offer-beta-note { padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; line-height: 1.65; }
.offer-beta-note strong { color: var(--ink); font-weight: 500; }
.offer-card-footnote { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.offer-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(32px, 7vw, 88px); }
.offer-close { padding: 62px 0 68px; border-top: 1px solid var(--line); background: var(--bg-2); text-align: center; }
.offer-close h2 { font-size: clamp(31px, 4vw, 48px); letter-spacing: -.035em; }
.offer-close .wrap > p:not(.kicker):not(.offer-cta-note) { margin: 20px 0 25px; color: var(--ink-2); }
.offer-close .offer-cta-note { max-width: none; }
.offer-home-sample { margin: auto; }
@media (prefers-color-scheme: light) {
  .moments-offer { --bg: #faf9f4; --bg-2: #f1f1e9; --surface: #fffef9; --surface-2: #eaece0;
    --line: #dddfd2; --line-2: #c6cab9; --ink: #22291c; --ink-2: #4a5340; --muted: #646e57; }
  .moments-offer .offer-sample-pending { background: #edefe6; }
}
@media (max-width: 800px) {
  .offer-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr); gap: 28px; }
  .offer-intro h1 { font-size: 42px; }
  .offer-hero-price { gap: 4px 10px; }
  .offer-steps { gap: 24px; }
  .offer-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .offer-hero { padding: 36px 0 40px; }
  .offer-hero-grid, .offer-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .offer-intro { padding: 0; }
  .offer-intro h1 { max-width: 480px; font-size: clamp(38px, 9.5vw, 52px); }
  .offer-eyebrow { margin-bottom: 20px; font-size: 12px; }
  .offer-lead { margin: 22px 0; }
  .offer-primary { width: 100%; }
  .offer-existing { margin-top: 16px; }
  .offer-sample { max-width: 310px; }
  .offer-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .offer-included-grid div:nth-child(even) { border-right: 0; }
  .offer-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .offer-steps h3 { margin-top: 12px; }
  .offer-close .offer-primary { max-width: 380px; }
}

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.m-bg { fill: #14171b; stroke: #2c313a; }
.m-c1 { fill: #5b7cfa; }
.m-c2 { fill: #3fb68b; }
.m-ph { fill: #ff5a1f; }
.wm { white-space: nowrap; }
.wm b, .foot-brand b { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--line-3); border-radius: var(--r-xs);
  font: 600 10px/16px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); vertical-align: 2px; }
.site-links { display: flex; align-items: center; gap: 4px; margin-left: 24px; }
.site-links a, .nav a, .nav button { font: 500 14px/1 var(--sans); color: var(--muted); text-decoration: none; padding: 10px 12px;
  border-radius: var(--r-sm); background: none; border: 0; cursor: pointer; transition: color .15s, background-color .15s; }
.site-links a:hover, .nav a:hover, .nav button:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
/* signed out, the only item is Sign in: a quiet bordered button on every page */
.nav .nav-cta, .nav a:only-child { color: var(--ink); padding: 0 14px; height: 36px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.nav .nav-cta:hover, .nav a:only-child:hover { border-color: var(--line-3); background: var(--surface-2); }
.app .site-links, .signed-in .site-links { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid transparent; font: 500 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-2); }
.btn-primary[aria-disabled="true"] { background: var(--surface-3); color: var(--muted); }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--line-3); background: var(--surface-2); }
.btn-text { background: none; color: var(--muted); padding: 0 8px; min-height: 36px; }
.btn-text:hover { color: var(--ink); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* type */
.kicker { margin: 0 0 12px; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.section-title { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem); letter-spacing: -.035em; margin-bottom: 16px; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 32em; margin-bottom: 32px; }
.lead-sm { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 38em; margin: 0; }
.link-arrow { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration-color: currentColor; }

/* hero */
/* the film is as large as fits under the fold: header, padding and caption leave about 236 px of a 900 px screen */
.hero { --film: clamp(320px, calc((100vh - 236px) * .5625), 376px); padding: clamp(40px, 5vw, 64px) 0 var(--sec); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--film); gap: clamp(48px, 7vw, 112px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-specs dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.hero-specs dd { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* the demo film: one 9:16 frame and the prompt that made it */
.demo { margin: 0; width: 100%; }
.demo-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.phone-screen { position: absolute; inset: 0; }
.phone-screen picture, .phone-screen img, .phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-screen video.loop { opacity: 0; transition: opacity .5s; }
.phone-screen video.loop.playing { opacity: 1; }
.sound-btn { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  width: max-content; height: 36px; padding: 0 14px 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(12, 13, 16, .62);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color .15s; }
.sound-btn:hover { background: rgba(12, 13, 16, .8); }
.sound-btn svg { flex: none; width: 14px; height: 14px; fill: currentColor; }
.sound-btn[hidden] { display: none; }
.demo-cap { margin-top: 16px; }
.demo-label { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.demo-label .mono { font-size: 12px; }
.demo-cap q { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* sections */
.section { padding: var(--sec) 0; background: linear-gradient(var(--line), var(--line)) no-repeat top center /
  min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter))) 1px; }
.sec-intro { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.split-top .sec-intro { margin-bottom: 0; }

/* what it cuts: five plates in one system (the same 9:16 frame, palette and detail), plus an open slot */
.range { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.rc { display: flex; flex-direction: column; min-width: 0; }
/* a plate is 16:10 (the drawings' 320 x 200 viewBox); its 9:16 frame is real footage under the drawing, positioned on the
   viewBox's frame rect (x 36, y 18, 92 x 164), and the thumbnails inside the drawing are real frames of the same shoots */
.plate { position: relative; aspect-ratio: 16 / 10; margin-bottom: 20px; border-radius: var(--r); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; container-type: inline-size; }
.ill { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf { position: absolute; left: 11.25%; top: 9%; width: 28.75%; height: 82%; overflow: hidden; border-radius: 2.5cqw; background: #16171b; }
.pf picture, .pf img, .pf video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf video { opacity: 0; transition: opacity .4s; }
.pf video.playing { opacity: 1; }
.i-edge { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.i-t1 { fill: var(--surface-3); }
.i-t2 { fill: var(--line-2); }
.i-t3 { fill: var(--line-3); }
.i-ink { fill: var(--ink); }
.i-inv { fill: var(--bg); }
.i-dim { fill: var(--surface-2); fill-opacity: .62; }
.i-pick { fill: none; stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.i-cut { fill: none; stroke: var(--muted); stroke-width: 1px; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.i-guide { fill: none; stroke: var(--line-3); stroke-width: 1px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.i-wave { fill: none; stroke: var(--line-3); stroke-width: 1.6px; stroke-linecap: round; }
.i-lbl, .i-tc, .i-num { font-family: var(--sans); }
.i-lbl { font-size: 10px; font-weight: 500; fill: var(--muted); }
.i-tc { font-family: var(--mono); font-size: 9.5px; fill: var(--muted); }
.i-num { font-size: 7px; font-weight: 700; fill: var(--bg); }
/* overlays sit on footage, so they're white in both modes */
.i-ov { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: -.01em; fill: #fff; }
.i-ov-on { fill: #111214; }
.i-ov-box { fill: #fff; }
.i-title { font-size: 9.5px; }
.rc h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 8px; }
.rc p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; }
.rc .rc-try { margin: auto 0 0; font-size: 14px; color: var(--muted); }
.rc-any { justify-content: center; padding: 32px; border: 1px dashed var(--line-3); border-radius: var(--r); }
.rc-any h3 { font-size: 20px; }
.rc-any p { margin-bottom: 20px; }

/* how it works */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.flow li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.flow-n { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 8px; }
.flow p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* revisions */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.split-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border-left: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }
.vmock { padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.vm-head { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px 12px; font-size: 13px; color: var(--muted); }
.vm-head span:first-child { color: var(--ink); font-weight: 500; }
.vm-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vm-rail li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-sm); }
.vm-on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent); }
.vm-thumb { position: relative; width: 36px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r-xs); background: var(--surface-3); display: grid;
  place-items: center; }
.vm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-pending .vm-thumb img { opacity: .35; }
.vm-thumb .spin { position: relative; }
.vm-text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.vm-text b { font-size: 15px; font-weight: 600; color: var(--ink); }
.vm-text q { grid-column: 1 / -1; margin-top: 2px; font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); border-right-color: transparent; animation: spin .9s linear infinite; }

/* specs and privacy */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; }
.specs div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 14px; color: var(--muted); }
.specs dd { margin: 0; font-size: 15px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.facts li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.facts h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 8px; }
.facts p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* questions */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq summary:hover::after { border-color: var(--ink); }
.faq details p { color: var(--ink-2); margin: -4px 0 20px; max-width: 40em; }

/* sign in */
.signin-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.signin-copy h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -.035em; margin-bottom: 12px; }
.signin-copy p { margin: 0; max-width: 28em; }
.label { display: block; margin: 0 0 8px; font: 500 14px var(--sans); color: var(--ink-2); }
.input, .textarea { width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 9px 12px; transition: border-color .15s, box-shadow .15s; }
.input:hover, .textarea:hover { border-color: var(--line-3); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input-code { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.signin-row { display: flex; gap: 8px; }
.signin-row .input { flex: 1; min-width: 0; min-height: 40px; }
.form-msg:empty { display: none; }
.welcome h3 { font-size: 20px; margin: 0 0 4px; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 12px 0; }

/* footer */
.site-footer { padding: 48px 0 64px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.foot p { margin: 0; }
.foot-brand { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 8px !important; }
.foot-about p:last-child { max-width: 26em; }
.foot-title { color: var(--ink); font-weight: 500; margin-bottom: 12px !important; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--ink); }
.foot-family li { display: grid; gap: 2px; }
.foot-family a { color: var(--ink-2); font-weight: 500; }
.foot-family span { font-size: 13px; }

/* prose */
.prose-section { padding-top: clamp(48px, 7vw, 96px); }
.prose h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); letter-spacing: -.04em; margin-bottom: 16px; }
.prose .lead-sm { margin-bottom: 8px; }
.prose h2 { font-size: 20px; letter-spacing: -.02em; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--faint); }

/* motion: reveals only once the script has armed them */
html.motion [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---- app pages ---- */
.app-main { min-height: calc(100vh - 64px); padding: clamp(32px, 5vw, 56px) 0 96px; }
.skeleton { display: grid; gap: 16px; padding: 8px 0 40px; max-width: 800px; }
.sk { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-2); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translate3d(-100%, 0, 0); animation: shimmer 1.2s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 5%, transparent), transparent); }
@keyframes shimmer { to { transform: translate3d(100%, 0, 0); } }
.sk-title { height: 40px; width: 52%; } .sk-line { height: 16px; width: 70%; } .sk-block { height: 160px; } .sk-block.short { height: 88px; width: 60%; }
.page-head { margin-bottom: 32px; }
.page-head .kicker { margin-bottom: 8px; }
.page-head h1 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); letter-spacing: -.035em; margin-bottom: 8px; }
.page-head p { color: var(--ink-2); max-width: 40em; margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px;
  color: var(--info); background: var(--surface-2); border: 1px solid var(--line); }
.notice::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: currentColor; }
.notice p { margin: 0; color: var(--ink); }
.notice-error { color: var(--danger); background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 28%, transparent); }
.notice-ok { color: var(--ok); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.actions-left { justify-content: flex-start; }
.empty { text-align: center; padding: clamp(40px, 7vw, 72px) 24px; max-width: 720px; }
.list-head ~ .empty { max-width: none; }
.empty h1, .empty h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); letter-spacing: -.03em; margin: 24px 0 8px; }
.empty p { color: var(--ink-2); margin: 0 auto; max-width: 30em; }
.empty-photo { display: grid; place-items: center; }
/* empty and stop states: a 9:16 frame with nothing in it yet (empty) or nothing to show (lost) */
.art { position: relative; display: block; width: 52px; aspect-ratio: 9 / 16; border-radius: var(--r-sm); border: 1px dashed var(--line-3); background: var(--surface-2); }
.art::before, .art::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--muted); border-radius: 1px; }
.art-empty::before { width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; }
.art-empty::after { width: 1.5px; height: 14px; margin: -7px 0 0 -.75px; }
.art-lost::before { width: 1.5px; height: 40px; margin: -20px 0 0 -.75px; transform: rotate(32deg); }
.art-lost::after { display: none; }

/* new edit: one prompt, the footage, a length and the permissions */
.studio-form { max-width: 800px; }
.form-section { padding: 32px 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 16px; }
.sec-num { display: none; }
.sec-head h2 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }
.form-section > .hint { margin-top: 12px; }
.prompt-shell { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s; }
.prompt-shell:hover { border-color: var(--line-3); }
.prompt-shell:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.prompt-input { display: block; border: 0; border-radius: 0; background: transparent; font-size: 17px; line-height: 1.55; min-height: 176px;
  padding: 16px 16px 8px; resize: vertical; }
.prompt-input:hover { border-color: transparent; }
.prompt-input:focus { box-shadow: none; }
.prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; }
.prompt-shell .prompt-foot { border-top: 1px solid var(--line); background: var(--surface-2); }
.revise .prompt-foot { padding: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; font: 500 13px/1 var(--sans); color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s; }
.chip span { color: var(--muted); }
.chip:hover { border-color: var(--line-3); color: var(--ink); }
.counter { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.examples { margin-top: 32px; }
.examples-title { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.example-list { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.example { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; text-align: left; padding: 14px 16px; border: 0; border-top: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font: 400 14px/1.5 var(--sans); cursor: pointer; transition: background-color .15s; }
.example:first-child { border-top: 0; }
.example:hover { background: var(--surface-2); }
.example:focus-visible { outline-offset: -2px; border-radius: 0; }
.ex-kind { font-weight: 500; color: var(--ink); }
.drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 32px 24px; text-align: center; border: 1px dashed var(--line-3);
  border-radius: var(--r); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.drop strong { font-size: 15px; font-weight: 600; }
.drop .muted { font-size: 14px; max-width: 34em; }
.drop-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--line-2); color: var(--ink-2); }
.drop-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.files { list-style: none; padding: 0; margin: 12px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.files:empty { display: none; }
.frow { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(112px, 200px) 40px; gap: 12px; align-items: center; padding: 8px 12px 8px 8px;
  background: var(--surface); border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.f-thumb { width: 48px; height: 36px; border-radius: var(--r-xs); overflow: hidden; background: var(--surface-3); display: grid; place-items: center; color: var(--muted); }
.f-thumb img, .f-thumb video { width: 100%; height: 100%; object-fit: cover; }
.f-thumb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.f-main { min-width: 0; display: grid; }
.f-name { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-meta { font: 12px var(--mono); color: var(--muted); }
.f-state { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.f-status:empty { display: none; }
.f-bar { height: 3px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }
.frow:not([data-state]) .f-bar { visibility: hidden; }
.frow[data-state="done"] .f-bar i { background: var(--ok); }
.frow[data-state="done"] .f-status { color: var(--ok); }
.frow[data-state="failed"] .f-status { color: var(--danger); }
.frow[data-state="failed"] .f-bar i { background: var(--danger); }
.frow.bad { background: var(--danger-soft); }
.frow.bad .f-status { color: var(--danger); }
.f-action { display: flex; justify-content: flex-end; }
.f-remove { width: 28px; height: 28px; border-radius: var(--r-sm); border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.f-remove:hover { color: var(--ink); background: var(--surface-3); }
.files-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.files-summary .over { color: var(--danger); }
.segments { display: grid; grid-template-columns: 1.5fr repeat(6, minmax(0, 1fr)); gap: 8px; }
.seg { position: relative; display: grid; cursor: pointer; min-width: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg > span { display: grid; gap: 2px; align-content: center; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .15s, background-color .15s; }
.seg:hover > span { border-color: var(--line-3); }
.seg strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
.seg small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.custom-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.custom-row[hidden] { display: none; }
.input-sec { width: 96px; font-family: var(--mono); }
.consents { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.consent { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-top: 1px solid var(--line); cursor: pointer;
  transition: background-color .15s; }
.consent:first-child { border-top: 0; }
.consent:hover { background: var(--surface-2); }
.consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); }
.consent strong { display: block; font-weight: 500; font-size: 15px; }
.consent span span { display: block; color: var(--muted); font-size: 14px; }
.consent.indent { padding-left: 44px; }
.consent[hidden] { display: none; }
.form-section > .small { margin: 12px 0 0; }

/* the submit row: a plain row at the end of the form. Browsers that can query the stuck state (scroll-state, Chrome) also
   stick it to the bottom while that place is off screen, drawn as a compact floating bar, and the form's controls keep
   clear of it when focus scrolls them up from below. The rest (iPhone Safari, Firefox) keep the plain row, so nothing
   covers the form there. */
.submit-bar { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.submit-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.why { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.submit-bar .notice { margin: 0 0 16px; }
@supports (container-type: scroll-state) {
  .submit-bar { position: sticky; bottom: 0; z-index: 5; container-type: scroll-state; pointer-events: none; }
  .submit-bar > * { pointer-events: none; }
  .submit-row, .submit-bar .notice { pointer-events: auto; }
  /* the stuck bar is a 58 px row 16 px off the bottom, plus a notice when there's an error: keep 120 px clear */
  .studio-form :is(input, textarea, button, label, a) { scroll-margin-bottom: 120px; }
  /* a consent's checkbox sits at the top of a row up to ~120 px tall on a phone: clear the whole row, not just the box */
  .consents input { scroll-margin-bottom: 232px; }
  .submit-bar :is(input, textarea, button, label, a) { scroll-margin-bottom: 0; }
  .submit-row { transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
  @container scroll-state(stuck: bottom) {
    .submit-row { width: fit-content; max-width: 100%; margin-left: auto; padding: 8px 8px 8px 16px; border: 1px solid var(--line-2);
      border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
    .submit-row .btn-lg { min-height: 40px; font-size: 15px; }
    .submit-bar .notice { width: fit-content; max-width: 100%; margin-left: auto; background: color-mix(in srgb, var(--danger) 8%, var(--surface));
      box-shadow: var(--shadow); }
  }
}
.locked .form-section, .locked .submit-bar { display: none; }

/* upload */
.upload-prompt { margin: 0 0 16px; padding: 2px 0 2px 12px; border-left: 2px solid var(--line-3); color: var(--ink-2); font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upload-panel .files { margin: 16px 0 12px; }
.upload-panel .upload-actions { margin-bottom: 4px; }
.upload-panel > .small { margin: 0; }
.upload-slot:empty { display: none; }
.upload-slot { margin-bottom: 24px; max-width: 800px; }
.upload-slot:focus { outline: none; }
.upload-panel h2, .resume-panel h2 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 12px; }
.upload-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.upload-head .mono { font-size: 13px; color: var(--ink); }
.progress { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; margin-bottom: 12px; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s linear; }
.upload-actions:empty { display: none; }
.upload-actions { display: grid; gap: 8px; justify-items: start; }
.upload-actions .notice { margin: 0; }
.resume-panel { margin-bottom: 24px; max-width: 800px; }
.resume-panel p { color: var(--ink-2); }

/* job page: the first version's status */
.status-card { position: relative; overflow: hidden; max-width: 720px; }
.status-card .page-head { margin-bottom: 24px; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--surface-3); overflow: hidden; }
.scan-head { position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.elapsed { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.elapsed-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.timeline { list-style: none; margin: 0 0 24px; padding: 0; display: grid; }
.tl { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 20px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 11.5px; top: 28px; bottom: 4px; width: 1px; background: var(--line-2); }
.tl:last-child::before { display: none; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface);
  font-size: 12px; font-weight: 500; color: var(--muted); }
.tl-text strong { display: block; padding-top: 1px; font-weight: 500; color: var(--muted); }
.tl-text span { display: block; font-size: 14px; color: var(--muted); }
.tl.done .tl-dot { border-color: transparent; background: var(--ok-soft); color: var(--ok); }
.tl.done::before { background: color-mix(in srgb, var(--ok) 45%, var(--line-2)); }
.tl.done .tl-text strong, .tl.now .tl-text strong { color: var(--ink); }
.tl.now .tl-dot { border-color: var(--accent); color: var(--accent); }
.tl.now .tl-dot .spinner { width: 12px; height: 12px; border-width: 1.5px; }
.tl.now .tl-text span { color: var(--ink-2); max-width: 36em; margin-top: 2px; }
.tl.stop .tl-dot { border-color: transparent; background: var(--danger-soft); color: var(--danger); }
.tl.stop .tl-text strong { color: var(--danger); }
.craft { border-top: 1px solid var(--line); padding-top: 20px; }
.craft-title { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.craft ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--ink-2); font-size: 15px; }
.craft li { margin-bottom: 4px; }
.craft li::marker { color: var(--faint); }

/* job page: versions */
.meta-line { font-size: 15px; color: var(--muted) !important; }
.job-banner:empty { display: none; }
.job-banner { margin-bottom: 24px; max-width: calc(380px + 56px + 640px); }
.job-banner .notice { margin: 0; }
.revising { padding: 20px 24px; }
.revising-head { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 8px; }
.revising-head strong { color: var(--ink); font-size: 16px; font-weight: 600; }
.revising .elapsed { margin-bottom: 8px; }
.revising .small { margin: 8px 0 0; }
.revising .actions { margin-top: 8px; }
.job-grid { display: grid; grid-template-columns: 380px minmax(0, 640px); grid-template-areas: "stage side" "stage revise"; grid-template-rows: auto 1fr;
  gap: 32px 56px; align-items: start; }
.job-main { display: contents; }
.stage { grid-area: stage; display: grid; gap: 16px; min-width: 0; }
.job-main > :last-child { grid-area: revise; min-width: 0; }
.player-frame { position: relative; }
.player { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-tag { display: none; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; }
.stage-bar > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 160px; }
.stage-bar strong { font-size: 16px; font-weight: 600; }
.stage-bar .muted { font-size: 14px; }
.stage-notes { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.stage-notes .mono { display: block; margin-bottom: 2px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.job-side { grid-area: side; min-width: 0; }
.side-title { margin: 0 0 12px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ver > button, .ver.pending { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; padding: 8px 12px 8px 8px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s; }
.ver > button:hover { border-color: var(--line-3); }
.ver.on > button { border-color: var(--accent); background: var(--surface-2); }
.ver.pending { cursor: default; background: var(--surface-2); }
.ver-thumb { width: 32px; aspect-ratio: 9 / 16; border-radius: var(--r-xs); overflow: hidden; background: var(--surface-3); display: grid; place-items: center; color: var(--muted); }
.ver.pending .ver-thumb { color: var(--accent); }
.ver-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ver-thumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ver-thumb .spinner { width: 12px; height: 12px; border-width: 1.5px; }
.ver-text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; min-width: 0; font-size: 13px; color: var(--muted); }
.ver-text strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.ver-note, .ver-text q { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.revise { margin: 0; }
.revise-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 4px; }
.revise h2 { font-size: 18px; letter-spacing: -.02em; }
.revise-left { margin: 0; font-family: var(--sans); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.revise .hint { margin-bottom: 16px; }
.notes-input { min-height: 112px; resize: vertical; }
.revise .actions { margin-top: 16px; }
.revise-closed { margin: 0; font-size: 15px; }

/* my edits */
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.list-head .page-head { margin-bottom: 0; }
.edit-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.edit-list li + li { border-top: 1px solid var(--line); }
.edit-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 112px 120px 12px; gap: 16px; align-items: center; padding: 16px 16px 16px 20px;
  text-decoration: none; transition: background-color .15s; }
.edit-card::after { content: ""; grid-column: 4; width: 7px; height: 7px; justify-self: end; border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(45deg); }
.edit-card:hover { background: var(--surface-2); }
.edit-card:hover::after { border-color: var(--ink-2); }
.edit-card:focus-visible { outline-offset: -2px; border-radius: 0; }
.ec-thumb { display: none; }
.ec-main { grid-column: 1; display: grid; gap: 2px; min-width: 0; }
.ec-main strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-main .meta { font-size: 14px; color: var(--muted); }
.ec-ver { grid-column: 2; justify-self: end; font-family: var(--sans); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.edit-card .pill { grid-column: 3; justify-self: start; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.pill.s-delivered::before { background: var(--ok); }
.pill.s-processing::before { background: var(--accent); }
.pill.s-queued::before { background: var(--muted); }
.pill.s-failed::before { background: var(--danger); }
.edit-list + p { margin-top: 16px; }

/* responsive */
@media (max-width: 1080px) {
  .site-links { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { width: min(320px, 78vw); justify-self: center; }
  .range { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 24px; padding: 20px 0 24px; }
  .flow-n { grid-row: span 2; margin: 2px 0 0; }
  .split, .split-top { grid-template-columns: 1fr; }
  .split-top .sec-intro { margin-bottom: 8px; }
  .signin-card { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .job-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "side" "revise"; grid-template-rows: none; gap: 32px; }
  .stage { width: min(380px, 100%); justify-self: center; }
  .versions { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 760px) {
  .segments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.25rem, 10.4vw, 2.75rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-specs { gap: 16px 28px; margin-top: 40px; }
  .range { grid-template-columns: 1fr; gap: 40px; }
  .rc-any { padding: 24px; }
  .flow li { grid-template-columns: 1fr; }
  .flow-n { grid-row: auto; margin-bottom: 8px; }
  .facts { grid-template-columns: 1fr; gap: 32px; }
  .specs { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 96px minmax(0, 1fr); }
  .signin-row { flex-direction: column; }
  .foot { grid-template-columns: 1fr; gap: 32px; }
  .signed-in .wm { display: none; }
  .nav a, .nav button { padding: 10px 8px; }
  .prompt-foot { flex-wrap: wrap; }
  .example-list { grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; border-radius: 0;
    padding-bottom: 4px; }
  .example { grid-template-columns: 1fr; gap: 4px; align-content: start; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r); }
  .example:first-child { border-top: 1px solid var(--line); }
  .example:focus-visible { outline-offset: 2px; border-radius: var(--r); }
  .frow { grid-template-columns: 40px minmax(0, 1fr) 32px; grid-template-areas: "t m a" "s s s"; row-gap: 6px; }
  .f-thumb { grid-area: t; width: 40px; height: 30px; }
  .f-main { grid-area: m; } .f-action { grid-area: a; } .f-state { grid-area: s; }
  .submit-row { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .submit-row .btn { width: 100%; }
  .why { text-align: center; }
  @supports (container-type: scroll-state) {
    @container scroll-state(stuck: bottom) {
      .submit-row { width: auto; flex-direction: row; align-items: center; gap: 12px; }
      .submit-row .btn { width: auto; flex: none; }
      .why { flex: 1; text-align: left; font-size: 13px; line-height: 1.35; }
    }
  }
  .edit-card { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 12px; padding: 14px 14px 14px 16px; }
  .edit-card .pill { grid-column: 2; justify-self: end; }
  .edit-card::after { grid-column: 3; }
  .ec-ver { display: none; }
  .revising { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.motion [data-reveal] { opacity: 1; transform: none; }
  .phone-screen video.loop:not([controls]), .pf video { display: none; }
}

/* ---------- accounts and buying (BILLING.md): balance chip + menu, sign-in, packs, cost line, end-card note ---------- */
.nav .acct { position: relative; margin-left: 4px; }
.nav .acct summary { list-style: none; }
.nav .acct summary::-webkit-details-marker { display: none; }
.chip-balance { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s; }
.chip-balance:hover { border-color: var(--line-3); background: var(--surface-2); }
.chip-balance:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.acct[open] .chip-balance { border-color: var(--line-3); background: var(--surface-2); }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.chip-invite .chip-dot { background: var(--ok); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(280px, calc(100vw - 2 * var(--gutter)));
  padding: 16px; display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); }
.acct-who { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.acct-who:empty { display: none; }
.acct-have { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.nav .acct-menu a, .nav .acct-menu button { display: flex; justify-content: center; width: 100%; height: 36px; padding: 0 12px;
  align-items: center; border-radius: var(--r-sm); font-size: 14px; }
.nav .acct-menu .acct-buy { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.nav .acct-menu .acct-buy:hover { background: var(--accent-2); color: var(--accent-ink); }
.nav .acct-menu .acct-out { color: var(--ink); border: 1px solid var(--line-2); }
.nav .acct-menu .acct-out:hover { border-color: var(--line-3); background: var(--surface-2); }

.app-signin, .app-verify { max-width: 560px; }
.auth-card { padding: clamp(20px, 3vw, 32px); }
.auth .form-msg:empty { display: none; }
.auth-agree { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.auth-agree a, .buy-notes a { color: var(--ink-2); }
.auth-alt { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-alt .btn-text { padding-inline: 0; }
.auth-code { margin-top: 8px; }
.auth-code[hidden] { display: none; }
.auth-sent { outline: none; }
.auth-sent h2 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 8px; }
.auth-to { margin: 0 0 8px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.auth-sent .muted { font-size: 15px; color: var(--muted); }
.auth-mail { position: relative; display: block; width: 44px; height: 32px; margin-bottom: 20px; border-radius: var(--r-xs); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line-3); }
.auth-mail i { position: absolute; top: 0; width: 30px; height: 1.5px; background: var(--accent); }
.auth-mail i:first-child { left: 0; transform: rotate(34deg); transform-origin: left; }
.auth-mail i:last-child { right: 0; transform: rotate(-34deg); transform-origin: right; }
.auth-wait { justify-content: center; }
.signin-slot .auth-agree { color: var(--muted); }
@media (max-width: 640px) { .auth .signin-row .btn { width: 100%; } }

.app-buy { max-width: var(--wrap); }
.buy-head { max-width: 680px; }
.buy-have { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 32px; padding: 0 12px; height: 32px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.buy-have::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.buy-msg:empty { display: none; }
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; } }
.pack { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pack.is-best { border-color: var(--line-3); background: var(--surface-2); }
.pack-tag { position: absolute; top: -11px; right: 16px; margin: 0; height: 22px; padding: 0 10px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.pack-name { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.pack-price { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pack-meta { grid-column: 1 / -1; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.pack-meta span + span::before { content: "·"; margin: 0 8px; }
.pack .btn { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .pack { display: flex; flex-direction: column; gap: 4px; padding: 24px; }
  .pack-price { margin-top: 16px; font-size: 36px; }
  .pack-meta { margin: 4px 0 24px; }
  .pack-meta span { display: block; }
  .pack-meta span + span::before { content: none; }
  .pack .btn { margin-top: auto; }
}
.buy-notes { margin-top: 32px; max-width: 680px; font-size: 14px; color: var(--muted); }
.buy-notes p { margin: 0 0 8px; }
.buy-invite { max-width: 680px; }
.buy-invite h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.paid-card { max-width: 680px; outline: none; }
.paid-card h1 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); letter-spacing: -.035em; margin-bottom: 8px; }
.paid-card .lead-sm { margin-bottom: 8px; }
.paid-wait { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.paid-wait h1 { margin: 0; font-size: 24px; }
.paid-mark { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.paid-mark::before { content: ""; width: 14px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }

.cost-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 auto 0 0; font-size: 14px; }
.cost-line[hidden] { display: none; }
.cost-label { color: var(--muted); }
.cost-value { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cost-line.is-free .cost-value { color: var(--ok); }
.cost-line.is-short .cost-value { color: var(--danger); }
.cost-have { color: var(--muted); }
.cost-have:empty { display: none; }
.cost-have::before { content: "·"; margin-right: 8px; }
.submit-row .why:empty { display: none; }
@media (max-width: 640px) { .submit-row { flex-wrap: wrap; } .submit-row .cost-line { flex: 1 1 100%; } }
.wallet-stop { margin-top: 12px; }

.stage-bar > .stage-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
.upsell-slot:empty { display: none; }
.upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line); }
.qc-mark { flex: none; width: 36px; height: 36px; }
.qc-mark .qc-bg { fill: #14171b; stroke: #2c313a; }
.qc-mark .qc-clip:nth-child(2) { fill: #5b7cfa; }
.qc-mark .qc-clip:nth-child(3) { fill: #3fb68b; }
.qc-mark .qc-head { fill: #ff5a1f; }
.upsell-text { flex: 1 1 240px; }
.upsell-text p { margin: 0; font-size: 14px; color: var(--muted); }
.upsell .upsell-title { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.upsell .btn { flex: 0 0 auto; }
.share-wrap { display: contents; }
.share-wrap .notice { flex-basis: 100%; }

.draft-banner { margin: 0 0 40px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px dashed var(--line-3); background: var(--surface-2);
  font-size: 14px; color: var(--ink-2); }
.draft-banner strong { margin-right: 4px; color: var(--accent); font-weight: 600; }
.btn[hidden] { display: none; }
.chip-short { display: none; }
@media (max-width: 640px) {
  .chip-balance .chip-text { display: none; }
  .chip-balance .chip-short { display: inline; }
  .nav a, .nav summary { white-space: nowrap; }
}

/* ---------- growth (BILLING.md "Growth"): share link, invite link, the public watch page ---------- */
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.link-input { flex: 1 1 0; min-width: 0; padding: 8px 12px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); background: var(--surface-2);
  text-overflow: ellipsis; }
.link-copy { flex: none; gap: 6px; }
.link-copy svg, .share-icon svg, .refer-line svg, .acct-give-title svg { width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link-copy.is-copied { border-color: var(--ok); color: var(--ok); }
.link-note { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.link-note:empty { display: none; }
.share-panel, .refer { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.share-panel.is-shared { border-color: var(--line-3); }
.share-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.share-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink); }
.share-title { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.share-intro { margin: 0; color: var(--muted); font-size: 14px; }
.share-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 8px; }
.share-until { margin: 0; color: var(--muted); font-size: 13px; }
.share-stop { padding-inline: 0; color: var(--danger); }
.share-msg .notice { margin-bottom: 0; }
.refer-slot:empty, .refer[hidden] { display: none; }
.refer { background: var(--surface-2); }
.refer-line { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.refer-line svg { margin-top: 2px; color: var(--accent); }

.acct-give { display: grid; gap: 6px; padding: 12px 0; border-block: 1px solid var(--line); }
.acct-give-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.acct-give-text, .acct-give-earned { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.acct-give .link-input { padding: 6px 10px; font-size: 12px; }
.nav .acct-menu .acct-give .link-copy { width: auto; justify-content: center; }

.app-watch { max-width: 560px; }
.watch { display: grid; gap: 20px; }
.watch-head .kicker { margin-bottom: 6px; }
.watch-made { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line); }
.watch-made-text { flex: 1 1 240px; }
.watch-made-text p { margin: 0; font-size: 14px; color: var(--muted); }
.watch-made .watch-made-title { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.watch-cta { flex: 0 0 auto; }

/* Delivered revision review: the same players survive signed-link refreshes. */
.revision-review, .version-card { display: grid; gap: 16px; min-width: 0; }
.review-toolbar { display: flex; flex-wrap: wrap; gap: 12px; }
.review-toolbar:has(> [hidden]) { display: none; }
.version-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.version-heading h2 { margin: 0; font-size: 18px; }
.version-heading .btn { min-height: 36px; padding: 4px 8px; font-size: 13px; }
.review-deck { display: grid; gap: 28px; min-width: 0; align-items: start; }
.compare-hint { margin: 0; max-width: 64ch; }
.compare-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.compare-picks label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.compare-select { width: 100%; min-height: 44px; font: inherit; }
.revision-review [hidden] { display: none !important; }
.review-message:empty, .version-share:empty { display: none; }
.version-card .stage-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.revise-base { margin: -8px 0 16px; }
.job-grid.is-comparing { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); column-gap: 32px; }
.job-grid.is-comparing .stage { width: 100%; }
.is-comparing > .review-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-comparing .version-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.is-comparing .version-heading { flex-wrap: wrap; gap: 4px; }
@media (max-width: 1100px) {
  .job-grid.is-comparing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "side revise"; grid-template-rows: auto; }
  .job-grid.is-comparing .versions { grid-auto-flow: row; }
}
@media (max-width: 640px) {
  .job-grid.is-comparing { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "side" "revise"; }
  .job-grid.is-comparing .stage { max-width: 380px; }
  .is-comparing > .review-deck { grid-template-columns: minmax(0, 1fr); }
  .compare-picks, .review-deck { gap: 16px; }
  .is-comparing .version-card { padding: 12px; }
}

/* The advertised one-edit offer leads checkout; older packs remain available below. */
.pack.is-selected[data-offer="pro_one"] { border-color: var(--accent); }
@media (min-width: 760px) {
  .pack.is-selected[data-offer="pro_one"] { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
  .pack.is-selected[data-offer="pro_one"] .pack-name { font-size: 24px; }
  .pack.is-selected[data-offer="pro_one"] .pack-price { margin: 0; }
  .pack.is-selected[data-offer="pro_one"] .pack-meta { grid-column: 1; margin: 0; }
  .pack.is-selected[data-offer="pro_one"] .btn { grid-column: 2; margin: 0; min-width: 240px; }
}

/* Deployment disclosure stays with the sticky header; fixed colors keep contrast in both themes. */
.billing-mode-notice { margin: 0; padding: 10px var(--gutter); background: #ffda9e; color: #2b1800;
  border-bottom: 1px solid #9b6100; text-align: center; font-size: 14px; line-height: 1.45; font-weight: 600; }
