@font-face {
  font-family: "Google Sans";
  src: url("/fonts/GoogleSans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Three colours and a surface (his rule: two quiet, one loud).
   Paper is the page, ink carries every word and fills the dark bands where the
   videos play, and the mark is the one loud colour: the button, the playhead
   and what the AI cut out. */
:root {
  --paper: #faf8f2;
  --ink: #111214;
  --mark: #ffd84a;
  --on-mark: #111214;
  --surface: #ffffff;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(76px, 10vw, 148px);
  --top: 60px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
}
/* Other colourways from his liked list, for comparison (?look=linen, ?look=butter). */
[data-look="linen"] { --paper: #f5f1ea; --ink: #0e2a47; --mark: #c74e09; --on-mark: #ffffff; }
[data-look="butter"] { --paper: #fbf3d9; --ink: #4a2412; --mark: #d1220a; --on-mark: #ffffff; }

/* Each band names its own background, text, soft text, hairline, edge and card. */
:root {
  --bg: var(--paper);
  --fg: var(--ink);
  --soft: color-mix(in oklab, var(--ink) 64%, var(--paper));
  --rule: color-mix(in oklab, var(--ink) 13%, var(--paper));
  --edge: color-mix(in oklab, var(--ink) 28%, var(--paper));
  --card: var(--surface);
}
.band-dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --soft: color-mix(in oklab, var(--paper) 66%, var(--ink));
  --rule: color-mix(in oklab, var(--paper) 16%, var(--ink));
  --edge: color-mix(in oklab, var(--paper) 32%, var(--ink));
  --card: color-mix(in oklab, var(--paper) 8%, var(--ink));
  background: var(--bg);
  color: var(--fg);
}
.band-mark {
  --bg: var(--mark);
  --fg: var(--on-mark);
  --soft: color-mix(in oklab, var(--on-mark) 80%, var(--mark));
  --rule: color-mix(in oklab, var(--on-mark) 22%, var(--mark));
  --edge: color-mix(in oklab, var(--on-mark) 40%, var(--mark));
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Google Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, dl, dd, ol, ul, fieldset, table { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }

h1, h2 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.1vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 1.3125rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }

.lead { display: grid; gap: 18px; max-width: 46rem; }
.lead p { color: var(--soft); max-width: 38em; }
.lead .lead-claim { color: var(--fg); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.45; }
.aside { margin-top: clamp(32px, 5vw, 56px); padding-left: 16px; border-left: 2px solid var(--edge); color: var(--soft); max-width: 40em; }

/* Titles rise straight up, one block at a time, once they are on screen. */
.rise { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.rise > span { display: block; }
.rise-armed .rise > span { transform: translateY(112%); transition: transform 900ms var(--ease); }
.rise-armed .rise.is-in > span { transform: none; }

/* Things you press are the only glossy things on the page. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--on-mark);
  background: linear-gradient(180deg, color-mix(in oklab, var(--mark) 78%, #ffffff) 0%, var(--mark) 58%);
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.65),
    inset 0 0 0 1px rgb(0 0 0 / 0.1),
    0 1px 2px rgb(0 0 0 / 0.22),
    0 12px 24px -12px color-mix(in oklab, var(--mark) 70%, #000000);
  transition: transform 140ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { font-size: 0.9375rem; padding: 11px 16px; }
.btn-quiet, .band-mark .btn {
  color: var(--paper);
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 84%, #ffffff) 0%, var(--ink) 62%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 24px -14px rgb(0 0 0 / 0.6);
}

/* Top bar. The line under it is a playhead: it tracks how far down the page you are. */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--top); }
.status { display: flex; align-items: center; gap: 9px; font-size: 0.9375rem; color: color-mix(in oklab, var(--ink) 64%, var(--paper)); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.top-link { font-size: 0.9375rem; font-weight: 500; }
.scrub { height: 2px; background: color-mix(in oklab, var(--ink) 12%, transparent); }
.scrub span { position: relative; display: block; height: 100%; width: calc(var(--progress, 0) * 100%); background: var(--ink); }
.scrub span::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 1px var(--ink); }

/* Hero */
.hero { padding-top: clamp(28px, 4.2vw, 60px); overflow: clip; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.2vw, 26px); justify-items: start; }
.title-rise .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.title-rise .line > span { display: block; animation: title-rise 1000ms var(--ease) both; }
.title-rise .line:nth-child(2) > span { animation-delay: 140ms; }
@keyframes title-rise { from { transform: translateY(112%); } to { transform: none; } }
.lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; color: var(--soft); max-width: 33em; }
[data-join-mount] { justify-self: stretch; width: 100%; min-width: 0; }
.hero-head .join { width: 100%; max-width: 480px; margin-top: 6px; }
.works { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--soft); text-align: left; }
.works img { flex: none; }
.works span { margin-left: 2px; min-width: 0; }
@media (min-width: 820px) {
  .hero-head { justify-items: center; text-align: center; }
  .hero-head .join, .cta .join { margin-inline: auto; }
  .hero .join-fine, .cta .join-fine { text-align: center; }
}

.stage { position: relative; margin-top: clamp(36px, 4.4vw, 58px); padding-bottom: clamp(36px, 5vw, 64px); }
.stage::before { content: ""; position: absolute; inset: 40% 0 0 0; background: var(--ink); }
.stage-inner { position: relative; }
.window {
  width: min(100%, 1040px);
  margin-inline: auto;
  border-radius: clamp(8px, 1.2vw, 14px);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 50px 90px -40px rgb(0 0 0 / 0.7);
  animation: stage-in 1100ms var(--ease) 260ms both;
}
.shot-video { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 920; background: var(--surface); }
.phone {
  position: absolute;
  right: max(var(--pad), calc((100% - 1040px) / 2 - 36px));
  bottom: -7%;
  width: clamp(96px, 19%, 216px);
  border-radius: clamp(12px, 2vw, 26px);
  border: clamp(3px, 0.45vw, 6px) solid #ffffff;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 30px 60px -22px rgb(0 0 0 / 0.75);
  animation: stage-in 1100ms var(--ease) 480ms both;
}
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
@keyframes stage-in { from { transform: translateY(56px); opacity: 0; } to { transform: none; opacity: 1; } }
.stage-note { position: relative; margin-top: clamp(44px, 6vw, 72px); font-size: 0.9375rem; color: color-mix(in oklab, var(--paper) 62%, var(--ink)); }
@media (min-width: 820px) { .stage-note { text-align: center; } }

/* Sign-up */
.join { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.join-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.field-row { display: flex; align-items: center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid color-mix(in oklab, var(--ink) 26%, var(--surface)); border-radius: 999px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 14px 30px -22px rgb(0 0 0 / 0.5); }
.field-row:focus-within { outline: 3px solid var(--fg); outline-offset: 3px; }
.field-row .input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 6px 10px 16px; outline: none; }
.input { font: inherit; color: var(--ink); }
.input::placeholder { color: color-mix(in oklab, var(--ink) 52%, var(--surface)); }
.input-box { width: 100%; background: var(--surface); border: 1px solid color-mix(in oklab, var(--ink) 26%, var(--surface)); border-radius: 12px; padding: 13px 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-fine { font-size: 0.875rem; color: var(--soft); }
.join-error { font-size: 0.9375rem; font-weight: 500; padding-left: 12px; border-left: 4px solid var(--fg); text-align: left; }
@media (max-width: 380px) {
  .field-row { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .field-row .input { padding: 10px 12px; }
}

/* After joining: a card that is always ink on white, whatever band it sits in. */
.joined {
  --fg: var(--ink);
  --soft: color-mix(in oklab, var(--ink) 64%, var(--surface));
  --rule: color-mix(in oklab, var(--ink) 13%, var(--surface));
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--surface);
  color: var(--fg);
  border: 1px solid color-mix(in oklab, var(--ink) 18%, var(--surface));
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 20px 40px -28px rgb(0 0 0 / 0.5);
}
.joined-title { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.joined-title:focus, .early-done:focus { outline: none; }
.field { display: grid; gap: 7px; }
.field-label { font-size: 0.9375rem; font-weight: 500; }
.choice legend { margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid color-mix(in oklab, var(--ink) 26%, var(--surface)); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 0.9375rem; font-weight: 500; cursor: pointer; user-select: none; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:has(input:checked) img { background: #ffffff; border-radius: 50%; padding: 2px; }
.chip:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.ai-saved { margin-top: 8px; font-size: 0.875rem; color: var(--soft); }
.early { border-top: 1px solid var(--rule); padding-top: 14px; }
.early summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.early summary::-webkit-details-marker { display: none; }
.early summary::after { content: "+"; font-size: 1.375rem; line-height: 1; font-weight: 400; }
.early[open] summary::after { content: "\2212"; }
.early-form { display: grid; gap: 18px; margin-top: 18px; }
.early-form .btn { justify-self: start; }
.early-done { color: var(--soft); }

/* The edit, told by scrolling: one strip is recorded, cut, drawn over and
   turned into the video. Scroll is the playhead. */
.edit { position: relative; }
.edit-sticky { padding-block: var(--sec); }
.edit-grid { display: grid; gap: clamp(26px, 4vw, 40px); }
.edit-title { font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; color: var(--soft); }
.edit-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; font-size: 0.875rem; color: var(--soft); }
.edit-rail li { padding-top: 10px; border-top: 2px solid var(--rule); transition: color 300ms, border-color 300ms; }
.edit-rail li.is-done { border-top-color: var(--fg); }
.edit-rail li.is-active { color: var(--fg); border-top-color: var(--mark); }
.edit-steps { display: grid; gap: 28px; margin-top: clamp(22px, 3vw, 38px); }
.edit-step { display: grid; gap: 12px; align-content: start; }
.edit-step h3 { font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.edit-step p { color: var(--soft); max-width: 30em; }
.edit-scene { display: none; }

.js .edit { height: 440vh; }
.js .edit-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: calc(var(--top) + 12px) 20px; display: grid; align-items: center; overflow: clip; }
.js .edit-steps { gap: 0; }
.js .edit-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity 300ms ease, transform 600ms var(--ease), visibility 0s linear 300ms; }
.js .edit-step.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms ease 120ms, transform 700ms var(--ease) 120ms, visibility 0s; }
.js .edit-scene { position: relative; display: grid; gap: clamp(10px, 2.2cqw, 16px); container-type: inline-size; --c: 0; --b: 0; --v: 0; }
.scene-top { position: relative; display: grid; align-items: end; min-height: 50cqw; }
.scene-thread { position: absolute; left: 0; bottom: 0; width: min(74cqw, 408px); border-radius: 12px; box-shadow: 0 24px 48px -26px rgb(0 0 0 / 0.9); opacity: calc(1 - var(--b)); transform: translateY(calc(var(--b) * -20px)); }
.scene-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(5px, 1.3cqw, 10px); }
.tile {
  --t: clamp(0, calc(var(--b) * 1.75 - var(--i) * 0.15), 1);
  width: 100%;
  aspect-ratio: 250 / 443;
  border-radius: clamp(5px, 1.5cqw, 12px);
  opacity: calc(var(--t) * (1 - var(--v)));
  transform:
    translate(calc((4.24 - var(--i)) / 6 * 100cqw * var(--v)), calc((1 - var(--t)) * 44px + var(--v) * 10%))
    scale(calc(0.7 + 0.3 * var(--t) - 0.25 * var(--v)));
  will-change: transform, opacity;
}
.scene-phone {
  position: absolute;
  z-index: 2;
  left: 79%;
  top: 0;
  width: clamp(104px, 34cqw, 250px);
  border-radius: clamp(12px, 3.4cqw, 24px);
  border: clamp(3px, 0.8cqw, 5px) solid #ffffff;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.9);
  opacity: var(--v);
  transform: translate(-50%, calc((1 - var(--v)) * 36px)) scale(calc(0.86 + 0.14 * var(--v)));
  will-change: transform, opacity;
}
.scene-phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.scene-time { display: flex; align-items: baseline; gap: 12px; font-weight: 500; font-size: 0.9375rem; }
.scene-clock { font-size: clamp(1.75rem, 7.5cqw, 3.5rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.scene-strip { display: flex; gap: calc(var(--b) * 4px); height: clamp(40px, 10cqw, 76px); border-radius: 10px; overflow: hidden; opacity: calc(1 - var(--v) * 0.7); }
.scene-strip .seg { flex: none; height: 100%; }
.scene-strip .seg-kept {
  width: calc(var(--w) * (1 + var(--b) * 3.85));
  border-radius: calc(var(--b) * 6px);
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, color-mix(in oklab, var(--bg) 26%, transparent) 5px 6px),
    var(--fg);
}
.scene-strip .seg-out { width: calc(var(--w) * (1 - var(--c))); background: repeating-linear-gradient(-55deg, var(--mark) 0 5px, color-mix(in oklab, var(--mark) 26%, var(--bg)) 5px 10px); }
.scene-foot { display: grid; align-items: start; }
.scene-foot > * { grid-area: 1 / 1; border-radius: 10px; }
.scene-note { width: min(100%, 440px); opacity: calc(var(--c) * (1 - var(--b))); transform: translateY(calc((1 - var(--c)) * 18px)); }
.scene-files { width: min(100%, 340px); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 18px)); }
@media (min-width: 980px) {
  .edit .wrap { max-width: 1340px; }
  .js .edit-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 14fr); column-gap: clamp(48px, 5vw, 80px); align-items: center; }
}
@media (max-height: 720px) and (max-width: 979px) {
  .scene-foot { display: none; }
  .scene-top { min-height: 40cqw; }
  .scene-thread { width: 60cqw; }
}
@media (max-width: 979px) {
  .js .edit-step p { font-size: 1rem; line-height: 1.5; }
  .js .edit-step h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* The real app */
.gallery { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: clamp(22px, 2.6vw, 32px); }
.shot { display: grid; gap: 12px; align-content: start; }
.shot img { width: 100%; border-radius: clamp(8px, 1.1vw, 14px); border: 1px solid var(--rule); background: var(--surface); box-shadow: 0 30px 60px -38px color-mix(in oklab, var(--ink) 70%, transparent); }
.shot figcaption { font-size: 0.9375rem; color: var(--soft); }
.shot-narrow img { max-width: 420px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .shot-wide { grid-column: span 8; }
  .shot-narrow { grid-column: span 4; }
}

/* What you control. Cards are things you read, so they stay flat. */
.ui { border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); }
.bento { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: clamp(14px, 1.8vw, 22px); }
.cell { display: grid; gap: 24px; align-content: space-between; padding: clamp(22px, 2.6vw, 32px); background: var(--card); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
.cell-text { display: grid; gap: 8px; }
.cell-text p { color: var(--soft); max-width: 34em; }
.cell-media { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.cell-mac { background: var(--ink); color: var(--paper); border-color: var(--ink); align-content: end; }
.cell-mac .cell-text p { color: color-mix(in oklab, var(--paper) 70%, var(--ink)); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cell-ai { grid-column: span 7; }
  .cell-move { grid-column: span 5; }
  .cell-see { grid-column: span 4; }
  .cell-say { grid-column: span 5; }
  .cell-mac { grid-column: span 3; }
  .cell-media-pair { flex-wrap: nowrap; }
  .cell-media-pair .ui { min-width: 0; flex: 0 1 auto; }
}

/* What is different */
.why-list { margin-top: clamp(32px, 5vw, 56px); }
.why-row { display: grid; gap: 10px; padding-block: clamp(22px, 2.8vw, 34px); border-top: 1px solid var(--rule); }
.why-row:last-child { border-bottom: 1px solid var(--rule); }
.why-row dt { font-size: clamp(1.375rem, 2.3vw, 1.875rem); font-weight: 500; letter-spacing: -0.022em; line-height: 1.15; }
.why-row dd { color: var(--soft); max-width: 36em; }
@media (min-width: 820px) {
  .why-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; }
}

/* Three ways */
.compare { padding-top: 0; }
.ways { margin-top: clamp(32px, 5vw, 52px); width: 100%; border-collapse: collapse; text-align: left; }
.ways th, .ways td { padding: 16px 18px 16px 0; vertical-align: top; border-top: 1px solid var(--rule); font-weight: 400; }
.ways thead th { font-weight: 500; font-size: 1.0625rem; border-top: 0; padding-bottom: 14px; }
.ways thead td { border-top: 0; }
.ways tbody th { font-weight: 500; width: 17%; }
.ways tbody td { color: var(--soft); }
.ways .ways-ours { color: var(--paper); font-weight: 500; background: var(--ink); padding-inline: 20px; border-top-color: color-mix(in oklab, var(--paper) 16%, var(--ink)); }
.ways thead .ways-ours { border-radius: 16px 16px 0 0; padding-top: 18px; }
.ways tbody tr:last-child .ways-ours { border-radius: 0 0 16px 16px; padding-bottom: 20px; }
@media (max-width: 819px) {
  .ways thead { position: absolute; left: -9999px; }
  .ways, .ways tbody, .ways tr, .ways th, .ways td { display: block; width: auto; }
  .ways tr { padding-block: 20px; border-top: 1px solid var(--rule); }
  .ways th, .ways td { border: 0; padding: 0; }
  .ways tbody th { width: auto; font-size: 1.1875rem; margin-bottom: 10px; }
  .ways tbody td { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 10px; padding-block: 5px; }
  .ways tbody td::before { content: attr(data-label); font-size: 0.875rem; padding-top: 2px; }
  .ways .ways-ours, .ways tbody tr:last-child .ways-ours { padding: 10px 12px; margin: 8px -12px 0; border-radius: 12px; }
}

/* Videos, on a dark band so they are the brightest thing on screen */
.videos-next { margin-top: clamp(72px, 9vw, 128px); }
.videos-foot { margin-top: 22px; color: var(--soft); }
.reel-row {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68vw, 270px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--pad);
  scroll-padding-inline: var(--pad);
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.reel { position: relative; scroll-snap-align: start; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--card); }
.reel-play { position: absolute; inset: 0 0 auto 0; aspect-ratio: 9 / 16; width: 100%; border: 0; border-radius: 18px; background: transparent; cursor: pointer; }
.reel-play::before, .reel-play::after { content: ""; position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; }
.reel-play::before { border-radius: 50%; background: linear-gradient(180deg, color-mix(in oklab, var(--mark) 78%, #ffffff), var(--mark) 60%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 6px 16px rgb(0 0 0 / 0.4); }
.reel-play::after { background: var(--on-mark); clip-path: polygon(39% 30%, 39% 70%, 72% 50%); }
.reel.is-playing .reel-play::after { clip-path: polygon(34% 30%, 45% 30%, 45% 70%, 55% 70%, 55% 30%, 66% 30%, 66% 70%, 34% 70%); }
.reel.is-playing .reel-play::before, .reel.is-playing .reel-play::after { opacity: 0; transition: opacity 200ms; }
.reel.is-playing:hover .reel-play::before, .reel.is-playing:hover .reel-play::after,
.reel.is-playing .reel-play:focus-visible::before, .reel.is-playing .reel-play:focus-visible::after { opacity: 1; }
.reel figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; font-weight: 500; }
.reel figcaption span { color: var(--soft); font-weight: 400; font-variant-numeric: tabular-nums; }
@media (min-width: 1200px) {
  .reel-row { max-width: 1200px; margin-inline: auto; grid-auto-columns: 1fr; overflow: visible; }
}

/* Who it is for, and why it exists */
.people-grid { display: grid; gap: clamp(48px, 6vw, 72px); }
.people h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.fit-lists { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 28px; }
.fit-lists h3 { padding-bottom: 12px; border-bottom: 2px solid var(--fg); }
.fit-lists li { padding-block: 12px; border-bottom: 1px solid var(--rule); color: var(--soft); }
.origin { padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--rule); border-radius: 22px; align-self: start; }
.origin-note { margin-top: 20px; display: grid; gap: 16px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; }
@media (min-width: 560px) {
  .fit-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 980px) {
  .people-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 5vw, 72px); }
}

/* Facts */
.facts { padding-top: 0; }
.facts-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.fact { border-top: 1px solid var(--rule); }
.fact:last-child { border-bottom: 1px solid var(--rule); }
.fact summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.012em; cursor: pointer; list-style: none; }
.fact summary::-webkit-details-marker { display: none; }
.fact summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; flex: none; }
.fact[open] summary::after { content: "\2212"; }
.fact p { padding-bottom: 22px; color: var(--soft); max-width: 36em; }
@media (min-width: 820px) {
  .facts-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: start; }
}

/* Closing sign-up: the one place the loud colour fills the screen. */
.cta { padding-block: clamp(72px, 10vw, 136px); }
.cta-inner { display: grid; gap: 20px; justify-items: start; }
.cta h2 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); line-height: 1; letter-spacing: -0.035em; }
.cta p { max-width: 30em; color: var(--soft); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.cta .join { width: 100%; max-width: 480px; margin-top: 8px; }
.cta .join-fine, .cta .joined p { font-size: 0.875rem; }
.cta .joined .joined-title { font-size: 1.5rem; }
.cta .joined .early-done { font-size: 1.0625rem; }
@media (min-width: 820px) {
  .cta-inner { justify-items: center; text-align: center; }
}

/* Footer */
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; font-size: 0.9375rem; color: var(--soft); }
.foot-links { display: flex; gap: 24px; }

/* Plain pages */
.page { padding-block: clamp(32px, 6vw, 72px) var(--sec); }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.page h2 { font-size: 1.375rem; letter-spacing: -0.018em; margin-top: 40px; }
.page p, .page li { margin-top: 14px; color: var(--soft); }
.page ul { padding-left: 1.2em; list-style: disc; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .edit-rail li { transition: none; }
  .title-rise .line > span, .window, .phone { animation: none; }
  .js .edit-step, .js .edit-step.is-active { transition: none; transform: none; }
}
