/* INCY — ключи и инструкции. Светлая тема, Unbounded + Manrope, лаймовый акцент. */
:root {
  --bg: #ffffff;
  --soft: #f5f8f2;
  --line: #dfe6da;
  --ink: #121a14;
  --ink-btn: #0a0e0b;
  --muted: #59645b;
  --lime: #b4f25a;
  --lime-hover: #a6e84a;
  --green: #247a33;
  --term: #0c110d;
  --term-line: #1f2a21;
  --wrap: 1180px;
  --r-sm: 14px;
  --r: 18px;
  --r-lg: 28px;
  --display: Unbounded, Manrope, system-ui, sans-serif;
  --ui: Manrope, "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
code {
  font: 500 .88em/1.4 var(--mono);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 6px;
  word-break: break-word;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Типографика ---------- */
.disp { font-family: var(--display); }
h1, .h1 {
  font: 800 60px/1.04 var(--display);
  letter-spacing: -.02em;
}
h1 em, .h1 em, h2 em {
  font-style: normal;
  padding: 0 .08em;
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
}
h2, .h2 { font: 700 40px/1.12 var(--display); letter-spacing: -.02em; }
h3, .h3 { font: 700 20px/1.3 var(--ui); letter-spacing: -.01em; }
.eyebrow {
  margin: 0 0 14px;
  font: 800 13px/1.2 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--c { text-align: center; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head--c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 18px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 800 16px/1 var(--ui);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lime { background: var(--lime); color: var(--ink-btn); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--line { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: #c7d2c0; background: #eef3ea; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #26302a; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--xl { height: 60px; padding: 0 30px; font-size: 18px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn small { font-weight: 600; font-size: 13px; opacity: .7; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
}
.header--page, .header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--display); text-decoration: none; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
  font: 800 16px/1 var(--display);
}
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.header__cta { display: flex; gap: 8px; }
.burger { display: none; position: relative; }
.burger summary {
  list-style: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--soft);
}
.burger summary::-webkit-details-marker { display: none; }
.burger__menu {
  position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px));
  display: grid; gap: 2px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 20px 48px rgba(18, 26, 20, .12);
}
.burger__menu a:not(.btn) { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.burger__menu a:not(.btn):hover { background: var(--soft); }
.burger__menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--soft);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.tag .logo__mark { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 7px; }
.checks li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* Карточка «от скачивания до подключения» */
.flow { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.flow__title { font-weight: 800; font-size: 16px; }
.pill { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--lime); color: var(--ink-btn); font-size: 13px; font-weight: 700; white-space: nowrap; }
.flow ol { list-style: none; display: grid; gap: 10px; position: relative; }
.flow ol::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.node {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin-left: 32px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
}
.node b { display: block; font-size: 15px; font-weight: 700; }
.node span { display: block; font-size: 13px; color: var(--muted); }
.node > div { flex: 1; min-width: 0; }
.node .dot {
  position: absolute; left: -32px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
}
.node.done .dot { background: var(--lime); border-color: var(--lime); }
.node.done .dot::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.node.done { border-color: #cfe8b0; background: linear-gradient(90deg, #f3fce6, #fff 70%); }
.node.live .dot { border-color: var(--lime); box-shadow: 0 0 0 5px rgba(180, 242, 90, .35); }
.node__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--muted); flex: none; }
.node .logo__mark { width: 36px; height: 36px; }
.blink { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 4px rgba(180, 242, 90, .35); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Полоса фактов ---------- */
.facts { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 700 28px/1.15 var(--display); margin-bottom: 6px; }
.fact span { font-size: 15px; color: var(--muted); }

/* ---------- Секции ---------- */
.section, .sec { padding: 104px 0; }
.sec--tight { padding-top: 24px; }
.sec--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.card--white { background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--green);
}

