/* Ячейка — интерфейс. Нейтральная палитра, тонкие линии, без декора. */

:root {
  --bg: #f5f6f7;
  --panel: #ffffff;
  --ink: #15181c;
  --text: #24292f;
  --muted: #667085;
  --soft: #475467;
  --line: #e2e6ea;
  --line-strong: #d0d5dd;
  --accent: #1c5c3c;
  --accent-dark: #14452d;
  --accent-soft: #eef5f0;
  --warn: #8a3a12;
  --warn-soft: #fbf2ec;
  --code-bg: #101418;
  --code-text: #d6e0db;
  --radius: 4px;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-variant-numeric: tabular-nums;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

/* --- шапка --- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  min-height: 64px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.logo {
  width: 32px; height: 32px;
  display: block;
  border-radius: 6px;
  flex: 0 0 auto;
}
img.logo { object-fit: contain; }

.top h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.top p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.top-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.nav { display: flex; gap: 16px; font-size: 13px; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* --- каркас --- */

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  align-items: start;
}

main.narrow { grid-template-columns: 1fr; max-width: 860px; }
main.wide { max-width: 1060px; }
main.anon-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel + .panel { margin-top: 20px; }

.panel-title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* --- поля --- */

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--soft);
}

textarea, input, select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { resize: vertical; min-height: 40px; }

textarea:focus, input:focus, select:focus {
  outline: 2px solid rgba(28, 92, 60, 0.16);
  outline-offset: 0;
  border-color: var(--accent);
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--soft); margin: 12px 0 6px; }
.check input { width: auto; margin-top: 2px; flex: 0 0 auto; }

/* --- примеры --- */

.examples { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 16px; }

