/* ==========================================================================
   Lautus — landing page
   Paper white · navy ink · cherry selections · soft blue glows
   ========================================================================== */

:root {
  --paper: #f7f9fe;
  --surface: #ffffff;
  --ink: #0b1a44;
  --ink-2: #4a5680;
  --ink-3: #626e94;
  --line: rgba(11, 26, 68, 0.09);
  --line-2: rgba(11, 26, 68, 0.16);

  --blue: #4f7dff;
  --blue-deep: #2f5cf0;
  --sky: #78a0ff;
  --cherry: #c81e38;
  --cherry-bright: #e63950;

  --night: #070d27;

  --font: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Azeret Mono', 'SF Mono', Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-btn:
    0 0.7px 0.7px -0.3px rgba(11, 26, 68, 0.08),
    0 1.8px 1.8px -0.6px rgba(11, 26, 68, 0.08),
    0 3.6px 3.6px -0.9px rgba(11, 26, 68, 0.08),
    0 6.9px 6.9px -1.2px rgba(11, 26, 68, 0.08),
    0 13.6px 13.6px -1.5px rgba(11, 26, 68, 0.09),
    0 30px 30px -1.75px rgba(11, 26, 68, 0.1);
  --shadow-card:
    0 1px 2px rgba(11, 26, 68, 0.04),
    0 4px 10px -4px rgba(11, 26, 68, 0.06),
    0 22px 44px -22px rgba(11, 26, 68, 0.2);
  --shadow-float:
    0 2px 6px rgba(11, 26, 68, 0.05),
    0 30px 70px -28px rgba(11, 26, 68, 0.35);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  interpolate-size: allow-keywords;
}

/* Self-hosted Medium keeps the wordmark right even if the font CDN is slow. */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip:focus-visible { transform: none; outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lede strong { font-weight: 500; color: var(--ink); }

.grad {
  background: linear-gradient(90deg, var(--ink) 0%, var(--blue-deep) 55%, var(--sky) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Logo chip used as a section eyebrow */
.brandchip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--ink);
}
.brandchip img { width: 26px; height: auto; }
.brandchip__sep { width: 1px; height: 16px; background: var(--line-2); }
.brandchip__sub { letter-spacing: 0.02em; color: var(--ink-3); }
.brandchip--dark { color: #fff; }

/* --------------------------------------------------------------------------
   Buttons — letters roll up on hover (script.js splits the label)
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px;
  padding: 0 17px 0 19px;
  border: 0; border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 13px/1 var(--font);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow-btn);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(11, 26, 68, 0.06), var(--shadow-btn);
}
.btn--sm { height: 40px; padding: 0 14px 0 16px; font-size: 12px; border-radius: 9px; }

.btn__label { display: inline-flex; }
.btn__icon { width: 14px; height: 14px; flex: none; transition: transform 0.45s var(--ease-out); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }

.roll { display: inline-flex; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.roll__c {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.3em 0 currentColor;
  transition: transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i) * 12ms);
}
.btn:hover .roll__c, .btn:focus-visible .roll__c { transform: translateY(-1.3em); }

/* --------------------------------------------------------------------------
   Nav — floating bar
   -------------------------------------------------------------------------- */

.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav__bar, .nav__menu {
  pointer-events: auto;
  width: min(900px, 100%);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
          backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.04), 0 12px 32px -16px rgba(11, 26, 68, 0.22);
}

.nav__bar {
  display: flex; align-items: center; gap: 8px;
  height: 60px;
  padding: 0 10px 0 14px;
  transition: box-shadow 0.4s, background-color 0.4s;
}
.nav.is-scrolled .nav__bar {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.05), 0 18px 40px -18px rgba(11, 26, 68, 0.3);
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand__mark { width: 34px; height: auto; }
.brand__word {
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}
.brand:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: rgba(11, 26, 68, 0.66);
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(11, 26, 68, 0.045); }
.nav__links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none; place-items: center;
  width: 42px; height: 42px;
  margin-left: 6px;
  border: 0; border-radius: 10px;
  background: rgba(11, 26, 68, 0.05);
  cursor: pointer;
}
.nav__toggle span {
  grid-area: 1 / 1;
  width: 18px; height: 1.8px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.nav__toggle span:first-child { transform: translateY(-3.5px); }
.nav__toggle span:last-child { transform: translateY(3.5px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav__toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav__menu {
  display: grid; gap: 2px;
  margin-top: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  animation: fade-up 0.4s var(--ease-out) both;
}
.nav__menu[hidden] { display: none; }
.nav__menu a:not(.btn) { padding: 12px; border-radius: 10px; font-size: 16px; }
.nav__menu a:not(.btn):hover { background: rgba(11, 26, 68, 0.045); }
.nav__menu .btn { margin-top: 6px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(118px, 15vh, 150px);
}

.hero__bg {
  position: absolute; inset: 0 0 -10%; z-index: -1;
  overflow: hidden; pointer-events: none;
}

.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow--a {
  width: min(62vw, 820px); aspect-ratio: 1;
  left: -16%; top: -30%;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.34) 0%, rgba(79, 125, 255, 0.1) 45%, transparent 70%);
  animation: drift-a 40s ease-in-out infinite alternate;
}
.glow--b {
  width: min(54vw, 720px); aspect-ratio: 1;
  right: -14%; top: -6%;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.3) 0%, rgba(120, 160, 255, 0.08) 45%, transparent 70%);
  animation: drift-b 52s ease-in-out infinite alternate;
}
.glow--c {
  width: min(30vw, 380px); aspect-ratio: 1;
  left: 50%; top: 34%;
  background: radial-gradient(circle, rgba(230, 57, 80, 0.1) 0%, transparent 65%);
  animation: drift-c 46s ease-in-out infinite alternate;
}

/* soft vertical light, like sun through blinds */
.streaks {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0 80px,
    rgba(255, 255, 255, 0.6) 80px 130px,
    rgba(255, 255, 255, 0) 130px 230px);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 18%, #000, transparent 75%);
          mask-image: radial-gradient(70% 55% at 50% 18%, #000, transparent 75%);
  filter: blur(16px);
  opacity: 0.8;
}

.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.05), 0 8px 20px -10px rgba(11, 26, 68, 0.2);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cherry);
  animation: pulse 2.4s ease-out infinite;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.4rem, 6.1vw, 4.9rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

