/* firsttake.video — dark and cinematic, like the app. The footage and
   screenshots carry the colour; the page stays out of their way. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg: #08080b;
  --bg-2: #0d0d12;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --t1: #f4f3f8;
  --t2: #a9a8b6;
  --t3: #72717e;
  --blue: #6aa6ff;
  --blue-solid: #2d6de0;
  --violet: #a58bff;
  --amber: #ffb866;
  --ok: #58c28d;
  --grad: linear-gradient(100deg, #8ab8ff 0%, #b79cff 48%, #ffc07f 100%);
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 14px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font: 17px/1.6 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 {
  font: 0.9em ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--t1);
  background: var(--panel-2);
  padding: 1px 6px;
  border-radius: 5px;
}
::selection {
  background: rgba(106, 166, 255, 0.35);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--blue-solid);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.wide {
  max-width: 1260px;
}
.wrap.narrow {
  max-width: 820px;
}

/* ── type ─────────────────────────────────────────────────────────────── */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}
/* The accent words: same face, lit with the icon's gradient. */
h1 em,
h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.02em;
}
h2 {
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.08;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
p {
  margin: 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 18px;
}
.fine {
  font-size: 13.5px;
  color: var(--t3);
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  letter-spacing: -0.01em;
  padding: 13px 20px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn.big {
  font-size: 16px;
  padding: 17px 26px;
}
.btn.small {
  font-size: 14px;
  padding: 9px 15px;
}
.btn.block {
  width: 100%;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #4d90ff 0%, #2d6de0 100%);
  box-shadow:
    0 10px 30px -8px rgba(45, 109, 224, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px -8px rgba(45, 109, 224, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn.ghost {
  color: var(--t1);
  background: var(--panel-2);
  border-color: var(--line-2);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.btn .was {
  font-weight: 500;
  font-size: 0.86em;
  opacity: 0.62;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-row.center {
  justify-content: center;
}

/* ── offer bar and nav ────────────────────────────────────────────────── */
.offer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px var(--gutter);
  font-size: 13.5px;
  color: var(--t2);
  text-decoration: none;
  text-align: center;
  background: linear-gradient(90deg, rgba(106, 166, 255, 0.1), rgba(165, 139, 255, 0.12), rgba(255, 184, 102, 0.1));
  border-bottom: 1px solid var(--line);
}
.offer-bar strong {
  color: var(--t1);
  font-weight: 600;
}
.offer-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(88, 194, 141, 0.6);
  animation: pulse 2.4s infinite;
}
.offer-go {
  color: var(--t1);
  transition: transform 0.2s var(--ease);
}
.offer-bar:hover .offer-go {
  transform: translateX(3px);
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(88, 194, 141, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(88, 194, 141, 0);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 11, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-right: auto;
  margin-left: 12px;
}
.nav-links a {
  color: var(--t2);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--t1);
}
.nav-cta {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* ── glows ────────────────────────────────────────────────────────────── */
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}
.glow-a {
  width: 720px;
  height: 520px;
  left: 50%;
  top: 34%;
  transform: translateX(-80%);
  background: radial-gradient(closest-side, rgba(62, 120, 255, 0.55), transparent);
}
.glow-b {
  width: 640px;
  height: 480px;
  left: 50%;
  top: 44%;
  transform: translateX(-10%);
  background: radial-gradient(closest-side, rgba(255, 160, 80, 0.35), transparent);
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero > :not(.glow) {
  position: relative;
  z-index: 1;
}
.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--t2);
  font-size: 14px;
  margin-bottom: 28px;
}
.pill-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0b0b0f;
  background: var(--grad);
  padding: 3px 9px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--t2);
}
.hero .cta-row {
  margin-top: 36px;
  justify-content: center;
}
.hero .fine {
  margin-top: 18px;
}

.window {
  position: relative;
  margin: 64px 0 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #1c1c1f;
  container-type: inline-size;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 30px 80px -40px rgba(80, 130, 255, 0.45);
  transform-origin: 50% 0;
}
html.js .window.reveal {
  transform: perspective(1800px) rotateX(9deg) translateY(30px) scale(0.97);
}
html.js .window.reveal.in {
  transform: none;
  transition-duration: 1.4s;
}
.window-canvas {
  position: relative;
}
.window-shot {
  width: 100%;
}
/* The macOS window buttons, where the app's title bar leaves room. */
.window-lights {
  position: absolute;
  z-index: 2;
  left: 1.25cqw;
  top: 1.08cqw;
  display: flex;
  gap: 0.58cqw;
}
.window-lights i {
  width: 0.86cqw;
  height: 0.86cqw;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}
.window-lights i:nth-child(2) {
  background: #febc2e;
}
.window-lights i:nth-child(3) {
  background: #28c840;
}
/* The stage in the screenshot, measured by scripts/capture-site.cjs
   (media-src/hero-stage.json): the real take plays where its still is,
   letterboxed exactly as the app draws it. */
.window-stage {
  position: absolute;
  left: 18.1944%;
  top: 6.9124%;
  width: 58.8889%;
  height: 58.7503%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s;
}
/* Shown only once it plays; until then the screenshot's own still shows. */
.window-stage.live {
  opacity: 1;
}

/* ── models marquee ───────────────────────────────────────────────────── */
.models {
  padding: 56px 0 24px;
  text-align: center;
}
.models-lead {
  color: var(--t3);
  font-size: 15px;
  margin-bottom: 22px;
  padding: 0 var(--gutter);
}
.models-lead strong {
  color: var(--t2);
  font-weight: 600;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 48s linear infinite;
}
.marquee-track span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 28px));
  }
}

