/* =========================================================
   9AI public interface — Linear-inspired product system
   Loaded after the established landing and SEO styles.
   ========================================================= */

:root,
html.theme-dark {
  --bg: #08090a;
  --bg-elevated: #0d0e10;
  --surface: rgba(18, 19, 22, .88);
  --surface-solid: #111214;
  --surface-soft: rgba(255, 255, 255, .035);
  --surface-2: #17181b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f7f7f8;
  --text-soft: #b0b1b8;
  --text-faint: #85868e;
  --text-muted: #8b8c94;
  --primary: #5e6ad2;
  --primary-hover: #6d78dc;
  --primary-soft: rgba(94, 106, 210, .13);
  --primary-rgb: 94, 106, 210;
  --accent: #8a8ff0;
  --accent-strong: #a5a9ff;
  --violet: #8a8ff0;
  --green: #67c99a;
  --danger: #ef6b73;
  --button-bg: #f3f3f4;
  --button-text: #111214;
  --container: 1200px;
  --header-h: 64px;
  --space-page-top: clamp(24px, 2.4vw, 34px);
  --space-page-bottom: clamp(48px, 4.5vw, 68px);
  --space-section-y: clamp(46px, 4vw, 62px);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 36px 100px rgba(0, 0, 0, .48);
  --shadow-card: 0 16px 45px rgba(0, 0, 0, .22);
}

html.theme-light {
  --bg: #f6f6f7;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, .9);
  --surface-solid: #ffffff;
  --surface-soft: rgba(18, 18, 22, .035);
  --surface-2: #f0f0f2;
  --line: rgba(18, 18, 22, .09);
  --line-strong: rgba(18, 18, 22, .16);
  --text: #151518;
  --text-soft: #55565e;
  --text-faint: #71727a;
  --text-muted: #696a72;
  --primary: #5e6ad2;
  --primary-hover: #4f5bc5;
  --primary-soft: rgba(94, 106, 210, .1);
  --accent: #5e6ad2;
  --accent-strong: #4f5bc5;
  --button-bg: #17181b;
  --button-text: #ffffff;
  --shadow: 0 34px 90px rgba(19, 20, 28, .14);
  --shadow-card: 0 14px 38px rgba(19, 20, 28, .08);
}

html {
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 24px);
}

html.theme-dark { color-scheme: dark; }
html.theme-light { color-scheme: light; }

body {
  background:
    radial-gradient(circle at 50% -220px, rgba(var(--primary-rgb), .11), transparent 480px),
    var(--bg);
  letter-spacing: -.01em;
  font-feature-settings: "ss01" 1, "cv02" 1, "cv03" 1;
}

::selection {
  background: rgba(var(--primary-rgb), .38);
  color: #fff;
}

.container {
  width: min(calc(100% - 48px), var(--container));
}

.page-bg__orb {
  display: none;
}

.page-bg__grid {
  opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
}

/* Header */
.site-header {
  min-height: var(--header-h);
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
}

.site-header__inner {
  min-height: var(--header-h);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand {
  gap: 9px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--primary) 50%, var(--line));
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(var(--primary-rgb), .28), rgba(var(--primary-rgb), .08));
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}

.brand__mark svg {
  width: 16px;
  height: 16px;
}

.brand__name {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -.025em;
}

.desktop-nav {
  gap: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-nav a {
  position: relative;
  padding: 22px 0 20px;
  border-radius: 0;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 560;
  transition: color .16s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: transparent;
  content: "";
}

.desktop-nav a:hover,
.desktop-nav a.is-current {
  color: var(--text);
  background: transparent;
}

.desktop-nav a.is-current::after {
  background: var(--text);
}

.site-header__actions {
  gap: 8px;
}

.header-login {
  padding: 8px 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 580;
}

.header-login:hover {
  color: var(--text);
}

.button {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -.015em;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 12px;
}

.button--large {
  min-height: 46px;
  padding-inline: 20px;
}

.button--primary {
  border-color: var(--button-bg);
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 1px 0 rgba(255,255,255,.14), 0 8px 22px rgba(0,0,0,.16);
}

.button--primary:hover {
  border-color: color-mix(in srgb, var(--button-bg) 86%, var(--text-soft));
  background: color-mix(in srgb, var(--button-bg) 90%, var(--text-soft));
}

.button--secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button--secondary:hover {
  border-color: color-mix(in srgb, var(--text-soft) 38%, var(--line));
  background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
}

.theme-toggle,
.menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.mobile-menu {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 97%, transparent);
}

.mobile-menu__inner a {
  border-bottom-color: var(--line);
}

/* Shared typography */
.section {
  padding: var(--space-section-y) 0;
  border-top: 1px solid var(--line);
}

.section--tint {
  background: color-mix(in srgb, var(--bg-elevated) 74%, transparent);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.section-kicker::after {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
}

.section-heading {
  max-width: 880px;
  margin: 0 0 clamp(34px, 4vw, 50px);
  text-align: left;
}

.section-heading h2,
.faq-intro h2,
.contact-pitch h2 {
  margin: 14px 0 17px;
  font-size: clamp(39px, 4.5vw, 58px);
  font-weight: 590;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading p,
.faq-intro > p,
.contact-pitch > p {
  max-width: 700px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.72;
}

.text-gradient {
  color: inherit;
  background-image: linear-gradient(110deg, var(--text) 10%, color-mix(in srgb, var(--text) 55%, var(--accent)) 88%);
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  -webkit-text-fill-color: transparent;
}

.text-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 620;
}

.text-link span {
  color: var(--accent);
}

/* Main hero */
.landing-body .hero {
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-shift-x-reverse: 0px;
  --hero-shift-y-reverse: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 620px;
  min-height: max(620px, calc(100vh - var(--header-h)));
  min-height: max(620px, calc(100svh - var(--header-h)));
  min-height: max(620px, calc(100dvh - var(--header-h)));
  align-items: center;
  overflow: hidden;
  overflow: clip;
  padding: clamp(54px, 7vh, 86px) 0;
}

.landing-body .hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.landing-body .hero__content {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
  transform: translateY(-24px);
}

.landing-body .eyebrow {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 580;
  letter-spacing: .04em;
}

.landing-body .eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--primary-rgb), .8);
}

.landing-body .hero__title {
  max-width: 1000px;
  margin: 25px auto 24px;
  font-size: clamp(54px, 6.75vw, 84px);
  font-weight: 620;
  letter-spacing: -.064em;
  line-height: .98;
  text-wrap: balance;
}

.landing-body .hero__title .text-gradient {
  background-image: linear-gradient(180deg, var(--text) 28%, color-mix(in srgb, var(--text) 48%, var(--text-faint)));
}

.landing-body .hero__lead {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.65;
  text-wrap: balance;
}

.landing-body .hero__actions,
.landing-body .hero__proof {
  justify-content: center;
}

.landing-body .hero__actions {
  margin-top: 32px;
}

.landing-body .hero__proof {
  gap: 8px;
  margin-top: 27px;
  color: var(--text-faint);
}

.landing-body .hero__proof li {
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  font-size: 11px;
  font-weight: 540;
}

.landing-body .hero__proof li:last-child {
  border-right: 1px solid var(--line);
}

.landing-body .hero__proof span {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--green);
  font-size: 11px;
}


/* Ambient hero stage: decorative only, scoped to the first screen. */
.hero-ambient {
  --orbit-line: rgba(var(--primary-rgb), .29);
  --orbit-line-bright: rgba(165, 169, 255, .7);
  --orbit-node: #a5a9ff;
  --orbit-node-core: #f7f7ff;
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ambient::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--bg) 24%, transparent) 0%, transparent 55%);
  content: "";
}

.hero-ambient__grid {
  position: absolute;
  z-index: 0;
  inset: -30%;
  opacity: .48;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), .13) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: translate3d(var(--hero-shift-x-reverse), var(--hero-shift-y-reverse), 0) perspective(900px) rotateX(62deg) scale(1.18);
  transform-origin: 50% 56%;
  mask-image: radial-gradient(ellipse at 50% 48%, #000 0%, rgba(0,0,0,.82) 38%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 0%, rgba(0,0,0,.82) 38%, transparent 74%);
  transition: transform .22s ease-out;
}

