/* ─── Токены ─── */
:root {
  --ink-0: #07090f;
  --ink-1: #0d111b;
  --ink-2: #141a28;
  --ink-3: #1d2536;
  --line: #263046;
  --grid: #2a3348;
  --text: #eef1f7;
  --muted: #98a2b8;
  --accent: #c6f432;
  --accent-ink: #11160a;
  --violet: #9b8cff;
  --sky: #5cc8ff;
  --amber: #ffb547;
  --ok: #6ee7a8;
  --danger: #ff6b6b;
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* display: grid у блоков не должен перебивать hidden */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ─── Кнопки ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 700 16px/1 "Manrope", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  box-shadow: 0 10px 30px -10px rgba(198, 244, 50, .55);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(198, 244, 50, .7); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--wide { width: 100%; padding: 18px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ─── Шапка ─── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 9, 15, .78); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 48, 70, .6);
}
.top__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top__nav a:hover { color: var(--text); }

/* ─── Первый экран ─── */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(155, 140, 255, .18), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(198, 244, 50, 0); } }
h1 { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.035em; }
h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.hero__facts b { display: block; color: var(--text); font-size: 24px; font-weight: 800; }

/* Холст */
.hero__canvas { position: relative; }
.canvas { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.canvas > rect:first-of-type { stroke: var(--line); }
.wire { stroke: var(--line); }
.wire--live { stroke: var(--accent); stroke-dasharray: 10 260; animation: flow 2.8s linear infinite; }
.wire--d2 { animation-delay: .9s; }
.wire--d3 { animation-delay: 1.8s; }
@keyframes flow { from { stroke-dashoffset: 270; } to { stroke-dashoffset: 0; } }
.node > rect:first-child { fill: var(--ink-2); stroke: var(--line); }
.node__head--trigger { fill: #2b2340; }
.node__head--ai { fill: #1f2a44; }
.node__head--data { fill: #1d3326; }
.node__title { fill: var(--text); font: 700 13px "Manrope", sans-serif; }
.node__sub { fill: var(--muted); font: 500 11px "JetBrains Mono", monospace; }
.node__sub.ok { fill: var(--ok); }
.port { fill: var(--ink-0); stroke: var(--accent); stroke-width: 2; }

.bubble {
  position: absolute; max-width: 250px; padding: 12px 16px; border-radius: 18px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.bubble--in { top: -18px; right: 6%; background: var(--ink-3); border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.bubble--out { bottom: -22px; left: 4%; background: var(--accent); color: var(--accent-ink); border-bottom-left-radius: 6px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ─── Разделы ─── */
.section { padding: 96px 0; }
.section--alt { background: var(--ink-1); border-block: 1px solid #161d2c; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section__head p { max-width: 420px; }

.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); }
.switch__btn {
  border: 0; background: transparent; color: var(--muted); padding: 10px 18px; border-radius: 999px;
  font: 700 15px "Manrope", sans-serif; cursor: pointer;
}
.switch__btn.is-on { background: var(--text); color: var(--ink-0); }
.switch__btn small { color: var(--accent); font-weight: 800; margin-left: 4px; }
.switch__btn.is-on small { color: #4d7a00; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--ink-0); padding: 28px; }
.feature h4 { font-size: 17px; margin-bottom: 8px; }
.feature h4::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px; border-radius: var(--radius); border: 1px dashed var(--line); display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(step); font: 800 44px/1 "Manrope", sans-serif; color: var(--accent); margin-bottom: 12px; }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); }

/* Тарифы */
.early { padding: 16px 20px; border-radius: 14px; background: rgba(198, 244, 50, .08); border: 1px solid rgba(198, 244, 50, .25); margin-bottom: 32px; }
.plans__group { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 8px 0 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.plan { position: relative; padding: 28px; border-radius: var(--radius); background: var(--ink-0); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(198, 244, 50, .35); }
.plan__badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h4 { font-size: 18px; color: var(--muted); }
.price { font-size: 36px; font-weight: 800; margin: 8px 0 18px; letter-spacing: -.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ─── Предзаказ ─── */
.preorder { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.preorder__intro { position: sticky; top: 100px; display: grid; gap: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(198, 244, 50, .14); color: var(--accent); font-size: 13px; }

.form { padding: 32px; border-radius: 24px; background: var(--ink-1); border: 1px solid var(--line); display: grid; gap: 18px; box-shadow: var(--shadow); }
.form__who { display: flex; flex-wrap: wrap; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--ink-0); color: var(--text); font: 500 16px "Manrope", sans-serif; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 88px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, .12); }
input.is-bad { border-color: var(--danger); }
::placeholder { color: #5d6780; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .15s; user-select: none;
}
.chip:hover span { border-color: #3a4766; color: var(--text); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(198, 244, 50, .35); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent); padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: var(--danger); font-weight: 600; font-size: 14px; }

.thanks { padding: 48px 32px; border-radius: 24px; background: var(--ink-1); border: 1px solid var(--accent); text-align: center; display: grid; gap: 12px; justify-items: center; }
.thanks__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 30px; font-weight: 800; }
.thanks p { color: var(--muted); max-width: 400px; }

/* Вопросы */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq h2 { margin-bottom: 20px; }
details { border-radius: 14px; background: var(--ink-0); border: 1px solid var(--line); padding: 0 22px; }
summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; }

.foot { padding: 32px 0 96px; color: var(--muted); font-size: 14px; }
.foot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.sticky-cta { display: none; }

/* ─── Адаптив ─── */
@media (max-width: 1000px) {
  .hero__grid, .preorder { grid-template-columns: 1fr; }
  .preorder__intro { position: static; }
  .agents, .features, .plans { grid-template-columns: repeat(2, 1fr); }
  .personal { grid-template-columns: 1fr; }
  .hero__canvas { max-width: 600px; margin-top: 24px; }
}
@media (max-width: 680px) {
  .top__nav { display: none; }
  .top__row .btn--small { margin-left: auto; }
  .hero { padding: 40px 0 72px; }
  .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .agents, .features, .plans, .steps, .row { grid-template-columns: 1fr; }
  .build { flex-direction: column; align-items: flex-start; }
  .notice { font-size: 13px; }
  .form { padding: 22px 18px; }
  .bubble { font-size: 12px; max-width: 190px; padding: 9px 12px; }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    transition: transform .25s, opacity .25s;
  }
  .sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Полоса «предзаказ» ─── */
.notice { background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; padding: 9px 0; text-align: center; }
.notice b { font-weight: 800; }
.countdown { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(17, 22, 10, .12); font-family: "JetBrains Mono", monospace; font-size: 13px; }
.countdown:empty { display: none; }

.kicker { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.hl { color: var(--text); }

/* ─── Роли для бизнеса ─── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  border: 1.5px solid var(--line); background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 999px;
  font: 700 14px "Manrope", sans-serif; cursor: pointer; transition: all .15s;
}
.filter:hover { color: var(--text); border-color: #3a4766; }
.filter.is-on { background: var(--text); border-color: var(--text); color: var(--ink-0); }

.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.agent {
  padding: 24px; border-radius: var(--radius); background: var(--ink-1); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s;
}
.agent:hover { border-color: #3a4766; transform: translateY(-2px); }
.agent__ico { font-size: 24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink-3); }
.agent p { color: var(--muted); font-size: 15px; flex: 1; }
.agent__ch { font: 500 12px "JetBrains Mono", monospace; color: var(--sky); }

.build {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px;
  padding: 26px 28px; border-radius: var(--radius); border: 1px dashed #3a4766;
}
.build h3 { margin-bottom: 6px; }

/* ─── Личный помощник ─── */
.personal { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.personal__text h2 { margin-bottom: 18px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks li > span { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); font-size: 19px; }
.perks b { display: block; margin-bottom: 2px; }
.perks div { color: var(--muted); font-size: 15px; }
.perks div b { color: var(--text); font-size: 16px; }

.phone { justify-self: center; width: min(340px, 100%); padding: 12px; border-radius: 44px; background: #1a2030; box-shadow: var(--shadow), inset 0 0 0 1px #2c3650; }
.phone__screen { border-radius: 34px; background: var(--ink-0); padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 560px; }
.phone__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ink-3); }
.phone__head b { display: block; font-size: 15px; }
.phone__head small { color: var(--accent); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; }
.msg--me { align-self: flex-end; background: var(--ink-3); border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.src { display: block; margin-top: 6px; font: 500 11px "JetBrains Mono", monospace; color: var(--sky); }
.voice { display: flex; align-items: center; gap: 3px; padding: 12px 14px; }
.voice i { width: 3px; border-radius: 2px; background: var(--muted); height: 8px; }
.voice i:nth-child(3n) { height: 16px; } .voice i:nth-child(4n+1) { height: 11px; } .voice i:nth-child(5n+2) { height: 20px; }
.voice--ai i { background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
.voice--ai i:nth-child(odd) { animation-delay: -.4s; } .voice--ai i:nth-child(3n) { animation-delay: -.7s; }
@keyframes wave { 50% { transform: scaleY(.35); } }
.voice em { font-style: normal; font: 500 11px "JetBrains Mono", monospace; color: var(--muted); margin-left: 8px; }
.phone__input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); color: #5d6780; font-size: 14px; }
.phone__input b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }

.logo span { letter-spacing: -.02em; }
.logo i { font-style: normal; color: var(--accent); }

/* ─── Страница Тайлера ─── */
.hero__phone { position: relative; display: flex; justify-content: center; }
.hero__phone .phone { position: relative; z-index: 2; }
/* фото Тайлера (tyler.jpg) — за телефоном, слева */
.tyler-photo {
  position: absolute; z-index: 1; left: -4%; top: 50%; width: 64%; transform: translateY(-50%);
  border-radius: 50%; background: #f58fbc; object-fit: contain; object-position: center bottom; padding: 6% 4% 0;
  box-shadow: 0 0 120px rgba(245, 143, 188, .3);
}
.logo__mark { width: 36px; height: 36px; border-radius: 50%; background: #f58fbc; object-fit: contain; object-position: center bottom; padding: 4px 1px 0; }
img.avatar { background: #f58fbc; object-fit: contain; object-position: center bottom; padding: 4px 1px 0; }
.hero__phone:has(.tyler-photo) .phone { margin-left: 34%; }
.perks--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.perks--grid li { padding: 22px; border-radius: var(--radius); background: var(--ink-0); border: 1px solid var(--line); }
.section--tight { padding: 56px 0; }
.crosslink {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; text-decoration: none;
  padding: 32px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--ink-1), #1a2416);
  transition: border-color .2s, transform .2s;
}
.crosslink:hover { border-color: var(--accent); transform: translateY(-2px); }
.crosslink h3 { font-size: 24px; margin-bottom: 8px; }
.crosslink__arrow { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 26px; font-weight: 800; }
.top__nav .top__switch { color: var(--accent); }
@media (max-width: 1000px) { .perks--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .perks--grid { grid-template-columns: 1fr; }
  .tyler-photo { display: none; }
  .hero__phone:has(.tyler-photo) .phone { margin-left: 0; }
  .crosslink { padding: 22px; }
}

.plans--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .plans--4 { grid-template-columns: 1fr; } }

/* ─── Сравнение ─── */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare th { color: var(--text); font-size: 16px; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--text); }
.compare tr:last-child td { border-bottom: 0; }
.compare .is-us { background: rgba(198, 244, 50, .07); color: var(--accent); font-weight: 700; }

/* ─── Экраны приложения ─── */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.shot { margin: 0; display: grid; gap: 12px; justify-items: center; }
.shot--wide { grid-column: 1 / -1; }
.shot figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.win { width: 100%; border-radius: 16px; overflow: hidden; background: var(--ink-1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4766; }
.win__bar i:first-child { background: #ff6b6b; }
.win__bar i:nth-child(2) { background: #ffb547; }
.win__bar i:nth-child(3) { background: #6ee7a8; }
.win__bar span { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.win__body { display: flex; min-height: 340px; font-size: 13px; }
.win--tall .win__body { min-height: 300px; }

.chatapp__side { width: 200px; flex: none; padding: 14px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 6px; }
.chatapp__new { padding: 9px 12px; border-radius: 10px; border: 1px dashed #3a4766; color: var(--text); font-weight: 700; margin-bottom: 8px; }
.chatapp__item { padding: 8px 12px; border-radius: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatapp__item.is-on { background: var(--ink-3); color: var(--text); }
.chatapp__main { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chatapp__top { display: flex; gap: 8px; margin-bottom: 4px; }
.chip { padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 12px; }
.chip--ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.chatapp__main .msg { max-width: 78%; }
.typing { display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: wave 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chatapp__input { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); color: #5d6780; }
.chatapp__input b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }

.mobile { width: min(300px, 100%); padding: 10px; border-radius: 38px; background: #1a2030; box-shadow: var(--shadow), inset 0 0 0 1px #2c3650; }
.voice-screen {
  border-radius: 30px; min-height: 480px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: radial-gradient(circle at 50% 35%, #3a2232, var(--ink-0) 70%);
}
.voice-screen__top { font-size: 13px; color: var(--muted); font-weight: 700; }
.orb {
  width: 150px; height: 150px; border-radius: 50%; background: #f58fbc; overflow: hidden; margin-top: 18px;
  box-shadow: 0 0 0 10px rgba(245, 143, 188, .15), 0 0 0 22px rgba(245, 143, 188, .07), 0 0 70px rgba(245, 143, 188, .45);
  animation: float 5s ease-in-out infinite;
}
.orb img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 10px 6px 0; }
.voice-screen__status { color: var(--accent); font-weight: 700; }
.bars { display: flex; gap: 4px; align-items: center; height: 34px; }
.bars i { width: 4px; height: 12px; border-radius: 2px; background: var(--accent); animation: wave 1s ease-in-out infinite; }
.bars i:nth-child(odd) { height: 26px; animation-delay: -.3s; }
.bars i:nth-child(3n) { height: 18px; animation-delay: -.6s; }
.voice-screen__text { color: var(--muted); font-size: 14px; text-align: center; line-height: 1.5; }
.voice-screen__btns { margin-top: auto; display: flex; gap: 18px; }
.voice-screen__btns span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--text); }
.voice-screen__btns .is-main { background: var(--accent); color: var(--accent-ink); font-weight: 800; }

.tg { border-radius: 30px; min-height: 480px; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; background: #0e1621; font-size: 13.5px; }
.tg__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #1c2733; }
.tg__head img { width: 36px; height: 36px; border-radius: 50%; background: #f58fbc; object-fit: contain; object-position: center bottom; padding: 4px 2px 0; }
.tg__head small { display: block; color: #6c8094; font-size: 12px; }
.tg__msg { align-self: flex-start; max-width: 85%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #182533; line-height: 1.45; }
.tg__msg--me { align-self: flex-end; background: #2b5278; border-radius: 14px 14px 4px 14px; }

.editor__palette { width: 150px; flex: none; padding: 12px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 5px; }
.editor__palette b { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 8px; }
.editor__palette span { padding: 6px 9px; border-radius: 8px; background: var(--ink-2); white-space: nowrap; }
.editor__canvas { flex: 1; min-width: 0; padding: 10px; background: radial-gradient(circle, var(--grid) 1px, transparent 1.5px) 0 0 / 20px 20px; }
.editor__canvas svg { width: 100%; height: 100%; }
.editor__inspector { width: 190px; flex: none; padding: 14px; border-left: 1px solid var(--line); display: grid; align-content: start; gap: 12px; }
.editor__inspector label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.editor__inspector label span { padding: 7px 9px; border-radius: 8px; background: var(--ink-0); border: 1px solid var(--line); color: var(--text); }
.pills { display: flex; gap: 6px; }
.pills i { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--ink-3); }
.editor__run { padding: 9px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-align: center; }

.journal { flex-direction: column; padding: 14px; gap: 8px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.tiles div { padding: 10px; border-radius: 12px; background: var(--ink-2); color: var(--muted); font-size: 12px; }
.tiles b { display: block; font-size: 22px; color: var(--text); }
.journal .row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.journal em { font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--ink-3); color: var(--text); }
.journal em.ok { background: rgba(110, 231, 168, .15); color: var(--ok); }
.journal em.warn { background: rgba(255, 181, 71, .15); color: var(--amber); }

.roles { flex-direction: column; padding: 14px; gap: 8px; }
.role { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--ink-2); }
.role b { flex: 1; font-weight: 600; }
.toggle { width: 36px; height: 20px; border-radius: 999px; background: var(--ink-3); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); }
.role.is-on .toggle { background: var(--accent); }
.role.is-on .toggle::after { left: 19px; background: var(--accent-ink); }

/* ─── Короткая форма ─── */
.quick { max-width: 620px; margin: 0 auto; text-align: center; display: grid; gap: 16px; }
.quick__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.quick__form input[name=contact] { flex: 1 1 260px; width: auto; padding: 16px 18px; border-radius: 999px; font-size: 17px; }
.quick__form .btn { padding: 16px 28px; }
.consent--quick { flex-basis: 100%; justify-content: center; }
.quick__form .form__error { flex-basis: 100%; }

@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; }
  .chatapp__side, .editor__palette, .editor__inspector { display: none; }
}
