/*
 * lookdev.co. Static files on an assets-only Worker (site/wrangler.jsonc), so
 * it costs nothing however many people read it, and there is no build: every
 * page links this one stylesheet and site.js.
 *
 * The look: footage carries the page, type carries the brand (Geist, with
 * Geist Mono for timecode and labels, and a tungsten gradient for the odd
 * words that matter: the amber of a note on the frame), and the product is
 * shown at full size with real pictures playing in it. The footage is stock
 * (Pexels): client work never appears in our marketing.
 *
 * Light and dark: the page follows the system unless the bar's toggle says
 * otherwise (an inline script, before first paint). The cinematic bands -- the hero,
 * the product frames, the waitlist, the closing calls -- are dark in both,
 * because the product is dark and colour is judged on a dark surround.
 *
 * The material is the app's: glass only on small surfaces that float (the bar
 * the page scrolls under, chips over pictures), never on cards, never large.
 */
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.3, 1.4, .5, 1);
  --glass-bg: rgb(20 21 25 / 0.58);
  --shadow-pop: 0 4px 12px rgb(0 0 0 / 0.35), 0 18px 48px -12px rgb(0 0 0 / 0.6);
  /* Page-level, so a dark band keeps the shadow of the page it sits on. */
  --page-shadow: 0 40px 120px -40px rgb(0 0 0 / 0.9);
}
/* Dark: the default, and always inside the cinematic bands and the product. */
:root, .dark, .hero, .app, .frame, .panel, .join, .cta, .nav.on-dark {
  color-scheme: dark;
  /* sync:dark -- the app's colours, written from src/shared/styles/tokens.css by npm run sync:site-tokens. Change them there. */
  --bg: #050506;
  --bg-raised: #0c0c0e;
  --surface: #131316;
  --surface-2: #1a1a1e;
  --surface-3: #232328;
  --line: rgb(255 255 255 / 0.075);
  --line-2: rgb(255 255 255 / 0.13);
  --text: #f4f4f3;
  --dim: #a2a3a9;
  --faint: #6c6d75;
  --accent: #2f80ff;
  --ok: #35c88a;
  --warn: #ef5d60;
  --review: #9aa3b4;
  --cta-bg: #f4f4f3;
  --cta-fg: #08090a;
  --cta-hover: #ffffff;
  --amber: #ff9500;
  /* /sync */
  /*
   * Small print a visitor reads -- the credits, the footer, the form's notes
   * -- at 4.5:1 or better on every surface it sits on. The app's faint (--faint)
   * is quieter than that; it stays for the product screens, which show the
   * app as it is, and for large type, where 3:1 is enough.
   */
  --small-print: #7c7d84;
  --line-3: rgb(255 255 255 / 0.2);
  --fill: rgb(255 255 255 / 0.04);
  --fill-2: rgb(255 255 255 / 0.08);
  --fill-3: rgb(255 255 255 / 0.13);
  --accent-soft: rgb(47 128 255 / 0.16);
  --nav-bg: rgb(5 5 6 / 0.62);
  --menu-bg: rgb(17 18 21 / 0.97);
  --keycap: linear-gradient(180deg, #25272d, #17181c);
  --keycap-edge: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 2px 0 #000, 0 0 0 1px rgb(255 255 255 / 0.08);
  --vault-bg: #0b0c0f;
}
.dark, .hero, .app, .frame, .panel, .join, .cta, .nav.on-dark { color: var(--text); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    /* sync:light -- the app's colours, written from src/shared/styles/tokens.css by npm run sync:site-tokens. Change them there. */
    --bg: #f6f6f4;
    --bg-raised: #ffffff;
    --surface: #fafaf9;
    --surface-2: #f0f0ee;
    --surface-3: #e6e6e3;
    --line: rgb(12 12 14 / 0.08);
    --line-2: rgb(12 12 14 / 0.14);
    --text: #0b0b0c;
    --dim: #55565c;
    --faint: #8a8b91;
    --accent: #1f6fff;
    --ok: #1d9a65;
    --warn: #d4393d;
    --review: #5f6776;
    --cta-bg: #0b0b0c;
    --cta-fg: #fafaf9;
    --cta-hover: #000000;
    /* /sync */
    --small-print: #68696e;
    --line-3: rgb(12 12 14 / 0.24);
    --fill: rgb(12 12 14 / 0.035);
    --fill-2: rgb(12 12 14 / 0.06);
    --fill-3: rgb(12 12 14 / 0.1);
    --accent-soft: rgb(31 111 255 / 0.14);
    --nav-bg: rgb(246 246 244 / 0.74);
    --menu-bg: rgb(255 255 255 / 0.98);
    --keycap: linear-gradient(180deg, #ffffff, #ececea);
    --keycap-edge: inset 0 1px 0 #fff, 0 2px 0 rgb(12 12 14 / 0.18), 0 0 0 1px rgb(12 12 14 / 0.12);
    --vault-bg: #ffffff;
    --page-shadow: 0 30px 80px -30px rgb(20 22 30 / 0.35);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  /* sync:light -- the app's colours, written from src/shared/styles/tokens.css by npm run sync:site-tokens. Change them there. */
  --bg: #f6f6f4;
  --bg-raised: #ffffff;
  --surface: #fafaf9;
  --surface-2: #f0f0ee;
  --surface-3: #e6e6e3;
  --line: rgb(12 12 14 / 0.08);
  --line-2: rgb(12 12 14 / 0.14);
  --text: #0b0b0c;
  --dim: #55565c;
  --faint: #8a8b91;
  --accent: #1f6fff;
  --ok: #1d9a65;
  --warn: #d4393d;
  --review: #5f6776;
  --cta-bg: #0b0b0c;
  --cta-fg: #fafaf9;
  --cta-hover: #000000;
  /* /sync */
  --small-print: #68696e;
  --line-3: rgb(12 12 14 / 0.24);
  --fill: rgb(12 12 14 / 0.035);
  --fill-2: rgb(12 12 14 / 0.06);
  --fill-3: rgb(12 12 14 / 0.1);
  --accent-soft: rgb(31 111 255 / 0.14);
  --nav-bg: rgb(246 246 244 / 0.74);
  --menu-bg: rgb(255 255 255 / 0.98);
  --keycap: linear-gradient(180deg, #ffffff, #ececea);
  --keycap-edge: inset 0 1px 0 #fff, 0 2px 0 rgb(12 12 14 / 0.18), 0 0 0 1px rgb(12 12 14 / 0.12);
  --vault-bg: #ffffff;
  --page-shadow: 0 30px 80px -30px rgb(20 22 30 / 0.35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
/* The width and height attributes reserve the space; the picture keeps its own proportions. */
img { height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgb(47 128 255 / 0.35); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { width: min(1080px, 100%); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 60; padding: 8px 12px; border-radius: 8px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ type */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dim);
  flex-wrap: wrap;
}
.display {
  margin: 0;
  font-size: clamp(44px, 7.6vw, 120px);
  line-height: 0.93;
  font-weight: 600;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.h2 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.lede { margin: 0; max-width: 40rem; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--dim); letter-spacing: -0.012em; text-wrap: pretty; }
.lede strong { color: var(--text); font-weight: 500; }

/* -------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--fill);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 520;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 260ms var(--ease-spring), box-shadow 160ms ease;
}
.btn:hover { background: var(--fill-2); border-color: var(--line-3); }
.btn:active { transform: scale(0.965); transition-duration: 70ms; }
.btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
/* The one lit control: light on dark, dark on light. */
.btn--light {
  background: var(--cta-bg);
  border-color: transparent;
  color: var(--cta-fg);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12);
}
.btn--light:hover { background: var(--cta-hover); border-color: transparent; }
.btn--quiet { background: transparent; border-color: transparent; color: var(--dim); }
.btn--quiet:hover { background: var(--fill-2); border-color: transparent; color: var(--text); }
.btn svg { flex: none; }
.btn .arrow { transition: transform 260ms var(--ease-spring); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 520;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 3px;
  transition: border-color 160ms ease;
}
.more:hover { border-color: var(--text); }
.more svg { transition: transform 260ms var(--ease-spring); }
.more:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------- the bar */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: transform 300ms var(--ease);
}
/* Glass once the page has moved under it (site.js sets is-scrolled; without it, always). */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 -1px 0 var(--line);
  transition: opacity 260ms ease;
}
.js .nav:not(.is-scrolled)::before { opacity: 0; }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; font-size: 18px; letter-spacing: -0.04em; text-decoration: none; }
.brand svg { color: var(--text); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 7px 12px; border-radius: 999px; color: var(--dim); font-size: 14px; text-decoration: none; transition: color 140ms ease, background 140ms ease; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--text); }
.nav__links a[aria-current] { background: var(--fill-2); }
.nav__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav { color: var(--text); }
.nav.on-dark:not(.is-scrolled) .nav__links a, .nav.on-dark:not(.is-scrolled) .btn--quiet, .nav.on-dark:not(.is-scrolled) .theme { color: rgb(244 244 243 / 0.88); text-shadow: 0 1px 12px rgb(0 0 0 / 0.6); }
/* Light or dark, remembered (site.js). The icon is the theme it switches to. */
.theme { display: grid; place-items: center; width: 38px; height: 38px; border: 0; padding: 0; border-radius: 999px; background: transparent; color: var(--dim); cursor: pointer; transition: background 140ms ease, color 140ms ease, transform 260ms var(--ease-spring); }
.theme:hover { background: var(--fill-2); color: var(--text); }
.theme:active { transform: scale(0.92) rotate(-12deg); }
.theme .i-moon { display: none; }
:root[data-theme="light"] .nav:not(.on-dark) .theme .i-sun { display: none; }
:root[data-theme="light"] .nav:not(.on-dark) .theme .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav:not(.on-dark) .theme .i-sun { display: none; }
  :root:not([data-theme="dark"]) .nav:not(.on-dark) .theme .i-moon { display: block; }
}
/* The phone menu: a disclosure, so it works without the script. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--fill-2); }
.menu summary { color: var(--text); }
.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 18px;
  background: var(--menu-bg);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-pop);
  display: grid;
}
.menu__panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-size: 17px; font-weight: 520; }
.menu__panel a:hover { background: var(--fill-2); }
.menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
/* The message pages' bar: no links, no glass. */
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }

/* -------------------------------------------------------- the material */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  backdrop-filter: blur(16px) saturate(1.7);
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(160deg, rgb(255 255 255 / 0.34), rgb(255 255 255 / 0.05) 38%, rgb(255 255 255 / 0.02) 62%, rgb(255 255 255 / 0.16));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), var(--shadow-pop);
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font: 500 12px/1.2 var(--sans);
  color: rgb(244 244 243 / 0.95);
  white-space: nowrap;
}
.chip.mono { font-family: var(--mono); }
.chip kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 4px; background: rgb(255 255 255 / 0.13); font: 600 10px var(--mono); }

/* ---------------------------------------------------------------- media */
.media { position: relative; overflow: hidden; background: #000; }
.media video, .media > img { width: 100%; height: 100%; object-fit: cover; }
.frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2), var(--page-shadow);
  isolation: isolate;
}
/* A lit rim on the big frames, as on the app's floating surfaces. */
.frame picture { display: block; }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09);
  z-index: 5;
}
/* Anything playing can be paused, which is also how it starts under reduced motion. */
.toggle {
  position: absolute;
  z-index: 6;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease, transform 260ms var(--ease-spring);
}
.toggle .i-play { display: none; }
.is-paused .toggle .i-play { display: block; }
.is-paused .toggle .i-pause { display: none; }
.is-paused .toggle, .frame:hover .toggle, .join:hover .toggle, .toggle:focus-visible { opacity: 1; }
.toggle:active { transform: scale(0.92); }