.hero-ambient__glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .82;
  animation: hero-glow-breathe 8s ease-in-out infinite;
}

.hero-ambient__glow--one {
  width: min(76vw, 980px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .24), rgba(var(--primary-rgb), .07) 46%, transparent 73%);
  transform: translate3d(calc(-50% + var(--hero-shift-x)), calc(-50% + var(--hero-shift-y)), 0);
}

.hero-ambient__glow--two {
  width: 520px;
  height: 520px;
  right: -110px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(138, 143, 240, .16), transparent 70%);
  transform: translate3d(var(--hero-shift-x-reverse), var(--hero-shift-y-reverse), 0);
  animation-delay: -4s;
}

.hero-ambient__dust {
  position: absolute;
  z-index: 1;
  inset: 4% 3% 8%;
  opacity: .48;
  background-image:
    radial-gradient(circle at 13% 30%, var(--orbit-node) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 72%, var(--orbit-node) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 31% 12%, var(--orbit-node) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 82%, var(--orbit-node) 0 1px, transparent 2px),
    radial-gradient(circle at 57% 9%, var(--orbit-node) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 64% 87%, var(--orbit-node) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 18%, var(--orbit-node) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 69%, var(--orbit-node) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 91% 36%, var(--orbit-node) 0 1px, transparent 2px);
  filter: drop-shadow(0 0 7px rgba(var(--primary-rgb), .65));
  transform: translate3d(var(--hero-shift-x-reverse), var(--hero-shift-y-reverse), 0);
  animation: hero-dust-twinkle 7s ease-in-out infinite;
}

.hero-ambient__core {
  position: absolute;
  z-index: 0;
  width: clamp(280px, 29vw, 440px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--primary-rgb), .12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 31%, rgba(255,255,255,.15) 0%, transparent 19%),
    radial-gradient(circle, rgba(165,169,255,.18) 0%, rgba(var(--primary-rgb), .07) 40%, rgba(var(--primary-rgb), .018) 58%, transparent 72%);
  box-shadow: 0 0 125px rgba(var(--primary-rgb), .14), inset 0 0 86px rgba(var(--primary-rgb), .06);
  transform: translate3d(calc(-50% + var(--hero-shift-x)), calc(-50% + var(--hero-shift-y)), 0);
}

.hero-ambient__orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
  box-shadow: 0 0 52px rgba(var(--primary-rgb), .035), inset 0 0 54px rgba(var(--primary-rgb), .025);
  opacity: .92;
  will-change: transform;
}

.hero-ambient__orbit::before {
  position: absolute;
  border-radius: inherit;
  content: "";
}

.hero-ambient__orbit::before {
  inset: -1px;
  border: 1px solid var(--orbit-line-bright);
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), .32));
  opacity: .46;
  transform: rotate(var(--orbit-arc-angle, 0deg));
}

.hero-ambient__orbit--outer {
  --orbit-arc-angle: 34deg;
  width: clamp(930px, 84vw, 1300px);
  aspect-ratio: 1.16 / 1;
  animation: hero-orbit-outer 26s ease-in-out infinite;
}

.hero-ambient__orbit--middle {
  --orbit-arc-angle: -48deg;
  width: clamp(720px, 64vw, 1000px);
  aspect-ratio: 1.13 / 1;
  animation: hero-orbit-middle 22s ease-in-out infinite;
}

.hero-ambient__orbit--inner {
  width: clamp(505px, 45vw, 720px);
  aspect-ratio: 1.1 / 1;
  animation: hero-orbit-inner 18s ease-in-out infinite;
}

.hero-ambient__orbit--inner::before {
  display: none;
}

.hero-ambient__node {
  --node-size: 5px;
  --node-delay: 0s;
  --node-speed: 4s;
  position: absolute;
  width: var(--node-size);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 50%;
  background: var(--orbit-node);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), .065), 0 0 20px rgba(var(--primary-rgb), .7);
  animation: hero-node-pulse var(--node-speed) ease-in-out var(--node-delay) infinite;
}

.hero-ambient__node--major {
  --node-size: 10px;
  background: var(--orbit-node-core);
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .1), 0 0 28px rgba(var(--primary-rgb), .9);
}

.hero-ambient__node--major::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(var(--primary-rgb), .34);
  border-radius: 50%;
  content: "";
  animation: hero-node-ring 4s ease-out var(--node-delay) infinite;
}

.hero-ambient__node--outer-a { top: 9%; right: 22%; --node-delay: -1.1s; }
.hero-ambient__node--outer-b { top: 48%; right: -3px; --node-size: 6px; --node-delay: -2.8s; }
.hero-ambient__node--outer-c { bottom: 11%; left: 23%; --node-size: 4px; --node-delay: -.4s; }
.hero-ambient__node--outer-d { top: 31%; left: 2%; --node-size: 3px; --node-delay: -3.3s; }

.hero-ambient__node--middle-a { top: 5%; left: 34%; --node-size: 4px; --node-delay: -2s; }
.hero-ambient__node--middle-b { right: 8%; bottom: 17%; --node-delay: -3.4s; }
.hero-ambient__node--middle-c { bottom: 2%; left: 43%; --node-size: 3px; --node-delay: -.8s; }

.hero-ambient__node--inner-a { top: 17%; right: 9%; --node-size: 7px; --node-delay: -2.5s; }
.hero-ambient__node--inner-b { bottom: 15%; left: 8%; --node-size: 4px; --node-delay: -1.4s; }
.hero-ambient__node--inner-c { top: 49%; left: -3px; --node-size: 3px; --node-delay: -3.7s; }

.hero-ambient__beam {
  position: absolute;
  z-index: 1;
  width: min(1120px, 92vw);
  height: 1px;
  top: 52%;
  left: 50%;
  opacity: .48;
  background: linear-gradient(90deg, transparent 2%, rgba(var(--primary-rgb), .13) 22%, rgba(165,169,255,.82) 50%, rgba(var(--primary-rgb), .13) 78%, transparent 98%);
  background-size: 220% 100%;
  box-shadow: 0 0 16px rgba(var(--primary-rgb), .12);
  transform: translate3d(calc(-50% + var(--hero-shift-x-reverse)), var(--hero-shift-y), 0) rotate(-8deg);
  animation: hero-beam-flow 7s ease-in-out infinite;
}

.hero-ambient__beam::after {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: 8%;
  border-radius: 50%;
  background: var(--orbit-node-core);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), .09), 0 0 22px rgba(var(--primary-rgb), .86);
  content: "";
  transform: translateY(-50%);
  animation: hero-signal-travel 8.5s cubic-bezier(.35,0,.25,1) infinite;
}

@keyframes hero-glow-breathe {
  0%, 100% { opacity: .64; }
  50% { opacity: .96; }
}

@keyframes hero-dust-twinkle {
  0%, 100% { opacity: .34; }
  50% { opacity: .56; }
}

@keyframes hero-orbit-outer {
  0%, 100% { transform: translate3d(calc(-50% + var(--hero-shift-x-reverse)), calc(-50% + var(--hero-shift-y-reverse)), 0) rotate(-12deg) scale(1); }
  50% { transform: translate3d(calc(-50% + var(--hero-shift-x-reverse)), calc(-50% + var(--hero-shift-y-reverse)), 0) rotate(-6deg) scale(1.018); }
}

@keyframes hero-orbit-middle {
  0%, 100% { transform: translate3d(calc(-50% + var(--hero-shift-x)), calc(-50% + var(--hero-shift-y)), 0) rotate(19deg) scale(1); }
  50% { transform: translate3d(calc(-50% + var(--hero-shift-x)), calc(-50% + var(--hero-shift-y)), 0) rotate(26deg) scale(.985); }
}

@keyframes hero-orbit-inner {
  0%, 100% { transform: translate3d(calc(-50% + var(--hero-shift-x-reverse)), calc(-50% + var(--hero-shift-y)), 0) rotate(-26deg) scale(1); }
  50% { transform: translate3d(calc(-50% + var(--hero-shift-x-reverse)), calc(-50% + var(--hero-shift-y)), 0) rotate(-18deg) scale(1.025); }
}

