/* ============================================================
   Синтез — AI SaaS лендинг
   Токены, компоненты, адаптив
   ============================================================ */

:root {
  --bg: #0a0b0d;
  --bg-soft: #0e1013;
  --surface: #121418;
  --surface-2: #171a1f;
  --surface-3: #1d2127;

  --ink: #f2f4ee;
  --ink-soft: #d7dbd2;
  --muted: #9aa196;
  --muted-2: #858d82;

  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);

  --lime: #c9f45b;
  --lime-bright: #d8ff78;
  --lime-dim: rgba(201, 244, 91, .11);
  --lime-line: rgba(201, 244, 91, .3);
  --cyan: #7dd3fc;
  --violet: #b7a4ff;
  --danger: #ff8f8f;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */

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

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page { overflow-x: clip; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--lime);
}

ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }

::selection {
  background: var(--lime);
  color: #10130a;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: #10130a;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(201, 244, 91, .8);
}

.lead {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 116px);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head .eyebrow { margin-bottom: 18px; }

.section__head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -.04em;
}

.section__lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(.98rem, 1.2vw, 1.06rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn--primary {
  background: var(--lime);
  color: #10130a;
  box-shadow: 0 0 0 1px rgba(201, 244, 91, .25), 0 16px 36px -20px rgba(201, 244, 91, .6);
}
.btn--primary:hover { background: var(--lime-bright); transform: translateY(-1px); }
.btn--primary:active { transform: none; }

.btn--secondary {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--secondary:hover {
  border-color: var(--lime-line);
  background: var(--lime-dim);
}

.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }

.btn--sm { padding: 9px 15px; font-size: .84rem; border-radius: 9px; }
.btn--lg { padding: 15px 27px; font-size: .98rem; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(10, 11, 13, .82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.nav-open .site-header {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lime-line);
  border-radius: 10px;
  background: var(--lime-dim);
  color: var(--lime);
}

.logo__mark svg { width: 24px; height: 24px; }

.logo__text {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__list a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav__list a:hover { color: var(--ink); background: rgba(255, 255, 255, .045); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .03);
}

.lang__link {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.lang__link.is-active { background: var(--lime); color: #10130a; }
.lang__link:not(.is-active):hover { color: var(--ink); }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.burger span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 88px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 44% at 76% 28%, rgba(201, 244, 91, .1), transparent 70%),
    radial-gradient(ellipse 38% 32% at 12% 8%, rgba(125, 211, 252, .06), transparent 70%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 58% 28%, #000 15%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 58% at 58% 28%, #000 15%, transparent 74%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__content { position: relative; z-index: 2; }

.hero__content .eyebrow { margin-bottom: 22px; }

.hero__content h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 1.01;
  letter-spacing: -.05em;
}

.hero__content .lead { margin-top: 24px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: .8rem;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  width: 15px;
  height: 15px;
  color: var(--lime);
}

.hero__visual {
  position: relative;
  z-index: 1;
  padding: 16px 0;
}

.hero__glow {
  position: absolute;
  inset: 8% 2% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 244, 91, .18), transparent 68%);
  filter: blur(50px);
  pointer-events: none;
}

/* ---------- Assistant mockup ---------- */

.assistant {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: linear-gradient(180deg, #181b20, #0e1013);
  box-shadow:
    0 60px 120px -55px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 255, 255, .025) inset;
  overflow: hidden;
}

.assistant__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
}

.assistant__dots {
  display: inline-flex;
  gap: 5px;
}

.assistant__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.assistant__title {
  flex: 1;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .06em;
}

.assistant__online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.assistant__online i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(201, 244, 91, .9);
}

.assistant__body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 318px;
}

.assistant__side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 9px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, .14);
}

.assistant__side-item {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--muted-2);
  font-size: .68rem;
  line-height: 1.3;
}

.assistant__side-item.is-active {
  background: var(--lime-dim);
  color: var(--lime);
}

.assistant__side-note {
  margin-top: auto;
  padding: 7px 9px;
  color: var(--muted-2);
  font-size: .6rem;
  border-top: 1px solid var(--line);
}

.assistant__chat {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 16px;
}

.msg { font-size: .8rem; line-height: 1.5; }

.msg--user {
  align-self: flex-end;
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 13px 13px 4px 13px;
  background: var(--lime);
  color: #10130a;
  font-weight: 500;
}

.msg--bot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 96%;
}

