/* ============================================================
   Zvuk — маркетинговый сайт. Тёмная тема, фиолетово-синий акцент.
   Статика: без фреймворков, системный Inter-like гротеск.
   ============================================================ */

:root {
  --bg: #07070a;
  --bg-2: #0b0b10;
  --card: #101016;
  --card-2: #15151d;
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #7c5cff;
  --accent-2: #4f8cff;
  --grad: linear-gradient(135deg, #7c5cff 0%, #4f8cff 100%);
  --glow: rgba(124, 92, 255, 0.22);
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(124, 92, 255, 0.4); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- типографика ---------- */

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }

.h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--grad);
}

.section { padding: clamp(84px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head-left { text-align: left; margin-left: 0; }

.accent-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- кнопки и бейджи ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn svg { flex: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(96, 108, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(96, 108, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hi);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}

.badge-new { background: var(--grad); color: #fff; }
.badge-soft {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ---------- хедер ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 7, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand svg { display: block; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}

.main-nav a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--text); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-toggle button.on { background: rgba(255, 255, 255, 0.12); color: var(--text); }

.nav-burger {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  width: 42px;
  height: 40px;
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0 clamp(64px, 7vw, 96px);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background:
    radial-gradient(42% 55% at 30% 30%, rgba(124, 92, 255, 0.24), transparent 70%),
    radial-gradient(38% 50% at 72% 24%, rgba(79, 140, 255, 0.2), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero .lead { max-width: 660px; margin: 22px auto 0; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); }
.hero-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--text); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.pill-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: var(--muted);
}

.pill-fact b { color: var(--text); font-weight: 600; }

.pill-fact .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}

/* ---------- демо-зона ---------- */

.demo-wrap { position: relative; margin-top: 64px; }

.demo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 6% -4%;
  background:
    radial-gradient(50% 60% at 24% 60%, rgba(124, 92, 255, 0.18), transparent 70%),
    radial-gradient(44% 56% at 80% 40%, rgba(79, 140, 255, 0.16), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.demo-tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 22px;
}

.demo-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.demo-tabs button.on { background: rgba(255, 255, 255, 0.1); color: var(--text); }

.mock {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--bg-2);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(124, 92, 255, 0.1);
  overflow: hidden;
  text-align: left;
  transform: perspective(1400px) rotateX(2.5deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.mock-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }

.mock-bar .mock-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.mock-body { padding: 22px 24px 26px; min-height: 320px; }

.demo-pane { display: none; }
.demo-pane.on { display: block; animation: fadeUp 0.4s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* чат-мокап */
.chat { display: flex; flex-direction: column; gap: 14px; }
.msg {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.msg .meta { display: block; font-size: 11.5px; color: var(--faint); margin-top: 5px; }
.msg-them { align-self: flex-start; background: var(--card-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.msg-me { align-self: flex-end; background: linear-gradient(135deg, rgba(124,92,255,.28), rgba(79,140,255,.22)); border: 1px solid rgba(124,92,255,.35); border-bottom-right-radius: 5px; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* почта-мокап */
.mail-meta { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 14px; }
.mail-meta b { color: var(--text); font-weight: 600; }
.mail-text { font-size: 14.5px; line-height: 1.65; color: #d7d7dc; white-space: pre-line; }

/* код-мокап */
.code-pane { display: grid; grid-template-columns: 1fr; gap: 16px; }
.code-block {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  background: #0a0a10;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  overflow-x: auto;
  color: #c9c9d4;
}
.code-block .k { color: #7c5cff; } .code-block .s { color: #8fd48a; }
.code-block .c { color: #62626e; } .code-block .f { color: #6cb2ff; }

/* waveform */
.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 6px;
}
.wave i {
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
  height: 20%;
  animation: wave 1.1s ease-in-out infinite;
}
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 96%; } }

.rec-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  color: var(--muted);
}

.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57;
  animation: pulse 1.6s ease infinite;
  flex: none;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,95,87,.5);} 55% { box-shadow: 0 0 0 9px rgba(255,95,87,0);} }

kbd.zvuk-kbd {
  font-family: inherit;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 7px;
  border: 1px solid var(--border-hi);
  border-bottom-width: 2px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  white-space: nowrap;
}

/* ---------- kinetic marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollX 30s linear infinite;
}

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

.marquee-seq {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
  padding-right: 0.6em;
}

.marquee-seq b { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 600; }

@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- social proof (кому) ---------- */

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 15px;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.proof-chip:hover { border-color: var(--border-hi); color: var(--text); transform: translateY(-2px); }
.proof-chip svg { color: var(--accent); }

/* ---------- adaptability ---------- */

.adapt-card {
  max-width: 780px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--card);
  padding: 34px 34px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 26px;
}

.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.seg button.on { background: var(--grad); color: #fff; }

.adapt-text {
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  min-height: 4.6em;
  letter-spacing: -0.01em;
}

.adapt-src { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.adapt-src b { color: var(--muted); font-weight: 600; }

/* ---------- bento ---------- */

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

.bento-card {
  grid-column: span 2;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 26px 26px 24px;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  background: var(--card-2);
}

.bento-card.wide { grid-column: span 3; }
.bento-card.full { grid-column: span 6; }

.bento-card h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.01em; margin: 14px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bento-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.feat-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.28);
  color: var(--accent);
}

.feat-ico.blue { background: rgba(79,140,255,.1); border-color: rgba(79,140,255,.3); color: var(--accent-2); }

.mini-mock {
  margin-top: 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 13px 15px;
  font-size: 13px;
  color: var(--muted);
}

.mode-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mode-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,.03);
}
.mode-chip.hot { border-color: rgba(124,92,255,.5); color: var(--text); background: rgba(124,92,255,.14); }

