/* Сайт Symphony: бордовый на чёрном, как в приложении. Светлая тема не нужна: бренд — тёмный. */
:root {
  --bg: #050505; --bg2: #0b0a0b; --surface: #121113; --surface2: #1a181b; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .16);
  --text: #f3eff1; --muted: #aaa1a6; --faint: #766d72;
  --accent: #b23a5e; --accent2: #8e2544; --accent-soft: rgba(178, 58, 94, .14); --accent-line: rgba(178, 58, 94, .45); --eye: #e0708f;
  --ok: #4fc38a; --bad: #ef6a6a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --r: 14px; --r-lg: 22px; --wrap: 1180px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--eye); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, .72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; font-size: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.top-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -5px; } .menu-btn span::after { position: absolute; top: 5px; }
.top.open .menu-btn span { background: transparent; }
.top.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); } .top.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav, .top-actions { display: none; }
  .top.open { background: var(--bg); }
  .top.open .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 20px; }
  .top.open .brand { height: 40px; }
  .top.open .nav { display: flex; flex-direction: column; gap: 0; width: 100%; order: 3; margin: 8px 0 0; }
  .top.open .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .top.open .top-actions { display: flex; order: 4; width: 100%; }
  .top.open .top-actions .btn { flex: 1; }
}

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, opacity .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #c4456b; }
.btn.light { background: var(--text); color: #0a0a0a; }
.btn.light:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .04); }
.btn.quiet { background: transparent; color: var(--muted); padding: 0 10px; }
.btn.quiet:hover { color: var(--text); }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Типографика */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--eye); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.02em; }
.display { font: 400 clamp(42px, 7.2vw, 88px)/1.02 var(--serif); letter-spacing: -.035em; }
.display em, .h2 em { font-style: italic; color: var(--eye); }
.h2 { font: 400 clamp(32px, 4.6vw, 54px)/1.08 var(--serif); letter-spacing: -.03em; }
.h3 { font: 500 20px/1.3 var(--sans); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 22px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; color: var(--faint); }

/* Главный экран */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(ellipse 55% 50% at 70% 30%, rgba(178, 58, 94, .22), transparent 70%), radial-gradient(ellipse 40% 40% at 15% 10%, rgba(142, 37, 68, .14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } }

/* Окно приложения на главном экране */
.mock { position: relative; border: 1px solid var(--line2); border-radius: var(--r-lg); background: linear-gradient(180deg, #121012, #0a090a); box-shadow: 0 40px 120px -20px rgba(178, 58, 94, .28), 0 30px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2729; }
.mock-bar b { margin-left: 8px; font-weight: 500; color: var(--muted); }
.mock-body { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 14px; min-height: 380px; }
.msg-user { align-self: flex-end; max-width: 82%; background: var(--surface2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; }
.msg-ai { display: flex; gap: 10px; font-size: 14.5px; color: #e6e1e4; }
.msg-ai img { width: 22px; height: 22px; border-radius: 6px; flex: none; margin-top: 2px; }
.steps { margin: 6px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); font-size: 13px; color: var(--muted); list-style: none; }
.steps li { display: flex; gap: 8px; align-items: center; padding: 2px 0; }
.steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.steps li.run::before { background: var(--eye); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--eye); background: var(--accent-soft); }
.mock-foot { position: relative; padding: 46px 16px 16px; }
.mock-foot .cat { position: absolute; left: 26px; bottom: 58px; width: 23px; image-rendering: pixelated; animation: idle 3.2s ease-in-out infinite; }
@keyframes idle { 50% { transform: translateY(-2px); } }
.composer { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line2); border-radius: 16px; padding: 10px 10px 10px 16px; background: var(--surface); color: var(--faint); font-size: 14px; }
.composer span { flex: 1; }
.composer .send { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.composer .send svg { width: 16px; height: 16px; color: #fff; }

/* Разделы */
section { scroll-margin-top: 72px; }
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-top: 16px; }

.logos { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; color: var(--faint); font-size: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.logos b { color: var(--muted); font-weight: 500; }

.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); padding: 26px; transition: border-color .2s, background .2s; }
.card:hover { border-color: var(--line2); background: #0e0d0e; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--eye); border: 1px solid var(--accent-line); margin-bottom: 18px; }
.card .ic svg { width: 20px; height: 20px; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.card ul li { padding: 6px 0 6px 18px; position: relative; border-top: 1px solid var(--line); }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 1.5px; background: var(--eye); }

/* Агенты */
.agents { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.agent-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 88px; }
.agent-tab { text-align: left; background: none; border: 1px solid transparent; color: var(--muted); padding: 14px 16px; border-radius: 14px; cursor: pointer; font: inherit; transition: all .15s; }
.agent-tab strong { display: block; color: var(--text); font-weight: 500; font-size: 16px; }
.agent-tab span { font-size: 13.5px; }
.agent-tab:hover { background: rgba(255, 255, 255, .03); }
.agent-tab[aria-selected="true"] { border-color: var(--accent-line); background: var(--accent-soft); }
.agent-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); padding: clamp(24px, 4vw, 40px); min-height: 420px; }
.agent-panel[hidden] { display: none; }
.agent-panel .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.agent-panel > p { color: var(--muted); max-width: 620px; margin: 14px 0 0; }
.agent-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.agent-points div { border-top: 1px solid var(--line2); padding-top: 14px; }
.agent-points b { display: block; font-weight: 500; }
.agent-points span { color: var(--muted); font-size: 14.5px; }
.note { margin-top: 24px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13.5px; color: var(--faint); }
@media (max-width: 860px) {
  .agents { grid-template-columns: 1fr; }
  .agent-tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
  .agent-tabs::-webkit-scrollbar { display: none; }
  .agent-tab { flex: none; padding: 10px 14px; }
  .agent-tab span { display: none; }
  .agent-points { grid-template-columns: 1fr; }
}

