/* ==========================================================================
   Sales site — cinematic black, serif display, one warm accent.
   ========================================================================== */
:root {
  --bg: #F7F7F5;
  --bg-2: #EFEEE9;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --line: rgba(22, 24, 29, 0.09);
  --line-2: rgba(22, 24, 29, 0.18);
  --text: #16181D;
  --muted: #5E6068;
  --dim: #8A8C93;
  --accent: #9A6B00;           /* accent TEXT (dark gold, readable on light) */
  --accent-fill: #FFD23F;      /* accent FILL (buttons, highlights) — same yellow as the app */
  --accent-soft: rgba(255, 210, 63, 0.22);

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 400ms;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius: 18px;
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-fill); color: #16181D; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 0.98; }
.display em { font-style: italic; }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.h2 { font-size: clamp(42px, 6.2vw, 84px); margin-bottom: 28px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--accent-fill); color: #16181D; font-weight: 600; }
.btn--light:hover { background: #FFC61A; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(22,24,29,.35); background: rgba(22,24,29,.03); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(247,247,245,.82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 24px; }
/* same mark as the app (components/logo.tsx): dark tile with the yellow play triangle + the name in the UI font */
.wordmark { display: inline-flex; align-items: center; gap: 8px; font: 600 18px/1 var(--sans); letter-spacing: -0.02em; color: var(--text); margin-right: auto; }
.wordmark__mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #16181D; flex: none; }
.wordmark--sm { font-size: 16px; margin: 0; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 1080px) { .nav__links { gap: 18px; } }
@media (max-width: 1000px) { .nav__links { display: none; } }   /* 5 links + Log in + Join the beta need ~900 px */

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vh, 110px) 0 0; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 70%, var(--accent-soft), transparent 70%);
  opacity: .55;
}
.hero__copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .display { font-size: clamp(52px, 9.4vw, 136px); line-height: .94; letter-spacing: -0.025em; }
.hero__sub { margin-top: 28px; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--dim); }

.hero__stage {
  position: relative; height: clamp(440px, 64vw, 700px); margin-top: clamp(48px, 7vh, 80px);
  display: flex; justify-content: center; align-items: flex-start;
}
.hero__reel {
  position: relative; z-index: 3; margin: 0;
  width: clamp(230px, 27vw, 340px); aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 40px 90px -30px rgba(16,18,24,.28), 0 0 0 1px rgba(16,18,24,.08);
}
.hero__reel video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.hero__side {
  position: absolute; top: 6%; z-index: 1; width: clamp(150px, 18vw, 240px); aspect-ratio: 9 / 16;
  object-fit: cover; border-radius: 18px; filter: brightness(.42) saturate(.8);
  box-shadow: 0 24px 60px -20px rgba(16,18,24,.25), 0 0 0 1px rgba(16,18,24,.06);
}
.hero__side--l1 { left: 50%; transform: translateX(calc(-50% - clamp(150px, 19vw, 250px))) rotate(-6deg); z-index: 2; }
.hero__side--r1 { left: 50%; transform: translateX(calc(-50% + clamp(150px, 19vw, 250px))) rotate(6deg); z-index: 2; }
.hero__side--l2 { left: 50%; top: 12%; transform: translateX(calc(-50% - clamp(260px, 34vw, 460px))) rotate(-11deg) scale(.86); filter: brightness(.26) saturate(.7); }
.hero__side--r2 { left: 50%; top: 12%; transform: translateX(calc(-50% + clamp(260px, 34vw, 460px))) rotate(11deg) scale(.86); filter: brightness(.26) saturate(.7); }
.hero__stage::after { /* fade the stage into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
@media (max-width: 720px) {
  .hero__side--l2, .hero__side--r2 { display: none; }
  .hero__side--l1 { transform: translateX(calc(-50% - 44vw)) rotate(-6deg); }
  .hero__side--r1 { transform: translateX(calc(-50% + 44vw)) rotate(6deg); }
  .hero__stage { height: 132vw; }
  .hero__reel { width: 62vw; }
  .hero__side { width: 40vw; }
}

/* play / pause toggle (only shown when autoplay is off, e.g. reduced motion) */
.playtoggle {
  position: absolute; left: 50%; top: 50%; z-index: 5; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; display: none;
}
.playtoggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px;
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff;
}
.manual .playtoggle { display: block; }
.manual .is-playing + .playtoggle { opacity: 0; }
.manual .is-playing + .playtoggle:hover, .manual .is-playing + .playtoggle:focus-visible { opacity: 1; }
.manual .is-playing + .playtoggle::before { margin: -9px 0 0 -7px; width: 14px; height: 18px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }

/* ---------- "you gave → you got" samples ---------- */
.gave { padding: clamp(64px, 9vh, 110px) 0 clamp(56px, 8vh, 96px); background: var(--bg-2); overflow-x: clip; }
.gave__head { max-width: 760px; }
.gave__sub { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 560px; }
.gave__bar { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gave__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gv-pill { border: 1px solid var(--line-2); background: var(--bg); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.gv-pill span { color: var(--muted); font-size: 12px; margin-left: 4px; }
.gv-pill[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.gv-pill[aria-pressed="true"] span { color: inherit; opacity: .7; }
.gave__nav { display: flex; align-items: center; gap: 8px; }
.gave__count { color: var(--muted); font-size: 13px; margin-right: 6px; }
.gv-arrowbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 18px; cursor: pointer; }
.gv-arrowbtn:hover, .gv-pill:hover { border-color: var(--text); }
.gave__rail { margin-top: 22px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw, 1200px)) / 2));
  padding: 6px max(var(--gutter), calc((100vw - var(--maxw, 1200px)) / 2)) 26px; scrollbar-width: thin; outline: none; }
.gv-card { flex: 0 0 clamp(236px, 22vw, 290px); scroll-snap-align: start; display: flex; flex-direction: column; }
.gv-in { display: flex; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px; min-height: 74px; }
.gv-ico { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-fill, #FFD23F); color: #16181D; }
.gv-ico svg { width: 21px; height: 21px; }
.gv-in__t small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gv-in__t b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; color: var(--text); }
.gv-arrow { height: 26px; display: grid; place-items: center; }
.gv-arrow span { width: 2px; height: 100%; background: repeating-linear-gradient(to bottom, var(--line-2) 0 4px, transparent 4px 8px); position: relative; }
.gv-arrow span::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top-color: var(--muted); }
.gv-out { position: relative; aspect-ratio: var(--ar, 9/16); border-radius: 20px; overflow: hidden; background: #0E1014; box-shadow: 0 24px 60px -28px rgba(16,18,24,.45), 0 0 0 1px rgba(16,18,24,.08); }
.gv-out video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gv-got { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #16181D; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.gv-play { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.gv-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.9)
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6.5v11l9-5.5z' fill='%2316181D'/></svg>") center/26px no-repeat; transition: opacity .2s; }
.gv-card.is-playing .gv-play::after { opacity: 0; }
.gv-card h3 { margin-top: 14px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.gv-card p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.gv-empty { color: var(--muted); padding: 40px 0; }
@media (max-width: 640px) { .gv-card { flex-basis: 72vw; } .gave__bar { align-items: flex-start; } .gave__filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; } .gv-pill { flex: 0 0 auto; } }
@media (prefers-reduced-motion: reduce) { .gave__rail { scroll-behavior: auto; } }

/* video types strip */
.tgrid { margin-top: clamp(32px, 5vh, 56px); list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tgrid li { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; background: var(--bg); }
.tgrid h3 { font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.tgrid p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.fcard__body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- generic sections ---------- */
.section { padding: clamp(90px, 14vh, 160px) 0; border-top: 1px solid var(--line); }

/* how */
.steps { margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); counter-reset: s; }
.step { border-top: 1px solid var(--line-2); padding-top: 26px; }
.step__n { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--dim); margin-bottom: 22px; font-style: italic; }
.step h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* features */
.features .lead { margin-bottom: clamp(44px, 6vh, 72px); }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.fcard__media {
  position: relative; height: 380px; display: flex; align-items: center; justify-content: center; padding: 28px 0 0;
  background: radial-gradient(70% 70% at 50% 100%, rgba(255,210,63,.10), transparent 70%), #EFEEE9;
  border-bottom: 1px solid var(--line);
}
.fcard__media video { height: 100%; width: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 14px 14px 0 0; background: #000; align-self: flex-end; box-shadow: 0 0 0 1px rgba(16,18,24,.08); }
.fcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fcard h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.fcard p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fchips button {
  font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: none;
  color: var(--muted); cursor: pointer; transition: all .25s var(--ease);
}
.fchips button:hover { color: var(--text); border-color: rgba(22,24,29,.35); }
.fchips button.on { background: var(--text); border-color: var(--text); color: #fff; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } .fcard__media { height: 360px; } }

.minis { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.minis li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.minis h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.minis p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.badge { font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(154,107,0,.35); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 1000px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .minis { grid-template-columns: minmax(0, 1fr); } .minis li { padding-right: 0; } }

/* brand */
.brand { overflow-x: clip; }
.brand__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticks { margin-top: 32px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 28px; color: #3A3D45; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--accent); }
.brand__visual { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.6vw, 20px); }
.bclip { margin: 0; flex: 1 1 0; max-width: 240px; min-width: 0; }
.bclip--mid { transform: translateY(-28px); }
.bclip__m { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(16,18,24,.28), 0 0 0 1px rgba(16,18,24,.08); }
.bclip__m video { width: 100%; height: 100%; object-fit: contain; }
.bclip figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.brand__visual--single .bclip { max-width: 560px; flex-basis: 100%; }
.brand__visual--single .bclip__m { aspect-ratio: var(--ar, 9 / 16); }
@media (max-width: 900px) {
  .brand__in { grid-template-columns: minmax(0, 1fr); }
  .bclip--mid { transform: translateY(-16px); }
  .bclip figcaption { font-size: 12px; }
}

/* pricing */
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pricing__head .h2 { margin-bottom: 28px; }
.cur { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 36px; }
.cur button { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.cur button[aria-pressed="true"] { background: var(--text); color: #fff; }
.plans { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px 28px; display: flex; flex-direction: column; }
.plan--pop { background: var(--surface-2); border-color: rgba(255,210,63,.9); box-shadow: 0 0 0 1px rgba(255,210,63,.5), 0 30px 80px -40px rgba(255,190,0,.35); }
.plan__tag { position: absolute; top: 22px; right: 22px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.01em; line-height: 1; }
.plan__for { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.plan__price { margin: 28px 0 24px; display: flex; align-items: baseline; gap: 10px; }
.plan__price span { font-size: 46px; font-weight: 500; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { color: var(--muted); font-size: 13.5px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan li { position: relative; padding-left: 24px; font-size: 14.5px; color: #3A3D45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; width: 100%; }
.fine { margin-top: 28px; color: var(--dim); font-size: 13.5px; text-align: center; }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--muted);
  transition: transform var(--dur) var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; max-width: 640px; }
@media (max-width: 820px) { .faq__in { grid-template-columns: minmax(0, 1fr); } }

/* final */
.final { position: relative; padding: clamp(110px, 18vh, 200px) 0; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 50% 100%, var(--accent-soft), transparent 70%); pointer-events: none; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(50px, 8.4vw, 124px); line-height: .96; }
.final__sub { margin: 26px 0 36px; color: var(--muted); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); color: var(--dim); font-size: 13px; }
.footer__in { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.footer__in p:first-of-type { margin-right: auto; }
.footer .wordmark { color: var(--text); }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .swap.is-out { filter: none; transform: none; }
}
.footer__links { display: flex; gap: 6px; }
.footer__links a { color: var(--dim); text-decoration: none; }
.footer__links a:hover { color: var(--text); text-decoration: underline; }

/* viral templates (one-time purchase) */
.viral__head { display: grid; gap: 18px; max-width: 760px; }
.vgrid { margin-top: clamp(28px, 4vh, 48px); list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.vcard { min-width: 0; }
.vcard__link { display: block; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 8px; color: inherit; text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.vcard__link:hover, .vcard__link:focus-visible { transform: translateY(-3px); border-color: var(--text); }
.vcard__media { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.vcard__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__body { padding: 10px 4px 4px; }
.vcard__body h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.vcard__body p { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.vcard__cta { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

/* how it works: the demo video */
.how__demo { margin: clamp(28px, 4vh, 44px) 0 clamp(28px, 4vh, 48px); }
.how__demo video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); }
.how__demo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* hero: the 16:9 promo (music-only, plays muted until the visitor turns sound on) */
.hero__promo { position: relative; margin: clamp(40px, 6vh, 72px) auto 0; width: 100%; max-width: 1180px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  background: #0B0B0E; box-shadow: 0 40px 90px -30px rgba(16,18,24,.35), 0 0 0 1px rgba(16,18,24,.08); }
.hero__promo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__sound { position: absolute; right: 16px; bottom: 16px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(11,11,14,.6); color: #fff; font: 600 13px/1 var(--sans); cursor: pointer; backdrop-filter: blur(6px); }
.hero__sound:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 2px; }

/* link to the full animation library under the samples rail */
.gave__more { margin-top: 28px; display: flex; justify-content: center; }