/* ------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(80px, 10vw, 144px) 0; }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 22px 64px; }
.section__head--split .label { grid-column: 1 / -1; }
.section__head--center { justify-items: center; text-align: center; }
.section__head--center .lede { margin-inline: auto; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* A chapter: its number, its name, a rule to the edge. */
.chapter { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; font-size: 15px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; color: var(--dim); }
.chapter::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

/* A spec sheet, not cards: icons, short heads, a rule above each. */
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.specs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.specs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec { padding-top: 22px; border-top: 1px solid var(--line-2); }
.spec svg { color: var(--text); margin-bottom: 18px; }
.spec h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.spec p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* Credits, as at the end of a film. */
.credits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 0; padding: 0; list-style: none; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--small-print); }
.credits li:first-child { color: var(--dim); }

/* ================================================================ hero */
/*
 * Without the script (or with less motion asked for) the hero is a
 * headline over the footage and the review room below it. With both, the
 * footage starts full-bleed and, as the page scrolls, shrinks into the
 * player of the review room (site.js, .hero--morph): one picture throughout.
 */
.hero { position: relative; isolation: isolate; background: var(--bg); }
.hero__stage { position: relative; padding: 132px 0 40px; }
.hero__copy { position: relative; z-index: 3; display: grid; gap: 26px; justify-items: start; padding: 0 var(--gutter); width: min(1320px, 100%); margin: 0 auto 56px; }
.hero__copy .lede { max-width: 34rem; color: rgb(244 244 243 / 0.78); }
.hero__note { color: rgb(244 244 243 / 0.7); }
.hero__head { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 var(--gutter); opacity: 0; pointer-events: none; }
.hero__head .h2 { font-size: clamp(30px, 3.6vw, 52px); }
.hero__scrim { display: none; }

.hero--morph { height: 260svh; }
.hero--morph .hero__stage { position: sticky; top: 0; height: 100svh; padding: 176px 0 28px; overflow: clip; display: grid; place-items: center; }
.hero--morph .hero__copy { position: absolute; left: 0; right: 0; bottom: max(56px, 8svh); margin: 0 auto; will-change: transform, opacity; }
.hero--morph .hero__head { top: 84px; }
/* While the shot is still full-bleed, the room's marks on it wait. */
.app__player .over, .app__player .toggle { transition: opacity 260ms ease; }
.hero.is-full .app__player .over { opacity: 0; }
.hero--morph .app { will-change: auto; }
.hero--morph .app__player { will-change: transform; z-index: 4; }
.hero--morph .app__chrome { will-change: opacity, transform; }
/* Legibility over the footage while it is full-bleed. */
.hero--morph .hero__scrim {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.35) 45%, transparent 75%),
    linear-gradient(0deg, rgb(0 0 0 / 0.75) 0%, transparent 45%),
    linear-gradient(180deg, rgb(0 0 0 / 0.66) 0%, transparent 24%);
}

/* =========================================================== the app */
/*
 * The review room, drawn in HTML around real footage: the file's bar, the
 * player, the timeline beneath and the notes beside. The notes, drawings,
 * marks and status follow the video's own clock (site.js, [data-review]).
 */