/* Официальные источники */
.sources { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.source { display: flex; flex-direction: column; }
.source p { flex: 1; margin-bottom: 22px; }
.source__links { display: flex; flex-wrap: wrap; gap: 8px; }
.source__meta { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 12px; }

/* Терминальная карточка */
.term {
  background: var(--term); color: #d6e3d4;
  border: 1px solid var(--term-line); border-radius: var(--r-lg);
  padding: 26px 28px; font-family: var(--mono); font-size: 14px;
  display: flex; flex-direction: column;
}
.term__bar { display: flex; gap: 7px; margin-bottom: 18px; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a362c; }
.term__bar i:first-child { background: var(--lime); }
.term h3 { font: 700 20px/1.3 var(--ui); color: #fff; margin-bottom: 6px; }
.term p { color: #93a392; font: 400 15px/1.5 var(--ui); margin-bottom: 16px; }
.term pre { margin: 0 0 20px; white-space: pre-wrap; word-break: break-all; line-height: 1.7; }
.term .pr { color: var(--lime); }
.term .cm { color: #66756a; }
.term a.dl {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-top: 1px dashed var(--term-line);
  color: #e9f3e6; text-decoration: none;
}
.term a.dl:hover { color: var(--lime); }
.term a.dl span { color: #66756a; }

/* ---------- Подключение: вкладки устройств ---------- */
.connect { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.detected {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; margin-bottom: 22px;
  border-radius: 999px; background: #eefbd9; color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.detected::before {
  content: ""; width: 16px; height: 16px;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
html:not(.js) .detected { display: none; }
.tabs-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  padding: 5px; margin-bottom: 18px;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--r);
}
.seg button {
  height: 44px; border: 0; border-radius: 13px; background: transparent;
  font: 600 15px/1 var(--ui); color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s;
}
.seg button:hover { background: #eaf0e5; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.dl-card { margin-top: 6px; }
.dl-card h3 { font: 700 26px/1.2 var(--display); margin-bottom: 8px; }
.dl-card p { margin-bottom: 20px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 16px; min-width: 140px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  text-decoration: none; transition: border-color .2s;
}
.dl-btn:hover { border-color: var(--green); }
.dl-btn b { font-size: 15px; }
.dl-btn span { font-size: 13px; color: var(--muted); }
.dl-btn--main { background: var(--lime); border-color: var(--lime); }
.dl-btn--main span { color: #33402c; }
.dl-btn--main:hover { border-color: var(--lime-hover); background: var(--lime-hover); }

.how { list-style: none; display: grid; gap: 14px; counter-reset: how; }
.how li {
  counter-increment: how;
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.how li::before {
  content: counter(how);
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--soft); border: 1px solid var(--line);
  font: 700 20px/1 var(--display);
}
.how h3, .how h4 { font: 700 19px/1.3 var(--ui); margin: 4px 0 6px; }
.how p { margin: 0; color: var(--muted); font-size: 16px; }
.how__done { margin-top: 14px; padding: 18px 22px; border-radius: var(--r); background: #eefbd9; font-size: 16px; }
.how__done b { font-weight: 800; }
.js .os-panel[hidden] { display: none; }
.os-title { font: 700 22px/1.25 var(--display); margin: 0 0 16px; }
html:not(.js) .os-panel + .os-panel { margin-top: 40px; }

/* ---------- Бенто-преимущества ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.big { font: 800 64px/1 var(--display); color: var(--green); letter-spacing: -.03em; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 700;
}
.chip--lime { background: var(--lime); border-color: var(--lime); }
.route { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.route li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.route li span { color: var(--muted); font-weight: 600; font-size: 14px; }
.route li span.vpn { color: var(--green); }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__box {
  display: block; position: relative;
  height: 100%; padding: 22px 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.plan__box::after {
  content: ""; position: absolute; top: 22px; right: 22px;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff;
}
.plan:hover .plan__box { border-color: #c7d2c0; }
.plan input:checked + .plan__box { border: 2px solid var(--green); padding: 21px 21px 23px; background: #f6fdec; box-shadow: 0 10px 30px rgba(36, 122, 51, .1); }
.plan input:checked + .plan__box::after { border: 6px solid var(--green); }
.plan input:focus-visible + .plan__box { outline: 3px solid var(--green); outline-offset: 2px; }
.plan__name { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__price { font: 800 42px/1 var(--display); margin: 16px 0 4px; }
.plan__price small { font: 700 18px/1 var(--ui); color: var(--muted); margin-left: 4px; }
.plan__per { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan ul { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.plan__badge { position: absolute; top: -11px; left: 22px; z-index: 1; }
a.plan { text-decoration: none; color: inherit; }
a.plan .plan__box::after { content: "→"; border: 0; width: auto; height: auto; top: 20px; font-weight: 800; color: var(--muted); background: none; }
a.plan:hover .plan__box::after { color: var(--green); }
.plan--hot .plan__box { border: 2px solid var(--green); padding: 21px 21px 23px; background: #f6fdec; }
.pay { max-width: 620px; margin: 28px auto 0; text-align: center; }
.pay p { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Инструкции (карточки-ссылки) ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card {
  display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.guide-card:hover { border-color: #c7d2c0; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18, 26, 20, .07); }
.guide-card h3 { margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: 16px; flex: 1; margin-bottom: 18px; }
.guide-card .more { font-weight: 800; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.guide-card .more::after { content: "→"; transition: translate .2s; }
.guide-card:hover .more::after { translate: 4px 0; }
.guide-card--soft { background: var(--soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__side h2 { margin-bottom: 26px; }
.support { padding: 24px; }
.support h3 { font-size: 17px; margin-bottom: 6px; }
.support p { font-size: 15px; margin-bottom: 14px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font: 700 18px/1.35 var(--ui);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--soft); border: 1px solid var(--line);
  font: 500 20px/1 var(--ui); transition: rotate .25s, background .2s;
}
.qa[open] summary::after { rotate: 45deg; background: var(--lime); border-color: var(--lime); }
.qa__a { padding: 0 54px 22px 0; color: var(--muted); font-size: 16px; }
.qa__a p:last-child { margin: 0; }

/* ---------- Финальный CTA ---------- */
.closer { padding: 110px 0; background: var(--soft); border-top: 1px solid var(--line); text-align: center; }
.closer h2 { font: 800 52px/1.08 var(--display); letter-spacing: -.02em; margin-bottom: 18px; }
.closer .lead { margin: 0 auto 34px; max-width: 560px; }
.closer__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--soft), #fff); }
.page-hero h1 { font-size: 46px; line-height: 1.1; max-width: 900px; margin-bottom: 18px; }
.page-hero .lead { max-width: 760px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b6c0b2; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.updated { margin: 18px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }

.guide { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.guide__aside { position: sticky; top: 96px; }
.toc { padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); }
.toc__title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 9px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: #9aa79a; padding-top: 2px; }
.toc a:hover { background: #fff; color: var(--ink); }

.prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul { padding-left: 22px; }
.prose ul li { margin-bottom: 8px; }
.prose ul li::marker { color: var(--green); }
.prose a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.prose a.btn { color: inherit; }

.steps { list-style: none; padding: 0 !important; display: grid; gap: 12px; counter-reset: st; margin: 22px 0 26px !important; }
.steps li {
  counter-increment: st; position: relative;
  padding: 20px 22px 20px 82px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  color: var(--muted); font-size: 16px; line-height: 1.6;
}
.steps li::before {
  content: counter(st);
  position: absolute; left: 20px; top: 18px;
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--soft); border: 1px solid var(--line);
  font: 700 18px/1 var(--display); color: var(--ink);
}
.steps li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.steps li b { color: var(--ink); }

.table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.note { padding: 18px 22px; margin: 0 0 24px; border-radius: var(--r); background: #eefbd9; border: 1px solid #d3efae; font-size: 16px; }
.note p:last-child { margin: 0; }
.note--warn { background: #fff8e6; border-color: #f4e2ad; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 44px; border-radius: var(--r-lg);
  background: var(--soft); border: 1px solid var(--line);
}
.cta h2 { font-size: 32px; margin-bottom: 10px; }
.cta p { margin: 0; color: var(--muted); max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 44px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font: 800 13px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .logo { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; }
  .hero__grid, .connect, .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq__side { position: static; }
  .sources { grid-template-columns: 1fr 1fr; }
  .sources .term { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .guides { grid-template-columns: 1fr 1fr; }
  .bento > *, .bento .w3, .bento .w4 { grid-column: span 3; }
  .guide { grid-template-columns: 1fr; gap: 28px; }
  .guide__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header__in { height: 60px; gap: 12px; }
  .header__cta .btn--line { display: none; }
  .hero { padding: 44px 0 56px; }
  h1, .h1 { font-size: 36px; line-height: 1.08; }
  h2, .h2 { font-size: 28px; }
  .lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .flow { padding: 20px; }
  .facts__row { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 16px; border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:first-child { padding-left: 16px; }
  .fact b { font-size: 22px; }
  .section, .sec { padding: 64px 0; }
  .sec--tight { padding-top: 8px; }
  .sec-head { margin-bottom: 30px; }
  .card { padding: 22px; }
  .sources, .guides, .plans { grid-template-columns: 1fr; }
  .bento > *, .bento .w3, .bento .w4 { grid-column: 1 / -1; }
  .big { font-size: 48px; }
  .seg button { font-size: 14px; height: 42px; }
  .how li { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .how li::before { width: 42px; height: 42px; font-size: 17px; }
  .qa summary { font-size: 16px; padding: 18px 0; }
  .qa__a { padding-right: 0; }
  .closer { padding: 72px 0; }
  .closer h2 { font-size: 32px; }
  .closer__actions .btn { width: 100%; }
  .page-hero { padding: 36px 0 30px; }
  .page-hero h1 { font-size: 30px; }
  .prose h2 { font-size: 24px; margin-top: 44px; }
  .steps li { padding: 70px 18px 18px; }
  .steps li::before { top: 16px; left: 18px; width: 40px; height: 40px; }
  .cta { flex-direction: column; align-items: stretch; padding: 26px; }
  .cta h2 { font-size: 24px; }
  .cta__actions .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; }
}
/* ---------- Оформление заказа (/oplata/) ---------- */
.co-hero { padding: 48px 0 8px; }
.co-hero h1 { font-size: 44px; margin-bottom: 12px; }
.co-hero .lead { max-width: 640px; }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--muted); counter-reset: cs; }
.co-steps li { counter-increment: cs; display: flex; align-items: center; gap: 8px; }
.co-steps li::before { content: counter(cs); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font-size: 12px; color: var(--ink); }
.co-steps li.is-on::before { background: var(--lime); border-color: var(--lime); }

.checkout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; padding: 32px 0 96px; }
.co-block { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; margin-bottom: 16px; }
.co-block__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.co-block__n { font: 700 14px/1 var(--display); color: var(--green); }
.co-block h2 { font: 700 22px/1.25 var(--display); }
.co-block__sub { margin: -8px 0 18px; color: var(--muted); font-size: 15px; }

.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 72px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--soft);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.opt:hover .opt__box { border-color: #c7d2c0; }
.opt input:checked + .opt__box { border: 2px solid var(--green); padding: 15px 17px; background: #f6fdec; box-shadow: 0 8px 24px rgba(36, 122, 51, .1); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--green); outline-offset: 2px; }
.opt__main b { display: block; font-size: 17px; font-weight: 800; }
.opt__main span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.opt__price { text-align: right; font: 700 22px/1 var(--display); white-space: nowrap; }
.opt__price s { display: block; font: 600 13px/1.4 var(--ui); color: var(--muted); }
.opt__badge { position: absolute; top: -10px; right: 16px; z-index: 1; }
.periods { display: grid; gap: 10px; }

.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.input {
  width: 100%; height: 56px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--soft);
  font: 600 17px/1 var(--ui); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(36, 122, 51, .12); }
.input.is-bad { border-color: #d64545; background: #fff6f6; }
.field__note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.field__err { margin: 8px 0 0; font-size: 14px; color: #c03434; font-weight: 600; }
.typo { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #fff8e6; border: 1px solid #f4e2ad; font-size: 15px; }
.typo button { border: 0; background: none; padding: 0; font: 800 15px/1 var(--ui); color: var(--green); text-decoration: underline; cursor: pointer; }

.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.methods .opt__box { min-height: 60px; }

.summary { position: sticky; top: 92px; padding: 26px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.summary h2 { font: 700 20px/1.2 var(--display); margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary__row span { color: var(--muted); }
.summary__row b { text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 18px; }
.summary__total b { font: 800 32px/1 var(--display); }
.summary__legal { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.summary__legal a { color: inherit; }
.summary__after { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.summary__after li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.form-err { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff1f1; border: 1px solid #f3c7c7; color: #a42c2c; font-size: 14px; font-weight: 600; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.skel { height: 72px; border-radius: var(--r); background: linear-gradient(90deg, var(--soft), #eef3ea, var(--soft)); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { to { background-position: -200% 0; } }

/* ---------- После оплаты (/uspeh/) ---------- */
.paid-page { padding: 56px 0 96px; }
.done__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 32px; }
.state { display: flex; gap: 20px; align-items: flex-start; }
.state__ico { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); }
.state__ico--ok { background: var(--lime); border-color: var(--lime); }
.state__ico--err { background: #fff1f1; border-color: #f3c7c7; color: #c03434; }
.state h1 { font-size: 40px; margin-bottom: 10px; }
.state .lead { max-width: 620px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .9s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.keybox { display: flex; gap: 8px; margin: 6px 0 14px; }
.keybox .input { font: 500 14px/1 var(--mono); height: 52px; }
.keybox .btn { height: 52px; flex: none; }
.qr { width: 184px; height: 184px; padding: 12px; margin: 4px 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; }
.key-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.tg { background: var(--term); color: #d6e3d4; border-color: var(--term-line); }
.tg h2 { color: #fff; }
.tg .co-block__n { color: var(--lime); }
.tg p, .tg li { color: #a9b8a8; }
.tg b { color: #fff; }
.tg-steps { list-style: none; display: grid; gap: 12px; margin: 0 0 20px; counter-reset: tg; }
.tg-steps li { counter-increment: tg; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; }
.tg-steps li::before { content: counter(tg); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #1a241c; color: var(--lime); font: 700 14px/1 var(--display); }
.tg__status { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: #a9b8a8; }
.tg__status .blink { flex: none; }
.tg__ok { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #1b2a12; border: 1px solid #3c5a1d; color: #e2f7c4; font-weight: 600; }
.merge { display: grid; gap: 10px; margin: 16px 0; }
.merge .opt__box { background: #121a14; border-color: var(--term-line); color: #e9f3e6; }
.merge .opt input:checked + .opt__box { background: #1b2a12; border-color: var(--lime); }
.merge .opt__main span { color: #93a392; }

@media (max-width: 1080px) {
  .checkout, .done__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .co-hero { padding-top: 32px; }
  .co-hero h1, .state h1 { font-size: 30px; }
  .co-block, .summary { padding: 20px; }
  .opt__price { font-size: 19px; }
  .state { flex-direction: column; gap: 14px; }
  .state__ico { width: 52px; height: 52px; border-radius: 16px; }
  .keybox { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Новости ===== */
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--muted); font-weight: 700; }
.news-tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: #eefbd9; border: 1px solid #d3efae; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.updated .news-tag { margin-right: 6px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section--related { padding-top: 0; }
.related__title { font-size: 28px; margin-bottom: 24px; }
.prose pre { margin: 0 0 20px; padding: 16px 18px; background: var(--ink); color: #e9f5df; border-radius: 14px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; color: inherit; padding: 0; border: 0; font-size: inherit; }
.prose--wide { max-width: none; }
.prose td a, .prose th a { white-space: nowrap; }
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: none; border: 0; }
.version-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); }
.version-card b { font-family: Unbounded, sans-serif; font-size: 34px; line-height: 1; }
.version-card .btn { margin-top: 6px; }
.legal h1, .legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal h3 { font-size: 19px; }
.legal > :first-child { margin-top: 0; }
@media (max-width: 900px) { .versions { grid-template-columns: 1fr; } }

/* ===== Тема v2: выделенная зелёная шапка и фон всей страницы ===== */
:root { --page: #f0f6ec; --green-deep: #1b5a2a; }
body {
  background-color: var(--page);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(180, 242, 90, .38), transparent 62%),
    radial-gradient(900px 520px at -12% 34%, rgba(36, 122, 51, .10), transparent 60%),
    linear-gradient(rgba(36, 122, 51, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 122, 51, .055) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
}
.header {
  background: var(--green-deep);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 30px rgba(18, 60, 28, .18);
}
.header .logo { color: #fff; }
.header .logo__mark { background: var(--lime); color: var(--ink); }
.header .nav a { color: rgba(255, 255, 255, .78); }
.header .nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.header .burger summary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.page-hero { background: transparent; }
.card, .flow, .summary, .toc, .tag, .btn--line, .version-card { background: #fff; }
.toc a:hover { background: var(--soft); }
.facts { background: rgba(255, 255, 255, .72); }
.closer { background: rgba(255, 255, 255, .6); }
.footer { background: #fff; }
.footer__note { max-width: 640px; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 32px 32px; }
.legal-card { padding: 40px 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 14px 40px rgba(18, 26, 20, .05); }
.legal-card .back { display: inline-block; margin-bottom: 18px; font-size: 15px; font-weight: 700; color: var(--green); text-decoration: none; }
.legal-card h1 { font-size: 36px; margin-bottom: 12px; }
.legal-card .prose { font-size: 16px; }
.legal-card .prose h2 { font: 700 21px/1.3 var(--ui); margin: 32px 0 10px; }
@media (max-width: 640px) { .legal-page { padding: 24px 16px; } .legal-card { padding: 26px 20px; } .legal-card h1 { font-size: 28px; } }

/* ===== Тема v3: чёрная шапка, логотип INCY ===== */
:root { --green-deep: #0a0d0b; }
.header { box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.logo__img { width: 34px; height: 34px; border-radius: 22%; flex: none; }
.node .logo__img { width: 36px; height: 36px; }