/* ── problem ──────────────────────────────────────────────────────────── */
.problem {
  padding-top: 120px;
  padding-bottom: 40px;
  text-align: center;
}
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  text-align: left;
}
.pain {
  padding: 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}
.pain-x {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #ff8a7a;
  background: rgba(255, 110, 90, 0.12);
  font-weight: 700;
  margin-bottom: 16px;
}
.pain p {
  color: var(--t2);
  font-size: 15.5px;
  margin-top: 8px;
}
.answer {
  margin-top: 44px;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* ── feature rows ─────────────────────────────────────────────────────── */
.features {
  padding: 80px 0 40px;
}
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.feature.flip {
  grid-template-columns: 7fr 5fr;
}
.feature.flip .feature-copy {
  order: 2;
}
.feature h2 {
  font-size: clamp(30px, 3.3vw, 42px);
}
.feature-copy > p:not(.eyebrow) {
  color: var(--t2);
  margin-top: 20px;
  font-size: 17.5px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--t2);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2358c28d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    rgba(88, 194, 141, 0.14);
}
.ticks b,
.qa b {
  color: var(--t1);
  font-weight: 600;
}
.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #1c1c1f;
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 20px 60px -40px rgba(106, 166, 255, 0.35);
}
.shot img {
  width: 100%;
}

.continuity {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 600px;
  margin-left: auto;
}
.continuity figure {
  margin: 0;
  width: 100%;
}
.continuity img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.continuity figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--t3);
  text-align: center;
  letter-spacing: 0.02em;
}
.continuity .link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.continuity .link span {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--blue), var(--line));
}
.continuity .link b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #4d90ff, #2d6de0);
  box-shadow: 0 10px 30px -6px rgba(45, 109, 224, 0.7);
  font-size: 18px;
  transform: rotate(90deg);
}

.voices {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: start;
}
.voices .shot:first-child {
  margin-top: 64px;
}
.voices .tall {
  max-height: 560px;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}