.app {
  --rail: 330px;
  --top: 52px;
  --barh: 54px;
  position: relative;
  width: min(1240px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  grid-template-rows: var(--top) auto var(--barh);
  grid-template-areas: 'top top' 'player rail' 'bar rail';
  border-radius: 20px;
  background: #0c0d10;
  isolation: isolate;
}
.app__chrome { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / 0.07), var(--page-shadow); pointer-events: none; z-index: 0; }
.hero--morph .app { width: min(1240px, calc(100vw - 2 * var(--gutter)), calc((100svh - 314px) * 1.7778 + var(--rail))); }
.app__top { grid-area: top; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; min-width: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--faint); white-space: nowrap; overflow: hidden; }
.crumbs b { color: var(--text); font-weight: 560; overflow: hidden; text-overflow: ellipsis; }
.crumbs svg { flex: none; opacity: .6; }
.vpill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: rgb(255 255 255 / 0.07); font: 500 12px/1 var(--mono); color: var(--dim); flex: none; }
.status { position: relative; display: inline-grid; flex: none; height: 24px; align-items: center; font-size: 12px; font-weight: 550; }
.status > span { grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; height: 24px; border-radius: 999px; transition: opacity 300ms ease, transform 400ms var(--ease-spring); }
.status > span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status__review { color: var(--review); background: rgb(126 135 152 / 0.16); }
.status__changes { color: var(--warn); background: rgb(239 93 96 / 0.14); }
.status__approved { color: var(--ok); background: rgb(53 200 138 / 0.14); }
/* The second state waits underneath and takes over when its note comes round (site.js). */
.status > span:last-child { opacity: 0; transform: translateY(6px); }
.status.is-changes > span:first-child { opacity: 0; transform: translateY(-6px); }
.status.is-changes > span:last-child { opacity: 1; transform: none; }
.status--still { position: static; }
.status--still > span:last-child { opacity: 1; transform: none; }
.app__people { display: flex; margin-left: auto; flex: none; }
.app__people .avatar { width: 26px; height: 26px; margin-left: -4px; box-shadow: 0 0 0 2px #0c0d10; font-size: 9.5px; }
.app__share { height: 30px; padding: 0 13px; font-size: 13px; flex: none; }

.app__player { grid-area: player; position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; transform-origin: 50% 50%; }
.app__player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app__player .chip--tc { left: 12px; top: 12px; }
.app__player .chip--fps { right: 12px; top: 12px; }
.over { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.drawing { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 240ms ease; overflow: visible; }
.drawing.is-active { opacity: 1; }
.drawing path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 700ms var(--ease); }
.drawing.is-active path { stroke-dashoffset: 0; }
/* A note's pin on the picture, with the note itself beside it. */
.pin { position: absolute; z-index: 3; left: var(--x); top: var(--y); display: flex; align-items: flex-start; gap: 8px; opacity: 0; transform: translateY(6px) scale(.96); transform-origin: 0 0; transition: opacity 260ms ease, transform 420ms var(--ease-spring); pointer-events: none; }
.pin.is-active { opacity: 1; transform: none; }
.pin .avatar { width: 26px; height: 26px; font-size: 10px; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9), 0 6px 18px rgb(0 0 0 / 0.5); }
.pin__note { max-width: 15rem; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; color: var(--text); }
.pin__note b { display: block; font-size: 11.5px; font-weight: 600; color: var(--dim); margin-bottom: 1px; }
.pin--left { flex-direction: row-reverse; transform-origin: 100% 0; translate: -100% 0; }

.app__bar { grid-area: bar; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-top: 1px solid var(--line); min-width: 0; }
.play { width: 0; height: 0; border-left: 10px solid var(--text); border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
.playbtn { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -6px; border: 0; padding: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; flex: none; transition: background 140ms ease, transform 240ms var(--ease-spring); }
.playbtn:hover { background: rgb(255 255 255 / 0.08); }
.playbtn:active { transform: scale(0.9); }
.playbtn .i-play, .is-paused .playbtn .i-pause { display: none; }
.is-paused .playbtn .i-play { display: block; }
.app__tc { font-size: 12.5px; color: var(--text); flex: none; }
.app__fps { font-size: 12px; color: var(--faint); flex: none; }
.track { position: relative; flex: 1; height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.1); }
.track__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--t, 0) * 100%); border-radius: 3px; background: rgb(255 255 255 / 0.22); }
.track__range { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 3px; background: rgb(255 149 0 / 0.42); transition: background 200ms ease; }
.track__range.is-active { background: rgb(255 149 0 / 0.9); }
.track__mark { position: absolute; top: -6px; left: var(--at); width: 3px; height: 17px; border-radius: 2px; background: var(--amber); transform: translateX(-50%); transition: transform 300ms var(--ease-spring); }
.track__mark.is-active { transform: translateX(-50%) scaleY(1.25); }
.track__head { position: absolute; top: -8px; left: calc(var(--t, 0) * 100%); width: 2px; height: 21px; border-radius: 1px; background: var(--accent); }

.app__rail { grid-area: rail; display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); background: #0e0f12; border-radius: 0 0 20px 0; overflow: hidden; }
.rail__tabs { display: flex; gap: 4px; align-items: center; height: 46px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rail__tabs span { padding: 5px 10px; border-radius: 8px; color: var(--faint); }
.rail__tabs span:first-child { color: var(--text); background: rgb(255 255 255 / 0.07); font-weight: 550; }
.rail__tabs i { font-style: normal; margin-left: 5px; color: var(--dim); }
.rail__list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; align-content: start; flex: 1; }
.note { display: flex; gap: 10px; padding: 10px; border-radius: 12px; transition: background 220ms ease, box-shadow 220ms ease; }
.note.is-active { background: rgb(255 255 255 / 0.055); box-shadow: inset 2px 0 0 var(--amber); }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; font: 650 10.5px/1 var(--sans); letter-spacing: 0.02em; color: #fff; }
.avatar--a { background: linear-gradient(135deg, #3f7bff, #6b4dff); }
.avatar--b { background: linear-gradient(135deg, #e0578f, #9b4dff); }
.avatar--c { background: linear-gradient(135deg, #1fb57e, #1f8fb5); }
.avatar--d { background: linear-gradient(135deg, #f2994a, #eb5757); }
.note__body { min-width: 0; flex: 1; }
.note__who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; margin-bottom: 3px; }
.note__who strong { font-weight: 600; }
.note__who .mono { font-size: 11px; color: var(--amber); }
.tag { padding: 1px 6px; border-radius: 5px; background: rgb(255 255 255 / 0.07); font-size: 10.5px; color: var(--dim); }
.tag--client { background: rgb(60 207 145 / 0.12); color: #7fe0b5; }
.note p { margin: 0; font-size: 13px; line-height: 1.45; color: rgb(244 244 243 / 0.82); }
.composer { margin: 8px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.composer .mono { color: var(--dim); }
.composer svg { margin-left: auto; opacity: .6; }

/* ======================================================== the version wipe */
.wipe { position: relative; aspect-ratio: 16 / 9; touch-action: pan-y; cursor: ew-resize; --x: 50%; }
.wipe video, .wipe > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The earlier version, as it came off the camera: the same picture, flat. */
.wipe__before {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
  -webkit-backdrop-filter: saturate(0.38) contrast(0.76) brightness(1.06) sepia(0.05);
  backdrop-filter: saturate(0.38) contrast(0.76) brightness(1.06) sepia(0.05);
}
.wipe__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgb(255 255 255 / 0.92); box-shadow: 0 0 18px rgb(0 0 0 / 0.5); }
.wipe__knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; display: grid; place-items: center; color: var(--text); }
.wipe .chip { z-index: 3; top: 16px; }
.wipe .chip--a { left: 16px; }
.wipe .chip--b { right: 16px; }
.wipe input { position: absolute; inset: auto 0 0; z-index: 4; width: 100%; opacity: 0; height: 100%; cursor: ew-resize; margin: 0; }

/* =========================================================== previz */
/* Previz and take, side by side and in step. */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.pair__side { position: relative; aspect-ratio: 2.39; overflow: hidden; background: #000; }
.pair__side img, .pair__side video { width: 100%; height: 100%; object-fit: cover; }
.pair__side .chip { left: 12px; bottom: 12px; }
.pair__bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 18px; border-top: 1px solid var(--line); background: #0c0d10; font-size: 12.5px; }
.pair__bar .track { max-width: none; }
.locked { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font: 500 12px/1 var(--mono); }

/* ========================================================= roughcut */
.cut { background: #0c0d10; }
.cut__viewer { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cut__viewer video { width: 100%; height: 100%; object-fit: cover; }
.cut__viewer .chip--tc { left: 14px; top: 14px; }
.cut__viewer .chip--shot { right: 14px; top: 14px; }
.slate { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, #0d0e11 0 14px, #121317 14px 28px); opacity: 0; transition: opacity 160ms ease; }
.slate.is-active { opacity: 1; }
.slate b { display: block; font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; }
.slate span { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.cut__lanes { position: relative; padding: 14px 16px 16px; display: grid; gap: 6px; border-top: 1px solid var(--line); }
.lane { position: relative; display: flex; gap: 3px; align-items: stretch; height: 58px; padding-left: 34px; }
.lane--audio { height: 30px; }
.lane__head { position: absolute; left: 0; top: 0; bottom: 0; width: 26px; display: grid; place-items: center; border-radius: 6px; background: rgb(255 255 255 / 0.04); font: 500 10px/1 var(--mono); color: var(--faint); }
.clip {
  position: relative;
  flex: var(--w) 0 0;
  min-width: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #1a2433 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  font-size: 11.5px;
  transition: box-shadow 200ms ease;
}
.clip::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.55), transparent 60%); }
.clip span { position: relative; display: block; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(255 255 255 / 0.92); }
.clip span b { font-family: var(--mono); font-weight: 500; margin-right: 6px; }
.clip.is-active { box-shadow: inset 0 0 0 2px var(--text); }
.clip--gap { background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 8px, rgb(255 255 255 / 0.06) 8px 16px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.clip--gap::before { display: none; }
.clip--gap span { color: var(--dim); }
.sound { flex: 1; border-radius: 6px; background: linear-gradient(180deg, rgb(60 207 145 / 0.22), rgb(60 207 145 / 0.12)); box-shadow: inset 0 0 0 1px rgb(60 207 145 / 0.3); font-size: 11px; color: #9ae8c4; padding: 0 8px; display: flex; align-items: center; overflow: hidden; position: relative; }
.sound::after { content: ''; position: absolute; inset: 7px 8px 7px 90px; background: repeating-linear-gradient(90deg, rgb(154 232 196 / 0.45) 0 2px, transparent 2px 5px); mask: linear-gradient(90deg, #000, rgb(0 0 0 / 0.5), #000, rgb(0 0 0 / 0.6), #000); }
.cut__head { position: absolute; top: 8px; bottom: 8px; left: calc(16px + 34px + var(--t, 0) * (100% - 32px - 34px)); width: 2px; background: var(--accent); box-shadow: 0 0 10px rgb(47 128 255 / 0.8); pointer-events: none; }
.cut__head::before { content: ''; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 7px solid var(--accent); }

/* ======================================================== feature rows */
.row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.row--flip > :first-child { order: 2; }
/* Long lists beside a heading: the heading stays in view while the list goes by. */
.row--sticky { align-items: start; }
.row--sticky .row__copy { position: sticky; top: 112px; }
.row__copy { display: grid; gap: 22px; align-content: start; }
.row__copy .lede { font-size: 18px; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.points li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--text); -webkit-mask: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); mask: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.points li strong { color: var(--text); font-weight: 560; }

/* The share-link panel, drawn as the app draws it. */
.panel { width: min(440px, 100%); margin-inline: auto; padding: 8px; border-radius: 22px; background: #101114; box-shadow: 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / 0.07), var(--page-shadow); }
.panel__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 14px; font-weight: 600; }
.panel__head span { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--small-print); }
.panel__url { display: flex; align-items: center; gap: 10px; margin: 0 4px 8px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--line); font: 500 12.5px/1 var(--mono); color: var(--dim); }
.panel__url b { margin-left: auto; font-family: var(--sans); font-size: 12px; color: var(--text); font-weight: 560; padding: 6px 10px; border-radius: 8px; background: rgb(255 255 255 / 0.08); }
.setting { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: 14px; }
.setting + .setting { box-shadow: 0 -1px 0 var(--line); }
.setting svg { color: var(--dim); flex: none; }
.setting em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 13px; }
.switch { margin-left: auto; width: 36px; height: 22px; border-radius: 999px; background: rgb(255 255 255 / 0.14); position: relative; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.4); }
.switch--on { background: var(--ok); }
.switch--on::after { left: 17px; }

/* Big statements with numbers. */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.fact { padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.fact span { color: var(--dim); font-size: 14.5px; line-height: 1.5; }

/* ============================================================ security */
.vault { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 72px); background: var(--vault-bg); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / 0.07); }
.vault__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.vault .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.lock { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, var(--fill-3), var(--fill)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / 0.12); }

/* ================================================================= FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 19px; font-weight: 560; letter-spacing: -0.02em; position: relative; transition: color 160ms ease; }
.qa summary:hover { color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--dim); transition: transform 320ms var(--ease-spring); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p { margin: -6px 0 26px; max-width: 46rem; color: var(--dim); font-size: 16px; text-wrap: pretty; }

/* ============================================================ the join */
.join { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.join__bg { position: absolute; inset: 0; z-index: -1; }
.join__bg video, .join__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.join__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgb(5 5 6 / 0.55) 30%, rgb(5 5 6 / 0.7) 70%, var(--bg) 100%), linear-gradient(90deg, rgb(5 5 6 / 0.85), transparent 70%); }
.join__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.join__copy { display: grid; gap: 24px; align-content: start; }
.privacy { margin: 0; font-size: 13.5px; color: var(--small-print); max-width: 40ch; line-height: 1.6; }
.privacy strong { color: var(--dim); font-weight: 560; }
.join__form { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgb(14 15 18 / 0.88); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / 0.08), 0 40px 120px -30px rgb(0 0 0 / 0.9); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 540; color: var(--dim); }
.field > span em { font-style: normal; font-weight: 400; color: var(--small-print); }
.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgb(5 5 6 / 0.6);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* iOS zooms into anything smaller */
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.textarea { resize: vertical; min-height: 84px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); background: rgb(5 5 6 / 0.8); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Currency, then the band, side by side: "£ GBP | 1m to 10m". */
.money { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 6px; }
.cf-turnstile { min-height: 65px; }
.form .btn--lg { width: 100%; }
/* Sent, sending, or refused: the button says which (site.js). Greyed rather than
   hidden, so the place it was pressed is where the answer is. */
.btn:disabled { cursor: default; transform: none; }
.btn.is-busy, .btn.is-done,
.btn.is-busy:hover, .btn.is-done:hover {
  background: var(--surface-3);
  border-color: var(--line-2);
  color: var(--dim);
  box-shadow: none;
}
.btn.is-busy { opacity: .7; }
.btn.is-done svg { opacity: 1; color: var(--ok); }
.form-status { margin: -4px 0 0; font-size: 13px; color: var(--dim); }
.form-status:empty { display: none; }
.form-status--ok { color: var(--dim); }
.form-status--warn { color: #ffb44d; }
.leave { margin-top: 18px; font-size: 13px; color: var(--small-print); }
.leave summary { cursor: pointer; width: fit-content; }
.leave summary:hover { color: var(--dim); }
.leave .form { margin-top: 14px; }

/* A closing call on the inner pages: back to the form on the home page. */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: grid; gap: 28px; justify-items: start; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line-2), var(--page-shadow); }
.cta > video, .cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(5 5 6 / 0.92), rgb(5 5 6 / 0.55) 60%, rgb(5 5 6 / 0.3)); }

/* ============================================================== footer */
.foot { position: relative; overflow: hidden; padding: 80px 0 28px; border-top: 1px solid var(--line); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 40px; margin-bottom: 56px; }
.foot__tag { margin: 14px 0 0; max-width: 26rem; color: var(--dim); font-size: 15px; }
.foot__col h2 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--small-print); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__col a { color: var(--dim); text-decoration: none; font-size: 15px; transition: color 140ms ease; }
.foot__col a:hover { color: var(--text); }
.foot__legal a { color: inherit; text-decoration: none; }
.foot__legal a:hover { color: var(--text); }
.foot__small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--small-print); font-size: 13px; }

