/* ------------------------------------------------------------------
   Automator AI — demo landing
   Design tokens
------------------------------------------------------------------ */
:root {
  --bg: #06090f;
  --bg-2: #0b1220;
  --bg-3: #101a2c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3f9;
  --muted: #93a0b4;
  --muted-2: #66748a;
  --brand: #2ea9e8;
  --brand-2: #5cc4ff;
  --brand-deep: #0a57a8;
  --brand-ink: #04203f;
  --glow: rgba(46, 169, 232, 0.35);
  --ok: #34d399;
  --warn: #fbbf24;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --radius: 18px;
  --radius-lg: 28px;
}

/* App (light) surface tokens — used inside product frames */
:root {
  --app-bg: #f6f8fb;
  --app-panel: #ffffff;
  --app-line: #e5e9f0;
  --app-text: #111827;
  --app-muted: #6b7280;
  --app-accent: #1d6ff0;
  --app-accent-bg: #eaf2ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--brand); color: #04101c; }

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

/* ------------------------------------------------------------------
   Typography
------------------------------------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.display em, .h2 em, .h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand-2);
}
.h1 { font-size: clamp(2.4rem, 6.6vw, 6.4rem); }
.h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(2rem, 4.6vw, 4.2rem); }
.h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 56ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }


/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--text);
  --btn-fg: #06090f;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
}
.btn--primary {
  --btn-bg: linear-gradient(180deg, #5cc4ff 0%, #2ea9e8 45%, #1b8fd6 100%);
  --btn-fg: #041a2e;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 30px -8px var(--glow);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 40px -8px var(--glow); }
.btn--ghost {
  --btn-bg: rgba(255,255,255,0.06);
  --btn-fg: var(--text);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ------------------------------------------------------------------
   Preloader
------------------------------------------------------------------ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--text);
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px -20px var(--glow); }
.preloader__mark img { width: 100%; height: 100%; object-fit: cover; }
.preloader__count { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.preloader__bar { width: 160px; height: 1px; background: var(--line-strong); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }

/* ------------------------------------------------------------------
   Cursor
------------------------------------------------------------------ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    display: grid; place-items: center;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--text);
    mix-blend-mode: difference;
    transition: width 200ms var(--ease-out), height 200ms var(--ease-out), margin 200ms var(--ease-out), background-color 200ms ease;
  }
  .cursor span { opacity: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #000; transition: opacity 150ms ease; }
  .cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: var(--text); }
  .cursor.is-media { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--text); mix-blend-mode: normal; }
  .cursor.is-media span { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ------------------------------------------------------------------
   Nav
------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: 18px 0;
  transition: padding 300ms var(--ease-out);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 56px; padding: 0 8px 0 18px;
  border-radius: 999px;
  background: rgba(6, 9, 15, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 0 0 1px var(--line) inset, 0 1px 0 rgba(255,255,255,0.06) inset;
  opacity: 0; transform: translateY(-12px);
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 150ms ease, background-color 150ms ease;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__cta { display: flex; align-items: center; gap: 6px; }
.nav__login { font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 14px; }
.nav__login:hover { color: var(--text); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; }
.nav__burger i { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text); }
@media (max-width: 900px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: grid; }
}
.nav.is-scrolled { padding: 10px 0; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--bg-2);
  display: grid; align-content: center; gap: 8px; padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 500ms var(--ease-drawer);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; }
.menu__close { position: absolute; top: 24px; right: var(--gutter); font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 180px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.hero__bg::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90vh;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(46,169,232,0.22), transparent 70%),
    radial-gradient(40% 40% at 20% 60%, rgba(10,87,168,0.25), transparent 70%);
  filter: blur(40px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 50% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000 30%, transparent 100%);
}
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 26px; }
.hero__copy .h1 { max-width: 22ch; }
@media (max-width: 700px) { .hero__copy .h1 br { display: none; } }
.hero__copy .lead { text-align: center; max-width: 60ch; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero__proof { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted-2); }
.hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { width: 14px; height: 14px; color: var(--ok); }

/* Hero stage (pinned) */
.hero__stage {
  position: relative;
  margin-top: clamp(40px, 7vh, 80px);
  height: 100svh;
  display: grid; place-items: center;
  padding-top: 48px;
  perspective: 1600px;
}
.hero__stage-inner { width: min(100% - 2 * var(--gutter), 1240px, calc((100svh - 230px) * 1.7)); position: relative; }
.hero__caption {
  position: absolute; left: 50%; bottom: -8px; transform: translate(-50%, 100%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(11, 18, 32, 0.8); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line) inset;
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.hero__caption b { color: var(--text); font-weight: 600; }
.hero__caption i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(46,169,232,0.2); }
.hero__caption .cap { display: inline-block; }
.hero__dots { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.hero__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background-color 250ms ease, transform 250ms var(--ease-out); }
.hero__dots i.is-active { background: var(--brand); transform: scale(1.4); }
@media (max-width: 900px) { .hero__dots { display: none; } }

/* Product frame (browser + app shell) */
.frame {
  position: relative;
  border-radius: var(--radius);
  background: #0d1420;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.6) inset,
    0 40px 120px -30px rgba(0,0,0,0.8),
    0 30px 80px -40px var(--glow);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.frame__bar {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 14px;
  background: #121a29;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3446; }
.frame__url {
  flex: 1; max-width: 420px; margin-inline: auto;
  height: 24px; border-radius: 6px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.frame__url svg { width: 10px; height: 10px; }
.frame__body { position: relative; aspect-ratio: 16 / 9.4; background: var(--app-bg); }

/* App shell inside the hero frame */
.app { position: absolute; inset: 0; display: grid; grid-template-columns: 200px 1fr; color: var(--app-text); font-size: 12.5px; }
.app__side { background: var(--app-panel); border-right: 1px solid var(--app-line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.app__logo { height: 18px; width: auto; margin: 2px 6px 12px; }
.app__acct { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; background: #f3f5f9; margin-bottom: 8px; }
.app__acct i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #2ea9e8, #0a57a8); flex: none; }
.app__acct b { display: block; font-size: 11px; font-weight: 600; line-height: 1.2; }
.app__acct small { display: block; font-size: 10px; color: var(--app-muted); }
.app__search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--app-line); color: var(--app-muted); font-size: 11px; margin-bottom: 8px; }
.app__search kbd { margin-left: auto; font-family: inherit; font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #eef1f5; }
.app__nav { display: grid; gap: 2px; }
.app__nav li {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 10px; border-radius: 8px;
  color: #374151; font-weight: 500;
  transition: background-color 250ms ease, color 250ms ease;
}
.app__nav li svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.app__nav li.is-active { background: var(--app-accent-bg); color: var(--app-accent); }
.app__nav li.is-active::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--app-accent); }
.app__main { position: relative; overflow: hidden; background: var(--app-bg); }
.app__main video, .app__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; }
.app__main .is-active { opacity: 1; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .frame__body { aspect-ratio: 16 / 10; }
}

/* ------------------------------------------------------------------
   Replaces marquee
------------------------------------------------------------------ */
.replaces { padding: clamp(80px, 12vh, 140px) 0 0; overflow: hidden; }
.replaces__head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 44px; }
.marquee { display: flex; gap: 12px; width: max-content; will-change: transform; }
.marquee + .marquee { margin-top: 12px; }
.marquee__item {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px; border-radius: 999px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 0 1px var(--line) inset;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  color: var(--muted);
}
.marquee__item i { width: 8px; height: 8px; border-radius: 2px; background: var(--muted-2); }
.marquee__item::after {
  content: ""; position: absolute; left: 18px; right: 18px; top: 50%; height: 2px;
  background: var(--brand-2); transform: scaleX(0); transform-origin: left;
  transition: transform 700ms var(--ease-in-out);
}
.replaces.is-inview .marquee__item::after { transform: scaleX(1); }
.replaces__foot { display: flex; justify-content: center; margin-top: 44px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(46,169,232,0.08); box-shadow: 0 0 0 1px rgba(46,169,232,0.25) inset;
  font-weight: 600; font-size: 14px;
}
.pill img { height: 26px; width: 26px; border-radius: 8px; }

/* ------------------------------------------------------------------
   Stats band
------------------------------------------------------------------ */
.stats { padding: clamp(80px, 12vh, 140px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.stat { background: var(--bg); padding: 34px 30px; display: grid; gap: 8px; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.5em; color: var(--brand-2); margin-left: 2px; }
.stat__label { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Chapters (pinned feature demos)
------------------------------------------------------------------ */
.chapters-intro { padding: clamp(60px, 10vh, 120px) 0 20px; }
.chapters-intro .h2 { max-width: 16ch; }
.chapters-intro__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .chapters-intro__row { grid-template-columns: 1fr; } }

.chapter { position: relative; padding: clamp(40px, 8vh, 100px) 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__inner { display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.35fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.chapter__copy { padding-top: 4vh; }
.chapter__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(46,169,232,0.1); box-shadow: 0 0 0 1px rgba(46,169,232,0.3) inset;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-2);
  margin-bottom: 22px;
}
.chapter__copy .h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.1vw, 3rem); }
.chapter__copy .lead { margin-bottom: 8px; }
.steps { margin-top: 28px; display: grid; }
.step {
  position: relative;
  padding: 26px 0 26px 28px;
  border-top: 1px solid var(--line);
  min-height: 40vh; display: flex; flex-direction: column; justify-content: center;
  transition: opacity 300ms ease;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--line-strong); transition: background-color 250ms ease, box-shadow 250ms ease;
}
.step::after {
  content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform 500ms var(--ease-in-out);
}
.step.is-active::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(46,169,232,0.2); }
.step.is-active::after { transform: scaleY(1); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--muted); transition: color 250ms ease; }
.step.is-active h3 { color: var(--text); }
.step p { color: var(--muted-2); font-size: 15px; max-width: 42ch; transition: color 250ms ease; }
.step.is-active p { color: var(--muted); }
.step .tag { display: inline-flex; margin-top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); background: rgba(46,169,232,0.1); width: max-content; }
.step__media { display: none; }