/* "finds" — a clip selection, with marching ants, handles and in/out points */
.select {
  position: relative;
  display: inline-block;
  padding: 0 0.14em 0.02em;
  margin-inline: 0.02em;
  border-radius: 0.1em;
  background: #fff;
  box-shadow: 0 1px 16px rgba(11, 26, 68, 0.14), 0 1px 3px rgba(11, 26, 68, 0.06);
}
.select::before {
  --ant: var(--cherry-bright);
  content: "";
  position: absolute; inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--ant) 55%, transparent 0) 0 0 / 12px 2px repeat-x,
    linear-gradient(90deg, var(--ant) 55%, transparent 0) 0 100% / 12px 2px repeat-x,
    linear-gradient(180deg, var(--ant) 55%, transparent 0) 0 0 / 2px 12px repeat-y,
    linear-gradient(180deg, var(--ant) 55%, transparent 0) 100% 0 / 2px 12px repeat-y;
  animation: ants 1.2s linear infinite;
}
.select__h {
  position: absolute;
  width: 9px; height: 9px;
  background: #fff;
  border: 1.6px solid var(--cherry-bright);
  border-radius: 2px;
}
.select__h:nth-of-type(1) { left: -6px; top: -6px; }
.select__h:nth-of-type(2) { right: -6px; top: -6px; }
.select__h:nth-of-type(3) { left: -6px; bottom: -6px; }
.select__h:nth-of-type(4) { right: -6px; bottom: -6px; }
/* in/out points, drawn from data-tc so they stay out of the heading text */
.select::after {
  content: attr(data-tc);
  content: attr(data-tc) / "";
  position: absolute; left: 50%; top: calc(100% + 11px);
  translate: -50% 0;
  padding: 5px 8px 4px;
  border-radius: 6px;
  background: var(--cherry);
  color: #fff;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(200, 30, 56, 0.6);
}

