/* Контур — сайт для продаж. Токены: светлая тема на :root, тёмная — через media и data-theme. */
:root {
  --bg: #f3f5f4;
  --surface: #ffffff;
  --sunken: #e9eeec;
  --ink: #111c24;
  --muted: #56646c;
  --line: #d5dcda;
  --accent: #1e56c8;
  --accent-ink: #ffffff;
  --accent-soft: #e3ebfb;
  --ok: #1e9e5a;
  --ok-soft: #dff3e8;
  --bad: #d2412f;
  --bad-soft: #fbe5e1;
  --warn: #c98a12;
  --plan: #9aa9b0;
  --shadow: 0 1px 2px rgba(17, 28, 36, .06), 0 8px 24px rgba(17, 28, 36, .06);
  --display: "Onest", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1419; --surface: #141d24; --sunken: #18232b; --ink: #e6ecee; --muted: #93a1a8;
    --line: #25323b; --accent: #6f9bff; --accent-ink: #0b1220; --accent-soft: #1a2a4a;
    --ok: #3cc47c; --ok-soft: #133526; --bad: #f06b58; --bad-soft: #3a1c18; --warn: #e5b04a; --plan: #50616b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1419; --surface: #141d24; --sunken: #18232b; --ink: #e6ecee; --muted: #93a1a8;
  --line: #25323b; --accent: #6f9bff; --accent-ink: #0b1220; --accent-soft: #1a2a4a;
  --ok: #3cc47c; --ok-soft: #133526; --bad: #f06b58; --bad-soft: #3a1c18; --warn: #e5b04a; --plan: #50616b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 650; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* Шапка */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--body); padding: 13px 18px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.nav .btn { margin-left: 8px; padding: 10px 14px; color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 10px; border-radius: 8px; border: 1px solid var(--line); line-height: 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--surface);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px; display: grid; gap: 2px;
}
.menu-panel a { color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel .btn { margin-top: 12px; border: 0; color: var(--accent-ink); }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Секции */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 18px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Главный экран */
.hero { padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: middle; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Схема «что даёт портал»: центр и пять возможностей по кругу */
.hub { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-inline: auto; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-content: center; text-align: center; gap: 2px; padding: 12px; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}
.hub-center .label { color: var(--accent-ink); opacity: .75; font-size: 10.5px; }
.hub-center b { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; }
.hub-center small { font-size: 12px; line-height: 1.3; opacity: .9; }
.hub-node {
  position: absolute; width: 156px; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--ink);
}
/* Пять точек по кругу радиусом 37 % от центра; первая сверху */
.hub-node[style*="--n:0"] { left: 50%;   top: 13%; }
.hub-node[style*="--n:1"] { left: 85.2%; top: 38.6%; }
.hub-node[style*="--n:2"] { left: 71.7%; top: 79.9%; }
.hub-node[style*="--n:3"] { left: 28.3%; top: 79.9%; }
.hub-node[style*="--n:4"] { left: 14.8%; top: 38.6%; }
.hub-node .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); box-shadow: var(--shadow); transition: background .25s, color .25s, transform .25s; }
.hub-node .ico svg { width: 24px; height: 24px; }
.hub-node b { font: 600 15px/1.25 var(--display); }
.hub-node span { font-size: 12px; line-height: 1.35; color: var(--muted); }
.hub-node:hover .ico, .hub-node:focus-visible .ico { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
  /* Возможности подсвечиваются по очереди — взгляд обходит круг за несколько секунд */
  .hub-node .ico { animation: hub-turn 7.5s ease-in-out infinite; animation-delay: calc(var(--n) * 1.5s); }
  @keyframes hub-turn { 0%, 18%, 100% { background: var(--surface); color: var(--accent); transform: none; } 5%, 13% { background: var(--accent); color: var(--accent-ink); transform: scale(1.1); } }
}
@media (max-width: 600px) {
  .hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub-lines { display: none; }
  .hub-center { position: static; transform: none; width: auto; height: auto; border-radius: 16px; grid-column: 1 / -1; padding: 18px; }
  .hub-node { position: static; transform: none; width: auto; justify-items: start; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
  .hub-node[style*="--n:2"] { grid-column: 1 / -1; }
  .hub-node .ico { width: 40px; height: 40px; box-shadow: none; }
  .hub-node .ico svg { width: 20px; height: 20px; }
}
/* Сетки карточек */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card .label { margin-bottom: 2px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); }
a.card .more { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 4px; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }

/* Списки особенностей: подпись слева, текст справа */
.rows { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 12px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 19px; }
.row p, .row li { color: var(--muted); }
.row ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%231e9e5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* Шаги подключения */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; position: relative; }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); background: var(--bg); display: grid; place-items: center; font: 600 16px/1 var(--mono); position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1px; background: var(--line); }
.steps h3 { margin-top: 8px; margin-bottom: 6px; }
.steps p { color: var(--muted); }
.steps .who { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; margin-top: 8px; display: block; }