.chapter__media { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.device {
  position: relative; width: 100%;
  border-radius: var(--radius);
  background: #0d1420;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 100px -30px rgba(0,0,0,0.8), 0 20px 60px -30px var(--glow);
  overflow: hidden;
}
.device__bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: #121a29; border-bottom: 1px solid rgba(255,255,255,0.06); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3446; }
.device__bar span { margin-left: auto; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.device__body { position: relative; aspect-ratio: 1440 / 771; background: var(--app-bg); overflow: hidden; }
.media-item { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.media-item.is-active { opacity: 1; visibility: visible; }
.media-item video, .media-item img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.chapter__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(6,9,15,0.75); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line) inset; font-size: 12px; color: var(--text);
}
.chapter__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }

@media (max-width: 900px) {
  .chapter__inner { grid-template-columns: 1fr; }
  .chapter__media { display: none; }
  .step { min-height: 0; padding: 22px 0 22px 22px; }
  .step__media { display: block; margin-top: 16px; }
  .step__media .device__body { aspect-ratio: 1440 / 771; }
  .step__media .device__body:has(.sim) { aspect-ratio: auto; }
  .step__media .media-item { position: relative; inset: auto; }
  .step__media .sim { position: relative; inset: auto; padding: 28px 0; }
  .step__media .transcript { min-height: 0; }
}