.msg__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border: 1px solid var(--lime-line);
  border-radius: 50%;
  background: var(--lime-dim);
  color: var(--lime);
}

.msg__avatar svg { width: 15px; height: 15px; }

.msg__bubble {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px 13px 13px 13px;
  background: rgba(255, 255, 255, .045);
  color: var(--ink-soft);
}

.msg__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.msg__sources span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
  font-size: .6rem;
  line-height: 1.3;
}

.msg__sources svg { width: 11px; height: 11px; color: var(--lime); }

.msg__typing {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 33px;
  color: var(--muted-2);
  font-size: .64rem;
}

.msg__typing-dots { display: inline-flex; gap: 3px; }

.msg__typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  animation: typing 1.2s infinite;
}

.msg__typing-dots i:nth-child(2) { animation-delay: .15s; }
.msg__typing-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.assistant__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  color: var(--muted-2);
  font-size: .62rem;
}

.assistant__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.assistant__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.assistant__feedback { display: inline-flex; align-items: center; gap: 6px; }

.assistant__feedback b {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Floating cards ---------- */

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  background: rgba(18, 20, 24, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .9);
}

.float-card--sources {
  top: -46px;
  left: -26px;
  animation: float 7s ease-in-out infinite;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--lime-dim);
  color: var(--lime);
}

.float-card__icon svg { width: 18px; height: 18px; }

.float-card__body { display: flex; flex-direction: column; line-height: 1.35; }
.float-card__body strong { font-size: .72rem; }
.float-card__body span { color: var(--muted-2); font-size: .6rem; }

.float-card--metric {
  right: -16px;
  bottom: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 10px;
  width: 190px;
  animation: float 8s ease-in-out infinite reverse;
}

.float-card__label {
  grid-column: 1;
  color: var(--muted-2);
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.float-card__value {
  grid-column: 1;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.float-card__spark {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 64px;
  color: var(--lime);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Logos ---------- */

.logos {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}

.logos__label {
  margin-bottom: 24px;
  color: var(--muted-2);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding-right: clamp(36px, 5vw, 64px);
}

.marquee__group li {
  color: rgba(242, 244, 238, .42);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */

.stats { padding-block: clamp(44px, 6vw, 68px); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.stat {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}

.stat__suffix { color: var(--lime); }

.stat__label {
  display: block;
  max-width: 23ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

/* ---------- Features ---------- */

.features { padding-top: clamp(64px, 8vw, 100px); }

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

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}

.bento__card:hover {
  border-color: rgba(201, 244, 91, .32);
  background: linear-gradient(180deg, rgba(201, 244, 91, .045), rgba(255, 255, 255, .012));
  transform: translateY(-3px);
}

.bento__card--wide { grid-column: span 4; }

.bento__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border: 1px solid var(--lime-line);
  border-radius: 11px;
  background: var(--lime-dim);
  color: var(--lime);
}

.bento__icon svg { width: 20px; height: 20px; }

.bento__card h3 {
  font-size: 1.16rem;
  letter-spacing: -.02em;
}

.bento__card p {
  max-width: 46ch;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* Search mock */

.search-mock {
  margin-top: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, .25);
}

.search-mock__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--lime-line);
  border-radius: 9px;
  background: var(--lime-dim);
  color: var(--ink-soft);
  font-size: .78rem;
}

.search-mock__bar svg { width: 15px; height: 15px; flex: none; color: var(--lime); }
.search-mock__bar span { flex: 1; }

.search-mock__bar kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-2);
  font: inherit;
  font-size: .6rem;
}

.search-mock__results {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 7px;
}

.search-mock__results li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.search-mock__results li:first-child {
  border-color: rgba(201, 244, 91, .18);
  background: rgba(201, 244, 91, .05);
}

.search-mock__score {
  flex: none;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--lime-dim);
  color: var(--lime);
  font-size: .58rem;
  font-weight: 700;
}

.search-mock__results li > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.search-mock__results strong { font-size: .72rem; font-weight: 600; }
.search-mock__results small { color: var(--muted-2); font-size: .62rem; }

/* Channels */

.channels,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.channels li,
.tags li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.4;
}

.channels li:first-child {
  border-color: var(--lime-line);
  color: var(--lime);
}

/* Handoff */

.handoff {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 4px;
}

.handoff__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .022);
  color: var(--muted);
  font-size: .66rem;
}

.handoff__row i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--muted-2);
}