/* Макеты интерфейсов */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.tile b { font: 650 20px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.tile small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }
.pill { display: inline-block; font-size: 11.5px; line-height: 1; padding: 4px 8px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-bad { background: var(--bad-soft); color: var(--bad); }
.pill-acc { background: var(--accent-soft); color: var(--accent); }
.pill-mut { background: var(--sunken); color: var(--muted); }

.phone {
  width: min(300px, 100%); margin-inline: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 38px; padding: 14px; box-shadow: var(--shadow);
}
.phone-screen { background: var(--bg); border-radius: 26px; padding: 18px 14px 12px; display: grid; gap: 12px; min-height: 520px; align-content: start; }
.phone-head { display: flex; justify-content: space-between; align-items: baseline; }
.phone-head b { font: 700 24px/1 var(--display); }
.phone-head small { color: var(--muted); font-size: 12px; }
.p-card { background: var(--surface); border-radius: 14px; padding: 12px; display: grid; gap: 8px; border: 1px solid var(--line); }
.p-card .t { font-weight: 600; font-size: 14px; }
.p-card .s { color: var(--muted); font-size: 12px; }
.p-open { background: var(--ok); color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; font-size: 15px; }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.p-cam { aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(160deg, #2a3a44, #16222a); position: relative; }
.p-cam::after { content: "LIVE"; position: absolute; left: 8px; top: 8px; font: 600 9px/1 var(--mono); color: #fff; background: var(--bad); padding: 3px 5px; border-radius: 4px; }
.p-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); text-align: center; }
.p-tabs .on { color: var(--accent); font-weight: 600; }

/* Полоса-призыв */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 20px; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band p { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); margin-top: 10px; max-width: 56ch; }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* Тарифы */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font: 600 clamp(20px, 2.6vw, 28px)/1.2 var(--display); }
.formula .op { color: var(--muted); font-weight: 400; }
.formula .term { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.formula .term small { display: block; font: 400 12px/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; margin-top: 4px; }

/* Вопросы и ответы */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* Форма заявки */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-2 { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form-status { border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.form-status.ok { background: var(--ok-soft); color: var(--ink); }
.form-status.err { background: var(--bad-soft); color: var(--ink); }
.contact-list { display: grid; gap: 18px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list b { font: 600 19px/1.3 var(--display); }
.todo { background: var(--bad-soft); color: var(--bad); border-radius: 4px; padding: 0 4px; font-size: .92em; }

/* Текст документа */
.doc { max-width: 760px; display: grid; gap: 14px; }
.doc h2 { font-size: 22px; margin-top: 18px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--ink); }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding-block: 48px 32px; margin-top: 0; background: var(--surface); }
.foot .wrap { display: grid; gap: 32px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-cols nav { display: grid; gap: 8px; align-content: start; }
.foot-cols nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot-cols nav a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; }
.foot-bottom a { color: var(--muted); }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

.split-form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 880px) { .split-form { grid-template-columns: 1fr; } }
.foot-req { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-req span:first-child { color: var(--ink); font-weight: 600; }

/* Ценность для УК, оператора, жителя */
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.value h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.2; }
.value .checks li { font-size: 16px; }
.value .more { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.value .more:hover { text-decoration: underline; }
.star { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; color: var(--ink); }
.star b { display: block; margin-bottom: 2px; }
.value-key { border-color: var(--accent); box-shadow: var(--shadow); }

/* Под ключ */
.turnkey { background: var(--accent-soft); border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.turnkey > div { display: grid; gap: 16px; }
.turnkey p { color: var(--ink); opacity: .85; }
.turnkey-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.turnkey-list li { background: var(--surface); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.turnkey-list .ico { width: 34px; height: 34px; flex: none; }
.turnkey-list .ico svg { width: 19px; height: 19px; }
@media (max-width: 880px) { .turnkey { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .turnkey-list { grid-template-columns: 1fr; } }

/* Демо приложения в рамке телефона */
.demo-phone { position: relative; width: min(393px, 100%); margin-inline: auto; background: var(--ink); border-radius: 48px; padding: 10px; box-shadow: var(--shadow); }
.demo-phone iframe { display: block; width: 100%; height: min(780px, 80vh); border: 0; border-radius: 38px; background: #f2f2f7; }
@media (max-width: 640px) { .demo-phone { display: none; } }

/* Кнопка «Войти» в шапке — вход в рабочий портал */
.nav .btn-ghost { color: var(--ink); border-color: var(--line); margin-left: 8px; padding: 10px 14px; }
.nav .btn-ghost:hover { background: var(--surface); }
.nav .btn-ghost[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.nav .btn-ghost + .btn-primary { margin-left: 6px; }

/* Демо и рабочий портал — две разные двери */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: var(--surface); }
.door-demo { background: var(--accent-soft); border-color: transparent; }
.door h3 { font-size: 22px; }
.door .checks li { font-size: 15.5px; }
.door .actions { margin-top: auto; padding-top: 6px; }
.tag { display: inline-flex; align-self: flex-start; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; }
.tag-demo { background: var(--surface); color: var(--accent); }
.tag-real { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 720px) { .doors { grid-template-columns: 1fr; } }.demo-start { position: absolute; inset: 10px; border: 0; border-radius: 38px; background: #f2f2f7; color: #111; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: inherit; padding: 24px; }
.demo-start b { font: 700 26px/1.1 var(--display); }
.demo-start small { color: #6b6b73; font-size: 13px; }
.demo-start-ico { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.demo-start-btn { margin-top: 8px; background: var(--accent); color: #fff; border-radius: 12px; padding: 14px 22px; font-weight: 600; font-size: 16px; }
.demo-start:hover .demo-start-btn { filter: brightness(1.08); }
.demo-start:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }