@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0e0f12;
  --surface: #15161a;
  --surface-2: #1c1d22;
  --line: #26282e;
  --rail: #34363d;
  --text: #ececee;
  --muted: #a0a3aa;
  --faint: #878a92;
  --button: #ececee;
  --button-text: #0e0f12;
  --grid: rgba(255, 255, 255, 0.07);
  --strip: rgba(255, 255, 255, 0.055);
  /* The app's own state colors (macOS system colors). */
  --orange: #ff9f0a;
  --red: #ff6b5e;
  --green: #30d158;
  --blue: #0a84ff;
  --purple: #bf5af2;
  --teal: #64d2ff;
  --claude: #d97757;
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  /* Metadata voice: commands, versions, ports, labels. */
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Clips are recorded on --bg: fading their edges makes the panel float on the page. */
  --fade: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
          linear-gradient(to bottom, #000 0, #000 86%, transparent);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-2: #ebecef;
    --line: #dcdee3;
    --rail: #c9ccd2;
    --text: #1d1d1f;
    --muted: #55585f;
    --faint: #6b6e75;
    --button: #1d1d1f;
    --button-text: #f5f5f7;
    --grid: rgba(0, 0, 0, 0.07);
    --strip: rgba(0, 0, 0, 0.045);
    /* Darker than the app's: they're text on the page here, so they keep 4.5:1. */
    --orange: #9a5c00;
    --red: #c4362a;
    --green: #167a35;
    --blue: #0068d6;
    --purple: #8e36c2;
    --teal: #07759c;
    --claude: #a94f2e;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 650; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
/* The hero strip and the blurred glows reach past the edges: clip them, not scroll (iOS ignores body overflow). */
main { overflow-x: hidden; overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--button); color: var(--button-text);
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 17px; font-weight: 560; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.brand.small { font-size: 14px; gap: 8px; color: var(--muted); }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.top nav a:not(.button), .foot nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.top nav a:not(.button):hover, .foot nav a:hover { color: var(--text); }
/* Comfortable tap targets without changing the bar's height. */
.top nav a:not(.button), .foot nav a { padding-block: 11px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  background: var(--surface-2); color: var(--text);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid var(--line);
  transition: transform .12s ease, opacity .15s;
}
.button.primary {
  background: var(--button); color: var(--button-text); border-color: transparent;
  box-shadow: 0 8px 30px -10px color-mix(in srgb, var(--button) 45%, transparent);
}
.button.small { padding: 6px 13px; font-size: 13px; border-radius: 9px; background: var(--button); color: var(--button-text); border-color: transparent; }
.button:hover { opacity: .92; }
.button:active { transform: scale(.98); }
.meta { font: 450 13px var(--mono); color: var(--faint); letter-spacing: -0.01em; }
.meta a { color: var(--muted); }

/* Terminal: dark in both themes, like Terminal.app's default. */
.term {
  --t-bg: #0b0c0f; --t-text: #ececee; --t-muted: #9a9da5; --t-line: rgba(255, 255, 255, 0.08);
  background: var(--t-bg); color: var(--t-text);
  border: 1px solid var(--t-line); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 70px -35px rgba(0, 0, 0, 0.7);
  min-width: 0;
}
.term-bar { display: flex; gap: 4px; padding: 7px; border-bottom: 1px solid var(--t-line); }
.term-bar button {
  font: 500 13px var(--sans); color: var(--t-muted); background: none; border: 0;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.term-bar button:hover { color: var(--t-text); }
.term-bar button[aria-selected="true"] { color: var(--t-text); background: rgba(255, 255, 255, 0.08); }
.term-panel { padding: 14px 14px 14px 16px; }
.term-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prompt { font-family: var(--mono); color: #30d158; flex: none; }
.term-line code {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  font-size: 13.5px; color: var(--t-text);
  /* Long commands fade out at the edge, hinting they scroll. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
.term-line code::-webkit-scrollbar { display: none; }
.term-line code:focus-visible { outline-offset: 4px; }
.copy {
  flex: none; font: 500 12px var(--sans); color: var(--t-muted);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--t-line); border-radius: 8px;
  padding: 6px 10px; cursor: pointer; min-width: 64px;
}
.copy:hover { color: var(--t-text); }
.copy[data-done] { color: #30d158; }
.term-out { margin-top: 12px; font-size: 14px; color: var(--t-muted); }
.term-out a { color: var(--t-text); }
.term-out code { color: var(--t-text); }
.term.large .term-panel { padding: 22px 20px 20px 22px; }
.term.large .term-line code { font-size: 15px; }
.term-line.dmg { flex-wrap: wrap; gap: 12px 16px; }
.term-line.dmg .button.primary { background: #ececee; color: #0e0f12; box-shadow: none; }
.term-meta { font: 13px var(--mono); color: var(--t-muted); }
/* Command output: real columns, so it scrolls sideways instead of wrapping. */
.term-pre {
  margin: 0; font: 13.5px/1.65 var(--mono); color: #c9cbd0; white-space: pre; overflow-x: auto;
  min-height: calc(7 * 1.65em);
}
.term-pre b { font-weight: 550; color: var(--t-text); }
.term-pre .dim { color: var(--t-muted); }
.term-pre .dot { color: #d97757; }
.term-pre.soft { white-space: pre-wrap; }
.term-pre:focus-visible { outline-offset: 4px; }

/* Hero */
.hero { position: relative; padding-block: 64px 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--grid) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 62%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 62%, #000 20%, transparent 75%);
}
.hero-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px; align-items: end;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 13.5px; color: var(--muted); text-decoration: none;
  transition: border-color .15s, color .15s;
}
.pill img { border-radius: 6px; }
.pill:hover { border-color: var(--rail); color: var(--text); }
.pill-tag { font: 550 12px var(--mono); color: var(--text); letter-spacing: -0.01em; }
.pill-arrow { transition: transform .15s; }
.pill:hover .pill-arrow { transform: translateX(2px); }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.038em;
  max-width: 12ch;
}
.lede { margin-top: 24px; font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 33em; }
.hero-cta { display: grid; gap: 18px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.privacy { font-size: 13.5px; color: var(--faint); }
.gatekeeper { flex-basis: 100%; font-size: 13.5px; line-height: 1.5; color: var(--faint); max-width: 44em; }
.gatekeeper strong { font-weight: 550; color: var(--muted); }
.gatekeeper a { color: var(--muted); }

.hero-stage {
  --mw: 440px;
  position: relative; margin-top: 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--mw) minmax(0, 1fr);
}
/* The clip's menu bar strip, carried across the page so it reads as a menu bar, not a box. */
.hero-stage::before {
  content: ""; position: absolute; top: 0; left: -12vw; right: -12vw; height: calc(var(--mw) * 28 / 440);
  background: linear-gradient(to right, transparent, var(--strip) 30%, var(--strip) 70%, transparent);
}
.hero-media { margin: 0; }
.callouts { position: relative; margin: 0; padding: 0; list-style: none; z-index: 1; }
.callouts li {
  position: absolute; top: var(--y); transform: translateY(-50%);
  display: flex; align-items: center;
  left: 0; right: -36px;
}
.callouts.right li { left: -36px; right: 0; flex-direction: row-reverse; }
.callouts .ct { order: 1; display: grid; gap: 2px; max-width: 280px; text-align: right; }
.callouts.right .ct { text-align: left; }
.callouts strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.callouts .ct span { font-size: 13px; color: var(--muted); line-height: 1.4; }
/* Dotted leader into the panel, ending on a dot: the icon's own motif. */
.callouts li::after {
  content: ""; order: 2; flex: 1; min-width: 24px; margin-inline: 12px 6px; height: 0;
  border-top: 2px dotted color-mix(in srgb, var(--c) 75%, transparent);
  transform-origin: right;
}
.callouts.right li::after { margin-inline: 6px 12px; transform-origin: left; }
.callouts li::before {
  content: ""; order: 3; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 16px var(--c);
}

/* One orchestrated moment: the callouts draw in once, after the page settles. */
@media (prefers-reduced-motion: no-preference) {
  .callouts .ct { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .callouts li::after { animation: draw .7s cubic-bezier(.2, .8, .2, 1) both; }
  .callouts li::before { animation: pop .4s ease-out both; }
  .callouts li:nth-child(1) > *, .callouts li:nth-child(1)::after, .callouts li:nth-child(1)::before { animation-delay: .35s; }
  .callouts li:nth-child(2) > *, .callouts li:nth-child(2)::after, .callouts li:nth-child(2)::before { animation-delay: .5s; }
  .callouts li:nth-child(3) > *, .callouts li:nth-child(3)::after, .callouts li:nth-child(3)::before { animation-delay: .65s; }
  .callouts.right li:nth-child(1) > *, .callouts.right li:nth-child(1)::after, .callouts.right li:nth-child(1)::before { animation-delay: .42s; }
  .callouts.right li:nth-child(2) > *, .callouts.right li:nth-child(2)::after, .callouts.right li:nth-child(2)::before { animation-delay: .57s; }
  .callouts.right li:nth-child(3) > *, .callouts.right li:nth-child(3)::after, .callouts.right li:nth-child(3)::before { animation-delay: .72s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }

/* Clips and stills: edges fade into the page; in dark mode they also take on the glow behind. */
.media, .card-media { margin: 0; }
.media video, .media img, .hero-media video, .card-media video, .card-media img {
  width: 100%;
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* Each clip sits on a neutral stage; the section color is only a line of light on its top edge.
   The clips blend with `lighten`, so the stage stays darker than the panel (#151517):
   anything lighter or tinted behind it would show through and dim the gray text. */
.glow { position: relative; isolation: isolate; --stage: -14px; }
.glow::before {
  content: ""; position: absolute; inset: var(--stage); z-index: -1;
  border-radius: 18px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background: linear-gradient(#121317, #0f1013 70%);
}
/* The hero panel floats on the dot grid; only the sections below sit on stages. */
.hero-media.glow::before, .hero-media.glow::after { display: none; }
.hero-media.glow video { mix-blend-mode: normal; } /* or the grid dots would show through the panel */
.glow::after {
  content: ""; position: absolute; z-index: -1; height: 1px;
  top: var(--stage); left: 18%; right: 18%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 80%, transparent), transparent);
  box-shadow: 0 0 18px 1px color-mix(in srgb, var(--c) 30%, transparent);
}
.card.glow { --stage: 0px; }
.card.glow::before { display: none; }
.glow video, .glow img { mix-blend-mode: lighten; }
@media (prefers-color-scheme: light) {
  .glow::before { background: var(--surface); }
  .glow::after { box-shadow: none; }
  .glow video, .glow img { mix-blend-mode: normal; }
}
@media (max-width: 720px) { .glow { --stage: -8px; } }

/* Pause control on every looping clip. */
.has-toggle { position: relative; }
.clip-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 32px; height: 32px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--muted);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: .55; transition: opacity .15s, color .15s;
}
.has-toggle:hover .clip-toggle, .clip-toggle:focus-visible, .clip-toggle.held { opacity: 1; color: var(--text); }
.clip-toggle svg { width: 12px; height: 12px; fill: currentColor; }

/* Features, joined by a dotted rail with one node per section. */
.features { position: relative; }
.feature { padding-block: 72px; }
.feature-copy { max-width: 640px; }
.kicker {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font: 520 13px var(--mono); color: var(--c); margin-bottom: 16px; letter-spacing: -0.005em;
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent);
}
.feature h2 { font-size: clamp(2rem, 3.7vw, 2.9rem); line-height: 1.06; letter-spacing: -0.03em; }
.feature h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.022em; }
.feature-copy > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 24px; color: var(--muted); }
.points li::before {
  content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 0;
  border-top: 2px dotted var(--c);
}
.wide .media { margin-top: 40px; }
.split .wrap, .session-row, .notify-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
}
.split .media.tall { justify-self: center; width: min(100%, 440px); }
.session-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.media.detail video {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent);
}
.notify-row { margin-top: 56px; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.status-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.cli .term { margin-top: 40px; }
.cli-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 52em; }
.cli-note strong { font-weight: 600; color: var(--text); }