/* ── small-print cards ────────────────────────────────────────────────── */
.grid-section {
  padding-top: 96px;
  padding-bottom: 60px;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
  text-align: left;
}
.card {
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.card p {
  color: var(--t2);
  font-size: 15.5px;
  margin-top: 10px;
}

/* ── showcase ─────────────────────────────────────────────────────────── */
.showcase {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}
.glow-c {
  width: 760px;
  height: 620px;
  right: -120px;
  top: 10%;
  background: radial-gradient(closest-side, rgba(255, 170, 90, 0.3), rgba(120, 90, 255, 0.18), transparent);
}
.showcase-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.showcase-copy > p:not(.eyebrow) {
  color: var(--t2);
  margin-top: 20px;
  font-size: 17.5px;
  max-width: 520px;
}
.showcase-copy .fine {
  margin-top: 16px;
}
.screen {
  position: relative;
  border-radius: 18px;
  padding: 8px;
  background: linear-gradient(160deg, #26262d, #0f0f13);
  border: 1px solid var(--line-2);
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.95),
    0 30px 90px -40px rgba(255, 170, 90, 0.45);
}
.screen video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  background: #000;
  object-fit: cover;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(20, 20, 26, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s;
}
.play svg {
  margin-left: 4px;
}
.play:hover {
  transform: scale(1.06);
}
.screen.playing .play {
  opacity: 0;
  pointer-events: none;
}

/* ── steps ────────────────────────────────────────────────────────────── */
.steps {
  padding-top: 60px;
  padding-bottom: 110px;
  text-align: center;
}
.step-list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
  counter-reset: none;
}
.step-list li {
  padding: 30px 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
}
.step-n {
  display: block;
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.step-list p {
  color: var(--t2);
  font-size: 15.5px;
  margin-top: 10px;
}

/* ── pricing ──────────────────────────────────────────────────────────── */
.pricing {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.glow-d {
  width: 820px;
  height: 640px;
  right: -8%;
  top: 8%;
  background: radial-gradient(closest-side, rgba(70, 120, 255, 0.4), rgba(170, 120, 255, 0.18), transparent);
}
.pricing-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: start;
}
.pricing-copy > p:not(.eyebrow) {
  color: var(--t2);
  margin-top: 20px;
  font-size: 17.5px;
  max-width: 520px;
}
.ladder {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.tier {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 15px;
}
.tier-range {
  color: var(--t3);
  font-variant-numeric: tabular-nums;
}
.tier-label {
  color: var(--t2);
}
.tier-price {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.tier-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--t3);
}
.tier.now {
  border-color: rgba(106, 166, 255, 0.55);
  background: linear-gradient(90deg, rgba(106, 166, 255, 0.14), rgba(165, 139, 255, 0.08));
  box-shadow: 0 0 0 4px rgba(106, 166, 255, 0.08);
}
.tier.now .tier-tag {
  color: #0b0b0f;
  background: var(--grad);
}
.tier.gone {
  opacity: 0.5;
}
.tier.gone .tier-price {
  text-decoration: line-through;
}

.price-card {
  position: relative;
  padding: 34px 32px 30px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #15151c, #0f0f14) padding-box,
    linear-gradient(160deg, rgba(138, 184, 255, 0.7), rgba(183, 156, 255, 0.35), rgba(255, 192, 127, 0.6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 50px 120px -50px rgba(70, 120, 255, 0.55);
}
.price-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t2);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
}
.price .amount {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price s {
  font-size: 22px;
  color: var(--t3);
}
.price-sub {
  color: var(--t2);
  margin-top: 8px;
  font-size: 15px;
}
.scarcity {
  margin: 24px 0 26px;
}
.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: var(--p);
  min-width: 6px;
  border-radius: inherit;
  background: var(--grad);
  transition: width 1.4s var(--ease);
}
html.js .price-card:not(.in) .bar span {
  width: 0;
}
.scarcity p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--t2);
}
.scarcity strong {
  color: var(--t1);
}
.price-card .btn + .btn {
  margin-top: 10px;
}
html[data-offer="regular"] .price-card .btn.primary {
  margin-top: 26px;
}
.includes {
  list-style: none;
  padding: 22px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.includes li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--t2);
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236aa6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-card .fine {
  margin-top: 20px;
  text-align: center;
}

html[data-offer="early"] .regular-only,
html[data-offer="regular"] .early-only {
  display: none !important;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq {
  padding-top: 120px;
  padding-bottom: 100px;
  text-align: center;
}
.qa {
  margin-top: 48px;
  text-align: left;
  border-top: 1px solid var(--line);
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--t3);
  border-bottom: 2px solid var(--t3);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.qa details[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}
.qa details p {
  color: var(--t2);
  padding: 0 44px 24px 0;
  font-size: 16px;
}

/* ── final ────────────────────────────────────────────────────────────── */
.final {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}
.glow-e {
  width: 900px;
  height: 520px;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90, 130, 255, 0.4), rgba(255, 170, 90, 0.2), transparent);
}
.final-in {
  position: relative;
  z-index: 1;
}
.final-icon {
  margin: 0 auto 30px;
  filter: drop-shadow(0 20px 40px rgba(90, 130, 255, 0.45));
}
.final h2 {
  font-size: clamp(36px, 5vw, 62px);
}
.final p {
  color: var(--t2);
  margin: 22px 0 34px;
  font-size: 18px;
}

/* ── footer ───────────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 14px;
  color: var(--t3);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.foot nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.foot nav a {
  color: var(--t2);
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--t1);
}
.foot p {
  width: 100%;
  font-size: 13px;
}

/* ── mobile dock ──────────────────────────────────────────────────────── */
.dock {
  display: none;
}

/* ── reveal on scroll ─────────────────────────────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .feature,
  .showcase-in,
  .pricing-in {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .feature.flip {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .feature {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .continuity {
    margin: 0 auto;
  }

  .pricing-in .price-card {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  .cards,
  .pains,
  .step-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .nav-links,
  .hide-sm {
    display: none;
  }
  .nav-in {
    height: 58px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero .cta-row .btn {
    width: 100%;
  }
  .window {
    margin-top: 44px;
    border-radius: 10px;
  }
  /* Too small to read whole: zoom in on the stage and its takes. */
  .window-canvas {
    width: 185%;
    margin-left: -42%;
  }
  .window-lights {
    display: none;
  }
  .cards,
  .pains,
  .step-list {
    grid-template-columns: 1fr;
  }
  .problem,
  .grid-section,
  .faq {
    padding-top: 84px;
  }
  .features {
    padding-top: 40px;
  }
  .voices {
    grid-template-columns: 1fr;
  }
  .voices .shot:first-child {
    margin-top: 0;
  }
  .voices .tall {
    max-height: 420px;
    width: 72%;
    margin: 0 auto;
  }
  .tier {
    grid-template-columns: 76px 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }
  .tier-tag {
    display: none;
  }
  .price .amount {
    font-size: 56px;
  }
  .price-card {
    padding: 28px 22px 24px;
  }
  .qa summary {
    font-size: 16.5px;
  }
  .showcase,
  .pricing,
  .final {
    padding: 84px 0;
  }
  .foot nav {
    margin-left: 0;
  }
  .dock {
    display: flex;
    gap: 8px;
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px;
    border-radius: 999px;
    background: rgba(18, 18, 24, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line-2);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(150%);
    transition: transform 0.4s var(--ease);
  }
  .dock.show {
    transform: none;
  }
  .dock .btn {
    flex: 1;
  }
  .foot {
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal,
  html.js .window.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .offer-dot {
    animation: none;
  }
  .bar span {
    transition: none;
  }
}

/* ── legal pages ──────────────────────────────────────────────────────── */
.legal {
  padding-top: 64px;
  padding-bottom: 96px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 36px;
}
.legal pre {
  white-space: pre-wrap;
  font: 16px/1.7 var(--sans);
  color: var(--t2);
}

/* ── the editor, up close ─────────────────────────────────────────────── */
.tour {
  padding-top: 110px;
  padding-bottom: 30px;
}
.tour-head {
  text-align: center;
  margin-bottom: 52px;
}
.tour-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: stretch;
}
.tour-tabs {
  display: grid;
  gap: 10px;
  align-content: center;
}
.tour-tab {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  text-align: left;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t2);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.tour-tab:hover {
  background: var(--panel);
}
.tour-tab[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border-color: var(--line-2);
}
.tour-n {
  grid-row: span 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--t3);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.tour-tab[aria-selected="true"] .tour-n {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tour-t {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--t1);
}
.tour-d {
  font-size: 14.5px;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s var(--ease),
    opacity 0.3s,
    margin 0.3s;
}
.tour-tab[aria-selected="true"] .tour-d {
  max-height: 160px;
  opacity: 1;
  margin-top: 6px;
}
.tour-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
}
.tour-tab[aria-selected="true"] .tour-bar.run {
  animation: tour-run var(--tour-ms, 7000ms) linear forwards;
}
@keyframes tour-run {
  to {
    width: 100%;
  }
}
.tour-stage {
  position: relative;
  min-height: 700px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(80, 130, 255, 0.18), transparent 70%),
    radial-gradient(50% 40% at 70% 80%, rgba(255, 170, 90, 0.12), transparent 70%),
    linear-gradient(180deg, #111117, #0b0b0f);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 36px;
}
.tour-panel {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  animation: tour-in 0.55s var(--ease);
}
.tour-panel[hidden] {
  display: none;
}
.tour-panel.stack {
  gap: 14px;
  align-content: center;
}
.tour-panel.stack img {
  width: min(380px, 100%);
}
.tour-panel img {
  max-width: 100%;
  max-height: 628px;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 20px 60px -30px rgba(106, 166, 255, 0.4);
}
@keyframes tour-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}
@media (max-width: 1000px) {
  .tour-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tour-tabs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .tour-tabs::-webkit-scrollbar {
    display: none;
  }
  .tour-tab {
    border-color: var(--line);
  }
  .tour-d {
    display: none;
  }
  .tour-stage {
    min-height: 0;
    height: min(560px, 120vw);
    padding: 20px;
  }
  .tour-panel img {
    max-height: calc(min(560px, 120vw) - 40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-panel {
    animation: none;
  }
}