/* Карта и руки */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.feature-list li svg { width: 20px; height: 20px; color: var(--eye); margin-top: 3px; }
.feature-list b { font-weight: 500; display: block; }
.feature-list span { color: var(--muted); font-size: 15px; }
.holo { position: relative; aspect-ratio: 1 / .85; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 55%, rgba(178, 58, 94, .2), transparent 60%), #070607; overflow: hidden; }
.holo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.holo .win { position: absolute; border: 1px solid rgba(224, 112, 143, .5); background: rgba(178, 58, 94, .08); border-radius: 10px; backdrop-filter: blur(2px); font-size: 11.5px; color: var(--eye); padding: 8px 10px; box-shadow: 0 0 30px rgba(178, 58, 94, .25) inset; animation: float 7s ease-in-out infinite; }
.holo .win b { display: block; color: var(--text); font-weight: 500; font-size: 12.5px; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Голос */
.voice { display: flex; align-items: center; justify-content: center; gap: 5px; height: 140px; }
.voice i { width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--eye), var(--accent2)); animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 14px; } 50% { height: var(--h, 80px); } }

/* Платформы */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }
.platform { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); padding: 24px; }
.platform .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); margin-bottom: 18px; }
.platform .ic svg { width: 22px; height: 22px; }
.platform p { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px; flex: 1; }
.platform .meta { font-size: 12.5px; color: var(--faint); margin-top: 10px; min-height: 1.6em; }
.platform.recommended { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(178, 58, 94, .1), var(--bg2) 60%); }
.badge { display: inline-block; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; margin-left: 8px; vertical-align: 2px; }

/* Принципы */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line2); }
.principles div { padding: 26px 22px 0 0; }
.principles div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.principles b { font: 400 26px/1.15 var(--serif); display: block; letter-spacing: -.02em; }
.principles span { color: var(--muted); font-size: 14.5px; display: block; margin-top: 10px; }
@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principles div, .principles div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principles div:nth-child(odd) { padding-right: 16px; }
  .principles div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } .principles div:nth-child(n) { padding: 20px 0; border-left: 0; } }