.handoff__row--bot { color: var(--ink-soft); }
.handoff__row--bot i { background: var(--lime); }
.handoff__row--human { border-color: rgba(125, 211, 252, .25); }
.handoff__row--human i { background: var(--cyan); }

/* Chart */

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  margin-top: auto;
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
}

.chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--lime), rgba(201, 244, 91, .16));
  opacity: .85;
}

.chart span:nth-child(2n) { opacity: .6; }

/* ---------- Steps ---------- */

.how { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .014) 50%, transparent); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .018);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.step:hover {
  border-color: rgba(201, 244, 91, .28);
  background: rgba(201, 244, 91, .035);
}

.step__num {
  display: block;
  margin-bottom: clamp(32px, 5vw, 56px);
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.05em;
  opacity: .8;
}

.step h3 { font-size: 1.14rem; letter-spacing: -.02em; }

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.step__meta {
  margin-top: auto;
  padding-top: 24px;
  color: var(--lime);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
}

.quote__text {
  position: relative;
  padding-top: 22px;
}

.quote__text::before {
  content: "“";
  position: absolute;
  top: -26px;
  left: -4px;
  color: rgba(201, 244, 91, .4);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
}

.quote__text p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.62;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quote__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lime-line);
  border-radius: 50%;
  background: var(--lime-dim);
  color: var(--lime);
  font-size: .72rem;
  font-weight: 700;
}

.quote__author > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.quote__author strong { font-size: .86rem; }
.quote__author small { color: var(--muted-2); font-size: .74rem; }

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

.pricing { overflow: hidden; }

.pricing::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(900px, 90vw);
  height: 560px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 244, 91, .06), transparent 65%);
  pointer-events: none;
}

.pricing .container { position: relative; }

.billing {
  display: flex;
  width: max-content;
  margin: 0 auto clamp(30px, 4vw, 42px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

.billing__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.billing__opt:hover { color: var(--ink); }

.billing__opt.is-active {
  background: var(--lime);
  color: #10130a;
}

.billing__save {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .13);
  font-size: .64rem;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}

.plan--featured {
  border-color: rgba(201, 244, 91, .42);
  background: linear-gradient(180deg, rgba(201, 244, 91, .08), rgba(255, 255, 255, .012) 55%);
  box-shadow: 0 40px 90px -60px rgba(201, 244, 91, .45);
}

.plan__badge {
  position: absolute;
  top: -11px;
  left: clamp(24px, 3vw, 30px);
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: #10130a;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan__name {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.plan--featured .plan__name { color: var(--lime); }

.plan__desc {
  min-height: 46px;
  margin-top: 9px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 20px;
}

.price__amount {
  font-size: clamp(2.2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.price__period { color: var(--muted-2); font-size: .84rem; }

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.45;
}

.plan__list svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--lime);
}

.plan__cta { margin-top: auto; }

.pricing__note {
  max-width: 64ch;
  margin: 28px auto 0;
  color: var(--muted-2);
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-layout__intro { position: sticky; top: calc(var(--header-h) + 28px); }

.faq-layout__intro h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -.04em;
}

.faq-layout__intro .section__lead { margin-top: 18px; }

.faq-layout__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--lime-line);
  color: var(--lime);
  font-size: .92rem;
  font-weight: 600;
  transition: border-color .2s var(--ease);
}

.faq-layout__link:hover { border-color: var(--lime); }
.faq-layout__link span { transition: transform .2s var(--ease); }
.faq-layout__link:hover span { transform: translateX(3px); }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 21px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.faq__btn:hover { color: var(--lime); }

.faq__icon {
  position: relative;
  flex: none;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item.is-open .faq__icon {
  border-color: var(--lime);
  background: var(--lime);
  color: #10130a;
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0);
  opacity: 0;
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}

.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__panel-inner { overflow: hidden; }

.faq__panel-inner p {
  max-width: 64ch;
  padding: 0 36px 22px 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

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

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(201, 244, 91, .2);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 65% 100% at 0% 0%, rgba(201, 244, 91, .12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .012));
  overflow: hidden;
}

.cta::after {
  content: "S";
  position: absolute;
  right: 2%;
  bottom: -34%;
  color: rgba(201, 244, 91, .045);
  font-family: var(--font-serif);
  font-size: 26rem;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.cta__content,
.cta__panel { position: relative; z-index: 1; }

.cta__content h2 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -.04em;
}