/* Bento: the smaller things, each with its own proof. */
.bento {
  margin-top: 40px; display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  min-height: 220px; padding: 24px 24px 0;
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface);
}
.card.glow::before { z-index: -1; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.card-copy h3 { font-size: 1.12rem; letter-spacing: -0.015em; }
.card-copy p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.card-media { margin: 20px -24px 0; flex: 1; display: flex; align-items: flex-end; }
.card-media video, .card-media img { --fade: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(transparent, #000 10%); }
.card-media.qr img { --fade: linear-gradient(to right, transparent, #000 18%), linear-gradient(transparent, #000 10%, #000 86%, transparent); }
.card-media.many img { object-fit: cover; object-position: top; aspect-ratio: 4 / 3.4; }
.card .card-mono, .card .keys { margin-top: auto; padding-block: 24px; }
.card-mono { font: 13px var(--mono); color: var(--muted); text-wrap: balance; }
.card-mono a { color: var(--text); }
.card-mono .ok { color: var(--green); margin-right: 6px; }
.keys { display: flex; gap: 8px; }
.keys kbd {
  min-width: 44px; height: 44px; padding: 0 10px; display: inline-grid; place-items: center;
  font-size: 18px; font-weight: 500; color: var(--text);
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--line) 80%, transparent);
}
.theme-pair { margin: 20px -24px 0; display: grid; grid-template-columns: 1fr 1fr; flex: 1; align-items: end; }
.theme-pair img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; object-position: top; }
.privacy-card { min-height: 0; padding-bottom: 24px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 32px; }
.touches { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.touches dt { font: 520 12.5px var(--mono); color: var(--teal); }
.touches dd { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
@media (prefers-color-scheme: light) {
  /* Light clips are recorded on the page color: cards share it so nothing shows a seam. */
  .card { background: var(--bg); box-shadow: 0 1px 0 #fff inset, 0 12px 30px -24px rgba(0, 0, 0, 0.25); }
}

@media (min-width: 1260px) {
  .features::before {
    content: ""; position: absolute; top: 40px; bottom: 120px; width: 2px;
    left: calc((100% - 1120px) / 2 - 56px);
    background-image: linear-gradient(var(--rail) 50%, transparent 0); background-size: 2px 7px;
    -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 92%, transparent);
    mask-image: linear-gradient(transparent, #000 6%, #000 92%, transparent);
  }
  .feature-copy > .kicker::before {
    position: absolute; left: -61px; top: 50%; margin-top: -6px;
    width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--c);
    box-shadow: 0 0 0 5px var(--bg), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
  }
}

/* Install */
.install { padding-block: 104px; }
.install-in { max-width: 820px; }
.install h2, .faq h2 { font-size: clamp(2rem, 3.7vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.06; }
.install-lede { margin: 18px 0 32px; color: var(--muted); font-size: 1.08rem; max-width: 40em; }
.note { margin-top: 20px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.note h3 { font-size: 1rem; margin-bottom: 6px; }
.note p { color: var(--muted); font-size: 15px; }
.note strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { padding-block: 56px 96px; }
.faq-list { margin-top: 28px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Closing */
.closing { position: relative; padding-block: 104px 120px; text-align: center; isolation: isolate; overflow: hidden; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--grid) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 45% 60% at 50% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 45% 60% at 50% 40%, #000 10%, transparent 70%);
}
.closing-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing-icon {
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px rgba(10, 132, 255, 0.45), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.closing h2 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 14ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .hero-stage { --mw: 400px; }
  .callouts .ct { max-width: 180px; }
  .callouts .ct span { display: none; }
  .privacy-card { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 960px) {
  .hero { padding-block: 40px 24px; }
  .hero-head { grid-template-columns: 1fr; gap: 32px; }
  .hero-stage { --mw: min(100vw - 32px, 420px); grid-template-columns: 1fr; margin-top: 40px; justify-items: center; }
  .callouts { display: none; }
  .hero-media { width: min(100%, var(--mw)); }
  .split .wrap, .session-row, .notify-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .session-row .media, .status-row .media { order: 2; }
  /* Clips and stills two up, the small cards three up. */
  .span-4, .span-6 { grid-column: span 6; }
  .span-2:has(> .card-media) { grid-column: span 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top nav { gap: 14px; }
  .top nav a[href="#faq"] { display: none; }
  .feature, .install { padding-block: 60px; }
  .wide .media { margin-top: 28px; }
  .cta .button { width: 100%; }
  .term-line code { font-size: 13px; }
  .term-pre { font-size: 12px; }
  .term-pre:not(.soft) {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .cli .term { margin-top: 28px; }
  .pill-text { display: none; }
  .faq { padding-block: 40px 56px; }
  .closing { padding-block: 72px 88px; }
  /* Wide clips would shrink past reading size: crop to the part that matters. */
  .wide .media video {
    aspect-ratio: 1 / 1; object-fit: cover; object-position: var(--focus, 50%) top;
  }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > .card { grid-column: auto; min-height: 0; }
  .card .card-mono, .card .keys { margin-top: 0; padding-block: 20px 24px; }
  .touches { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 359px) {
  .top nav a[href="#features"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