@keyframes hero-node-pulse {
  0%, 100% { opacity: .58; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes hero-node-ring {
  0% { opacity: 0; transform: scale(.62); }
  28% { opacity: .9; }
  72%, 100% { opacity: 0; transform: scale(1.35); }
}

@keyframes hero-beam-flow {
  0%, 100% { opacity: .24; background-position: 0 50%; }
  50% { opacity: .58; background-position: 100% 50%; }
}

@keyframes hero-signal-travel {
  0%, 8% { left: 8%; opacity: 0; }
  16% { opacity: 1; }
  72% { opacity: .9; }
  82%, 100% { left: 92%; opacity: 0; }
}

html.theme-light .hero-ambient {
  --orbit-line: rgba(76, 89, 199, .25);
  --orbit-line-bright: rgba(76, 89, 199, .62);
  --orbit-node: #5362ce;
  --orbit-node-core: #ffffff;
}

html.theme-light .hero-ambient__grid {
  opacity: .56;
}

html.theme-light .hero-ambient__glow--one {
  background: radial-gradient(circle, rgba(var(--primary-rgb), .19), rgba(var(--primary-rgb), .055) 46%, transparent 73%);
}

html.theme-light .hero-ambient__orbit {
  box-shadow: 0 0 54px rgba(var(--primary-rgb), .045), inset 0 0 48px rgba(var(--primary-rgb), .03);
}

html.theme-light .hero-ambient__node {
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), .07), 0 0 18px rgba(var(--primary-rgb), .5);
}

@media (max-width: 720px) {
  .hero-ambient__grid {
    opacity: .4;
    background-size: 48px 48px;
  }

  .hero-ambient__dust {
    inset: 3% -16% 7%;
    opacity: .36;
  }

  .hero-ambient__glow--one {
    width: 650px;
    top: 47%;
  }

  .hero-ambient__glow--two {
    display: none;
  }

  .hero-ambient__core {
    width: 330px;
  }

  .hero-ambient__orbit {
    top: 47%;
  }

  .hero-ambient__orbit--outer {
    width: 825px;
  }

  .hero-ambient__orbit--middle {
    width: 625px;
  }

  .hero-ambient__orbit--inner {
    width: 450px;
  }

  .hero-ambient__node--outer-c,
  .hero-ambient__node--outer-d,
  .hero-ambient__node--middle-c {
    display: none;
  }

  .hero-ambient__beam {
    width: 640px;
    opacity: .38;
  }
}

@media (max-width: 420px) {
  .hero-ambient__orbit--outer { width: 770px; }
  .hero-ambient__orbit--middle { width: 585px; }
  .hero-ambient__orbit--inner { width: 425px; }
  .hero-ambient__core { width: 290px; }
}

/* Main product preview */
.hero__visual {
  isolation: isolate;
  width: min(100%, 1110px);
  margin-inline: auto;
  perspective: 1500px;
}

.hero__visual::before {
  position: absolute;
  z-index: -2;
  width: 70%;
  height: 56%;
  top: 14%;
  left: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .2), transparent 68%);
  filter: blur(72px);
  content: "";
  transform: translate3d(var(--glow-move-x, 0), var(--glow-move-y, 0), 0);
  transition: transform .18s ease-out;
}

.hero__visual::after {
  position: absolute;
  z-index: -1;
  inset: 25px 0 -28px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.hero__visual-head {
  margin-bottom: 12px;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 580;
  letter-spacing: .03em;
}

.hero__visual-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__visual-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(103, 201, 154, .5);
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: #0d0e10;
  box-shadow: 0 55px 130px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.03);
  transform: perspective(1500px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .22s ease;
}

.product-window__bar {
  height: 42px;
  border-bottom-color: rgba(255,255,255,.075);
  background: #111214;
  color: #696b72;
}

.window-dots i {
  width: 6px;
  height: 6px;
  background: #45474e;
}

.product-shell {
  min-height: 438px;
  background: #0c0d0f;
}

.product-nav {
  border-right-color: rgba(255,255,255,.07);
  background: #101113;
}

.product-nav__logo {
  border: 1px solid rgba(145,151,255,.32);
  background: rgba(94,106,210,.18);
  color: #d7d9ff;
}

.product-nav__item {
  color: #606269;
}

.product-nav__item.is-active {
  background: rgba(255,255,255,.075);
  color: #f1f1f3;
}

.conversation-list {
  border-right-color: rgba(255,255,255,.07);
  background: #0e0f11;
}

.conversation-list__head,
.conversation-item {
  border-bottom-color: rgba(255,255,255,.055);
}

.conversation-item.is-active {
  background: rgba(255,255,255,.055);
}

.conversation-item b {
  font-size: 10px;
}

.conversation-item small {
  font-size: 9px;
}

.chat-preview {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    #0b0c0e;
  background-size: 100% 54px;
}

.chat-preview__head,
.chat-preview__composer {
  border-color: rgba(255,255,255,.07);
  background: #101113;
}

.chat-preview__head b {
  font-size: 12px;
}

.chat-preview__head small {
  font-size: 9.5px;
}

.assistant-status {
  padding: 6px 8px;
  font-size: 8.5px;
}

.chat-preview__messages {
  gap: 12px;
  padding: 20px 18px;
}

.message {
  padding: 11px 12px;
  font-size: 10.5px;
  line-height: 1.55;
}

.source-chip {
  margin-top: 8px;
  padding: 5px 7px;
  font-size: 8.5px;
}

.message--assistant,
.handoff-card {
  border-color: rgba(255,255,255,.09);
  background: #141518;
}

.message--user {
  background: #5e6ad2;
}

.handoff-card {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
}

.handoff-card__icon {
  width: 30px;
  height: 30px;
}

.handoff-card b {
  font-size: 9.5px;
}

.handoff-card small,
.handoff-card button {
  font-size: 8.5px;
}

.chat-preview__composer {
  min-height: 38px;
  font-size: 10px;
}

.source-chip {
  border-color: rgba(138,143,240,.22);
  background: rgba(94,106,210,.1);
  color: #b7bbff;
}

.floating-metric {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(19,20,23,.9);
  color: #f1f1f3;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.floating-metric--top {
  top: -12px;
  right: 14px;
}

.floating-metric b {
  font-size: 10px;
}

.floating-metric small {
  font-size: 8px;
}

.floating-metric__icon {
  border-radius: 7px;
  background: rgba(94,106,210,.16);
  color: #b8bcff;
}

/* Scenario rail */
.use-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
}

.use-strip__inner {
  justify-content: flex-start;
  gap: 8px;
  min-height: 72px;
  padding-block: 18px;
  overflow: visible;
}

.use-strip__inner > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  color: var(--text-faint);
  font-size: 11px;
  white-space: nowrap;
}

.use-strip__inner > span:first-child {
  min-height: auto;
  margin-right: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.use-strip__label {
  color: var(--text-soft) !important;
  font-weight: 620;
  letter-spacing: .025em;
}

/* Product tour */
.section--product-tour {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(var(--primary-rgb), .11), transparent 32%),
    color-mix(in srgb, var(--bg-elevated) 76%, transparent);
}

.section--product-tour::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 24%, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 24%, transparent 86%);
  opacity: .28;
  pointer-events: none;
}

.section--product-tour > .container { position: relative; }

.tour-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 95%, transparent);
  box-shadow: 0 34px 90px rgba(0,0,0,.2);
}

.tour-carousel__nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px 11px 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
}

.tour-carousel__tabs { display: flex; min-width: 0; align-items: center; gap: 5px; }
.tour-tab {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 620;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.tour-tab span { color: color-mix(in srgb, var(--accent) 78%, var(--text-faint)); font-size: 9px; font-weight: 760; letter-spacing: .08em; }
.tour-tab:hover { background: var(--surface-soft); color: var(--text-soft); }
.tour-tab.is-active { border-color: var(--line); background: var(--surface-soft); color: var(--text); }

.carousel-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.carousel-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--text-soft);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}
.carousel-controls button:hover:not(:disabled) { border-color: var(--line-strong); background: var(--surface); color: var(--text); transform: translateY(-1px); }
.carousel-controls button:disabled { cursor: default; opacity: .32; }
.carousel-controls button svg { width: 17px; height: 17px; }
.carousel-controls > span { min-width: 42px; color: var(--text-faint); font-size: 10px; font-variant-numeric: tabular-nums; text-align: center; }

.tour-carousel__stage { min-height: 520px; }
.tour-slide {
  display: grid;
  min-height: 520px;
  padding: clamp(30px, 4.6vw, 56px);
  grid-template-columns: minmax(300px, .78fr) minmax(500px, 1.22fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 72px);
}
.tour-slide[hidden] { display: none !important; }
.tour-slide.is-active { animation: tour-slide-in .48s cubic-bezier(.2,.75,.2,1) both; }
@keyframes tour-slide-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.tour-slide__copy { max-width: 470px; }
.tour-slide__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.tour-slide__eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(var(--primary-rgb), .5); content: ""; }
.tour-slide__copy h3 { margin: 17px 0 16px; color: var(--text); font-size: clamp(31px, 3.6vw, 46px); font-weight: 610; letter-spacing: -.048em; line-height: 1.04; text-wrap: balance; }
.tour-slide__copy > p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.72; }
.tour-slide__copy ul { display: grid; gap: 9px; margin: 24px 0 27px; padding: 0; list-style: none; }
.tour-slide__copy li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: 12px; line-height: 1.5; }
.tour-slide__copy li::before { position: absolute; top: .52em; left: 2px; width: 7px; height: 7px; border: 1px solid color-mix(in srgb, var(--green) 70%, transparent); border-radius: 50%; background: rgba(103,201,154,.11); content: ""; }