.cta__content .section__lead { margin-top: 18px; }

.cta__points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 26px;
}

.cta__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: .86rem;
}

.cta__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(201, 244, 91, .7);
}

.cta__panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(10, 11, 13, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.form { display: flex; flex-direction: column; gap: 15px; }

.field { display: flex; flex-direction: column; gap: 7px; }

.field__label {
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
}

.field__input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.field__input::placeholder { color: var(--muted-2); }

.field__input:hover { border-color: rgba(255, 255, 255, .22); }

.field__input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(201, 244, 91, .04);
  box-shadow: 0 0 0 3px rgba(201, 244, 91, .14);
}

.field--invalid .field__input { border-color: var(--danger); }

.field__error {
  color: var(--danger);
  font-size: .78rem;
  line-height: 1.4;
}

.form__note {
  color: var(--muted-2);
  font-size: .72rem;
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 8px;
  text-align: center;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: #10130a;
}

.form-success__icon svg { width: 26px; height: 26px; }

.form-success__title { margin-top: 16px; font-size: 1.2rem; }

.form-success__text {
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.form-success__text strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

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

.site-footer {
  padding: clamp(48px, 7vw, 72px) 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer__tagline {
  max-width: 36ch;
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.lang--footer { width: max-content; }

.footer__col h3 {
  margin-bottom: 15px;
  color: var(--muted-2);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer__list { display: flex; flex-direction: column; gap: 2px; }

.footer__list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--muted);
  font-size: .86rem;
  transition: color .2s var(--ease);
}

.footer__list a:hover { color: var(--lime); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .74rem;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1120px) {
  .float-card--sources { display: none; }
  .float-card--metric { right: -4px; }
}

@media (max-width: 980px) {
  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 16px;
    right: 16px;
    z-index: 49;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100dvh - var(--header-h) - 30px);
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: var(--bg-soft);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .nav__list a {
    padding: 12px 10px;
    font-size: 1rem;
  }

  .nav__actions {
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  body.nav-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; }

  .hero__content { max-width: 760px; }

  .hero__visual {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    padding-top: 12px;
  }

  .bento__card--wide { grid-column: span 6; }

  .bento__card { grid-column: span 3; }

  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .plan__desc { min-height: 0; }
}

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps { grid-template-columns: 1fr; }

  .step__num { margin-bottom: 24px; }

  .quotes { grid-template-columns: 1fr; }

  .faq-layout { grid-template-columns: 1fr; }

  .faq-layout__intro {
    position: static;
    max-width: 620px;
  }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .float-card { display: none; }

  .cta { grid-template-columns: 1fr; }

  .footer__brand { grid-column: 1 / -1; }

  .assistant__side { display: none; }

  .assistant__body { grid-template-columns: 1fr; min-height: 0; }

  .assistant__chat { padding: 15px; }

  .hero__content h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }

  .container { width: calc(100% - 32px); }

  .logo__mark { width: 33px; height: 33px; }

  .hero { padding-top: calc(var(--header-h) + 38px); }

  .hero__content h1 { font-size: clamp(2.15rem, 10vw, 2.85rem); }

  .hero__actions { flex-direction: column; align-items: stretch; }

  .hero__actions .btn { width: 100%; }

  .hero__trust { gap: 8px 16px; font-size: .76rem; }

  .assistant__chat { padding: 13px; }

  .msg--user { max-width: 90%; }

  .assistant__footer { align-items: flex-start; flex-direction: column; gap: 6px; }

  .stats__grid { gap: 20px 16px; }

  .stat__label { font-size: .78rem; }

  .bento__card,
  .bento__card--wide { grid-column: span 6; }

  .plans { max-width: none; }

  .billing { width: 100%; }

  .billing__opt { flex: 1; justify-content: center; }

  .faq__panel-inner p { padding-right: 0; }

  .cta { padding: 22px 18px; border-radius: 22px; }

  .cta::after { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }

  .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 34px; }
}

@media (max-width: 400px) {
  .eyebrow { font-size: .64rem; letter-spacing: .09em; }

  .assistant__title { font-size: .62rem; }

  .assistant__online { font-size: .58rem; }

  .billing__opt { padding: 8px 10px; font-size: .76rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee__track,
  .float-card,
  .msg__typing-dots i {
    animation: none;
  }

  .btn,
  .bento__card,
  .step,
  .faq__panel {
    transition: none;
  }
}
