:root {
  color-scheme: dark;
  --bg: #121212;
  --bg-2: #1a1a1a;
  --surface: #222;
  --field: #2b2b2b;
  --line: #3a3a3a;
  --text: #f5f5f5;
  --secondary: #a0a0a5;
  --accent: #0a74d1;
  --accent-hover: #0b84ee;
  --accent-text: #4db2ff;
  --navy: #0c2d57;
  --green: #30b158;
  --red: #ff6b61;
  --radius-l: 28px;
  --radius-m: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
body.tinted { background: var(--bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1040px, 100%); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.secondary { color: var(--secondary); }
.small { font-size: 14px; }

/* Навигация */
.top { position: sticky; top: 0; z-index: 10; background: rgba(18, 18, 18, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; font-size: 17px; font-weight: 600; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; }
.brand strong { font-weight: inherit; }
.brand span { color: var(--accent-text); }
.top nav { display: flex; gap: 32px; font-size: 13px; }
.top nav a { text-decoration: none; color: var(--secondary); transition: color .2s; }
.top nav a:hover { color: var(--text); }
.top .side-actions { display: flex; gap: 18px; align-items: center; justify-content: flex-end; font-size: 13px; }
.top .side-actions a:not(.btn), .plain { color: var(--secondary); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.top .side-actions a:not(.btn):hover, .plain:hover { color: var(--text); }
.top form { margin: 0; }

/* Кнопки */
.btn { display: inline-block; border: 0; border-radius: 980px; background: var(--accent); color: #fff; font: 500 17px/1.18 var(--font); letter-spacing: -0.02em; padding: 13px 24px; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--accent-hover); }
.btn:disabled { background: var(--field); color: var(--secondary); cursor: default; }
.btn.quiet { background: var(--field); color: var(--text); }
.btn.quiet:hover { background: var(--line); }
.btn.mini { font-size: 13px; padding: 6px 14px; }
.btn.wide { display: block; width: 100%; }
.more { color: var(--accent-text); text-decoration: none; font-size: 17px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* Первый экран */
.hero { padding: 88px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7.6vw, 88px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
.hero h1 em { display: block; font-style: normal; color: var(--accent-text); }
.hero .lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--secondary); max-width: 620px; margin: 24px auto 32px; letter-spacing: -0.025em; }
.hero .actions { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

.phone { position: relative; width: 340px; max-width: calc(100vw - 32px); height: 680px; margin: 64px auto 0; padding: 10px; background: #2c2c2e; border-radius: 56px; box-shadow: 0 0 0 1px #48484a, 0 30px 120px rgba(10, 116, 209, .28); }
.screen { height: 100%; background: #101010; color: #f2f2f2; border-radius: 46px; overflow: hidden; display: flex; flex-direction: column; text-align: left; letter-spacing: -0.01em; }
.av-status { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px 0; font-size: 14px; font-weight: 600; }
.av-status svg { justify-self: end; fill: #f2f2f2; }
.island { width: 92px; height: 26px; border-radius: 14px; background: #000; }
.av-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.av-back, .av-call { flex: none; }
.av-thumb { position: relative; flex: none; width: 46px; height: 46px; }
.av-thumb svg { display: block; width: 46px; height: 46px; border-radius: 10px; }
.av-thumb span { position: absolute; top: -5px; left: -5px; width: 22px; height: 22px; border-radius: 50%; background: #8d6e63; border: 1px solid #0f0f10; font-size: 12px; line-height: 20px; text-align: center; }
.av-title { flex: 1; min-width: 0; }
.av-title b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.av-title span { display: block; font-size: 12.500px; color: #b9b9bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-body { flex: 1; min-height: 0; overflow: hidden; padding: 4px 10px 0; }
.av-date { text-align: center; font-size: 12px; color: #8e8e93; margin: 6px 0 12px; }
.av-msg { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 10px; opacity: 0; transform: translateY(10px) scale(.97); animation: pop .45s cubic-bezier(.2, .8, .2, 1) forwards; }
.av-msg > div { max-width: 198px; padding: 8px 12px; border-radius: 16px; font-size: 14px; line-height: 1.3; }
.av-msg time { flex: none; font-size: 10.500px; color: #8e8e93; padding-bottom: 3px; }
.av-msg time b { color: #3f9bff; font-weight: 600; letter-spacing: -0.2em; margin-right: 2px; }
.av-msg.in > div { background: #2a2a2c; }
.av-msg.out { justify-content: flex-end; }
.av-msg.out > div { background: #0c2d57; }
.av-ava { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2a2a2c; display: grid; place-items: center; }
.av-ava svg { width: 15px; height: 15px; fill: #c7c7cc; }
.av-msg:nth-of-type(1) { animation-delay: .5s; }
.av-msg:nth-of-type(2) { animation-delay: 1.3s; }
.av-msg:nth-of-type(3) { animation-delay: 2.2s; }
.av-msg:nth-of-type(4) { animation-delay: 3s; }
.av-msg:nth-of-type(5) { animation-delay: 4.300s; }
.av-read { margin-bottom: 10px; text-align: right; font-size: 11px; color: #8e8e93; margin-top: -4px; padding-right: 4px; opacity: 0; animation: pop .4s ease 3.6s forwards; }
.av-input { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 22px; color: #e5e5ea; }
.av-input svg { flex: none; }
.av-input span { flex: 1; min-width: 0; background: #2a2a2c; border-radius: 14px; padding: 9px 14px; font-size: 14px; color: #8e8e93; }
.phone-note { color: var(--secondary); font-size: 14px; margin-top: 24px; }
.bubble { width: fit-content; max-width: 82%; padding: 8px 13px; border-radius: 19px; margin-bottom: 8px; font-size: 15px; line-height: 1.32; letter-spacing: -0.015em; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.customer { background: var(--field); border-bottom-left-radius: 6px; }
.bubble.assistant { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Секции */
.section { padding: 120px 0; }
.section.gray { background: var(--bg-2); }
.section-title { font-size: clamp(36px, 5.4vw, 56px); text-align: center; letter-spacing: -0.035em; font-weight: 700; }
.section-lead { font-size: clamp(19px, 2vw, 21px); line-height: 1.38; color: var(--secondary); text-align: center; max-width: 640px; margin: 16px auto 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 64px 0 0; padding: 0; list-style: none; }
.steps li { background: var(--surface); border-radius: var(--radius-l); padding: 36px 32px 40px; }
.steps .num { display: block; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--accent-text); margin-bottom: 28px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: var(--secondary); }

.statement { background: var(--navy); color: #fff; padding: 128px 0; text-align: center; }
.statement h2 { font-size: clamp(40px, 6.6vw, 72px); letter-spacing: -0.04em; font-weight: 700; line-height: 1.05; max-width: 860px; margin: 0 auto; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; text-align: left; }
.points h3 { font-size: 21px; margin-bottom: 8px; }
.points p { color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; }
.plan.main { box-shadow: inset 0 0 0 2px var(--accent); }
.plan .tag { min-height: 20px; font-size: 13px; font-weight: 600; color: var(--accent-text); margin-bottom: 6px; }
.plan h3 { font-size: 28px; }
.plan .note { color: var(--secondary); font-size: 15px; min-height: 44px; margin-top: 6px; }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 18px; }
.plan .per { font-size: 15px; color: var(--secondary); margin-top: 4px; }
.plan .saving { font-size: 14px; color: var(--accent-text); min-height: 42px; margin-top: 10px; }
.plan ul { margin: 18px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--field); list-style: none; font-size: 15px; flex: 1; }
.plan li { padding: 6px 0; }
.plan form { margin: 0; }
.fine { text-align: center; color: var(--secondary); font-size: 14px; margin-top: 28px; }

.faq { max-width: 720px; margin: 56px auto 0; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--secondary); font-size: 26px; font-weight: 300; line-height: .9; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--secondary); padding: 0 40px 24px 0; }

.closing { padding: 120px 0; text-align: center; }
.closing h2 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 28px; }

.foot { background: #0d0d0d; padding: 24px 0; font-size: 12px; color: var(--secondary); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Формы */
.auth { min-height: calc(100vh - 53px - 66px); display: grid; place-items: center; padding: 64px 24px; }
.auth-box { width: min(380px, 100%); text-align: center; }
.auth-box h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; }
.auth-box .sub { color: var(--secondary); margin: 10px 0 32px; }
.auth-box form { text-align: left; }
.auth-box .alt { color: var(--secondary); font-size: 14px; margin-top: 24px; }
.auth-box .alt a { color: var(--accent-text); text-decoration: none; }
.auth-box .alt a:hover { text-decoration: underline; }

label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 14px; }
input[type=email], input[type=password], input[type=text], textarea, select { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; font: 400 17px/1.3 var(--font); letter-spacing: -0.02em; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77, 178, 255, .25); }
textarea { min-height: 200px; resize: vertical; }
.no-code { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: var(--field); color: var(--secondary); font-size: 13px; line-height: 1.45; text-align: left; }
.no-code b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
input.code { font-size: 30px; font-weight: 600; letter-spacing: .3em; text-align: center; padding-left: calc(15px + .3em); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--secondary); margin: 18px 0 22px; }
.check input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }

.notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; background: #12341f; color: #8fe6ad; font-size: 14px; text-align: left; }
.notice.error { background: #3a1614; color: #ffb0a9; }

/* Кабинет */
.console { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.side { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.side a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; color: var(--text); }
.side a:hover { background: var(--field); }
.side a.active { background: var(--field); font-weight: 600; }
.lead-hint { color: var(--secondary); margin: -14px 0 24px; }
a.tile { text-decoration: none; transition: background .2s; }
a.tile:hover { background: #2a2a2a; }
.account.free { color: var(--secondary); }
.account .ava { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--field); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.account.free .ava { background: none; border: 1px dashed var(--line); }
.steprow { text-decoration: none; }
.steprow:hover { background: #2a2a2a; }
.steprow .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.steprow .dot.done { background: var(--green); border-color: var(--green); }
.steprow .chev { color: var(--secondary); font-size: 22px; }

.train { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.test-panel { position: sticky; top: 76px; }
.chat { display: flex; flex-direction: column; }
.chat-log { max-height: 420px; overflow-y: auto; margin-bottom: 14px; }
.chat-log .bubble { font-size: 15px; }
.silent { font-size: 13px; color: #ffb0a9; background: #3a1614; border-radius: 12px; padding: 8px 12px; margin: 0 0 10px auto; width: fit-content; max-width: 86%; }
.chat-input { display: flex; gap: 8px; align-items: center; }
.chat-input input { margin: 0; border-radius: 980px; }
.chat-input .btn { flex: none; width: 44px; height: 44px; padding: 0; font-size: 20px; }

.product + .product { border-top: 1px solid var(--field); }
.product summary { padding: 14px 22px; font-size: 16px; font-weight: 500; align-items: center; }
.product summary .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product summary::after { content: "›"; font-size: 22px; transform: none; }
.product[open] summary::after { transform: rotate(90deg); }
.product-body { padding: 0 22px 20px; }
.chip { flex: none; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 980px; background: var(--field); color: var(--secondary); }
.chip.ok { background: #12341f; color: #8fe6ad; }
.label { font-size: 13px; color: var(--secondary); margin-bottom: 8px; }
.understanding { white-space: pre-wrap; font-size: 15px; line-height: 1.55; background: var(--bg-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions span { flex: 1; }
/* Ассортимент */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.page-head .btn { flex: none; white-space: nowrap; margin-top: 8px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; }
.add-product { margin-bottom: 24px; padding: 0 22px; border: 0; }
.add-product summary { padding: 18px 0; font-size: 17px; }
.add-product[open] { padding-bottom: 22px; }
.catalog-tools { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.catalog-tools input { margin: 0; flex: 1; border-radius: 980px; padding: 10px 16px; font-size: 15px; }
input[type=search] { display: block; width: 100%; color: var(--text); background: var(--field); border: 1px solid var(--line); font: 400 15px/1.3 var(--font); }
.product summary .name small { display: block; font-size: 12px; font-weight: 400; color: var(--secondary); }
.price-tag { flex: none; font-weight: 600; color: #ffc861; font-size: 15px; }
.chip.off { background: #3a1614; color: #ffb0a9; }
.qty { flex: none; display: flex; align-items: center; gap: 6px; }
.qty form { margin: 0; }
.qty b { min-width: 30px; text-align: center; font-size: 15px; }
.step { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--field); color: var(--text); font-size: 17px; line-height: 1; cursor: pointer; }
.step:hover { background: var(--line); }
.step:disabled { opacity: .35; cursor: default; }
.product[hidden] { display: none; }

/* Ассистент: чат и «что понял бот» */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: var(--surface); }
.tabs a { padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--secondary); }
.tabs a:hover { color: var(--text); }
.tabs a.active { background: var(--accent); color: #fff; }
.prompt-card { max-width: 820px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chat-head h2, .understood h2 { font-size: 19px; font-weight: 600; margin: 0; }
.chat-head form { margin: 0; }
.understood h2 { margin-bottom: 14px; }
.context { font-size: 13px; color: var(--secondary); font-weight: 400; }
.context select { font-size: 15px; padding: 10px 13px; }
.chat .chat-log { min-height: 240px; max-height: 400px; padding: 4px 2px; }
.bubble.mine { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.chat .bubble.assistant { background: var(--field); color: var(--text); margin-left: 0; border-radius: 19px; border-bottom-left-radius: 6px; }
.bubble.hello { color: var(--secondary); }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill { border: 1px solid var(--line); background: none; color: var(--text); border-radius: 980px; padding: 5px 12px; font: 400 13px/1.2 var(--font); cursor: pointer; }
.pill:hover { background: var(--field); }
.chat .chat-input .btn { width: auto; height: 44px; padding: 0 18px; font-size: 15px; }
.understood { position: sticky; top: 76px; }
.facts { display: grid; grid-template-columns: auto 1fr; margin: 0 0 18px; font-size: 14px; }
.facts dt, .facts dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--field); }
.facts dt { color: var(--secondary); padding-right: 16px; white-space: nowrap; }
.facts dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.decision { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.decision.ok { background: #12341f; color: #8fe6ad; }
.decision.off { background: #3a1614; color: #ffb0a9; }

.side .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.pane h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 24px; }
.pane > .notice.flash { position: sticky; top: 64px; z-index: 5; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; }
.tile { background: var(--surface); border-radius: var(--radius-m); padding: 18px 20px; }
.tile span { display: block; font-size: 13px; color: var(--secondary); }
.tile b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.meter { height: 4px; border-radius: 2px; background: var(--field); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); }

.group { margin-bottom: 44px; scroll-margin-top: 72px; }
.group > h2 { font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.group > .hint { color: var(--secondary); font-size: 15px; margin: -6px 0 14px; }
.card { background: var(--surface); border-radius: var(--radius-m); padding: 22px; }
.card + .card { margin-top: 14px; }
.card-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.account { display: flex; align-items: center; gap: 16px; padding: 12px 22px; }
.account + .account { border-top: 1px solid var(--field); }
.card.list { padding: 8px 0; }
.account .name { flex: 1; min-width: 0; }
.account .name small { display: block; font-size: 13px; color: var(--secondary); }
.account form { margin: 0; }
.danger { color: var(--red); background: none; border: 0; padding: 0; font: inherit; font-size: 14px; letter-spacing: inherit; cursor: pointer; }
.danger:hover { text-decoration: underline; }
.switch { position: relative; width: 51px; height: 31px; border: 0; padding: 0; border-radius: 16px; background: #4a4a4a; cursor: pointer; transition: background .2s; display: block; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .22); transition: transform .2s; }
.switch[aria-pressed=true] { background: var(--green); }
.switch[aria-pressed=true]::after { transform: translateX(20px); }

.log { max-height: 440px; overflow-y: auto; }
.log .meta { font-size: 12px; color: var(--secondary); margin: 10px 0 4px; }
.log .meta.mine { text-align: right; }
.current { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.pane .plans { margin-top: 0; gap: 14px; }
.pane .plan { padding: 22px; border-radius: var(--radius-m); }
.pane .plan h3 { font-size: 21px; }
.pane .plan .price { font-size: 30px; margin-top: 8px; }
.pane .plan ul { margin: 14px 0 20px; padding-top: 12px; font-size: 14px; }

/* Документы */
.prose { max-width: 700px; padding: 64px 24px 96px; margin: 0 auto; }
.prose h1 { font-size: 40px; font-weight: 700; margin-bottom: 24px; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; }
.prose p { margin-bottom: 10px; color: #c7c7cc; }
.draft { background: #3a1614; color: #ffb0a9; padding: 12px 16px; border-radius: 12px; margin-bottom: 24px; font-size: 14px; }

/* Появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .av-msg, .av-read { opacity: 1; transform: none; animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .top .wrap { grid-template-columns: 1fr auto; }
  .top nav, .top .wrap > span { display: none; }
  .hero { padding-top: 56px; }
  .hero .lead { margin-bottom: 24px; }
  .phone { margin-top: 48px; }
  .hero { padding-bottom: 56px; }
  .section, .closing { padding: 80px 0; }
  .statement { padding: 88px 0; }
  .steps, .points, .plans, .tiles, .two { grid-template-columns: 1fr; }
  .steps, .plans { margin-top: 40px; gap: 14px; }
  .points { margin-top: 48px; gap: 28px; }
  .plan .note, .plan .saving, .plan .tag { min-height: 0; }
  .console { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; padding-bottom: 64px; }
  .side { position: sticky; top: 53px; z-index: 6; flex-direction: row; overflow-x: auto; margin: 0 -16px; padding: 8px 16px; background: rgba(18, 18, 18, .92); backdrop-filter: blur(12px); scrollbar-width: none; }
  .side a { flex: none; font-size: 14px; padding: 6px 12px; background: var(--field); border-radius: 980px; }
  .pane h1 { font-size: 32px; }
  .pane > .notice.flash { top: 104px; }
  .tiles { gap: 10px; margin-bottom: 32px; }
  .group { scroll-margin-top: 112px; }
  .train { grid-template-columns: 1fr; }
  .test-panel, .understood { position: static; }
  .side a.active { background: var(--text); color: var(--bg); }
  .three { grid-template-columns: 1fr 1fr; }
  .three label:last-child { grid-column: 1 / -1; }
  .page-head .btn { margin-top: 6px; }
  .product summary { flex-wrap: wrap; row-gap: 8px; padding: 12px 16px; }
  .product summary .name { flex-basis: 100%; white-space: normal; }
  .product summary::after { display: none; }
  .qty { margin-left: auto; }
  .product-body { padding: 0 16px 18px; }
  .tabs { display: flex; }
  .tabs a { flex: 1; text-align: center; }
}