/* ------------------------------------------------------------------
   AI simulations (call + SMS) — used as media items
------------------------------------------------------------------ */
.sim { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(50% 60% at 50% 40%, rgba(46,169,232,0.18), transparent 70%), linear-gradient(180deg, #0b1220, #06090f); }
.call {
  width: min(360px, 78%); border-radius: 26px; padding: 24px;
  background: rgba(16, 24, 40, 0.85); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px var(--line-strong) inset, 0 40px 80px -30px rgba(0,0,0,0.8);
  display: grid; gap: 18px; color: var(--text);
}
.call__top { display: flex; align-items: center; gap: 12px; }
.call__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #5cc4ff, #0a57a8); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #041a2e; }
.call__meta b { display: block; font-size: 15px; }
.call__meta small { color: var(--muted); font-size: 12px; }
.call__timer { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ok); }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; justify-content: center; }
.wave i { width: 4px; height: 8px; border-radius: 2px; background: var(--brand-2); transform-origin: center; }
.transcript { display: grid; gap: 8px; min-height: 150px; align-content: start; }
.transcript p { font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 14px; opacity: 0; transform: translateY(8px); max-width: 92%; }
.transcript p.ai { background: rgba(46,169,232,0.16); box-shadow: 0 0 0 1px rgba(46,169,232,0.3) inset; }
.transcript p.user { background: rgba(255,255,255,0.06); justify-self: end; }
.transcript p b { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 3px; }
.call__actions { display: flex; gap: 8px; }
.call__actions span { flex: 1; text-align: center; font-size: 11px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.05); color: var(--muted); }
.call__actions span.is-hot { background: rgba(52,211,153,0.15); color: var(--ok); }

.phone {
  width: min(300px, 70%); aspect-ratio: 9 / 17; border-radius: 38px; padding: 12px;
  background: #0c1220; box-shadow: 0 0 0 1px var(--line-strong) inset, 0 0 0 8px #0a0f1a, 0 0 0 9px rgba(255,255,255,0.08), 0 50px 100px -30px rgba(0,0,0,0.9);
  display: grid; grid-template-rows: auto 1fr;
}
.phone__head { display: grid; justify-items: center; gap: 4px; padding: 20px 0 12px; border-bottom: 1px solid var(--line); }
.phone__head i { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #34d399, #0a57a8); }
.phone__head b { font-size: 13px; }
.phone__head small { font-size: 11px; color: var(--muted); }
.sms { display: grid; gap: 8px; padding: 14px 6px; align-content: start; }
.sms p { font-size: 12.5px; line-height: 1.35; padding: 9px 12px; border-radius: 16px; max-width: 86%; opacity: 0; transform: translateY(8px) scale(0.98); }
.sms p.in { background: rgba(255,255,255,0.08); border-bottom-left-radius: 6px; }
.sms p.out { background: linear-gradient(180deg, #2ea9e8, #1b8fd6); color: #041a2e; justify-self: end; border-bottom-right-radius: 6px; }
.sms .flag { justify-self: center; max-width: 100%; text-align: center; font-size: 11px; color: var(--ok); background: rgba(52,211,153,0.12); box-shadow: 0 0 0 1px rgba(52,211,153,0.3) inset; }

/* ------------------------------------------------------------------
   Workflow section
------------------------------------------------------------------ */
.workflow { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); }
.workflow__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.workflow__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.workflow__canvas {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  aspect-ratio: 700 / 470;
}
.workflow__canvas svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.workflow__canvas .edge { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.workflow__canvas .node { }
.workflow__canvas .node rect { fill: #121a2c; stroke: rgba(255,255,255,0.14); }
.workflow__canvas .node.trigger rect { stroke: var(--ok); }
.workflow__canvas .node.ai rect { stroke: var(--brand-2); }
.workflow__canvas .node text { font-family: var(--font-body); font-size: 12.5px; fill: var(--text); font-weight: 500; }
.workflow__canvas .node text.sub { font-size: 10.5px; fill: var(--muted); font-weight: 400; }
.workflow__canvas .node .ic { fill: none; stroke: var(--brand-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.workflow__canvas .node.trigger .ic { stroke: var(--ok); }
.workflow__note {
  position: absolute; right: 16px; top: 16px; width: 236px; padding: 14px; border-radius: 12px;
  background: #fff7c2; color: #3b2f00; font-size: 11.5px; line-height: 1.4;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); transform: rotate(2deg);
}
.workflow__note b { display: block; margin-bottom: 4px; }
.workflow__list { display: grid; gap: 12px; margin-top: 30px; }
.workflow__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.workflow__list li::before { content: "→"; color: var(--brand-2); flex: none; }
@media (max-width: 900px) {
  .workflow__head, .workflow__grid { grid-template-columns: 1fr; }
  .workflow__canvas { aspect-ratio: auto; background-image: none; }
  .workflow__canvas svg { display: none; }
  .workflow__note { position: static; width: 100%; transform: none; }
}

/* ------------------------------------------------------------------
   Support
------------------------------------------------------------------ */
.support { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.support__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 44px; }
.support__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 0 0 1px var(--line) inset;
  display: grid; gap: 12px; align-content: start;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-strong) inset, 0 30px 60px -30px rgba(0,0,0,0.8); }
}
.card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,169,232,0.1); color: var(--brand-2); }
.card__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 14.5px; }
.card__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ok); }
.card__meta i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(52,211,153,0.2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.2); } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0.05); } }
.card--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.card--wide .h3 { max-width: 30ch; }
@media (max-width: 900px) { .support__grid { grid-template-columns: 1fr 1fr; } .card--wide { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 560px) { .support__grid { grid-template-columns: 1fr; } .card--wide { grid-column: span 1; } }

/* ------------------------------------------------------------------
   Testimonials
------------------------------------------------------------------ */
.testimonials { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.quote { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 18px; align-content: space-between; }
.quote p { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.quote p::before { content: "“"; color: var(--brand-2); font-family: var(--font-serif); font-size: 1.6em; line-height: 0; margin-right: 2px; }
.quote footer { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.quote footer i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2ea9e8, #0a57a8); display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #041a2e; font-style: normal; }
.stars { color: var(--warn); letter-spacing: 2px; font-size: 12px; }
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Pricing
------------------------------------------------------------------ */
.pricing { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); }
.pricing__head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: 44px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 20px; align-content: start; }
.plan--hot { background: linear-gradient(180deg, rgba(46,169,232,0.12), rgba(46,169,232,0.03)); box-shadow: 0 0 0 1px rgba(46,169,232,0.4) inset, 0 40px 80px -40px var(--glow); }
.plan__badge { position: absolute; top: -12px; left: 30px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #041a2e; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan__name { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: var(--font-display); font-weight: 600; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: 1rem; color: var(--muted); letter-spacing: 0; font-weight: 500; margin-left: 4px; }
.plan__desc { color: var(--muted); font-size: 14px; }
.plan ul { display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li > span { display: block; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: rgba(52,211,153,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.plan li b { color: var(--text); font-weight: 600; }
.plan .btn { width: 100%; justify-content: center; }
.pricing__note { text-align: center; color: var(--muted-2); font-size: 13px; margin-top: 20px; }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------ */
.faq { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.faq__list { display: grid; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; }
.faq__q i { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong) inset; display: grid; place-items: center; transition: transform 300ms var(--ease-out), background-color 200ms ease; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: var(--text); }
.faq__q i::after { transform: rotate(90deg); transition: transform 300ms var(--ease-out); }
.faq__item.is-open .faq__q i { background: var(--brand); box-shadow: none; }
.faq__item.is-open .faq__q i::before, .faq__item.is-open .faq__q i::after { background: #041a2e; }
.faq__item.is-open .faq__q i::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-in-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Final CTA + footer
------------------------------------------------------------------ */
.cta { padding: clamp(80px, 12vh, 160px) 0; }
.cta__box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: center; display: grid; gap: 22px; justify-items: center;
  background: radial-gradient(80% 120% at 50% 120%, rgba(46,169,232,0.35), transparent 60%), var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.cta__box .h2 { max-width: 16ch; }
.cta__box .lead { text-align: center; }
.cta__ring { position: absolute; left: 50%; bottom: -40%; width: 140%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(46,169,232,0.25) inset; pointer-events: none; }
.cta__ring::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(46,169,232,0.18) inset; }
.cta__ring::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(46,169,232,0.12) inset; }

.footer { padding: 40px 0 34px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer__inner img { height: 18px; width: auto; opacity: 0.7; }
.footer__links { display: flex; gap: 18px; }
.footer__links a:hover { color: var(--text); }

/* ------------------------------------------------------------------
   Reveal helpers
------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(24px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Reduced motion
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .preloader { display: none; }
  .nav__inner { opacity: 1; transform: none; }
  .cursor { display: none !important; }
}

/* ------------------------------------------------------------------
   Play hint + lightbox (click any clip to hear Kevin explain it)
------------------------------------------------------------------ */
.device__body, .frame__body { cursor: pointer; }
.play-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 10px; border-radius: 999px;
  background: rgba(6, 9, 15, 0.78); color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-strong) inset, 0 10px 30px -10px rgba(0,0,0,0.8);
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.play-hint svg { width: 16px; height: 16px; fill: var(--brand-2); }
.play-hint:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .play-hint:hover, .device__body:hover .play-hint, .frame__body:hover .play-hint { background: rgba(46,169,232,0.95); color: #041a2e; box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 12px 30px -8px var(--glow); }
  .device__body:hover .play-hint svg, .frame__body:hover .play-hint svg, .play-hint:hover svg { fill: #041a2e; }
}
.app__main .play-hint { right: 14px; bottom: 14px; }
.step__media .play-hint { right: 10px; bottom: 10px; height: 32px; font-size: 12px; }
.step__media .device__body:has(.sim) .play-hint { bottom: 10px; }

.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: var(--gutter);
  visibility: hidden; pointer-events: none;
}
.lightbox.is-open { visibility: visible; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 9, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; }
.lightbox__panel {
  position: relative; width: min(100%, 1120px, calc((100svh - 240px) * 1.867));
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0b1220;
  box-shadow: 0 0 0 1px var(--line-strong) inset, 0 60px 140px -40px rgba(0,0,0,0.9), 0 30px 80px -40px var(--glow);
  opacity: 0; transform: scale(0.96) translateY(12px);
}
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); }
.lightbox__title b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }
.lightbox__title small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.lightbox__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); box-shadow: 0 0 0 1px var(--line) inset; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__close:hover { background: rgba(255,255,255,0.12); }
.lightbox__close:active { transform: scale(0.94); }
.lightbox__stage { background: #000; width: 100%; aspect-ratio: 1281 / 686; }
.lightbox__stage video { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox__foot { display: flex; justify-content: space-between; padding: 10px 22px; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.lightbox__foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.lightbox__foot span:first-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
@media (max-width: 700px) {
  .lightbox { padding: 12px; align-items: end; }
  .lightbox__panel { border-radius: 20px; }
  .lightbox__head { padding: 12px 12px 12px 16px; }
}

/* ------------------------------------------------------------------
   Split-text masks: give ascenders, descenders and italic overhang room
   (SplitText clips at the line box; padding widens the clip region,
   negative margins cancel the layout shift)
------------------------------------------------------------------ */
.line-mask { overflow: clip; padding: 0.18em 0.16em 0.3em 0.08em; margin: -0.18em -0.16em -0.3em -0.08em; }
.display, .h2 { line-height: 1.04; }
/* Centered headings must stretch to the container so lines wrap and center inside it */
.hero__copy .h1, .replaces__head .h2, .pricing__head .h2, .cta__box .h2, .chapters-intro .h2 { width: 100%; justify-self: center; margin-inline: auto; text-align: center; }
.hero__copy .h1 { max-width: none; }
.chapters-intro .h2 { text-align: left; max-width: none; }
.replaces__head .lead, .pricing__head .lead, .cta__box .lead { text-align: center; }

/* ------------------------------------------------------------------
   Hero: live app cards
------------------------------------------------------------------ */
.hero__top { position: relative; }
.hero__cards { position: absolute; inset: 0; pointer-events: none; }
.hcard {
  --rot: 0deg;
  position: absolute; width: 250px; pointer-events: auto;
  will-change: transform;
}
.hcard__inner {
  position: relative;
  border-radius: 18px; padding: 14px;
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.92), rgba(12, 18, 30, 0.92));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 60px -24px rgba(0,0,0,0.9), 0 20px 50px -30px var(--glow);
  transform: rotate(var(--rot));
  transition: transform 500ms var(--ease-out), box-shadow 300ms ease;
  display: grid; gap: 10px;
  font-size: 12.5px;
}
@media (hover: hover) and (pointer: fine) {
  .hcard:hover .hcard__inner { transform: rotate(0deg) translateY(-3px); box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset, 0 1px 0 rgba(255,255,255,0.08) inset, 0 40px 70px -24px rgba(0,0,0,0.9), 0 24px 60px -24px var(--glow); }
}
.hcard__head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; color: var(--text); }
.hcard__head span { margin-left: auto; font-weight: 500; color: var(--muted-2); font-size: 11px; }
.hcard__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
.hcard__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; border-radius: 10px; padding: 0 12px;
  background: linear-gradient(180deg, #5cc4ff, #2ea9e8); color: #041a2e; font-weight: 600; font-size: 12.5px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
  transition: transform 150ms var(--ease-out), filter 200ms ease;
}
.hcard__btn svg { width: 14px; height: 14px; }
.hcard__btn:active { transform: scale(0.96); }
.hcard__btn:hover { filter: brightness(1.06); }

/* inbox */
.hthread { display: grid; gap: 6px; min-height: 96px; align-content: start; }
.hmsg { max-width: 92%; padding: 8px 10px; border-radius: 12px; line-height: 1.35; opacity: 0; transform: translateY(6px) scale(0.98); }
.hmsg.in { background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.hmsg.out { background: linear-gradient(180deg, #2ea9e8, #1b8fd6); color: #041a2e; justify-self: end; border-bottom-right-radius: 4px; min-height: 32px; }
.hmsg.out::after { content: ""; display: inline-block; width: 2px; height: 0.9em; margin-left: 2px; background: #041a2e; vertical-align: -0.1em; opacity: 0; }
.hmsg.out.is-typing::after { opacity: 1; animation: caret 0.8s steps(2) infinite; }
@keyframes caret { to { opacity: 0; } }
.hmsg.typing { display: inline-flex; gap: 4px; padding: 10px 12px; background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; width: max-content; }
.hmsg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dots 1s ease-in-out infinite; }
.hmsg.typing i:nth-child(2) { animation-delay: 0.15s; } .hmsg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* call */
.hcall { display: flex; align-items: center; gap: 10px; }
.hcall__ring { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #5cc4ff, #0a57a8); font-weight: 700; font-size: 12px; color: #041a2e; flex: none; }
.hcall__ring::before, .hcall__ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(92,196,255,0.6); opacity: 0; }
.hcall.is-ringing .hcall__ring::before { animation: ring 1.4s ease-out infinite; }
.hcall.is-ringing .hcall__ring::after { animation: ring 1.4s ease-out 0.5s infinite; }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.hcall__meta { min-width: 0; }
.hcall__meta b { display: block; font-size: 13px; }
.hcall__meta small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcall__answer { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #03271a; flex: none; transition: transform 150ms var(--ease-out), background-color 200ms ease, opacity 200ms ease; }
.hcall__answer svg { width: 16px; height: 16px; }
.hcall__answer:active { transform: scale(0.94); }
.hcall.is-ringing .hcall__answer { animation: wiggle 1.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
.hcall.is-live .hcall__answer { background: #ef4444; color: #fff; animation: none; transform: rotate(135deg); }
.hwave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 26px; }
.hwave i { width: 3px; height: 6px; border-radius: 2px; background: var(--brand-2); opacity: 0.35; transform-origin: center; }
.hcall__line { font-size: 12px; line-height: 1.35; color: var(--muted); min-height: 32px; }
.hbadge { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 5px 10px; border-radius: 999px; background: rgba(52,211,153,0.14); box-shadow: 0 0 0 1px rgba(52,211,153,0.35) inset; color: var(--ok); font-weight: 600; font-size: 11.5px; opacity: 0; transform: scale(0.9); }
.hbadge svg { width: 11px; height: 11px; }

/* pipeline */
.hpipe { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 96px; }
.hpipe__col { border-radius: 10px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px var(--line) inset; padding: 7px 8px; transition: background-color 200ms ease, box-shadow 200ms ease; }
.hpipe__col small { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); }
.hpipe__col.is-over { background: rgba(46,169,232,0.1); box-shadow: 0 0 0 1px rgba(46,169,232,0.5) inset; }
.hpipe__col:nth-child(3).is-done { background: rgba(52,211,153,0.1); box-shadow: 0 0 0 1px rgba(52,211,153,0.5) inset; }
.hpipe__chip {
  position: absolute; left: 0; top: 30px; width: calc((100% - 12px) / 3);
  padding: 8px; border-radius: 9px; cursor: grab; touch-action: none; user-select: none;
  background: #fff; color: #111827;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.9);
  transition: box-shadow 200ms ease;
}
.hpipe__chip b { display: block; font-size: 11.5px; }
.hpipe__chip small { display: block; font-size: 10px; color: #6b7280; margin-top: 1px; }
.hpipe__chip.is-dragging { cursor: grabbing; box-shadow: 0 24px 40px -12px rgba(0,0,0,0.9); z-index: 2; }

/* stats */
.hstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hstats > div { padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px var(--line) inset; }
.hstats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hstats__cur { font-size: 0.75em; color: var(--brand-2); margin-right: 1px; }
.hstats small { display: block; font-size: 10px; color: var(--muted-2); margin-top: 4px; }
.hstats b.is-bump { animation: bump 500ms var(--ease-out); color: var(--ok); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 100% { transform: scale(1); } }
.hswitch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; width: max-content; }
.hswitch input { position: absolute; opacity: 0; width: 0; height: 0; }
.hswitch i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(255,255,255,0.12); transition: background-color 200ms ease; flex: none; }
.hswitch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 220ms var(--ease-out); }
.hswitch input:checked + i { background: var(--ok); }
.hswitch input:checked + i::after { transform: translateX(12px); }
.hswitch input:checked ~ span { color: var(--text); }

/* Corner layout on wide screens, tidy grid below */
@media (min-width: 1200px) {
  .hero__copy { padding-inline: 270px; }
  .hcard--inbox { left: 0; top: -12px; }
  .hcard--call { right: 0; top: 4px; }
  .hcard--pipe { left: 0; bottom: 0; }
  .hcard--stats { right: 0; bottom: 8px; }
}
@media (max-width: 1199px) {
  .hero__cards { position: relative; inset: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; pointer-events: auto; }
  .hcard { position: relative; width: auto; }
  .hcard__inner { transform: none !important; }
}
@media (max-width: 900px) { .hero__cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero__cards { grid-template-columns: 1fr; } .hcard--pipe { display: none; } }

/* hero card layout fixes */
.hcard__inner { grid-template-columns: minmax(0, 1fr); }
.hcard__inner > * { min-width: 0; }
.hcard__head span { white-space: nowrap; }
.hthread { min-height: 168px; }
.hcall__meta { flex: 1 1 auto; }
.hcall__meta small { white-space: nowrap; }
.hpipe__chip b, .hpipe__chip small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1200px) {
  .hero__copy .h1 { font-size: clamp(3.4rem, 4.9vw, 5.4rem); }
  .hero__copy .lead { font-size: 1.1rem; }
}

/* Hero frame: content area shares the clips' 1440x771 shape, logo keeps its ratio */
.app__logo { align-self: flex-start; width: auto; height: 18px; max-width: 100%; object-fit: contain; }
.app { grid-template-columns: 14.6% minmax(0, 1fr); }
.frame__body { aspect-ratio: 2.186 / 1; }
.app__main video, .app__main img { object-fit: cover; object-position: left top; }
.app__side { padding: 12px 8px; overflow: hidden; }
.app__nav li { padding: 0 8px; font-size: 12px; }
.hero__stage-inner { width: min(100% - 2 * var(--gutter), 1240px, calc((100svh - 270px) * 2.186)); }
@media (max-width: 900px) { .frame__body { aspect-ratio: 1440 / 771; } .app { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Legal pages
------------------------------------------------------------------ */
.nav--static .nav__inner { opacity: 1; transform: none; }
.legal { padding: 150px 0 80px; }
.legal__inner { max-width: 820px; }
.legal__head { display: grid; gap: 14px; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__head .h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.legal__body { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal__body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); margin: 36px 0 12px; }
.legal__body p { margin: 0 0 14px; }
.legal__body a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-page [data-reveal] { opacity: 1; transform: none; }
.plan__price s { font-size: 1.1rem; color: var(--muted-2); font-weight: 500; letter-spacing: 0; margin-right: 8px; text-decoration-thickness: 2px; }
.plan__fine { font-size: 12px; color: var(--muted-2); line-height: 1.45; }

/* Hero frame: click-to-explore */
.app__hint { display: inline-flex; align-items: center; gap: 7px; margin: 0 2px 8px; padding: 6px 9px; border-radius: 8px; background: rgba(29,111,240,0.08); color: var(--app-accent); font-size: 11px; font-weight: 600; letter-spacing: -0.005em; transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.app__hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-accent); animation: hintpulse 1.6s ease-in-out infinite; }
@keyframes hintpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,111,240,0.45); } 60% { box-shadow: 0 0 0 6px rgba(29,111,240,0); } }
.app__hint.is-hidden { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.app__nav li { cursor: pointer; user-select: none; }
.app__nav li:hover { background: #f3f6fb; color: var(--app-accent); }
.app__nav li:active { transform: scale(0.98); }
.app__nav.is-nudge li:not(.is-active) { animation: navnudge 2.4s ease-in-out infinite; }
@keyframes navnudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,111,240,0); } 50% { box-shadow: 0 0 0 1px rgba(29,111,240,0.22); } }
.app__tabs { display: none; }
@media (max-width: 900px) {
  .app { grid-template-rows: auto 1fr; }
  .app__tabs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; background: var(--app-panel); border-bottom: 1px solid var(--app-line); }
  .app__tabs::-webkit-scrollbar { display: none; }
  .app__tabs button { flex: none; height: 28px; padding: 0 11px; border-radius: 999px; background: #f3f5f9; color: #374151; font-size: 12px; font-weight: 500; white-space: nowrap; }
  .app__tabs button.is-active { background: var(--app-accent-bg); color: var(--app-accent); }
  .app__main { position: relative; }
  .frame__body { aspect-ratio: auto; }
  .app__main { aspect-ratio: 1440 / 771; }
}
.frame__body { cursor: default; }
.app__hint.is-hidden { display: none; }
@media (max-width: 900px) {
  .app { position: relative; inset: auto; }
  .frame__body { height: auto; }
}