/* Вопросы */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Финальный призыв */
.cta { text-align: center; padding: clamp(80px, 12vw, 150px) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(178, 58, 94, .2), transparent 70%); }
.cta .h2 { max-width: 760px; margin: 0 auto; }
.cta .hero-cta { justify-content: center; }
.cta .cat { width: 34px; image-rendering: pixelated; margin: 0 auto 26px; }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--faint); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h4 { margin: 0 0 12px; font: 500 13px/1 var(--sans); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.foot a { display: block; text-decoration: none; padding: 4px 0; color: var(--faint); }
.foot a:hover { color: var(--text); }
.foot .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* Вход и регистрация */
.auth { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: clamp(40px, 6vw, 80px); border-right: 1px solid var(--line); background: radial-gradient(ellipse 70% 60% at 30% 20%, rgba(178, 58, 94, .18), transparent 70%), var(--bg2); display: flex; flex-direction: column; justify-content: center; }
.auth-side .h2 { max-width: 460px; }
.auth-side ul { list-style: none; margin: 32px 0 0; padding: 0; max-width: 440px; }
.auth-side li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; gap: 12px; }
.auth-side li svg { width: 18px; height: 18px; color: var(--eye); flex: none; margin-top: 3px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 72px) 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .cat { width: 26px; image-rendering: pixelated; margin-bottom: 22px; }
.auth-card h1 { font: 400 clamp(32px, 4vw, 42px)/1.1 var(--serif); letter-spacing: -.03em; }
.auth-card .sub { color: var(--muted); margin: 10px 0 28px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.field input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); font: 16px var(--sans); padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .hint { font-size: 12.5px; color: var(--faint); margin-top: 6px; display: block; }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.pw button { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 13px var(--sans); cursor: pointer; }
.pw button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.meter { display: flex; gap: 4px; margin-top: 8px; }
.meter i { flex: 1; height: 3px; border-radius: 2px; background: var(--line2); transition: background .2s; }
.meter[data-level="1"] i:nth-child(-n+1) { background: var(--bad); }
.meter[data-level="2"] i:nth-child(-n+2) { background: #e9b44c; }
.meter[data-level="3"] i:nth-child(-n+3) { background: var(--ok); }
.meter[data-level="4"] i { background: var(--ok); }
.disclose { background: none; border: 0; color: var(--muted); font: 13.5px var(--sans); padding: 0; margin: -4px 0 16px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .02); font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.consent strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 6px; }
.consent ul { margin: 6px 0 8px; padding-left: 18px; }
.consent li { margin: 2px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); margin-top: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; flex: none; }
.err { color: var(--bad); font-size: 14px; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(239, 106, 106, .08); border: 1px solid rgba(239, 106, 106, .25); }
.err[hidden] { display: none; }
.ok-box { text-align: left; }
.ok-box .tick { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 195, 138, .12); color: var(--ok); margin-bottom: 20px; }
.ok-box .tick svg { width: 24px; height: 24px; }
.ok-actions { display: grid; gap: 10px; margin-top: 24px; }
.switch { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14.5px; }
.switch a { color: var(--text); }
.btn.block { width: 100%; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* Страница загрузок */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.steps-list li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 13.5px; color: var(--text); }
.steps-list b { color: var(--text); font-weight: 500; }
code { font: 13.5px var(--mono); background: var(--surface2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 16px; }
.notfound .cat { width: 34px; image-rendering: pixelated; margin: 0 auto 24px; }
.field[hidden], .disclose[hidden] { display: none; }
.field > .label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.code-input { font: 600 26px/1 var(--mono) !important; letter-spacing: .5em; text-align: center; height: 60px !important; padding-left: .5em !important; }
.code-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.code-actions .disclose { margin: 0; }
.code-actions .disclose[disabled] { opacity: .55; cursor: default; text-decoration: none; }
.auth-card [hidden] { display: none !important; }

/* Цель, как это работает, сравнение */
.mission { background: radial-gradient(ellipse 60% 70% at 0% 0%, rgba(178, 58, 94, .1), transparent 70%); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } }
.how { list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how li { border-top: 1px solid var(--line2); padding-top: 22px; }
.how-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--eye); font: 500 14px var(--sans); margin-bottom: 16px; }
.how p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg2); }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.5fr; gap: 20px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 15px; align-items: start; }
.compare-row:first-child { border-top: 0; }
.compare-row b { font-weight: 500; }
.compare-row span:nth-child(2) { color: var(--faint); }
.compare-row span:nth-child(3) { color: var(--text); }
.compare-head { background: rgba(255, 255, 255, .02); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.compare-head span:nth-child(2) { color: var(--faint); }
.compare-head span:nth-child(3) { color: var(--eye) !important; }
@media (max-width: 700px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .compare-row span:nth-child(2)::before { content: "Typical chatbot: "; color: var(--faint); }
  .compare-row span:nth-child(3)::before { content: "Symphony: "; color: var(--eye); }
}
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }
.road-step { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.road-step b { font: 400 26px/1.15 var(--serif); letter-spacing: -.02em; }
.road-step > span:last-child { color: var(--muted); font-size: 15px; }
.road-tag { align-self: flex-start; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.road-step.now { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(178, 58, 94, .1), var(--bg2) 70%); }
.road-step.now .road-tag { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 1080px) and (min-width: 901px) { .nav { gap: 16px; } .nav a { font-size: 13.5px; } }

/* Связанные устройства */
.device-map { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 820px; }
.dev { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 130px; }
.dev svg, .dev img { width: 52px; height: 52px; padding: 13px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); box-sizing: border-box; }
.dev.hub img { width: 68px; height: 68px; padding: 10px; border-color: var(--accent-line); background: var(--accent-soft); box-shadow: 0 0 50px rgba(178, 58, 94, .35); }
.dev b { font-weight: 500; font-size: 15px; }
.dev span { font-size: 13px; color: var(--faint); }
.dev-line { flex: 1; height: 2px; margin-bottom: 44px; background: repeating-linear-gradient(90deg, var(--eye) 0 8px, transparent 8px 16px); background-size: 32px 2px; opacity: .6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 32px 0; } }
@media (max-width: 560px) {
  .device-map { flex-direction: column; }
  .dev-line { width: 2px; height: 36px; flex: none; margin: 6px 0; background: repeating-linear-gradient(180deg, var(--eye) 0 8px, transparent 8px 16px); background-size: 2px 32px; animation-name: flow-v; }
  @keyframes flow-v { to { background-position: 0 32px; } }
}