.hero__lede {
  max-width: 36em;
  margin-top: 40px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__lede strong { font-weight: 500; color: var(--ink); }

.proof { margin-top: 52px; font-size: 14px; color: var(--ink-3); }

.marquee {
  width: min(920px, 100%);
  margin-top: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__list { display: flex; justify-content: center; flex-wrap: wrap; row-gap: 12px; }
.marquee.is-ready .marquee__list {
  flex-wrap: nowrap; justify-content: flex-start;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__list { animation-play-state: paused; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 10px;
  padding-inline: 0 48px;
  font-size: 21px; font-weight: 600;
  letter-spacing: -0.035em;
  color: rgba(11, 26, 68, 0.55);
  white-space: nowrap;
}
.marquee__list svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Hero visual — scales with its own width (container units)
   -------------------------------------------------------------------------- */

.stage {
  position: relative;
  width: min(1180px, 100% - 2 * var(--gutter));
  aspect-ratio: 1180 / 600;
  margin: 52px auto 0;
  container-type: inline-size;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 98%);
          mask-image: linear-gradient(#000 70%, transparent 98%);
}

.editor {
  position: absolute; left: 15.5%; top: 2%;
  width: 69%;
  font-size: 1.02cqw;
  border-radius: 1.4em;
  background: #fff;
  border: 1px solid rgba(11, 26, 68, 0.08);
  box-shadow: 0 2px 6px rgba(11, 26, 68, 0.05), 0 40px 90px -40px rgba(11, 26, 68, 0.45);
  overflow: hidden;
}

.editor__bar {
  display: flex; align-items: center; gap: 1em;
  height: 3.4em;
  padding: 0 1.2em;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.dots { display: flex; gap: 0.45em; }
.dots i { width: 0.8em; height: 0.8em; border-radius: 50%; background: #dfe4f2; }
.editor__file { display: inline-flex; align-items: center; gap: 0.5em; font-size: 1.05em; font-weight: 500; }
.editor__file svg { width: 1.25em; height: 1.25em; color: var(--ink-3); }
.editor__tc { font: 500 0.92em var(--font-mono); color: var(--ink-3); }
.editor__found {
  display: inline-flex; align-items: center; gap: 0.5em;
  height: 2.2em; margin-left: auto; padding: 0 0.9em;
  border-radius: 999px;
  background: #fff0f2;
  color: var(--cherry);
  font-size: 0.95em; font-weight: 600;
}
.editor__found i {
  width: 0.55em; height: 0.55em; border-radius: 50%;
  background: var(--cherry-bright);
  animation: pulse 2.4s ease-out infinite;
}

.editor__body {
  display: grid;
  grid-template-columns: 1.72fr 1fr;
  gap: 1.1em;
  padding: 1.1em;
}

.player { position: relative; aspect-ratio: 16 / 9; border-radius: 0.9em; overflow: hidden; }

.scene { position: absolute; inset: 0; overflow: hidden; background: var(--scene, #1a2a66); }
.scene--stage {
  --scene:
    radial-gradient(55% 70% at 68% 32%, rgba(120, 160, 255, 0.6), transparent 70%),
    radial-gradient(40% 40% at 95% 95%, rgba(230, 57, 80, 0.35), transparent 70%),
    linear-gradient(180deg, #111c4a, #0a1233);
}
.scene__screen {
  position: absolute; left: 7%; top: 14%;
  width: 40%; aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; gap: 0.7em;
  padding: 1.4em;
  border-radius: 0.5em;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.scene__screen i { height: 0.6em; border-radius: 1em; background: rgba(255, 255, 255, 0.35); }
.scene__screen i:nth-child(1) { width: 70%; height: 1em; background: rgba(255, 255, 255, 0.55); }
.scene__screen i:nth-child(2) { width: 92%; }
.scene__screen i:nth-child(3) { width: 56%; }

.person { fill: currentColor; }
.scene .person {
  position: absolute; bottom: -3%; left: 54%;
  width: 30%;
  color: #060b24;
  filter: drop-shadow(0 0 1.1em rgba(120, 160, 255, 0.5));
}

.crop {
  position: absolute; top: 0; bottom: 0; left: 53.2%;
  width: 31.64%;
  border: 2px dashed rgba(255, 255, 255, 0.92);
  border-radius: 0.4em;
  box-shadow: 0 0 0 100em rgba(4, 8, 28, 0.45);
}
.crop b {
  position: absolute; top: 0.7em; left: 0.7em;
  padding: 0.35em 0.55em;
  border-radius: 0.4em;
  background: var(--cherry-bright);
  color: #fff;
  font: 600 0.85em/1 var(--font-mono);
}

.moments { display: flex; flex-direction: column; gap: 0.55em; min-width: 0; }
.moments__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.2em 0.2em 0.3em;
  font-size: 1.05em; font-weight: 600;
}
.moments__head span {
  padding: 0.25em 0.65em; border-radius: 1em;
  background: #f1f4fc;
  font: 500 0.85em var(--font-mono);
  color: var(--ink-3);
}
.moment {
  display: flex; align-items: center; gap: 0.75em;
  padding: 0.6em;
  border-radius: 0.75em;
  border: 1px solid var(--line);
  background: #fff;
}
.moment.is-active {
  border-color: rgba(230, 57, 80, 0.5);
  background: #fff6f7;
  box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.08);
}
.moment__thumb { flex: none; width: 2.6em; aspect-ratio: 9 / 16; border-radius: 0.4em; background: var(--scene); }
.moment__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25em; }
.moment__txt b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.98em; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
}
.moment__txt small { font: 400 0.8em var(--font-mono); color: var(--ink-3); }

.score {
  position: relative;
  flex: none; display: grid; place-items: center;
  width: 2.6em; height: 2.6em; border-radius: 50%;
  font: 600 0.9em/1 var(--font-mono);
  color: var(--blue-deep);
}
.score::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(currentColor 0 88%, rgba(79, 125, 255, 0.15) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
}
.moment.is-active .score { color: var(--cherry-bright); }

.timeline {
  grid-column: 1 / -1;
  padding: 0.9em 1em 1.1em;
  border-radius: 0.9em;
  background: #f6f8fd;
  border: 1px solid var(--line);
}
.timeline__ruler {
  display: flex; justify-content: space-between;
  margin-bottom: 0.7em;
  font: 400 0.78em var(--font-mono);
  color: var(--ink-3);
}
.timeline__track { position: relative; height: 4.2em; }

.wave { display: flex; align-items: center; gap: 2px; height: 100%; }
.wave i {
  flex: 1;
  height: calc(var(--h, 0.4) * 100%);
  min-height: 2px;
  border-radius: 2px;
  background: rgba(11, 26, 68, 0.18);
}
.timeline .wave i.on { background: var(--cherry-bright); }

.clip {
  position: absolute; top: -0.4em; bottom: -0.4em;
  left: var(--x); width: var(--w);
  border-radius: 0.4em;
  background: rgba(230, 57, 80, 0.1);
  border: 1.5px solid rgba(230, 57, 80, 0.65);
}
.clip.is-active { background: rgba(230, 57, 80, 0.18); border-color: var(--cherry-bright); box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.12); }

.playhead {
  position: absolute; inset: -0.9em 0 -0.7em;
  pointer-events: none;
  transform: translateX(21%);
  animation: playhead 16s linear -3.4s infinite;
}
.playhead::before, .playhead::after {
  content: "";
  position: absolute; left: 0;
  background: var(--ink);
}
.playhead::before {
  top: -0.2em;
  width: 0.9em; height: 0.9em;
  translate: calc(-50% + 1px) 0;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}
.playhead::after { top: 0; bottom: 0; width: 2px; border-radius: 2px; }

/* phones fanned around the editor */
.phone { position: absolute; z-index: 2; width: 18.5%; }
.phone .short { font-size: 0.95cqw; }
.phone--l { left: 2.5%; top: 17%; rotate: -7deg; }
.phone--r { right: 2.5%; top: 9%; rotate: 6deg; }
.phone--l .short { animation: float 7s ease-in-out infinite alternate; }
.phone--r .short { animation: float 8s ease-in-out -3s infinite alternate; }

/* --------------------------------------------------------------------------
   Vertical short — a stylised 9:16 frame, sized in em
   -------------------------------------------------------------------------- */

.short {
  position: relative;
  aspect-ratio: 9 / 16;
  font-size: 10px;
  border-radius: 1.8em;
  border: 0.45em solid #0a1030;
  background: var(--scene, #1b2b6b);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 2em 4em -1.6em rgba(6, 12, 40, 0.55), 0 0.3em 0.8em rgba(6, 12, 40, 0.2);
}
.short__person {
  position: absolute; left: 50%; bottom: -4%;
  width: 92%;
  translate: -50% 0;
  color: rgba(5, 9, 30, 0.94);
  filter: drop-shadow(0 0 1.4em rgba(255, 255, 255, 0.28));
}
.short__progress {
  position: absolute; top: 1.3em; left: 1.2em; right: 1.2em;
  height: 0.28em; border-radius: 1em;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.short__progress i {
  display: block; height: 100%;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0.35);
  transform-origin: left;
  animation: progress 9s linear infinite;
}
.short__cap {
  position: absolute; left: 0.9em; right: 0.9em; top: 42%; z-index: 2;
  translate: 0 -50%;
  text-align: center;
  font-size: 1.75em; font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 0.08em 0.5em rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}
.short__cap em {
  font-style: normal;
  padding: 0 0.16em;
  border-radius: 0.14em;
  background: var(--cherry-bright);
  text-shadow: none;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.short__rail { position: absolute; right: 0.9em; bottom: 6.4em; display: grid; gap: 1.1em; color: #fff; }
.short__rail svg { width: 2em; height: 2em; filter: drop-shadow(0 0.1em 0.3em rgba(0, 0, 0, 0.35)); }
.short__meta {
  position: absolute; left: 1.2em; bottom: 1.7em;
  display: flex; align-items: center; gap: 0.6em;
  font-size: 1.05em; font-weight: 600;
  color: #fff;
}
.short__meta i {
  width: 2em; height: 2em; border-radius: 50%;
  background: linear-gradient(135deg, #fff, #9bb5ff);
  border: 2px solid #fff;
}

.short--mini { border-width: 0.55em; }
.short--mini .short__cap { font-size: 1.9em; }

/* backdrops, lit from behind the speaker */
.sc-1 { --scene: radial-gradient(90% 55% at 50% 32%, #7d9bff 0%, #3350c4 42%, #0e1850 100%); }
.sc-2 { --scene: radial-gradient(90% 55% at 50% 32%, #ff9b86 0%, #c23a55 45%, #2c0a1e 100%); }
.sc-3 { --scene: radial-gradient(90% 55% at 50% 32%, #a893ff 0%, #5a3cc4 45%, #170c42 100%); }
.sc-4 { --scene: radial-gradient(90% 55% at 50% 32%, #ffcf7a 0%, #c9742a 45%, #2e1606 100%); }
.sc-5 { --scene: radial-gradient(90% 55% at 50% 32%, #6ee6d4 0%, #1b8f86 45%, #062a27 100%); }
.sc-6 { --scene: radial-gradient(90% 55% at 50% 32%, #ffa3d3 0%, #c2438a 45%, #300b26 100%); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { position: relative; padding-block: clamp(76px, 9vw, 124px); }
.section--flush { padding-block: 0; }

.head {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}
.head .lede { max-width: 34em; }
.head .btn { margin-top: 8px; }
.head--dark .h2 { color: #fff; }
.head--dark .lede { color: rgba(255, 255, 255, 0.66); }

/* Product ---------------------------------------------------------------- */

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product__intro {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.product__intro .btn { margin-top: 6px; }

.rule {
  max-width: 400px;
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}
.rule blockquote { font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; }
.rule figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rule figcaption img { width: 32px; height: auto; }
.rule figcaption b { display: block; font-size: 14px; }
.rule figcaption small { display: block; font-size: 13px; color: var(--ink-3); }

.frame {
  position: relative;
  padding: 14px;
  border-radius: 28px;
  border: 1.5px dashed rgba(79, 125, 255, 0.5);
  background: linear-gradient(180deg, rgba(79, 125, 255, 0.06), rgba(79, 125, 255, 0.02));
}
.frame__label {
  position: absolute; top: -16px; left: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px;
  padding: 0 12px 0 7px;
  border-radius: 9px;
  background: #fff;
  border: 1.5px dashed rgba(79, 125, 255, 0.55);
  box-shadow: 0 4px 10px -4px rgba(11, 26, 68, 0.15);
  font-size: 14px; font-weight: 500;
}
.frame__label img { width: 22px; height: auto; }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--t1, #fff), var(--t2, #fff));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card--blue { --t1: #f3f6ff; --t2: #e3eaff; }
.card--lilac { --t1: #f6f3ff; --t2: #e9e3ff; }
.card--rose { --t1: #fff5f6; --t2: #ffe4e8; }
.card--sky { --t1: #f1f9ff; --t2: #dff0ff; }
.card--wide { grid-column: 1 / -1; flex-direction: row; --t1: #ffffff; --t2: #edf1ff; }

.card__viz {
  position: relative;
  height: 200px;
  margin: 10px 10px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 26, 68, 0.06);
  overflow: hidden;
}
.card__body { padding: 18px 20px 22px; }
.card__title {
  display: flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.card__title svg { flex: none; width: 20px; height: 20px; color: var(--blue); }
.card__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card__text strong { color: var(--ink); }

.card--wide .card__body { flex: 1; align-self: center; padding: 26px 24px; }
.card--wide .card__viz { flex: 0 0 50%; height: auto; min-height: 230px; margin: 10px; }

.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.platforms span {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
}

/* bento visuals */
.viz-moment { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 16px; }
.viz-moment p { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.viz-moment .tc { flex: none; font: 400 11px var(--font-mono); color: #a0aac6; }
.viz-moment .line { flex: 1; min-width: 0; }
.viz-moment .is-sel { color: var(--ink); font-weight: 500; }
.viz-moment .sel {
  padding: 2px 5px;
  border-radius: 4px;
  background: #fff;
  outline: 1.5px dashed var(--cherry-bright);
  outline-offset: 2px;
  box-shadow: 0 6px 16px -6px rgba(200, 30, 56, 0.35);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.viz-moment .score { width: 34px; height: 34px; font-size: 11px; color: var(--cherry-bright); }

.viz-reframe { background: #0a1233; }
.viz-reframe .person {
  position: absolute; bottom: -4%;
  width: 30%;
  color: rgba(5, 9, 30, 0.95);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.28));
}
.viz-reframe .person--a { left: 14%; }
.viz-reframe .person--b { left: 56%; }
.crop--track {
  width: auto; height: 100%;
  aspect-ratio: 9 / 16;
  left: 11%;
  animation: track 7s var(--ease-io) infinite;
}

.viz-captions {
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: radial-gradient(90% 90% at 50% 15%, #3b2142, #120b1f);
}
.karaoke {
  text-align: center;
  font-size: 25px; font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}
.karaoke span {
  padding: 0 0.12em;
  border-radius: 0.12em;
  animation: word 3.6s infinite;
}
.karaoke span:nth-of-type(2) { animation-delay: 0.45s; }
.karaoke span:nth-of-type(3) { animation-delay: 0.9s; }
.karaoke span:nth-of-type(4) { animation-delay: 1.35s; }
.karaoke span:nth-of-type(5) { animation-delay: 1.8s; }
.karaoke span:nth-of-type(6) { animation-delay: 2.25s; }
.karaoke span:nth-of-type(7) { animation-delay: 2.7s; }
.styles { display: flex; gap: 6px; }
.styles i {
  padding: 5px 10px;
  border-radius: 7px;
  font-style: normal; font-size: 11.5px; font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.styles i.is-on { color: #fff; background: var(--cherry-bright); border-color: transparent; }

.viz-sound { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px; }
.viz-sound p { display: flex; align-items: center; gap: 12px; }
.tag-s {
  flex: none; width: 52px;
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tag-s--on { color: var(--blue-deep); }
.viz-sound .wave { flex: 1; height: 56px; }
.wave--mixed i { background: var(--blue); }

.viz-publish {
  container-type: inline-size;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 0;
  background: radial-gradient(80% 90% at 50% 100%, rgba(79, 125, 255, 0.22), transparent 70%), rgba(255, 255, 255, 0.7);
}
.viz-publish .short { flex: none; width: 27cqw; font-size: 1.75cqw; }
.viz-publish .short:nth-child(1) { rotate: -5deg; translate: 0 8px; }
.viz-publish .short:nth-child(2) { width: 32cqw; font-size: 2.05cqw; }
.viz-publish .short:nth-child(3) { rotate: 5deg; translate: 0 8px; }

/* How it works ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(44px, 6vw, 64px);
}

.step {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 390px;
  padding: 28px 30px 30px;
  border-radius: 24px;
  background: linear-gradient(165deg, #ffffff 10%, #edf2ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.step--1 { grid-column: span 7; background: linear-gradient(160deg, #eef3ff 0%, #d6e1ff 100%); }
.step--2 { grid-column: span 5; }
.step--3 { grid-column: span 5; }
.step--4 { grid-column: span 7; background: linear-gradient(160deg, #fff 0%, #ffe9ed 100%); }

.step__num {
  position: relative; z-index: 1;
  margin-bottom: 16px;
  font-size: 118px; font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, var(--blue-deep) 0%, rgba(79, 125, 255, 0.22) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.step--4 .step__num { background-image: linear-gradient(180deg, var(--cherry-bright) 0%, rgba(230, 57, 80, 0.2) 100%); }
.step__title { position: relative; z-index: 1; font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; }
.step__text { position: relative; z-index: 1; max-width: 32ch; margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.step__viz { position: absolute; top: 26px; right: 26px; width: 56%; }

.cursor {
  position: absolute; z-index: 3;
  width: 22px; height: 22px;
  color: var(--ink);
  filter: drop-shadow(0 2px 4px rgba(11, 26, 68, 0.3));
}

.viz-upload { display: grid; gap: 10px; }
.drop {
  display: grid; place-items: center; align-content: center; gap: 8px;
  height: 118px;
  border-radius: 16px;
  border: 1.5px dashed rgba(79, 125, 255, 0.55);
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
}
.drop__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--blue);
}
.drop__icon svg { width: 20px; height: 20px; }
.file {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 8px; align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.file__icon {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue-deep);
}
.file__icon svg { width: 20px; height: 20px; }
.file__txt { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.file__txt small { font: 400 11.5px var(--font-mono); color: var(--ink-3); }
.file__bar { height: 6px; border-radius: 6px; background: #e8edfa; overflow: hidden; }
.file__bar i {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0.68);
  transform-origin: left;
  animation: upload 3.4s var(--ease-io) infinite;
}

.viz-scan {
  position: relative;
  display: grid; gap: 7px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.viz-scan p { display: flex; align-items: center; gap: 10px; }
.viz-scan .tc { width: 40px; font: 400 10.5px var(--font-mono); color: var(--ink-3); }
.viz-scan i { flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e6ebf8 var(--w), transparent 0); }
.viz-scan b { width: 22px; text-align: right; font: 500 11px var(--font-mono); color: var(--ink-3); }
.viz-scan .is-hot i { background: linear-gradient(90deg, rgba(230, 57, 80, 0.4) var(--w), transparent 0); }
.viz-scan .is-hot b { color: var(--cherry-bright); }
.scanline {
  position: absolute; left: 0; right: 0; top: 0;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(79, 125, 255, 0.16));
  border-bottom: 1.5px solid rgba(79, 125, 255, 0.6);
  animation: scan 3.6s var(--ease-io) infinite alternate;
}
.viz-scan .cursor { right: 16%; bottom: -8px; }

.viz-pick { display: grid; gap: 8px; }
.viz-pick p {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 13px;
}
.viz-pick p:not(.is-on) { opacity: 0.55; }
.viz-pick .box {
  flex: none; display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  color: #fff;
}
.viz-pick .is-on .box { background: var(--ink); border-color: var(--ink); }
.viz-pick .box svg { width: 14px; height: 14px; }
.viz-pick .thumb { flex: none; width: 18px; aspect-ratio: 9 / 16; border-radius: 4px; background: var(--scene); }
.viz-pick b { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-pick small { font: 400 11px var(--font-mono); color: var(--ink-3); }

.viz-post { height: 220px; }
.viz-post .short { position: absolute; top: 0; font-size: 6.4px; }
.viz-post .short:nth-child(1) { right: 118px; top: 12px; width: 100px; rotate: -6deg; }
.viz-post .short:nth-child(2) { right: 6px; width: 112px; rotate: 4deg; }
.dl {
  position: absolute; right: 56px; bottom: -4px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
}
.dl svg { width: 16px; height: 16px; }
.viz-post .cursor { right: 40px; bottom: -22px; }

/* Use cases — dark panel -------------------------------------------------- */

.night {
  position: relative;
  isolation: isolate;
  margin-inline: clamp(8px, 1.4vw, 18px);
  padding-block: clamp(80px, 10vw, 130px) clamp(64px, 8vw, 110px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--night);
  color: #fff;
  overflow: hidden;
}
.night__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(79, 125, 255, 0.45), transparent 70%),
    radial-gradient(30% 30% at 88% 22%, rgba(230, 57, 80, 0.22), transparent 70%),
    radial-gradient(35% 35% at 10% 40%, rgba(120, 160, 255, 0.14), transparent 70%);
}
.night__glow::after, .cta__glow::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: 0.14;
  mix-blend-mode: overlay;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(44px, 6vw, 64px);
}

.case {
  display: flex; flex-direction: column;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  border: 6px solid var(--c);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.case__art {
  position: relative;
  height: 280px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 100%, color-mix(in srgb, var(--c) 34%, #fff), transparent 75%),
    linear-gradient(180deg, #fff, color-mix(in srgb, var(--c) 8%, #fff));
}
.case__art .short {
  position: absolute; left: 50%; bottom: -7%;
  width: 46%;
  font-size: 7.6px;
  translate: -50% 0;
  transition: translate 0.6s var(--ease-out), rotate 0.6s var(--ease-out);
}
.case__art .short:nth-child(2) { z-index: 2; }
.case__art .short--ghost { width: 38%; bottom: -17%; opacity: 0.9; }
.case__art .short--ghost:nth-child(1) { translate: -118% 0; rotate: -9deg; }
.case__art .short--ghost:nth-child(3) { translate: 18% 0; rotate: 9deg; }
.case:hover .case__art .short:nth-child(2) { translate: -50% -10px; }
.case:hover .case__art .short--ghost:nth-child(1) { translate: -124% -4px; rotate: -12deg; }
.case:hover .case__art .short--ghost:nth-child(3) { translate: 24% -4px; rotate: 12deg; }

.case__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  color: color-mix(in srgb, var(--c) 65%, var(--ink));
  font-size: 12.5px; font-weight: 600;
}
.tag svg { width: 15px; height: 15px; }
.case__title { margin-top: 12px; font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -0.03em; }
.case__title span { font-weight: 500; color: var(--ink-3); }

/* Compare ----------------------------------------------------------------- */

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: clamp(44px, 6vw, 60px) auto 0;
}
.vs { position: relative; padding: 30px; border-radius: 24px; overflow: hidden; }
.vs--old { background: rgba(255, 255, 255, 0.45); border: 1.5px dashed var(--line-2); }
.vs--new { background: #fff; border: 1px solid #fff; box-shadow: var(--shadow-float); }
.vs--new::before {
  content: "";
  position: absolute; top: -45%; right: -25%;
  width: 75%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.16), transparent 65%);
  pointer-events: none;
}
.vs__label {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.vs--new .vs__label { color: var(--ink); }
.vs__label img { width: 24px; height: auto; }
.vs ul { position: relative; display: grid; gap: 14px; margin-top: 24px; }
.vs li { display: flex; align-items: center; gap: 12px; font-size: 17px; letter-spacing: -0.015em; }
.vs li svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.vs--old li { color: var(--ink-3); }
.vs--old li svg { color: #9aa4c2; background: rgba(11, 26, 68, 0.05); }
.vs--new li svg { color: #fff; background: var(--blue); }
.vs__foot {
  position: relative;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 21px; font-weight: 600;
  letter-spacing: -0.03em;
}
.vs--old .vs__foot { color: var(--ink-3); }

/* Creators — two rows of profile cards drifting in opposite directions ---- */

.creators { padding-bottom: clamp(48px, 6vw, 72px); }

.loops {
  display: grid; gap: 4px;
  margin-top: clamp(40px, 5vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.loop { overflow: hidden; padding-block: 6px 18px; }
.loop__list { display: flex; width: max-content; }
.loop.is-ready .loop__list { animation: marquee 64s linear infinite; }
.loop--rev.is-ready .loop__list { animation-direction: reverse; animation-duration: 72s; }
.loop:hover .loop__list { animation-play-state: paused; }

/* spacing as margin (not gap) so the duplicated list loops without a jump */
.creator {
  flex: none;
  display: flex; align-items: center; gap: 14px;
  margin-right: 14px;
  padding: 11px 20px 11px 11px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #fff;
  box-shadow: var(--shadow-card);
}
.avatar {
  position: relative;
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background:
    var(--scene) padding-box,
    conic-gradient(from 210deg, var(--cherry-bright), #ff9b86, var(--sky), var(--blue-deep), var(--cherry-bright)) border-box;
  box-shadow: inset 0 0 0 2px #fff;
  overflow: hidden;
}
.avatar svg {
  position: absolute; left: 50%; bottom: -10%;
  width: 78%; height: auto;
  aspect-ratio: 200 / 220;
  translate: -50% 0;
  fill: rgba(5, 9, 30, 0.94);
}
.creator__who { display: grid; gap: 1px; }
.creator__who b { font-size: 15.5px; letter-spacing: -0.02em; white-space: nowrap; }
.creator__who small { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.creator__stat {
  display: grid; gap: 1px;
  margin-left: 6px; padding-left: 18px;
  border-left: 1px solid var(--line);
}
.creator__stat b { font-size: 20px; line-height: 1.1; letter-spacing: -0.035em; }
.creator__stat small {
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Examples — before / after, tabbed ------------------------------------------ */

.ex-tabs {
  display: flex; gap: 4px;
  width: max-content; max-width: 100%;
  margin: clamp(32px, 4vw, 44px) auto 0;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #fff;
  box-shadow: var(--shadow-card);
}
.ex-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 0; border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.ex-tab svg { width: 18px; height: 18px; }
.ex-tab:hover { color: var(--ink); background: rgba(11, 26, 68, 0.045); }
.ex-tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-btn); }
.ex-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.ex-panels { margin-top: 20px; }
.ex {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  padding: clamp(16px, 2.6vw, 32px);
  border-radius: 28px;
  border: 1.5px dashed rgba(79, 125, 255, 0.5);
  background: linear-gradient(180deg, rgba(79, 125, 255, 0.07), rgba(79, 125, 255, 0.02));
  animation: fade-up 0.5s var(--ease-out) both;
}
.ex[hidden] { display: none; }

.ex__src {
  container-type: inline-size;
  display: grid; gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.ex__label {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ex__label span { padding: 4px 8px; border-radius: 6px; background: #eef2ff; color: var(--blue-deep); }

.ex__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; font-size: 2.1cqw; }
.ex__frame .person--l { left: 12%; }
.ex__frame .person--r { left: 56%; }
.ex__crop { left: 55.2%; }
.ex__crop--l { left: 11.2%; }
.ex__rec {
  position: absolute; right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(4, 8, 28, 0.6);
  color: #fff;
  font: 500 11px var(--font-mono);
}
.ex__rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--cherry-bright); animation: blink 1s steps(2, jump-none) infinite; }

.ex__file { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ex__file svg { width: 18px; height: 18px; color: var(--ink-3); }
.ex__file b { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex__file span { margin-left: auto; font: 400 12px var(--font-mono); color: var(--ink-3); }
.ex__track { height: 36px; margin-block: 2px; }
.ex__track .wave i.on { background: var(--cherry-bright); }
.ex__quote { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }
.ex__quote .tc {
  flex: none;
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff0f2;
  color: var(--cherry);
  font: 500 11px var(--font-mono);
}

.ex__arrow { display: grid; justify-items: center; gap: 8px; color: var(--blue); }
.ex__arrow img { width: 40px; height: auto; }
.ex__arrow svg { width: 22px; height: 22px; rotate: 45deg; }

.ex__out { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ex__short { display: grid; justify-items: center; gap: 12px; }
.ex__short .short { width: 100%; font-size: 2.4cqw; }
.ex__short figcaption {
  font: 500 11.5px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--cherry-bright);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(200, 30, 56, 0.6);
}

.ex__sum { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ex__sum span {
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.ex__sum b { color: var(--ink); }

/* Premium short: punched-in framing, a hook title, loud word-by-word captions */
.short--premium .short__person { width: 130%; height: auto; aspect-ratio: 200 / 220; bottom: -18%; }
.short__hook {
  position: absolute; left: 50%; top: 3.2em; z-index: 2;
  width: max-content; max-width: 84%;
  translate: -50% 0;
  rotate: -2deg;
  padding: 0.45em 0.7em;
  border-radius: 0.5em;
  background: #fff;
  color: var(--ink);
  font-size: 1.3em; font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: 0 0.5em 1.2em rgba(0, 0, 0, 0.3);
}
.short__pop {
  position: absolute; left: 0.7em; right: 0.7em; top: 70%; z-index: 2;
  text-align: center;
  font-size: 2.15em; font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0.07em 0 rgba(0, 0, 0, 0.55), 0 0 0.6em rgba(0, 0, 0, 0.4);
}
.short__pop .hl { display: inline-block; margin-inline: 0.1em; color: #ffd84d; animation: pop 2.4s var(--ease-out) infinite; }

/* Pricing --------------------------------------------------------------------- */

.pricing { isolation: isolate; }
.pricing__glow {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(45% 40% at 50% 62%, rgba(79, 125, 255, 0.16), transparent 70%),
    radial-gradient(25% 25% at 30% 75%, rgba(230, 57, 80, 0.06), transparent 70%);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(44px, 6vw, 64px);
}
.plan {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  padding: 26px 22px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11, 26, 68, 0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.plan__name { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.plan__for { min-height: 2.9em; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan__price b { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.055em; }
.plan__price span { font-size: 14.5px; color: var(--ink-3); }
.plan__btn { width: 100%; margin-top: 22px; }
.plan__quota {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f4fc;
  font-size: 15px;
  color: var(--ink-2);
}
.plan__quota b { font-size: 18px; letter-spacing: -0.03em; color: var(--ink); }
.plan__list { display: grid; gap: 11px; margin-top: 18px; font-size: 14.5px; line-height: 1.4; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; }
.plan__list svg {
  flex: none;
  width: 20px; height: 20px;
  padding: 3.5px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.plan__list .is-hi svg { background: var(--cherry-bright); }
.plan__list .is-off { color: var(--ink-3); }
.plan__list .is-off svg { background: rgba(11, 26, 68, 0.06); color: #9aa4c2; }

.plan__flag {
  position: absolute; top: 24px; right: 20px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cherry-bright);
  color: #fff;
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan--pro { background: var(--night); color: #fff; border-color: transparent; box-shadow: var(--shadow-float); }
.plan--pro::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(79, 125, 255, 0.5), transparent 70%),
    radial-gradient(60% 40% at 100% 100%, rgba(230, 57, 80, 0.28), transparent 70%);
}
.plan--pro .plan__for, .plan--pro .plan__price span { color: rgba(255, 255, 255, 0.66); }
.plan--pro .plan__btn { --btn-bg: var(--cherry-bright); }
.plan--pro .plan__quota { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); }
.plan--pro .plan__quota b { color: #fff; }
.plan--pro .plan__list { color: rgba(255, 255, 255, 0.86); }
.plan--pro .plan__list strong { color: #fff; }

.plan--ent { background: rgba(255, 255, 255, 0.5); border: 1.5px dashed var(--line-2); box-shadow: none; }

.plans__note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* FAQ --------------------------------------------------------------------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq__head {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.faq__list { display: grid; gap: 10px; }

.qa {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 26, 68, 0.08);
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.04);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.qa[open] { border-color: rgba(79, 125, 255, 0.28); box-shadow: var(--shadow-card); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 14px; }
.qa__icon { flex: none; width: 24px; height: 24px; transition: transform 0.45s var(--ease-out); }
.qa[open] .qa__icon { transform: rotate(180deg); }
.qa__body { max-width: 62ch; padding: 0 22px 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.qa::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}
.qa[open]::details-content { height: auto; }

/* Final CTA ----------------------------------------------------------------- */

.cta { padding-bottom: 0; }

.cta__card {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: clamp(56px, 8vw, 96px) 20px 0;
  border-radius: clamp(26px, 4vw, 40px);
  background: var(--night);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(79, 125, 255, 0.55), transparent 70%),
    radial-gradient(30% 35% at 88% 8%, rgba(230, 57, 80, 0.25), transparent 70%),
    radial-gradient(35% 40% at 8% 18%, rgba(120, 160, 255, 0.2), transparent 70%);
}
.cta__title { max-width: 16em; color: #fff; }
.cta__title .dim { font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.cta__card .lede { max-width: 30em; color: rgba(255, 255, 255, 0.7); }
.cta__card .waitlist { margin-top: 10px; }

.cta__phones {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(10px, 2vw, 22px);
  width: 100%;
  height: clamp(170px, 20vw, 250px);
  margin-top: clamp(36px, 5vw, 56px);
}
.cta__phones .short { flex: none; width: clamp(110px, 13vw, 170px); font-size: clamp(6.5px, 0.8vw, 10px); }
.cta__phones .short:nth-child(1) { rotate: -9deg; margin-top: 44px; }
.cta__phones .short:nth-child(2) { rotate: -4deg; margin-top: 16px; }
.cta__phones .short:nth-child(4) { rotate: 4deg; margin-top: 16px; }
.cta__phones .short:nth-child(5) { rotate: 9deg; margin-top: 44px; }

/* --------------------------------------------------------------------------
   Waitlist form
   -------------------------------------------------------------------------- */

.waitlist { position: relative; width: min(540px, 100%); margin-top: 34px; text-align: left; }

.waitlist__row, .waitlist__done {
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(11, 26, 68, 0.08);
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.04), 0 24px 50px -24px rgba(11, 26, 68, 0.3);
}
.waitlist__row {
  display: flex; gap: 6px;
  padding: 6px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.waitlist__row:focus-within {
  border-color: rgba(79, 125, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(79, 125, 255, 0.14), 0 24px 50px -24px rgba(11, 26, 68, 0.3);
}
.waitlist__input {
  flex: 1; min-width: 0;
  height: 48px;
  padding: 0 12px 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.01em;
  outline: none;
}
.waitlist__input::placeholder { color: #8791b0; }
.waitlist__btn { height: 48px; }

.waitlist__note {
  margin: 12px 4px 0;
  font-size: 13.5px;
  text-align: center;
  color: var(--ink-3);
  transition: color 0.2s;
}

.waitlist.is-loading .waitlist__btn { pointer-events: none; opacity: 0.8; }
.waitlist.is-error .waitlist__note { color: var(--cherry); }
.waitlist.is-error .waitlist__row {
  border-color: rgba(200, 30, 56, 0.5);
  box-shadow: 0 0 0 4px rgba(200, 30, 56, 0.1), 0 24px 50px -24px rgba(11, 26, 68, 0.3);
}
.waitlist.is-success .waitlist__row { display: none; }

.waitlist__done {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  animation: fade-up 0.6s var(--ease-out) both;
}
.waitlist__done[hidden] { display: none; }
.waitlist__check {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cherry-bright);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(200, 30, 56, 0.7);
}
.waitlist__check svg { width: 20px; height: 20px; }
.waitlist__done-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.waitlist__done-sub { font-size: 14.5px; color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.waitlist--dark .waitlist__row, .waitlist--dark .waitlist__done {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 50px -24px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.waitlist--dark .waitlist__row:focus-within { border-color: rgba(120, 160, 255, 0.7); box-shadow: 0 0 0 4px rgba(120, 160, 255, 0.18); }
.waitlist--dark .waitlist__input { color: #fff; }
.waitlist--dark .waitlist__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.waitlist--dark .waitlist__note { color: rgba(255, 255, 255, 0.55); }
.waitlist--dark.is-error .waitlist__note { color: #ff8a9b; }
.waitlist--dark .waitlist__done-title { color: #fff; }
.waitlist--dark .waitlist__done-sub { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(56px, 7vw, 88px);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  background: var(--night);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 55% at 50% 100%, rgba(79, 125, 255, 0.32), transparent 70%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.brand--light { color: #fff; }
.footer__brand p { max-width: 30ch; margin-top: 14px; font-size: 15px; line-height: 1.5; }
.footer__links { display: grid; gap: 10px; justify-items: start; font-size: 15px; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__links a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.tc { justify-self: end; display: grid; gap: 10px; text-align: right; }
.tc__label {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px;
  font: 500 11px var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.tc__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--cherry-bright); animation: blink 1s steps(2, jump-none) infinite; }
.tc__val { font: 400 clamp(26px, 3vw, 38px)/1 var(--font-mono); letter-spacing: 0.02em; color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__giant {
  margin: clamp(20px, 4vw, 44px) 0 -0.17em;
  text-align: center;
  font-size: clamp(110px, 25vw, 380px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(160, 185, 255, 0.55) 55%, rgba(79, 125, 255, 0) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

/* hero: plays on load, no script needed (keeps the headline's first paint early) */
.rise {
  animation: rise 0.9s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 60ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* script.js marks sections that are off screen; their loops wait */
.is-idle, .is-idle *, .is-idle *::before, .is-idle *::after { animation-play-state: paused !important; }

@keyframes rise     { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-up  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse    { 0% { box-shadow: 0 0 0 0 rgba(200, 30, 56, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(200, 30, 56, 0); } }
@keyframes ants     { to { background-position: 12px 0, -12px 100%, 0 -12px, 100% 12px; } }
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes drift-a  { to { transform: translate(14%, 12%) scale(1.08); } }
@keyframes drift-b  { to { transform: translate(-16%, 10%) scale(0.94); } }
@keyframes drift-c  { to { transform: translate(-30%, 14%) scale(1.12); } }
@keyframes float    { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes playhead { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes track    { 0%, 40% { left: 11%; } 50%, 90% { left: 53%; } 100% { left: 11%; } }
@keyframes word     { 0%, 11% { background: var(--cherry-bright); } 13%, 100% { background: transparent; } }
@keyframes upload   { 0% { transform: scaleX(0.06); } 75%, 100% { transform: scaleX(1); } }
@keyframes scan     { from { top: -12px; } to { top: calc(100% - 18px); } }
@keyframes blink    { 50% { opacity: 0.15; } }
@keyframes pop      { 0%, 100% { scale: 1; } 12% { scale: 1.18; } 30% { scale: 1.08; } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .product__grid { grid-template-columns: minmax(0, 1fr); }
  .product__intro { position: static; align-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
  .product__intro .rule { text-align: left; }
  .frame { margin-top: 12px; }

  .step--1, .step--2, .step--3, .step--4 { grid-column: span 6; }
  .step__viz { width: 70%; }

  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .tc { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .tc__label { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-grid; }

  .ex { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ex__src, .ex__out { width: min(100%, 520px); }
  .ex__arrow { grid-auto-flow: column; align-items: center; }
  .ex__arrow svg { rotate: 135deg; }
}
@media (min-width: 861px) {
  .nav__menu { display: none !important; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .stage { aspect-ratio: 1 / 1.08; margin-top: 52px; }
  .editor { left: 0; top: 0; width: 100%; font-size: 2.1cqw; }
  .editor__body { grid-template-columns: minmax(0, 1fr); }
  .moments, .editor__tc { display: none; }
  .phone--l { display: none; }
  .phone--r { right: 3%; top: 36%; width: 38%; }
  .phone .short { font-size: 1.95cqw; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .card--wide { flex-direction: column; }
  .card--wide .card__viz { flex: none; min-height: 210px; margin: 0 10px 10px; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step--1, .step--2, .step--3, .step--4 { grid-column: auto; }
  .step { min-height: 0; padding: 24px; }
  .step__viz { position: relative; top: auto; right: auto; width: 100%; margin-bottom: 22px; }
  .step__num { font-size: 92px; }
  .viz-post { height: 200px; }
  .viz-post .short:nth-child(1) { right: auto; left: 12%; }
  .viz-post .short:nth-child(2) { right: 12%; }
  .dl { right: auto; left: 50%; translate: -50% 0; }
  .viz-post .cursor { right: 30%; }

  .cases {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 340px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 10px;
    scroll-padding-inline: var(--gutter);
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
  .case__art { height: 250px; }

  .versus { grid-template-columns: minmax(0, 1fr); }
  .vs { padding: 24px; }

  .creator { padding: 9px 16px 9px 9px; gap: 12px; }
  .avatar { width: 46px; height: 46px; }
  .creator__stat { padding-left: 14px; }

  .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .plan__for { min-height: 0; }

  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }

  .waitlist__row { flex-direction: column; }
  .waitlist__input { height: 50px; }
  .waitlist__btn { width: 100%; }

  .proof { margin-top: 52px; }
  .marquee__list li { font-size: 18px; padding-inline-end: 36px; }

  .ex-tabs { width: 100%; }
  .ex-tab { flex: 1; padding: 0 8px; font-size: 14px; gap: 6px; }
  .ex-tab svg { width: 16px; height: 16px; }
  .ex { padding: 12px; border-radius: 22px; }
  .ex__out { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Link form (hero + final CTA): paste a link, go to sign-up with it.
   ========================================================================== */
.linkform .waitlist__row { padding-left: 14px; }
.linkform__icon { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.waitlist--dark .linkform__icon { color: rgba(255, 255, 255, 0.6); }
.linkform .waitlist__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linkform .waitlist__note a:hover { color: var(--blue-deep); }
.waitlist--dark.linkform .waitlist__note a:hover { color: #fff; }

/* ==========================================================================
   Instant-result demo: a link goes in, the studio's steps run, real shorts come out.
   ========================================================================== */
.demo {
  position: relative;
  width: min(1100px, 100% - 2 * var(--gutter));
  margin: 56px auto 0;
}
.demo__window {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.demo__bar {
  display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.demo__url {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  height: 32px; padding: 0 12px; border-radius: 9px;
  background: rgba(11, 26, 68, 0.05);
  font: 400 13px/1 var(--font-mono); color: var(--ink-2);
}
.demo__url svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }
.demo__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__replay {
  flex: none; white-space: nowrap;
  margin-left: auto; height: 30px; padding: 0 12px; border-radius: 8px; border: 0;
  background: rgba(11, 26, 68, 0.06); color: var(--ink); cursor: pointer;
  font: 500 13px var(--font);
}
.demo__replay:hover { background: rgba(11, 26, 68, 0.1); }

.demo__body {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px; align-items: center;
  padding: 28px;
  min-height: 520px;
}

/* the scan: status line, the four real phases, a sweeping waveform */
.demo__scan { display: grid; gap: 22px; align-content: center; text-align: left; }
.demo__status { display: flex; align-items: center; gap: 12px; }
.demo__label {
  font-size: 17px; font-weight: 500; color: var(--ink);
  background-image: linear-gradient(90deg, var(--ink) 0%, #9aa3c2 50%, var(--ink) 100%);
  background-size: 220px 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: demo-shimmer 2.2s linear infinite;
}
.demo.is-done .demo__label { animation: none; background: none; color: var(--ink); }
.demo__clock { font: 400 13px var(--font-mono); color: var(--ink-3); }
.pix { display: grid; grid-template-columns: repeat(3, 5px); gap: 2px; flex: none; }
.pix i { width: 5px; height: 5px; border-radius: 1px; background: var(--cherry-bright); animation: demo-pix 1.2s ease-in-out infinite; }
.pix i:nth-child(1) { animation-delay: 0s; } .pix i:nth-child(2) { animation-delay: 0.84s; }
.pix i:nth-child(3) { animation-delay: 0.6s; } .pix i:nth-child(4) { animation-delay: 0.36s; }
.pix i:nth-child(5) { animation-delay: 0.12s; } .pix i:nth-child(6) { animation-delay: 0.96s; }
.pix i:nth-child(7) { animation-delay: 0.72s; } .pix i:nth-child(8) { animation-delay: 0.48s; }
.pix i:nth-child(9) { animation-delay: 0.24s; }
.demo.is-done .pix i { animation: none; opacity: 1; background: var(--blue-deep); }

.demo__steps { list-style: none; margin: 0; padding: 0 0 0 9px; display: grid; gap: 12px; border-left: 1px solid var(--line-2); }
.demo__steps li {
  position: relative; margin-left: -18px; padding-left: 30px;
  font-size: 15px; color: #9aa3c2; transition: color 0.4s var(--ease-out);
}
.demo__steps li::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box;
  background: #fff; border: 1.5px solid #d4d8e6;
}
.demo__steps li.is-live { color: var(--ink); }
.demo__steps li.is-live::before { border-color: #f5c2ca; border-top-color: var(--cherry-bright); animation: demo-spin 0.9s linear infinite; }
.demo__steps li.is-done { color: var(--ink); }
.demo__steps li.is-done::before {
  border: 0; background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.demo__track { position: relative; height: 54px; padding: 0 2px; }
.demo__track .wave i { background: rgba(11, 26, 68, 0.14); }
.demo__sweep {
  position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; border-radius: 2px;
  background: var(--cherry-bright); box-shadow: 0 0 0 4px rgba(230, 57, 80, 0.14);
  transform: translateX(0); opacity: 0;
}
.demo.is-running .demo__sweep { opacity: 1; animation: demo-sweep 4.2s var(--ease-io) forwards; }
.demo.is-done .demo__sweep { opacity: 0; }
.demo__hit {
  position: absolute; top: -4px; bottom: -4px; left: var(--x); width: 7%;
  border-radius: 6px; background: rgba(230, 57, 80, 0.16);
  box-shadow: inset 0 0 0 1.5px var(--cherry-bright);
  opacity: 0; scale: 0.9; transition: opacity 0.4s var(--ease-out), scale 0.4s var(--ease-out);
}
.demo.is-found-1 .demo__hit--1,
.demo.is-found-2 .demo__hit--1,
.demo.is-found-2 .demo__hit--2,
.demo.is-done .demo__hit { opacity: 1; scale: 1; }

/* the shorts: three real Lautus clips, revealed one by one */
.demo__shorts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.demo__short {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: #e9ecf5;
  box-shadow: 0 1px 2px rgba(11, 26, 68, 0.1), 0 30px 60px -32px rgba(11, 26, 68, 0.55);
  opacity: 0.18; translate: 0 14px; scale: 0.97;
  transition: opacity 0.6s var(--ease-out), translate 0.6s var(--ease-out), scale 0.6s var(--ease-out);
}
.demo__short video { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) saturate(0.6); transition: filter 0.6s var(--ease-out); }
.demo__short.is-in { opacity: 1; translate: 0 0; scale: 1; }
.demo__short.is-in video { filter: none; }
.demo__chip {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(7, 13, 39, 0.62); backdrop-filter: blur(8px);
  font: 500 11.5px var(--font-mono); color: #fff;
  opacity: 0; transition: opacity 0.4s var(--ease-out) 0.3s;
}
.demo__short.is-in .demo__chip { opacity: 1; }

.demo__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-3); text-align: left;
}
.demo__foot b { color: var(--ink); font-weight: 500; }
.demo__sound {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 9px; background: #fff; cursor: pointer;
  font: 500 13px var(--font); color: var(--ink);
}
.demo__sound svg { width: 16px; height: 16px; }
.demo__sound[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@keyframes demo-pix { 0%, 100% { opacity: 0.18; } 50% { opacity: 1; } }
@keyframes demo-spin { to { rotate: 360deg; } }
@keyframes demo-shimmer { from { background-position: -220px 0; } to { background-position: 220px 0; } }
@keyframes demo-sweep { from { left: 0; } to { left: 100%; } }

@media (max-width: 860px) {
  .demo__body { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 20px; gap: 22px; }
  .demo__shorts { gap: 10px; }
  .demo__short { border-radius: 14px; }
  .demo__chip { left: 6px; bottom: 6px; font-size: 10px; padding: 4px 7px; }
}
@media (max-width: 520px) {
  .demo__url { font-size: 12px; }
  .demo__chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pix i, .demo__label, .demo__steps li.is-live::before { animation: none; }
  .demo.is-running .demo__sweep { animation: none; opacity: 0; }
}

.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover { color: #fff; }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; } }