/* ------------------------------------------------------------------
   Sub pages: plans, success, affiliate, tour
------------------------------------------------------------------ */
.sub { padding-top: 130px; }
.plan-hero { padding: 20px 0 60px; }
.plan-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 36px; }
.plan-switch a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.plan-switch a span { font-weight: 500; color: var(--muted-2); font-size: 12px; }
.plan-switch a:hover { color: var(--text); }
.plan-switch a.is-active { background: var(--text); color: #06090f; }
.plan-switch a.is-active span { color: rgba(6,9,15,0.6); }
.plan-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.plan-copy { display: grid; gap: 18px; }
.plan-copy .h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.plan-copy .plan__price { font-size: 2.6rem; }
.plan-copy .plan__price small { font-size: 1rem; }
.plan-features { display: grid; gap: 10px; margin-top: 6px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.plan-features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(52,211,153,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan-fine { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.plan-fine a { color: var(--brand-2); }
.checkout { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); box-shadow: 0 0 0 1px var(--line-strong) inset, 0 40px 80px -40px rgba(0,0,0,0.8); display: grid; gap: 14px; }
.checkout--wide { position: static; max-width: 720px; margin-inline: auto; }
.checkout__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; }
.checkout__head span { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--font-body); color: var(--ok); }
.checkout__head svg { width: 13px; height: 13px; }
.checkout__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px var(--line) inset; }
.checkout__item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.checkout__total { display: flex; justify-content: space-between; padding: 0 4px; font-size: 14px; color: var(--muted); }
.checkout__total b { color: var(--text); font-size: 18px; }
.checkout__placeholder { position: relative; border-radius: 14px; border: 1.5px dashed rgba(46,169,232,0.45); padding: 16px; display: grid; gap: 14px; background: rgba(46,169,232,0.04); }
.checkout__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout__fields i { height: 40px; border-radius: 8px; background: rgba(255,255,255,0.05); box-shadow: 0 0 0 1px var(--line) inset; }
.checkout__fields i.wide { grid-column: span 2; }
.checkout__note { text-align: center; display: grid; gap: 4px; }
.checkout__note b { font-size: 14px; color: var(--brand-2); }
.checkout__note p { font-size: 12.5px; color: var(--muted); max-width: 40ch; margin-inline: auto; }
.checkout__btn { width: 100%; justify-content: center; }
.checkout__btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.checkout__legal { font-size: 12px; color: var(--muted-2); text-align: center; line-height: 1.5; }
.checkout__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.plan-faq { padding: 30px 0 80px; border-top: 1px solid var(--line); }
.plan-faq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; }
.plan-faq__grid p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.success { display: grid; gap: 22px; max-width: 720px; }
.success__steps { display: grid; gap: 14px; counter-reset: s; }
.success__steps li { position: relative; padding: 18px 18px 18px 56px; border-radius: 14px; background: rgba(255,255,255,0.03); box-shadow: 0 0 0 1px var(--line) inset; color: var(--muted); font-size: 15px; }
.success__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(46,169,232,0.15); color: var(--brand-2); font-weight: 700; font-size: 13px; }
.success__steps b { color: var(--text); }
.success__steps a { color: var(--brand-2); }
.aff-hero { display: grid; gap: 20px; max-width: 800px; }
.aff-section { padding: 40px 0; }
.aff-section .h3 { margin-bottom: 22px; }
.aff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aff-grid--2 { grid-template-columns: 1fr 1fr; }
.aff-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-2); }
.tour { display: grid; gap: 22px; }
.tour .lead { max-width: 70ch; }
.tour__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line) inset, 0 40px 100px -40px rgba(0,0,0,0.9); }
.tour__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .checkout { position: static; }
  .plan-faq__grid, .aff-grid, .aff-grid--2 { grid-template-columns: 1fr; }
  .plan-switch { display: flex; overflow-x: auto; }
}
.footer__links { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 600px) { .footer__inner { justify-content: center; text-align: center; } .footer__links { justify-content: center; } }
p.plan-fine { display: block; }
.aff-hero, .success { max-width: none; }
.aff-hero > *, .success > * { max-width: 800px; }
.aff-hero .hero__ctas, .success .hero__ctas { justify-content: flex-start; }
.nav__logo img { height: 24px; }
.footer__inner img { opacity: 1; height: 22px; }