/* ===================================================== the inner pages */
.page-hero { position: relative; padding: 168px 0 clamp(64px, 8vw, 104px); isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; background: radial-gradient(50rem 28rem at 70% 0%, rgb(47 128 255 / 0.13), transparent 70%), radial-gradient(36rem 22rem at 10% 10%, rgb(255 173 66 / 0.06), transparent 70%); pointer-events: none; }
.page-hero__copy { display: grid; gap: 28px; justify-items: start; margin-bottom: clamp(56px, 7vw, 96px); }
.page-hero__copy .display { font-size: clamp(44px, 7vw, 108px); max-width: 15ch; }
.page-hero .lede { max-width: 42rem; }
.wrap .app { width: 100%; }
/* Segmented choice, as in the app's share window. */
.seg { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 9px; background: rgb(255 255 255 / 0.06); font-size: 12px; }
.seg span { padding: 4px 9px; border-radius: 7px; color: var(--dim); }
.seg span.on { background: rgb(255 255 255 / 0.12); color: var(--text); font-weight: 550; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow .status { height: 34px; }
.flow .status > span { height: 34px; padding: 0 14px; font-size: 13.5px; }
.flow__arrow { color: var(--faint); }
.keys { display: flex; flex-wrap: wrap; gap: 10px; }
.key { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--dim); }
.key kbd { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; background: var(--keycap); box-shadow: var(--keycap-edge); font: 600 13px/1 var(--mono); color: var(--text); }
.kinds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kind { padding: 22px 20px; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.kind svg { color: var(--text); }
.kind h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.kind p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.5; }
.kind small { font: 500 11px/1.4 var(--mono); color: var(--small-print); letter-spacing: 0.02em; }
@media (max-width: 1080px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kinds { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ------------------------------------------------------ message pages */
.message { min-height: calc(100svh - 68px); display: grid; place-items: center; padding: 32px 0 64px; }
.message .card { width: min(28rem, 100%); }
.message .icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.message .icon--ok { color: var(--ok); }
.message .icon--warn { color: #ffb44d; }
.message h1 { margin: 0 0 10px; font-size: 34px; font-weight: 620; letter-spacing: -0.04em; }
.message p { margin: 0 0 24px; color: var(--dim); }

/* -------------------------------------------------- arriving as it scrolls */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /*
     * Forwards, not both: below the screen nothing needs the first keyframe,
     * since it is out of sight until its range begins at the bottom edge. Held
     * at it there, a product frame sat at 40% opacity unseen, and anything
     * reading the page as it loads -- a contrast audit -- read it faded.
     */
    .grow { animation: grow linear forwards; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes grow { from { transform: scale(0.94); opacity: .4; } to { transform: none; opacity: 1; } }

/* -------------------------------------------------------- smaller screens */
@media (max-width: 1080px) {
  .specs, .specs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { padding-top: 32px; }
  .app { --rail: 280px; }
  .vault__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav__links, .nav__actions .btn--quiet { display: none; }
  .menu { display: block; }
  .nav__inner { gap: 12px; }
  .section__head--split, .row, .faq, .join__grid { grid-template-columns: minmax(0, 1fr); }
  .row--flip > :first-child { order: 0; }
  .row--sticky .row__copy { position: static; }
  /* The review room stacks: the picture, its timeline, then the notes, all of them, the one at the playhead lit. */
  .app { --rail: 0px; grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--top) auto var(--barh) auto; grid-template-areas: 'top' 'player' 'bar' 'rail'; }
  .hero--morph .app { width: calc(100vw - 2 * var(--gutter)); }
  .app__rail { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; }
  .rail__tabs, .composer { display: none; }
  .rail__list { padding: 6px; gap: 2px; }
  .note { padding: 8px; }
  .note p { font-size: 12.5px; }
  .pin { display: none; }
  .app__people, .app__share, .crumbs span, .crumbs svg { display: none; }
}
@media (max-width: 640px) {
  .specs, .specs--4, .specs--2, .vault .specs { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { border-left: 0; padding-left: 0; }
  .fact + .fact { padding-top: 24px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > :first-child { grid-column: 1 / -1; }
  .frame { border-radius: 16px; }
  .app { border-radius: 16px; }
  .app__fps, .app__tc { display: none; }
  .lane { height: 44px; padding-left: 0; }
  .lane__head { display: none; }
  .cut__head { left: calc(16px + var(--t, 0) * (100% - 32px)); }
  .clip span b { margin-right: 0; }
  .clip span { font-size: 0; }
  .clip span b { font-size: 11px; }
  .wipe { aspect-ratio: 4 / 3; }
  .hero--morph   .qa summary { font-size: 17px; }
}

/* ------------------------------------------------------------ the settings */
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #1b1c21; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------------------------ legal pages
   cookies.html, and the policies after it: one readable column, plain tables. */
.page-hero--doc { padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero--doc .wrap { max-width: 760px; }
.page-hero--doc .page-hero__copy { margin-bottom: 0; gap: 20px; }
.page-hero--doc .display { font-size: clamp(40px, 6vw, 72px); }
.legal { padding-top: 0; }
.legal .wrap { max-width: 760px; }
.legal p, .legal li { color: var(--dim); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.legal a:hover { text-decoration-color: currentColor; }
.legal .h3 { font-size: clamp(20px, 2vw, 24px); margin: 48px 0 16px; }
.legal .h3:first-child { margin-top: 0; }
.legal code { font-family: var(--mono); font-size: 0.86em; color: var(--text); overflow-wrap: anywhere; }
.legal__table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.legal__table th { color: var(--faint); font-weight: 500; font-size: 13px; }
.legal__table td { color: var(--dim); }
.legal__table tr:last-child td { border-bottom: 0; }
/* A cookie's name stays on one line; prose in a first column wraps like any other. */
.legal__table td:first-child code { white-space: nowrap; }
@media (max-width: 640px) { .legal__table td:first-child code { white-space: normal; } }

/* The cookie notice (site.js): small, bottom-left, asks nothing. */
.cookienote {
  position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: min(420px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--bg-raised) 88%, transparent); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-pop);
}
.cookienote p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--dim); }
.cookienote a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); white-space: nowrap; }
.cookienote__ok {
  flex: none; padding: 6px 14px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--cta-bg); color: var(--cta-fg); font: 500 13px/1.2 var(--sans);
}
.cookienote__ok:hover { background: var(--cta-hover); }
.legal__credit { margin-top: 48px !important; font-size: 13px !important; color: var(--faint) !important; }
.legal__table th[scope='row'] { color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; }
.legal mark.todo { background: rgb(255 149 0 / 0.18); color: var(--text); padding: 0 4px; border-radius: 4px; }