.chip {
  border: 1px solid transparent;
  background: #f2f4f7;
  color: var(--soft);
  border-radius: 3px;
  padding: 5px 9px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.chip:hover { background: #fff; border-color: var(--line-strong); color: var(--ink); }

/* --- кнопки --- */

button { font: inherit; }

button#go {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
button#go:hover { background: var(--accent-dark); }
button#go:disabled { opacity: 0.55; cursor: default; }

button.primary, a.primary, button.ghost, a.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
button.primary, a.primary { background: var(--accent); color: #fff; }
button.primary:hover, a.primary:hover { background: var(--accent-dark); color: #fff; }
button.ghost, a.ghost { background: #fff; border-color: var(--line-strong); color: var(--soft); }
button.ghost:hover, a.ghost:hover { background: #f8f9fa; color: var(--ink); }
button.primary:disabled, button.ghost:disabled { opacity: 0.5; cursor: default; }

.privacy { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.hint { margin: 8px 0; font-size: 12px; color: var(--muted); }
.error { color: var(--warn); }

/* --- результат --- */

.result { min-height: 340px; }
.empty { color: var(--muted); font-size: 13px; }

.formula-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.formula-head h2, .anon-head h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.copy {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--soft);
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.copy:hover { background: #f8f9fa; color: var(--ink); }

pre.formula {
  margin: 0 0 20px;
  padding: 15px 16px;
  background: var(--code-bg);
  color: var(--code-text);
  border: 1px solid #1e252c;
  border-radius: 3px;
  font: 12.5px/1.7 var(--mono);
  white-space: pre;
  overflow-x: auto;
}

.explain { margin: 0 0 16px; }
.explain h3, .extras h3 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.explain p { margin: 0; font-size: 13.5px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.ok { background: var(--accent-soft); border-color: #d3e6da; color: var(--accent); }
.status.bad { background: var(--warn-soft); border-color: #efdccf; color: var(--warn); }

.extras { margin: 18px 0 0; }
.extras pre {
  margin: 0 0 6px;
  padding: 10px 12px;
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 12px/1.5 var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
}

.quota { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* --- полоса характеристик --- */

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.specs > div { padding: 14px 0; }
.specs > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.specs span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 3px;
}
.specs strong { font-size: 12.5px; font-weight: 600; color: var(--text); }

/* --- кабинет, тарифы, статистика --- */

.plain { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--text); }
.plain li { margin-bottom: 4px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}
.stat { padding: 14px 16px; background: #fff; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.stat-value { margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.plan {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  background: #fff;
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #fcfdfc; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan-name { font-weight: 600; font-size: 13.5px; }
.plan-price { font-weight: 600; color: var(--ink); font-size: 13px; white-space: nowrap; }
.plan ul { margin: 10px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--soft); }
.plan li { margin-bottom: 3px; }

.key-box {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  border-radius: 3px;
  background: #fbfcfc;
}
code.key { display: block; margin-top: 6px; font: 14px/1.5 var(--mono); word-break: break-all; letter-spacing: 0.02em; }
.quota { margin-top: 14px; }

.faq { margin-bottom: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq:first-of-type { padding-top: 0; }
.faq:last-of-type { border-bottom: 0; padding-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 13.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--muted); }
.faq[open] summary::before { content: "– "; }
.faq p { margin: 8px 0 2px; color: var(--soft); font-size: 13.5px; }

.stars { display: flex; gap: 6px; margin: 8px 0 14px; }
.stars button {
  width: 38px; height: 34px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: var(--soft);
}
.stars button:hover { border-color: var(--accent); color: var(--accent); }
.stars button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.anon-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.anon-actions { display: flex; gap: 8px; }
.table-out {
  margin: 10px 0 0;
  padding: 12px 14px;
  max-height: 420px;
  overflow: auto;
  background: #f8f9fa;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 12px/1.6 var(--mono);
  white-space: pre;
}
.table-out.small { max-height: 200px; }

/* --- графики и пропуски --- */

.bars { display: grid; gap: 7px; margin: 10px 0 4px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; gap: 12px; align-items: center; font-size: 12.5px; }
.bar-track { background: #eef1f4; height: 8px; overflow: hidden; border-radius: 1px; }
.bar-fill { background: #5d8a72; height: 100%; }
.bar span:last-child { text-align: right; color: var(--muted); font-size: 12px; }

.miss { border: 1px solid var(--line); border-left: 2px solid #c9d2da; border-radius: 2px; padding: 9px 12px; margin-bottom: 8px; background: #fff; }
.miss p { margin: 0; font-size: 13.5px; }
.miss .meta { color: var(--muted); font-size: 11.5px; margin-top: 4px; }

/* --- подвал --- */

.foot {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* --- документы: оферта, политика --- */

.doc { max-width: 760px; margin: 0 auto; padding: 32px 36px 40px; }
.doc .doc-meta {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.doc h2 {
  margin: 28px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc p { margin: 0 0 11px; font-size: 14px; line-height: 1.7; color: var(--text); }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; font-size: 14px; line-height: 1.7; }
.doc li { margin-bottom: 5px; }
.doc b { font-weight: 600; }
.doc .req { font-size: 13px; line-height: 1.8; }

/* --- смысловой блок для поиска и ИИ --- */

.info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 8px;
  align-items: start;
}
.info h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.info p { margin: 0 0 10px; color: var(--soft); font-size: 13.5px; line-height: 1.65; }
.info ul { margin: 12px 0 0; padding-left: 18px; color: var(--soft); font-size: 13.5px; line-height: 1.65; }
.info li + li { margin-top: 4px; }

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

@media (max-width: 900px) {
  .info { grid-template-columns: 1fr; padding: 0 16px 8px; }
  main, main.anon-main { grid-template-columns: 1fr; padding: 18px 16px 24px; gap: 16px; }
  .top { padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .top-right { width: 100%; justify-content: space-between; gap: 12px; }
  .badge { padding-left: 0; border-left: 0; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .specs { grid-template-columns: 1fr; padding: 0 16px; }
  .specs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .doc { padding: 22px 18px 30px; }
  .nav { flex-wrap: wrap; gap: 12px; }
}

@media print {
  body { background: #fff; }
  .top, .foot, .hint { display: none; }
  main.narrow { max-width: none; padding: 0; }
  .panel { border: 0; padding: 0; }
  .doc h2 { page-break-after: avoid; }
}

/* Промпты и сценарии */
.recipe { border-top: 1px solid var(--line); padding: 16px 0 14px; }
.recipe:first-of-type { border-top: 0; padding-top: 4px; }
.recipe h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.prompt { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.prompt::before { content: "Промпт: "; color: var(--muted); }
.steps { margin: 0 0 8px; padding-left: 20px; font-size: 13.5px; line-height: 1.65; color: var(--text); }
.steps li { margin-bottom: 4px; }
.recipe .hint { margin: 0; }
.recipe pre.formula { margin-bottom: 8px; }
.recipe pre.formula + p.hint { margin-top: 0; }

/* Документ внутри панели — без внешних отступов */
.panel .doc { max-width: none; margin: 0; padding: 0; }
.panel .doc h2:first-of-type { border-top: 0; padding-top: 0; }

/* Чат поддержки */
.chat-panel { padding: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.chat-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-ava { width: 34px; height: 34px; border-radius: 50%; background: #e8f2ec; color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.chat-who strong { display: block; font-size: 13.5px; }
.chat-state { display: block; font-size: 11.5px; color: var(--muted); }
.chat-human { font-size: 12px; padding: 5px 10px; }
.chat-body { display: flex; flex-direction: column; height: 560px; background: #f7f8f9; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; max-width: 82%; }
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg.ai, .msg.owner { align-self: flex-start; align-items: flex-start; }
.msg .bubble { padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai .bubble { background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.msg.owner .bubble { background: #fff; border: 1px solid var(--accent); color: var(--text); border-bottom-left-radius: 4px; }
.msg .time { font-size: 10.5px; color: var(--muted); margin-top: 3px; padding: 0 2px; }
.msg.typing .bubble { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: #98a2b3; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chip { border: 1px solid var(--line-strong); background: #fff; border-radius: 4px; padding: 5px 10px; font-size: 12px; color: var(--text); cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-composer { display: flex; gap: 8px; align-items: flex-end; padding: 10px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-composer textarea { flex: 1; resize: none; border: 1px solid var(--line-strong); border-radius: 6px; padding: 9px 11px; font: inherit; font-size: 13.5px; line-height: 1.45; max-height: 132px; min-height: 38px; }
.chat-composer textarea:focus { outline: none; border-color: var(--accent); }
.chat-send { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-send:hover { background: var(--accent-dark); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-foot { padding: 0 16px 10px; background: #fff; }
.chat-intro summary { cursor: pointer; font-size: 11.5px; color: var(--muted); margin: 2px 0 6px; }
.chat-intro .row { gap: 8px; }
.chat-note { margin: 6px 0 0; font-size: 11.5px; min-height: 14px; }
@media (max-width: 640px) {
  .chat-body { height: calc(100dvh - 250px); min-height: 380px; }
  .msg { max-width: 88%; }
}
.admin-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.admin-item { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; cursor: pointer; }
.admin-item.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.admin-item .meta { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.admin-split { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .admin-split { grid-template-columns: 1fr; } }

/* Лендинг */
.brand-name { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.landing { max-width: 1200px; margin: 0 auto; padding: 40px 24px 56px; display: flex; flex-direction: column; align-items: stretch; gap: 56px; }
.landing > section, .landing > .ad-wrap { width: 100%; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.035em; margin: 14px 0 18px; font-weight: 700; max-width: 15ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.lead { font-size: 16.5px; line-height: 1.6; color: var(--text); max-width: 56ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.hero-figure { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.hero-figure img { display: block; width: 100%; height: auto; }
.hero-figure figcaption { padding: 10px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; background: #fff; }
.card h2 { font-size: 15px; margin-bottom: 8px; }
.card p { font-size: 13.5px; line-height: 1.6; }
.how h2, .pricing-teaser h2, .split h2, .download h2 { font-size: 20px; margin-bottom: 18px; letter-spacing: -.01em; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { display: flex; gap: 12px; }
.step-n { flex: 0 0 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.steps strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.steps p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; padding: 28px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.split p { font-size: 13.5px; line-height: 1.65; }
.quote-card { border-left: 2px solid var(--accent); padding: 6px 0 6px 18px; }
.quote-card p { font-size: 14px; line-height: 1.65; }
.quote-card span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto 18px; }
.foot-cols strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.foot-cols a { display: block; font-size: 13px; margin: 4px 0; }
.foot-note { text-align: center; font-size: 12.5px; color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dl-card { border: 1px solid var(--line); border-radius: 4px; padding: 20px; background: #fff; }
.dl-card h2 { font-size: 16px; margin-bottom: 6px; }
.dl-card p { font-size: 13.5px; color: var(--text); line-height: 1.6; }
.dl-card .meta { font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.dl-card .primary, .dl-card .ghost { display: inline-block; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .cards, .steps, .dl-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .landing { padding: 24px 16px 40px; gap: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* --- Рекламные места (на будущее) --- */
.ad-wrap { max-width: 1200px; margin: 32px auto 8px; padding: 0 24px; }
.ad-slot {
  display: grid; place-items: center;
  min-height: 90px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: #fbfbfc;
  color: #98a2b3;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.ad-slot[data-format='box'] { min-height: 250px; max-width: 300px; margin: 0 auto; }
@media (max-width: 720px) { .ad-slot { min-height: 140px; } }

/* --- Уточнения лендинга --- */
.hero h1 em { font-style: normal; color: var(--accent); }
.proof {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 4px 0 0;
}
.proof div { padding: 20px 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.proof div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.proof b { display: block; color: var(--ink); font-weight: 700; font-size: 32px; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof b { font-size: 23px; }
}
@media (max-width: 520px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof b { font-size: 26px; }
  .proof div { padding: 14px 0 12px; }
  .proof div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 14px; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Демо: запись окна Excel во всю ширину */
.demo-gif { max-width: 1000px; margin: 24px auto 8px; }
.demo-gif img { width: 100%; height: auto; }

/* Голосовой ввод */
.mic { margin-left: 8px; font-size: 11px; line-height: 18px; padding: 1px 8px; border: 1px solid var(--line-strong); background: #fff; border-radius: 3px; cursor: pointer; color: var(--muted); font-family: inherit; }
.mic:hover { border-color: var(--accent); color: var(--accent); }
.mic.on { border-color: var(--accent); color: var(--accent); }
.voice-status { display: block; min-height: 14px; font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Рекламный слот во всю ширину */
.ad-wrap { width: 100%; }
.ad-slot { width: 100%; }

/* --- Лендинг: акцентные цифры и тарифы --- */
.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.landing .plan { cursor: default; padding: 18px 18px 16px; display: flex; flex-direction: column; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 2px; white-space: normal; }
.plan-price b { font-size: 27px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 11.5px; color: var(--muted); }
.plan-badge {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: .09em;
  color: var(--accent); border: 1px solid rgba(28, 92, 60, .35);
  border-radius: 3px; padding: 2px 6px; white-space: nowrap;
}
.plan ul { margin: 12px 0 14px; padding: 0; list-style: none; font-size: 12.5px; color: var(--soft); }
.plan li { margin-bottom: 6px; padding-left: 14px; position: relative; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.plan li.hl { color: var(--ink); }
.plan li.hl::before { background: var(--accent); }
.plan li.hl strong { font-weight: 600; color: var(--accent); }
.plan-cta { margin-top: auto; text-align: center; }
.section-sub { font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 76ch; margin: -8px 0 20px; }
.pricing-note { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
@media (max-width: 940px) {
  .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .plans-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; max-width: none; }
}

[hidden] { display: none !important; }

/* Профиль и заказы */
.me-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.field select {
  width: 100%; padding: 9px 10px; font: inherit; font-size: 13.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 3px;
}
.field select:focus { outline: none; border-color: var(--accent); }
.hint.ok { color: var(--accent); }
.hint.bad { color: #a5462f; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfb; font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table code.key { font-size: 12px; }
.table td:first-child { white-space: nowrap; color: var(--muted); }
@media (max-width: 640px) {
  .me-head { flex-direction: column; align-items: stretch; }
}

@media (max-width: 720px) {
  .top-right { flex-wrap: nowrap; align-items: center; }
  .nav {
    display: flex; gap: 14px; overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0;
  }
  .nav::-webkit-scrollbar { display: none; }
  .badge { white-space: nowrap; font-size: 10px; }
  .table { min-width: 620px; }
  .table code.key { white-space: nowrap; }
}