/* ------------------------------------------------------------------
   Theme toggle
------------------------------------------------------------------ */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.theme-toggle:hover { background: rgba(127,127,127,0.12); color: var(--text); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun { display: none; }
html[data-theme="light"] .theme-toggle .sun { display: block; }
html[data-theme="light"] .theme-toggle .moon { display: none; }

/* Theme switch: a slow crossfade between the two rendered pages (View Transitions),
   with colour eases as the fallback for browsers without it */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 1300ms; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
::view-transition-old(root) { animation-name: theme-out; }
::view-transition-new(root) { animation-name: theme-in; }
@keyframes theme-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes theme-in { from { opacity: 0; } to { opacity: 1; } }
html.theme-transition, html.theme-transition *, html.theme-transition *::before, html.theme-transition *::after {
  transition: background-color 1300ms ease, color 1300ms ease, border-color 1300ms ease, box-shadow 1300ms ease, fill 1300ms ease, stroke 1300ms ease !important;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  html.theme-transition, html.theme-transition * { transition: none !important; }
}

/* ------------------------------------------------------------------
   Die-cut stickers
------------------------------------------------------------------ */
.sticker { --rot: 0deg; --stk: #2563eb; position: absolute; z-index: 5; pointer-events: none; transform: rotate(var(--rot)); filter: drop-shadow(0 10px 14px rgba(15,23,42,0.28)); will-change: transform; }
.sticker .stk { width: 100%; height: 100%; overflow: visible; display: block; }
.stk__cut { fill: #0f172a; stroke: #0f172a; stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.stk__edge { fill: #fff; stroke: #fff; stroke-width: 8.5; stroke-linejoin: round; stroke-linecap: round; }
.stk__fill { fill: var(--stk); stroke: none; }
.sticker--text span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: #0f172a; color: #f6f4ee;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px #0f172a;
}
.sticker--text span svg { width: 15px; height: 15px; }
.sticker.is-hidden { opacity: 0; transform: rotate(var(--rot)) scale(0.6); transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.sticker.is-in { animation: sticker-float 5s ease-in-out infinite; }
@keyframes sticker-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* placements */
.sticker--hero-bolt { width: 64px; top: 34px; right: 22%; }
.sticker--hero-arrow { width: 74px; left: 23%; bottom: 96px; }
.sticker--hint { left: -24px; top: 44%; pointer-events: none; }
.sticker--hint span { background: var(--brand); color: #fff; }
.sticker--intro { right: 0; top: -34px; }
.sticker--agents { width: 60px; top: -22px; right: -18px; z-index: 6; }
.sticker--support { width: 64px; right: -10px; top: 30px; }
.sticker--plan { right: -14px; top: -18px; }
.sticker--plan span { background: #ff6b4a; }
.sticker--cta { width: 82px; top: -28px; right: 6%; }
@media (max-width: 1199px) { .sticker--hero-bolt, .sticker--hero-arrow { display: none; } }
@media (max-width: 900px) { .sticker--hint, .sticker--intro, .sticker--support { display: none; } .sticker--agents { width: 46px; top: -14px; right: -8px; } .sticker--cta { width: 60px; top: -18px; right: 10px; } .sticker--plan { right: 8px; top: -18px; } }

/* sticker placement fixes */
.device { overflow: visible; }
.device__bar { border-radius: var(--radius) var(--radius) 0 0; }
.device__body { border-radius: 0 0 var(--radius) var(--radius); }
.sticker--agents { width: 64px; top: -26px; right: -22px; }
.sticker--cta { width: 84px; top: -30px; right: 5%; z-index: 6; }
.sticker--hint { left: auto; right: calc(100% - 44px); top: 42%; }
.sticker--hero-bolt { width: 78px; top: 4px; right: 19%; }
.sticker--hero-arrow { width: 72px; left: 24%; bottom: 62px; --rot: -22deg; }
@media (max-width: 1500px) { .sticker--hint { right: calc(100% - 96px); } }
.sticker--hint { left: 18px; right: auto; top: -30px; }
@media (max-width: 1500px) { .sticker--hint { right: auto; } }
/* Dark pills over video keep light text in both themes */
.chapter__label, .play-hint { color: #eef3f9; }
.tour { max-width: none; }
.tour .hero__ctas { justify-content: flex-start; }
.tour__video { aspect-ratio: 1920 / 994; }
figure, .quote { margin: 0; }