/* ============================================================ the home page, shown rather than listed
 * docs/REVIEW-PLAN.md, W2. Where three sections each ended in the same six
 * icon cards, the page now shows the thing: a moment of the product with one
 * sentence beside it, a crop of the real editor with a caption, a short
 * ledger. Each section is built differently on purpose.
 */

/* Who it is for: a sentence, not a row of spaced capitals. */
.madefor { margin: 0 auto; max-width: 46rem; text-align: center; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--dim); text-wrap: balance; }

/* A moment of the product, and the one thing it is for. */
.shown { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 8vw, 112px); }
.shown--flip .shown__pic { order: 2; }
.shown__pic { margin: 0; }
.shown__say { display: grid; gap: 14px; max-width: 26rem; }
.shown__say h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.shown__say p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.6; text-wrap: pretty; }

/* The surface those moments sit on: the product's own, always dark. */
.moment { width: 100%; box-sizing: border-box; border-radius: 20px; padding: clamp(14px, 1.8vw, 22px); background: var(--bg-raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--page-shadow); }

/* A file's versions, newest on top, and who signed which off. */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stack__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.stack__row:not(.is-current) { opacity: 0.72; }
.stack__thumb { aspect-ratio: 16 / 9; border-radius: 6px; background: var(--surface-3) center / cover no-repeat; }
.stack__name { display: grid; gap: 4px; min-width: 0; font-size: 13.5px; }
.stack__name b { font-weight: 550; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack__name span { color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack__record { display: flex; align-items: center; gap: 10px; margin: 14px 4px 2px; color: var(--dim); font-size: 13.5px; }
.stack__record .avatar { width: 22px; height: 22px; font-size: 9px; }

/* A review link's settings. */
.linkcard { display: grid; gap: 4px; padding: 6px 8px 4px; }
.linkcard__title { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.linkcard__title span { font-weight: 400; font-size: 13.5px; color: var(--dim); }
.linkcard__rows { margin: 0; display: grid; }
.linkcard__rows > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; border-top: 1px solid var(--line); font-size: 14px; }
.linkcard__rows dt { color: var(--dim); }
.linkcard__rows dd { margin: 0; display: inline-flex; align-items: center; gap: 12px; }
.linkcard__foot { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.linkcard__foot .btn { pointer-events: none; }
.switch { position: relative; display: inline-block; width: 30px; height: 18px; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--dim); transition: transform 200ms var(--ease); }
.switch.is-on { background: var(--accent); box-shadow: none; }
.switch.is-on::after { transform: translateX(12px); background: #fff; }

/* Under a picture: what it is, in a sentence. */
.caption { margin: clamp(18px, 2vw, 26px) 0 0; max-width: 44rem; color: var(--dim); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }

/* Two sentences under one picture, side by side. */
.captions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(32px, 5vw, 72px); }
.captions .caption { margin: 0; }

/* A short ledger: what a thing is called, and what it does. */
.ledger { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.ledger > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; }
.ledger dt { font-weight: 550; letter-spacing: -0.01em; }
.ledger--wide > div { grid-template-columns: 12rem minmax(0, 1fr); }
.ledger dd { margin: 0; color: var(--dim); text-wrap: pretty; }

/* Security on the home page: a heading, two paragraphs and the way to the rest. */
.vault--plain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.vault--plain .h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 14em; text-wrap: balance; }
.vault__say { display: grid; gap: 18px; justify-items: start; }
.vault__say .lede { max-width: 38rem; font-size: clamp(16px, 1.25vw, 18px); }

/* The status chip: one out before the other is in, so they are never read on top of each other. */
.status > span { transition: opacity 160ms ease, transform 400ms var(--ease-spring); }
.status.is-changes > span:last-child, .status:not(.is-changes) > span:first-child { transition-delay: 160ms; }

@media (max-width: 900px) {
  .shown, .vault--plain { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .shown--flip .shown__pic { order: 0; }
  .shown__say { max-width: 34rem; }
  .captions, .ledger { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stack__row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; }
  .stack__row .vpill { display: none; }
  .ledger > div, .ledger--wide > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; }
  /* On a phone the page's headings passed behind the bar and read through the wordmark. */
  .nav.is-scrolled::before { background: color-mix(in srgb, var(--bg) 92%, transparent); }
}