/* ---------- custom mode ---------- */

.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.custom-points { display: flex; flex-direction: column; gap: 16px; }

.custom-point {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px 26px;
  transition: border-color 0.2s ease;
}
.custom-point:hover { border-color: var(--border-hi); }
.custom-point h3 { font-size: 17px; margin: 12px 0 8px; letter-spacing: -0.01em; }
.custom-point p { font-size: 14.5px; color: var(--muted); }

.model-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.model-tag {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.model-tag.sel { border-color: rgba(124,92,255,.55); background: rgba(124,92,255,.13); color: var(--text); }

.editor-mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--bg-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.editor-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; flex: 1; }

.ed-row { display: flex; flex-direction: column; gap: 8px; }
.ed-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); display:flex; align-items:center; gap:7px; }
.ed-field {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ed-field .hint { font-size: 12px; color: var(--faint); }

/* ---------- интеграции ---------- */

.int-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 44px auto 0;
}

.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.int-chip:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px) scale(1.03);
  border-color: var(--border-hi);
  color: var(--text);
}

/* ---------- agentic ---------- */

.agentic-card {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 92, 255, 0.3);
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(124, 92, 255, 0.14), transparent 60%),
    var(--card);
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.term {
  border-radius: 16px;
  border: 1px solid var(--border-hi);
  background: #0a0a10;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  line-height: 1.75;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.term-body { padding: 18px 20px; color: #c9c9d4; }
.term-body .p { color: #7c5cff; font-weight: 700; }
.term-body .ok { color: #8fd48a; }
.term-body .dim { color: #62626e; }
.term-body .out { color: #9ecbff; }

.agentic-feats { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.agentic-feats .af { display: flex; gap: 14px; align-items: flex-start; }
.agentic-feats .af b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.agentic-feats .af span { font-size: 14px; color: var(--muted); }

/* ---------- benchmarks ---------- */

.bench-card {
  margin-top: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.bench-scroll { overflow-x: auto; }

table.bench {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 620px;
}

table.bench th, table.bench td {
  text-align: left;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
}

table.bench th {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  background: rgba(255,255,255,.02);
}

table.bench td { color: var(--muted); }
table.bench td b { color: var(--text); font-weight: 600; }
table.bench tr:last-child td { border-bottom: 0; }

table.bench td .mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; }

.wer-bar { display: inline-block; height: 8px; border-radius: 6px; background: var(--grad); vertical-align: middle; margin-right: 10px; }

.bench-note {
  padding: 16px 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}

/* ---------- privacy-блок ---------- */

.priv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.priv-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.priv-card:hover { border-color: rgba(124,92,255,.4); transform: translateY(-3px); }
.priv-card h3 { font-size: 18px; margin: 14px 0 8px; }
.priv-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- pricing ---------- */

.bill-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  margin: 26px auto 0;
}

.bill-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s, color 0.18s;
}
.bill-toggle button.on { background: rgba(255,255,255,.1); color: var(--text); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.price-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }

.price-card.hot {
  border-color: rgba(124, 92, 255, 0.55);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(124, 92, 255, 0.13), transparent 70%),
    var(--card);
  box-shadow: 0 24px 70px rgba(96, 108, 255, 0.18);
}

.price-name { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.price-card.hot .price-name { color: var(--text); }

.price-amount { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount .num { font-size: 46px; font-weight: 750; letter-spacing: -0.03em; }
.price-amount .per { color: var(--faint); font-size: 14px; }

.price-tagline { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 2.8em; }

.price-list { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { display: flex; gap: 11px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.price-list li svg { flex: none; margin-top: 3px; color: var(--accent-2); }
.price-list li b { color: var(--text); font-weight: 600; }

.price-foot { margin-top: 14px; font-size: 12.5px; color: var(--faint); text-align: center; }

.hot-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

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

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

details.faq {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
details.faq[open] { border-color: var(--border-hi); }

details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
details.faq summary::-webkit-details-marker { display: none; }

.faq-x {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 0.25s ease, background 0.25s ease;
  font-size: 17px;
  line-height: 1;
}
details.faq[open] .faq-x { transform: rotate(45deg); background: rgba(124,92,255,.16); color: var(--text); border-color: rgba(124,92,255,.5); }

.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.faq-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- футер ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 72px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--faint); max-width: 300px; line-height: 1.6; }

.footer-soc { display: flex; gap: 10px; margin-top: 22px; }
.soc {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
}
.soc:hover { color: var(--text); border-color: var(--border-hi); transform: translateY(-2px); }

.footer-col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }

.news-form { display: flex; gap: 8px; margin-top: 16px; max-width: 340px; }
.news-form input {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-hi);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 0 15px;
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}
.news-form input:focus { border-color: var(--accent); }
.news-form input::placeholder { color: var(--faint); }

.news-msg { margin-top: 10px; font-size: 13px; color: var(--accent-2); min-height: 1.2em; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- страницы (download/privacy/meetings) ---------- */

.page-hero { padding: clamp(64px, 8vw, 100px) 0 24px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 560px;
  background:
    radial-gradient(42% 55% at 34% 30%, rgba(124, 92, 255, 0.2), transparent 70%),
    radial-gradient(36% 48% at 70% 26%, rgba(79, 140, 255, 0.16), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 640px; margin: 18px auto 0; }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.dl-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.dl-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.dl-card.primary {
  border-color: rgba(124, 92, 255, 0.5);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 70%),
    var(--card);
}

.dl-os { display: flex; align-items: center; gap: 14px; }
.dl-os .os-name { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.dl-ver { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; color: var(--faint); }
.dl-req { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.dl-req b { color: var(--text); font-weight: 600; }
.dl-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dl-soon {
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px dashed var(--border-hi);
  font-size: 13.5px;
  color: var(--faint);
  text-align: center;
}

.dl-note { margin-top: 40px; text-align: center; font-size: 13px; color: var(--faint); }
.dl-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* таблица моделей */
.model-table-card {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}

/* privacy page */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 26px; margin: 46px 0 14px; letter-spacing: -0.02em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.legal b, .legal strong { color: var(--text); font-weight: 650; }
.legal .guarantee {
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #7c5cff, #4f8cff) 1;
  padding: 6px 0 6px 20px;
  margin: 14px 0;
}
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* meetings */
.statement {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.statement .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.statement .st-text h2 { font-size: clamp(28px, 3.8vw, 46px); }
.statement .st-text p { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 440px; }
.statement:nth-of-type(even) .st-text { order: 2; }

.dev-banner {
  max-width: 720px;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.09);
  font-size: 14px;
  color: var(--muted);
}
.dev-banner b { color: var(--text); }

.transcript { display: flex; flex-direction: column; gap: 18px; }
.tr-line { display: flex; gap: 16px; }
.tr-time {
  flex: none;
  width: 62px;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--faint);
  padding-top: 3px;
}
.tr-bubble { font-size: 14.5px; line-height: 1.6; color: #d7d7dc; }
.tr-bubble .who { font-weight: 650; font-size: 13px; letter-spacing: 0.02em; margin-right: 8px; }
.tr-bubble .who.a { color: #9d86ff; } .tr-bubble .who.b { color: #6cb2ff; }

.next-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ns-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  font-size: 14.5px;
  color: var(--muted);
}
.ns-item .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(124,92,255,.15);
  border: 1px solid rgba(124,92,255,.4);
  color: var(--accent);
}
.ns-item b { color: var(--text); font-weight: 600; }

/* reveal-on-scroll, stagger через --rd */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--rd, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* hero-intro (запускается при наличии класса .anim на <html>) */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(12px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.anim .hero .container > .eyebrow { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s backwards; }
.anim .hero .container > h1       { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s backwards; }
.anim .hero .container > .lead    { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards; }
.anim .hero .container > .hero-cta { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s backwards; }
.anim .hero .container > .hero-note { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.52s backwards; }
.anim .hero .container > .hero-pills { animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.62s backwards; }

/* мягкий дрейф hero-глоу */
.hero::before { will-change: transform; }
.anim .hero::before { animation: glowDrift 16s ease-in-out infinite alternate; }
@keyframes glowDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 3%, 0) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; transition-delay: 0ms; }
  .marquee-track, .wave i, .rec-dot, .typing i { animation: none; }
  .anim .hero .container > * { animation: none; }
  .anim .hero::before { animation: none; }
}

/* ---------- адаптив ---------- */

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.wide { grid-column: span 1; }
  .bento-card.full { grid-column: span 2; }
  .custom-grid, .agentic-card { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .priv-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .dl-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .statement .container { grid-template-columns: 1fr; gap: 32px; }
  .statement:nth-of-type(even) .st-text { order: 0; }
  .statement { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .h1 { font-size: clamp(33px, 8.6vw, 44px); }
  .h2 { font-size: clamp(26px, 7vw, 34px); }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 9, 13, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-burger { display: block; }
  .header-cta { display: none; }
  .lang-toggle { margin-left: auto; }
  .header-right { gap: 10px; }

  .hero-cta .btn { width: 100%; max-width: 340px; }
  .bill-toggle { flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .bill-toggle .badge { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card.wide, .bento-card.full { grid-column: span 1; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .adapt-card { padding: 24px 20px; }
  .mock { transform: none; }
  .mock-body { padding: 16px; }
  .msg { max-width: 92%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .rec-hint { flex-direction: column; align-items: flex-start; }
  .news-form { max-width: none; }
}

/* ---------- docs ---------- */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.docs-side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-side .ds-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin: 18px 8px 8px;
}
.docs-side .ds-title:first-child { margin-top: 0; }

.docs-side a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.docs-side a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.docs-side a.active { color: var(--text); background: rgba(124,92,255,.1); border-left-color: var(--accent); }

.docs-content { max-width: 720px; min-width: 0; }
.docs-content h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 14px; scroll-margin-top: 90px; }
.docs-content h2:not(:first-child) { margin-top: 64px; }
.docs-content h3 { font-size: 19px; margin: 30px 0 10px; scroll-margin-top: 90px; }
.docs-content p, .docs-content li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.docs-content p + p { margin-top: 10px; }
.docs-content ol, .docs-content ul { margin: 10px 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.docs-content b, .docs-content strong { color: var(--text); font-weight: 650; }
.docs-content a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.docs-content .mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13.5px; }

.docs-callout {
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: 13px;
  border: 1px solid rgba(124,92,255,.35);
  background: rgba(124,92,255,.07);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.docs-callout b { color: var(--text); }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: -6px;
}

@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .docs-side .ds-title { width: 100%; margin: 8px 0 0; }
  .docs-side a { border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
  .docs-side a.active { border-color: rgba(124,92,255,.5); }
}

/* ---------- матрица Free/Pro/Enterprise ---------- */
.matrix-card {
  margin-top: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 660px;
}

table.matrix th, table.matrix td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

table.matrix th {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

table.matrix th:first-child, table.matrix td:first-child {
  text-align: left;
  color: var(--muted);
  min-width: 220px;
}

table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr { transition: background 0.15s ease; }
table.matrix tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
table.matrix td { color: var(--text); }

.mx-yes { color: var(--accent-2); font-weight: 700; font-size: 15px; }
.mx-no  { color: var(--faint); }