.tour-screen { position: relative; overflow: hidden; min-height: 410px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: #0d0e10; color: #f1f1f3; box-shadow: 0 34px 80px rgba(0,0,0,.36); }
.tour-screen::before { position: absolute; top: -130px; right: -100px; width: 300px; height: 300px; border-radius: 50%; background: rgba(94,106,210,.15); content: ""; filter: blur(55px); pointer-events: none; }
.tour-screen__bar { position: relative; z-index: 2; display: grid; min-height: 42px; padding: 0 14px; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.075); background: #121316; color: #72747c; }
.tour-screen__bar > span { display: flex; gap: 5px; }
.tour-screen__bar > span i { width: 6px; height: 6px; border-radius: 50%; background: #46484f; }
.tour-screen__bar > b { font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.tour-screen__bar > em { justify-self: end; color: #7d8087; font-size: 8px; font-style: normal; }

.knowledge-stage { position: relative; z-index: 1; display: grid; min-height: 368px; padding: 24px; grid-template-columns: minmax(160px,.68fr) minmax(240px,1.32fr); align-items: stretch; gap: 13px; background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), #0d0e10; background-size: 100% 54px; }
.knowledge-files { display: grid; align-content: start; gap: 8px; }
.knowledge-file { display: grid; min-width: 0; min-height: 62px; padding: 10px; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.065); border-radius: 9px; background: #121316; }
.knowledge-file > i { display: grid; width: 32px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #1a1b1f; color: #999cf0; font-size: 7px; font-style: normal; font-weight: 760; }
.knowledge-file b { overflow: hidden; color: #d9dade; font-size: 9px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.knowledge-file small { grid-column: 2; margin-top: -13px; color: #6abf94; font-size: 7px; }
.knowledge-file.is-active { border-color: rgba(138,143,240,.24); background: rgba(94,106,210,.08); }
.knowledge-answer { display: flex; justify-content: center; gap: 11px; flex-direction: column; padding: 18px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: #101113; }
.knowledge-answer__query { align-self: flex-end; max-width: 80%; padding: 10px 12px; border-radius: 9px 9px 3px 9px; background: #5e6ad2; color: #fff; font-size: 9px; }
.knowledge-answer > div { display: flex; gap: 9px; padding: 12px; border: 1px solid rgba(138,143,240,.18); border-radius: 9px 9px 9px 3px; background: #17181b; }
.knowledge-answer > div > i { color: #b9bdff; font-style: normal; }
.knowledge-answer p { margin: 0; color: #c4c5ca; font-size: 9px; line-height: 1.55; }
.knowledge-answer p small { display: block; width: max-content; max-width: 100%; margin-top: 9px; padding: 4px 6px; border: 1px solid rgba(138,143,240,.16); border-radius: 5px; color: #aeb2f5; font-size: 7px; }

.website-stage { position: relative; min-height: 368px; overflow: hidden; padding: 19px 21px; background: linear-gradient(145deg,#15171a,#0f1012); }
.website-stage__nav { display: flex; min-height: 34px; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.06); }
.website-stage__nav strong { margin-right: auto; color: #f3f3f4; font-size: 11px; letter-spacing: -.04em; }
.website-stage__nav span { width: 34px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.12); }
.website-stage__hero { position: relative; display: flex; min-height: 275px; justify-content: center; flex-direction: column; overflow: hidden; padding-left: 24px; }
.website-stage__hero small { color: #8f92e6; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.website-stage__hero b { position: relative; z-index: 1; margin-top: 10px; color: #ececef; font-size: 26px; font-weight: 540; letter-spacing: -.055em; line-height: 1.02; }
.website-stage__hero > i { position: absolute; right: 20px; width: 190px; height: 190px; border-radius: 46% 54% 58% 42%; background: linear-gradient(145deg,rgba(94,106,210,.5),rgba(138,143,240,.08)); transform: rotate(18deg); }
.widget-preview { position: absolute; z-index: 3; right: 18px; bottom: 16px; width: min(290px,58%); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #111214; box-shadow: 0 24px 60px rgba(0,0,0,.48); }
.widget-preview header { display: flex; align-items: center; gap: 9px; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.07); background: #17181b; }
.widget-preview header > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: rgba(94,106,210,.18); color: #bdc1ff; font-size: 11px; }
.widget-preview header b,.widget-preview header small { display: block; }
.widget-preview header b { color: #e7e7e9; font-size: 8px; }.widget-preview header small { color: #707178; font-size: 6px; }
.widget-preview__messages { display: grid; gap: 7px; padding: 11px; }
.widget-preview__messages p { width: 84%; margin: 0; padding: 7px 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 7px; background: #18191c; color: #acaeb5; font-size: 7px; line-height: 1.45; }
.widget-preview__messages p:first-child { justify-self: end; width: 66%; border-color: transparent; background: #5e6ad2; color: white; }
.widget-preview footer { display: flex; min-height: 32px; align-items: center; justify-content: space-between; padding: 0 10px; border-top: 1px solid rgba(255,255,255,.07); color: #5f6168; font-size: 7px; }.widget-preview footer i { color: #9ca0f2; font-style: normal; }

.telegram-stage { position: relative; z-index: 1; display: grid; min-height: 410px; grid-template-columns: 54px minmax(0,1fr); background: #0d0e10; }
.telegram-stage > aside { display: flex; align-items: center; gap: 16px; flex-direction: column; padding: 14px 9px; border-right: 1px solid rgba(255,255,255,.07); background: #111214; }
.telegram-stage__logo { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #2aabee; color: white; font-size: 13px; }
.telegram-stage > aside i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.06); }
.telegram-stage > section { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.telegram-stage header { display: flex; min-height: 60px; align-items: center; gap: 10px; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,.07); background: #121316; }
.telegram-stage header > span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(145,151,255,.28); border-radius: 50%; background: rgba(94,106,210,.16); color: #d7d9ff; font-size: 11px; font-weight: 730; }
.telegram-stage header b,.telegram-stage header small { display: block; }.telegram-stage header b { color: #e5e6e9; font-size: 10px; }.telegram-stage header small { color: #6f7178; font-size: 7px; }.telegram-stage header em { margin-left: auto; color: #6f7178; font-size: 9px; font-style: normal; }
.telegram-chat { display: flex; justify-content: center; gap: 10px; flex-direction: column; padding: 18px; background: radial-gradient(circle at 50% 20%,rgba(42,171,238,.07),transparent 45%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px); background-size: auto,100% 48px; }
.telegram-chat time { align-self: center; padding: 4px 7px; border-radius: 99px; background: rgba(255,255,255,.06); color: #6f7178; font-size: 7px; }
.telegram-chat p { max-width: 78%; margin: 0; padding: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; color: #c1c2c7; font-size: 8.5px; line-height: 1.5; }
.telegram-chat p.is-user { align-self: flex-end; border-color: rgba(42,171,238,.16); background: rgba(42,171,238,.14); }.telegram-chat p.is-bot { background: #17181b; }.telegram-chat p.is-bot > i { margin-right: 6px; color: #aeb2ff; font-style: normal; }.telegram-chat p small { display: block; margin-top: 7px; color: #7f83cc; font-size: 6.5px; }
.telegram-stage footer { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 0 14px; border-top: 1px solid rgba(255,255,255,.07); background: #121316; color: #666870; font-size: 8px; }.telegram-stage footer i { color: #2aabee; font-style: normal; }

.handoff-stage { position: relative; z-index: 1; display: grid; min-height: 368px; grid-template-columns: minmax(150px,.72fr) minmax(240px,1.28fr); background: #0d0e10; }
.handoff-stage > aside { display: grid; align-content: start; gap: 7px; padding: 16px 11px; border-right: 1px solid rgba(255,255,255,.07); background: #101113; }
.handoff-stage > aside > small { margin: 0 4px 5px; color: #686a71; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.handoff-stage > aside > span { display: grid; min-width: 0; min-height: 52px; padding: 8px; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; color: #b9bac0; }
.handoff-stage > aside > span.is-active { border-color: rgba(138,143,240,.16); background: rgba(94,106,210,.09); }
.handoff-stage > aside > span > i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #24262b; color: #b8bcff; font-size: 7px; font-style: normal; font-weight: 700; }
.handoff-stage > aside b { overflow: hidden; font-size: 8px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }.handoff-stage > aside em { grid-column: 2; margin-top: -11px; color: #71737a; font-size: 6.5px; font-style: normal; }
.handoff-stage > section { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.handoff-stage > section > header { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); background: #121316; }
.handoff-stage > section > header b,.handoff-stage > section > header small { display: block; }.handoff-stage > section > header b { color: #e4e5e8; font-size: 10px; }.handoff-stage > section > header small { margin-top: 2px; color: #6e7077; font-size: 6.5px; }.handoff-stage > section > header > span { padding: 5px 7px; border: 1px solid rgba(103,201,154,.17); border-radius: 5px; background: rgba(103,201,154,.07); color: #88cda9; font-size: 6.5px; }
.handoff-stage__summary { align-self: center; margin: 18px; padding: 14px; border: 1px solid rgba(138,143,240,.18); border-radius: 10px; background: #17181b; }
.handoff-stage__summary > small { color: #9ca0ef; font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }.handoff-stage__summary p { margin: 8px 0 11px; color: #b7b8be; font-size: 8px; line-height: 1.55; }.handoff-stage__summary > div { display: flex; flex-wrap: wrap; gap: 5px; }.handoff-stage__summary > div span { padding: 4px 6px; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; color: #777980; font-size: 6.5px; }
.handoff-stage > section > footer { display: flex; min-height: 43px; align-items: center; gap: 8px; padding: 6px 9px; border-top: 1px solid rgba(255,255,255,.07); background: #121316; }.handoff-stage > section > footer > span { flex: 1; color: #61636a; font-size: 7px; }.handoff-stage > section > footer button { min-height: 29px; padding: 0 9px; border: 0; border-radius: 6px; background: #5e6ad2; color: white; font-size: 7px; }

.tour-carousel__progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: var(--line); }
.tour-carousel__progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--primary),var(--accent)); transform: scaleX(0); transform-origin: left; }
.tour-carousel.is-counting .tour-carousel__progress span { animation: carousel-progress var(--carousel-duration) linear both; }
.tour-carousel.is-paused .tour-carousel__progress span { animation-play-state: paused; }
@keyframes carousel-progress { to { transform: scaleX(1); } }

/* Horizontal scenario and related rails */
.snap-carousel { position: relative; }
.snap-carousel__head { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; margin: -20px 0 14px; }
.snap-carousel__head > span { color: var(--text-faint); font-size: 11px; }
.snap-carousel [data-snap-track] { scrollbar-width: none; }
.snap-carousel [data-snap-track]::-webkit-scrollbar { display: none; }
.snap-carousel .scenario-grid {
  display: grid;
  grid-auto-columns: calc((100% - 24px) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 0 18px;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
}
.snap-carousel .scenario-card { height: 100%; scroll-snap-align: start; }
.snap-carousel--related .seo-related {
  display: grid;
  grid-auto-columns: calc((100% - 24px) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 0 18px;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
}
.snap-carousel--related .seo-related__card { height: 100%; scroll-snap-align: start; }

/* Public docs search and reading progress */
.docs-search { position: relative; display: flex; max-width: 560px; min-height: 50px; align-items: center; gap: 10px; margin-top: 28px; padding: 0 12px 0 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: color-mix(in srgb,var(--surface-solid) 92%,transparent); box-shadow: var(--shadow-card); transition: border-color .16s ease, box-shadow .16s ease; }
.docs-search:focus-within { border-color: rgba(var(--primary-rgb),.55); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1),var(--shadow-card); }
.docs-search > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--text-faint); }
.docs-search input { min-width: 0; height: 48px; flex: 1 1 auto; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.docs-search input::placeholder { color: var(--text-faint); }
.docs-search kbd { display: grid; min-width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-bottom-color: var(--line-strong); border-radius: 6px; background: var(--surface-soft); color: var(--text-faint); font: inherit; font-size: 10px; }
.docs-search-empty { max-width: 520px; margin: 70px auto; padding: 34px; border: 1px dashed var(--line-strong); border-radius: 13px; text-align: center; }
.docs-search-empty[hidden] { display: none; }
.docs-search-empty > span { display: grid; width: 44px; height: 44px; margin: 0 auto 14px; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--accent); font-size: 22px; }
.docs-search-empty h2 { margin: 0; font-size: 24px; }.docs-search-empty p { margin: 8px 0 20px; color: var(--text-soft); font-size: 13px; }
.docs-group[hidden],.docs-card[hidden] { display: none !important; }
.doc-reading-progress { position: fixed; z-index: 110; top: var(--header-h); right: 0; left: 0; height: 2px; background: transparent; pointer-events: none; }
.doc-reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--primary),var(--accent)); box-shadow: 0 0 12px rgba(var(--primary-rgb),.45); transform: scaleX(0); transform-origin: left; }

/* Content cards */
.feature-grid,
.steps,
.scenario-grid,
.pricing-grid {
  gap: 12px;
}

.feature-card,
.step-card,
.scenario-card,
.price-card,
.workflow-cta,
.billing-note,
.faq-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-solid) 93%, transparent);
  box-shadow: none;
}

.feature-card,
.scenario-card,
.price-card {
  overflow: hidden;
}

.feature-card:hover,
.scenario-card:hover,
.price-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.feature-card__icon,
.step-card__icon,
.scenario-card__icon {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--accent);
}

.feature-card h3,
.step-card h3,
.scenario-card h3,
.price-card h3 {
  letter-spacing: -.025em;
}

.mini-ui,
.channel-row,
.handoff-line {
  border-color: var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}

.feature-tags span,
.scenario-card__tag {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text-faint);
}

.section-heading--split {
  align-items: end;
}

.step-card {
  display: grid;
  min-height: 258px;
  padding: 25px;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
}

.step-card__number {
  position: static;
  display: inline-flex;
  width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--primary-rgb), .24);
  border-radius: 7px;
  background: rgba(var(--primary-rgb), .1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.step-card__icon {
  width: 42px;
  height: 42px;
  margin: 0 0 30px;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.step-card h3,
.step-card p {
  grid-column: 1 / -1;
}

.step-card h3 {
  margin-bottom: 11px;
}

.step-card:not(:last-child)::after {
  display: none;
}

.workflow-cta,
.billing-note {
  max-width: 900px;
  padding: 18px 22px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--primary-soft));
}

.billing-note small {
  margin-top: 4px;
}

.scenario-card {
  min-height: 300px;
  padding: 28px;
}

.price-card {
  min-height: 472px;
  padding: 25px;
}

.price-card--featured {
  border-color: rgba(var(--primary-rgb), .45);
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), .11), transparent 34%),
    var(--surface-solid);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.price-card__badge {
  top: 16px;
  right: 16px;
  border: 1px solid rgba(155,161,255,.2);
  border-radius: 6px;
  background: rgba(var(--primary-rgb), .16);
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
}

.faq-layout {
  align-items: start;
}

.faq-intro {
  position: static;
  top: auto;
}

.faq-item {
  margin-bottom: 8px;
}

.faq-item summary {
  padding-block: 20px;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

/* Contact */
.section--contact {
  position: relative;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), .045), transparent 44%),
    color-mix(in srgb, var(--bg-elevated) 84%, transparent);
}

.anchor-alias {
  position: absolute;
  top: calc(var(--header-h) * -1);
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.contact-layout {
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  gap: clamp(48px, 6vw, 78px);
  align-items: start;
}

.contact-pitch {
  padding-top: clamp(20px, 2.4vw, 32px);
}

.contact-pitch h2 {
  max-width: 540px;
  font-size: clamp(40px, 4.2vw, 54px);
}

.contact-pitch__meta {
  counter-reset: contact-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top-color: var(--line);
}

.contact-pitch__meta > span {
  counter-increment: contact-step;
  position: relative;
  min-height: 116px;
  padding: 38px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
}

.contact-pitch__meta > span::before {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--accent);
  content: "0" counter(contact-step);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}

.contact-pitch__meta b {
  color: var(--text);
  font-size: 12px;
  font-weight: 620;
}

.contact-pitch__meta small {
  max-width: 210px;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1.5;
}

.contact-card {
  padding: clamp(24px, 4vw, 34px);
  border-color: var(--line-strong);
  background: var(--surface-solid);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.contact-card h3 {
  font-size: 23px;
  font-weight: 610;
}

.contact-card header p {
  font-size: 14px;
  line-height: 1.55;
}

.field > span,
.captcha-field__label {
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 580;
}

.field input,
.field textarea {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--text-soft) 76%, var(--text-faint));
  opacity: 1;
}

.form-consent {
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 10.5px;
}

.form-legal-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.form-legal-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--primary);
}

.form-legal-check a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(var(--primary-rgb), .7);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.captcha-field {
  border-color: var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.captcha-field img {
  border-color: var(--line);
  border-radius: 7px;
}

/* Footer */
.site-footer {
  padding: 64px 0;
  border-top-color: var(--line);
  background: var(--bg);
}

.site-footer__grid {
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 48px;
}

.site-footer__brand p {
  color: var(--text-faint);
}

.site-footer__links b {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 620;
}

.site-footer__links a {
  color: var(--text-faint);
  font-size: 11px;
}

.site-footer__links a:hover {
  color: var(--text);
}

.scroll-top {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
  color: var(--text);
  box-shadow: 0 16px 42px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.scroll-top:hover { border-color: rgba(var(--primary-rgb),.48); background: color-mix(in srgb,var(--surface-solid) 88%,var(--primary-soft)); color: var(--accent); transform: translateY(-2px); }
.scroll-top.is-visible:hover { transform: translateY(-2px); }
.scroll-top:active { transform: translateY(0); }

.landing-body .eyebrow__dot,
.seo-demo__head em i,
.tour-screen__bar > em::before {
  animation: status-pulse 2.8s ease-in-out infinite;
}
@keyframes status-pulse { 0%,100% { opacity: .62; box-shadow: 0 0 0 0 rgba(var(--primary-rgb),0); } 50% { opacity: 1; box-shadow: 0 0 0 5px rgba(var(--primary-rgb),.07); } }

.tour-slide.is-active .knowledge-answer > div,
.tour-slide.is-active .widget-preview,
.tour-slide.is-active .telegram-chat .is-bot,
.tour-slide.is-active .handoff-stage__summary {
  animation: tour-detail-in .52s .12s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes tour-detail-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

/* SEO hero */
.seo-body .site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.seo-body .seo-hero {
  padding: var(--space-page-top) 0 clamp(52px, 5vw, 68px);
}

.seo-body .seo-hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr);
  gap: clamp(42px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(16px, 1.8vw, 22px);
}

.breadcrumbs {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 540;
}

.breadcrumbs a {
  color: var(--text-faint);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.seo-body .seo-hero__content h1 {
  max-width: 740px;
  margin: 19px 0 24px;
  font-size: clamp(44px, 4.7vw, 64px);
  font-weight: 590;
  letter-spacing: -.058em;
  line-height: 1;
  text-wrap: balance;
}

.seo-body .seo-hero__lead {
  max-width: 660px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.68;
  text-wrap: pretty;
}

.seo-body .seo-hero__actions {
  margin-top: 28px;
}

.seo-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.seo-highlights li {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface-solid) 84%, transparent);
  color: var(--text-faint);
  font-size: 11px;
}

.seo-highlights li:first-child {
  padding-left: 10px;
}

.seo-highlights li:last-child {
  border-right: 1px solid var(--line);
}

.seo-highlights li span {
  background: transparent;
  color: var(--green);
}

/* SEO product window */
.seo-body .seo-demo {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: #0d0e10;
  box-shadow: 0 42px 110px rgba(0,0,0,.42);
}

.seo-body .seo-demo::before {
  top: -180px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(94,106,210,.18), transparent 68%);
  filter: blur(18px);
}

.seo-body .seo-demo::after {
  display: none;
}

.seo-demo__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 42px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  background: #111214;
  color: #6d6f76;
}

.seo-demo__head > span {
  gap: 5px;
}

.seo-demo__head i {
  width: 6px;
  height: 6px;
  background: #46484f;
}

.seo-demo__head b {
  color: #85878e;
  font-size: 9px;
  font-weight: 560;
  letter-spacing: .03em;
}

.seo-demo__head em {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  color: #777980;
  font-size: 9px;
  font-style: normal;
}

.seo-demo__head em i {
  background: #67c99a;
  box-shadow: 0 0 9px rgba(103,201,154,.55);
}

.seo-demo__workspace {
  display: grid;
  min-height: 458px;
  grid-template-columns: 54px minmax(0, 1fr);
}

.seo-demo__rail {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-direction: column;
  padding: 15px 9px;
  border-right: 1px solid rgba(255,255,255,.065);
  background: #101113;
}

.seo-demo__rail span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(145,151,255,.34);
  border-radius: 8px;
  background: rgba(94,106,210,.18);
  color: #d5d7ff;
  font-size: 12px;
  font-weight: 760;
}

.seo-demo__rail > i {
  width: 18px;
  height: 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  background:
    linear-gradient(#5d5f66 0 0) center / 8px 1px no-repeat,
    linear-gradient(90deg, #5d5f66 0 0) center / 1px 8px no-repeat;
  opacity: .7;
}

.seo-demo__rail > i.is-active {
  border-color: rgba(255,255,255,.09);
  background:
    linear-gradient(#d5d6da 0 0) center / 8px 1px no-repeat,
    linear-gradient(90deg, #d5d6da 0 0) center / 1px 8px no-repeat,
    rgba(255,255,255,.065);
  opacity: 1;
}

.seo-demo__panel {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    #0c0d0f;
  background-size: 100% 58px;
}

.seo-demo__toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: rgba(17,18,20,.94);
}

.seo-demo__toolbar > div {
  display: grid;
  gap: 2px;
}

.seo-demo__toolbar small {
  color: #65676e;
  font-size: 8px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.seo-demo__toolbar b {
  overflow: hidden;
  max-width: 240px;
  color: #e9e9eb;
  font-size: 12px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-demo__toolbar > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(103,201,154,.18);
  border-radius: 5px;
  background: rgba(103,201,154,.07);
  color: #8fd5b2;
  font-size: 8px;
  font-weight: 620;
}

.seo-demo__toolbar > span i,
.seo-demo__status > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #67c99a;
}

.seo-demo__conversation {
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-direction: column;
  padding: 28px 22px;
}

.seo-demo__bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 88%;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: #151619;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.seo-demo__bubble > span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: #24262b;
  color: #b9bac0;
  font-size: 9px;
  font-weight: 700;
}

.seo-demo__bubble p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.seo-demo__bubble small {
  color: #6f7178;
  font-size: 8px;
}

.seo-demo__bubble b {
  color: #dfe0e3;
  font-size: 10px;
  font-weight: 520;
  line-height: 1.55;
}

.seo-demo__bubble--user {
  align-self: flex-end;
  background: #18191c;
}

.seo-demo__bubble--ai {
  align-self: flex-start;
  border-color: rgba(138,143,240,.18);
}

.seo-demo__bubble--ai > span {
  background: rgba(94,106,210,.16);
  color: #bdc1ff;
}

.seo-demo__bubble em {
  width: max-content;
  margin-top: 3px;
  padding: 4px 6px;
  border: 1px solid rgba(138,143,240,.16);
  border-radius: 5px;
  background: rgba(94,106,210,.08);
  color: #aeb2f5;
  font-size: 7px;
  font-style: normal;
}

.seo-demo__status {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-top: 1px solid rgba(255,255,255,.065);
  background: #111214;
}

.seo-demo__status > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #777980;
  font-size: 8px;
}

.seo-demo__status b {
  color: #9da1ef;
  font-size: 8px;
  font-weight: 560;
}

/* SEO content */
.seo-facts {
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
}

.seo-facts__grid {
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.seo-facts__grid div {
  min-height: 96px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  background: transparent;
}

.seo-facts__grid div:first-child {
  padding-left: 0;
}

.seo-facts__grid div:last-child {
  border-right: 0;
}

.seo-facts__grid span {
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .09em;
}

.seo-facts__grid b {
  color: var(--text);
  font-size: 14px;
  font-weight: 560;
}

.seo-body .section-heading {
  max-width: 860px;
  margin: 0 0 44px;
}

.seo-card-grid,
.seo-benefit-grid,
.seo-steps,
.seo-related,
.seo-plans,
.docs-card-grid {
  gap: 12px;
}

.seo-card,
.seo-benefit,
.seo-steps li,
.seo-related__card,
.seo-plan,
.docs-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-solid);
  box-shadow: none;
}

.seo-card {
  min-height: 285px;
  padding: 25px;
}

.seo-card:hover,
.seo-related__card:hover,
.docs-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.seo-card__number,
.seo-benefit > span,
.seo-steps li > span,
.docs-group__heading span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent);
}

.seo-card h3 {
  margin-top: 58px;
  font-size: 19px;
  font-weight: 590;
}

.seo-benefit {
  min-height: 150px;
  padding: 22px;
}

.seo-benefit h3,
.seo-steps h3 {
  font-weight: 590;
  letter-spacing: -.02em;
}

.seo-steps li {
  min-height: 225px;
  padding: 23px;
}

.seo-steps li > span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 12px;
}

.seo-steps h3 {
  margin-top: 46px;
}

.seo-plan--featured {
  border-color: rgba(var(--primary-rgb), .45);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.seo-plan__badge {
  border-radius: 5px;
  background: rgba(var(--primary-rgb), .18);
  color: var(--accent);
}

.seo-related__card {
  min-height: 250px;
}

.seo-related__card > span,
.seo-related__card b,
.docs-card b {
  color: var(--accent);
}

.seo-final-cta {
  padding: 32px 0 76px;
}

.seo-final-cta__inner {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background:
    radial-gradient(circle at 92% 10%, rgba(var(--primary-rgb), .13), transparent 42%),
    var(--surface-solid);
}

.seo-final-cta__inner span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 620;
}

.seo-final-cta__inner h2 {
  font-weight: 590;
}

/* Documentation */
.docs-hero,
.doc-article-hero {
  border-bottom: 1px solid var(--line);
}

.docs-hero {
  padding: var(--space-page-top) 0 50px;
}

.docs-hero__grid {
  gap: 42px;
  padding-top: 16px;
  align-items: center;
}

.docs-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
}

.docs-hero__grid > div > p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.65;
}

.docs-hero__note {
  padding: 21px;
}

.docs-hero h1,
.doc-article-hero h1 {
  font-weight: 590;
}

.docs-index {
  padding-top: 24px;
}

.docs-card {
  min-height: 220px;
  padding: 22px;
}

.docs-card h3 {
  margin-top: 22px;
}

.doc-article-hero {
  padding: var(--space-page-top) 0 50px;
}

.doc-container {
  max-width: 1040px;
}

.doc-article-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.doc-article-meta .doc-read-time {
  margin-top: 0;
}

.doc-article-meta a {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 620;
}

.doc-article-meta a:hover {
  color: var(--accent);
}

.doc-article-hero h1 {
  max-width: 940px;
  margin-block: 22px 24px;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.03;
}

.doc-article-hero > .container > p {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.65;
}

.doc-layout {
  grid-template-columns: 220px minmax(0, 820px);
  gap: 52px;
  padding-top: 58px;
}

.docs-hero__note,
.doc-note {
  border-color: var(--line);
  border-radius: 11px;
  background: var(--surface-solid);
}

.docs-group__heading {
  border-bottom-color: var(--line);
}

.doc-toc {
  border-color: var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
}

.doc-toc > b {
  font-size: 11px;
  letter-spacing: .08em;
}

.doc-toc nav a {
  font-size: 12.5px;
}

.doc-section {
  border-bottom-color: var(--line);
}

.doc-section h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.doc-content pre {
  border-color: var(--line);
  border-radius: 9px;
  background: #0d0e10;
}

.doc-related a {
  border-color: var(--line);
  border-radius: 9px;
  background: var(--surface-solid);
}

/* Motion: content stays readable even before JavaScript initialises. */
@keyframes product-stage-in {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero__visual.is-visible {
  animation: product-stage-in .72s cubic-bezier(.2,.8,.2,1) both;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal.is-visible:not(.hero__visual) {
  animation: reveal-in .56s cubic-bezier(.2,.75,.2,1) both;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card,
  .scenario-card,
  .price-card,
  .seo-card,
  .seo-benefit,
  .seo-related__card,
  .docs-card {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }

  .feature-card:hover,
  .scenario-card:hover,
  .price-card:hover,
  .seo-card:hover,
  .seo-benefit:hover,
  .seo-related__card:hover,
  .docs-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
  }
}

/* Responsive */
@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .landing-body .hero__title {
    font-size: clamp(54px, 8vw, 82px);
  }

  .seo-body .seo-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    gap: 40px;
  }

  .site-footer__grid {
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .seo-body .seo-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-body .seo-hero__content {
    max-width: 760px;
  }

  .seo-body .seo-demo {
    width: min(100%, 720px);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-pitch {
    max-width: 760px;
    margin-inline: 0;
    padding-top: 0;
    text-align: left;
  }

  .contact-pitch__meta {
    justify-content: flex-start;
  }

  .contact-card {
    width: min(100%, 760px);
    margin-inline: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1.35fr repeat(3, 1fr);
  }

  .tour-slide {
    min-height: 0;
    grid-template-columns: minmax(0,1fr);
    gap: 36px;
  }

  .tour-slide__copy { max-width: 720px; }
  .tour-screen { min-height: 390px; }

  .snap-carousel .scenario-grid { grid-auto-columns: minmax(320px,72%); }
  .snap-carousel--related .seo-related { grid-auto-columns: minmax(300px,62%); }
}

@media (max-width: 720px) {
  :root,
  html.theme-dark,
  html.theme-light {
    --header-h: 64px;
    --space-page-top: 20px;
    --space-page-bottom: 50px;
    --space-section-y: 42px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .landing-body .hero {
    padding: 50px 0;
  }

  .landing-body .hero__content {
    transform: translateY(-14px);
  }

  .landing-body .hero__title {
    margin-top: 22px;
    font-size: clamp(43px, 13vw, 62px);
    letter-spacing: -.06em;
  }

  .landing-body .hero__lead {
    font-size: 16px;
  }

  .landing-body .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .landing-body .hero__actions .button {
    width: 100%;
  }

  .landing-body .hero__proof {
    display: flex;
    width: 100%;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
  }

  .landing-body .hero__proof li {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .hero__visual-head {
    display: none;
  }

  .hero__visual::after {
    inset: 18px -8px -20px;
  }

  .floating-metric {
    display: none;
  }

  .product-window {
    border-radius: 11px;
  }

  .product-shell {
    min-height: 360px;
  }

  .use-strip__inner > span {
    min-height: 34px;
    padding-inline: 11px;
  }

  .section {
    padding: var(--space-section-y) 0;
  }

  .section-heading h2,
  .faq-intro h2,
  .contact-pitch h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .tour-carousel { border-radius: 13px; }
  .tour-carousel__nav { min-height: 0; align-items: stretch; flex-direction: column; gap: 10px; padding: 11px; }
  .tour-carousel__tabs { overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .tour-carousel__tabs::-webkit-scrollbar { display: none; }
  .tour-tab { min-width: max-content; min-height: 38px; }
  .tour-carousel__nav .carousel-controls { align-self: flex-end; }
  .tour-carousel__stage { min-height: 0; }
  .tour-slide { min-height: 0; padding: 27px 20px 30px; gap: 28px; }
  .tour-slide__copy h3 { font-size: clamp(29px,9vw,39px); }
  .tour-screen { min-height: 360px; border-radius: 11px; }
  .knowledge-stage { min-height: 318px; padding: 15px; grid-template-columns: 140px minmax(0,1fr); }
  .website-stage { min-height: 318px; padding: 14px; }
  .website-stage__hero { min-height: 250px; padding-left: 12px; }
  .website-stage__hero b { font-size: 22px; }
  .website-stage__hero > i { right: -30px; width: 160px; height: 160px; }
  .widget-preview { right: 10px; bottom: 10px; width: 66%; }
  .telegram-stage { min-height: 360px; }
  .handoff-stage { min-height: 318px; }

  .snap-carousel__head { margin-top: -12px; }
  .snap-carousel .scenario-grid { grid-auto-columns: minmax(290px,86%); }
  .snap-carousel--related .seo-related { grid-auto-columns: minmax(285px,86%); }

  .section-heading--split {
    text-align: left;
  }

  .feature-card,
  .scenario-card,
  .price-card {
    padding: 22px;
  }

  .faq-intro {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-pitch .button {
    width: 100%;
  }

  .contact-pitch__meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-pitch__meta > span {
    min-height: 0;
  }

  .seo-body .seo-hero {
    padding: var(--space-page-top) 0 48px;
  }

  .seo-body .seo-hero__grid {
    gap: 30px;
    padding-top: 14px;
  }

  .seo-body .seo-hero__content h1 {
    font-size: clamp(41px, 12vw, 57px);
  }

  .seo-body .seo-hero__lead {
    font-size: 16px;
  }

  .seo-highlights {
    display: flex;
    gap: 7px;
  }

  .seo-highlights li {
    padding: 7px 10px;
    border: 1px solid var(--line);
  }

  .seo-body .seo-demo {
    min-height: 430px;
    border-radius: 11px;
  }

  .seo-demo__workspace {
    min-height: 388px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .seo-demo__rail {
    padding-inline: 6px;
  }

  .seo-demo__rail span {
    width: 28px;
    height: 28px;
  }

  .seo-demo__toolbar {
    padding-inline: 13px;
  }

  .seo-demo__conversation {
    padding: 20px 13px;
  }

  .seo-demo__bubble {
    max-width: 94%;
  }

  .seo-demo__status {
    padding-inline: 13px;
  }

  .seo-demo__status b {
    display: none;
  }

  .seo-facts__grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .seo-facts__grid div,
  .seo-facts__grid div:first-child {
    padding: 18px 15px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .seo-facts__grid div:nth-child(2n) {
    border-right: 0;
  }

  .seo-facts__grid div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .seo-card-grid,
  .seo-benefit-grid,
  .seo-related,
  .seo-plans,
  .docs-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-steps {
    grid-template-columns: 1fr;
  }

  .seo-steps li {
    min-height: 190px;
  }

  .seo-final-cta {
    padding: 28px 0 54px;
  }

  .seo-final-cta__inner {
    border-radius: 11px;
  }

  .docs-hero {
    padding: var(--space-page-top) 0 46px;
  }

  .docs-hero__grid {
    gap: 24px;
    padding-top: 14px;
  }

  .doc-article-hero {
    padding: var(--space-page-top) 0 44px;
  }

  .doc-article-meta {
    margin-top: 28px;
  }

  .site-footer {
    padding: 54px 0;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-header__actions {
    gap: 5px;
  }

  .header-login,
  .header-signup {
    display: none;
  }

  .landing-body .hero__title {
    font-size: clamp(40px, 13vw, 54px);
  }

  .landing-body .hero__proof {
    justify-content: flex-start;
  }

  .landing-body .hero__proof li {
    width: 100%;
  }

  .use-strip__label {
    width: 100%;
    margin-bottom: 2px;
  }

  .tour-carousel__tabs { margin-right: -2px; }
  .tour-tab { padding-inline: 10px; font-size: 11px; }
  .tour-slide { padding-inline: 16px; }
  .tour-screen { min-height: 340px; }
  .tour-screen__bar { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .tour-screen__bar > b { display: none; }
  .knowledge-stage { min-height: 298px; grid-template-columns: 1fr; }
  .knowledge-files { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .knowledge-file { min-height: 52px; padding: 7px; grid-template-columns: 1fr; }
  .knowledge-file > i { justify-self: center; }
  .knowledge-file b,.knowledge-file small { display: none; }
  .knowledge-answer { padding: 12px; }
  .website-stage__nav span { display: none; }
  .widget-preview { width: 78%; }
  .telegram-stage { min-height: 340px; grid-template-columns: 1fr; }
  .telegram-stage > aside { display: none; }
  .telegram-chat { padding-inline: 12px; }
  .handoff-stage { min-height: 298px; grid-template-columns: 1fr; }
  .handoff-stage > aside { display: none; }
  .handoff-stage__summary { margin: 13px; }
  .snap-carousel__head > span { max-width: 180px; }
  .snap-carousel .scenario-grid,.snap-carousel--related .seo-related { grid-auto-columns: 91%; }

  .docs-search { min-height: 48px; margin-top: 23px; }
  .docs-search input { height: 46px; }
  .docs-search kbd { display: none; }

  .product-nav {
    display: none;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .seo-demo__head {
    grid-template-columns: 1fr auto;
  }

  .seo-demo__head b {
    display: none;
  }

  .seo-demo__bubble b {
    font-size: 9px;
  }

  .seo-demo__toolbar > span {
    display: none;
  }

  .seo-facts__grid {
    grid-template-columns: 1fr;
  }

  .seo-facts__grid div,
  .seo-facts__grid div:first-child,
  .seo-facts__grid div:nth-child(2n),
  .seo-facts__grid div:nth-last-child(-n+2) {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .seo-facts__grid div:last-child {
    border-bottom: 0;
  }

  .captcha-field__row {
    grid-template-columns: 1fr;
  }

  .doc-article-meta a {
    display: none;
  }

  .captcha-field img {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__links {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .hero-ambient__grid,
  .feature-card,
  .scenario-card,
  .price-card,
  .seo-card,
  .seo-benefit,
  .seo-related__card,
  .docs-card,
  .product-window,
  .hero__visual::before {
    transition: none !important;
  }

  .hero__visual.is-visible,
  .hero-ambient__glow,
  .hero-ambient__dust,
  .hero-ambient__orbit,
  .hero-ambient__node,
  .hero-ambient__node::after,
  .hero-ambient__beam,
  .hero-ambient__beam::after {
    animation: none;
  }

  .hero-ambient__grid,
  .hero-ambient__glow,
  .hero-ambient__orbit,
  .hero-ambient__beam {
    transition: none !important;
  }

  .reveal.is-visible {
    animation: none !important;
  }

  .tour-slide.is-active,
  .tour-slide.is-active .knowledge-answer > div,
  .tour-slide.is-active .widget-preview,
  .tour-slide.is-active .telegram-chat .is-bot,
  .tour-slide.is-active .handoff-stage__summary,
  .landing-body .eyebrow__dot,
  .seo-demo__head em i,
  .tour-carousel__progress span {
    animation: none !important;
  }
}

@media print {
  .site-header,
  .page-bg,
  .scroll-top,
  .hero-ambient,
  .hero__visual,
  .seo-demo,
  .contact-card,
  .button {
    display: none !important;
  }
}
