/* StopClone · лендинг v2. Только для index.html (кабинет и legal используют style.css). */
:root {
  --bg: #f5f4fa; --white: #fff; --ink: #1c1a2b; --ink2: #4a4660; --mute: #5e5a73; --line: #e4e1f0;
  --brand: #4b3aa6; --brand-d: #3b2d8a; --brand-l: #c9c3e6;
  --ok: #1f6b45; --ok-bg: #e3f4ea; --soon: #8a5200; --soon-bg: #fdf1dc;
  --display: "Unbounded", "Arial Black", sans-serif; --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
a { color: var(--brand); }
a:hover { color: #2f2373; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap--narrow { max-width: 900px; }
.sec { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.sec--tight { padding-top: 0; }
h2 { font-size: 32px; line-height: 1.2; }
.h2s { font-size: 26px; line-height: 1.25; }
.h2xl { font-size: 40px; line-height: 1.1; }
.lead { font-size: 17px; color: var(--ink2); }
.fine { font-size: 14px; color: var(--mute); }
.fine--dark { color: #a9a3cc; font-size: 13px; }
.mono-label { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: #6d6888; }
.mono-label--gold { color: #5b4a12; }

/* кнопки: один размер и форма везде */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--brand-l); background: var(--white); color: var(--ink); font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn--main { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--main:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn--ghost { background: var(--white); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: #1f1a3d; }
.btn--white:hover { background: #ece9fa; color: #1f1a3d; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.chip { display: inline-block; align-self: flex-start; font-size: 12px; line-height: 1.3; padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--soon { background: var(--soon-bg); color: var(--soon); }
.chip--lg { font-size: 13px; padding: 5px 12px; }

/* шапка */
.top { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 18px; }
.top__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; flex: 1 1 0; min-width: 0; font-size: 15px; }
.top__nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.top__nav a:hover { color: var(--brand); }

.menubtn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--brand-l); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
.menubtn span, .menubtn span::before, .menubtn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.menubtn span::before { position: absolute; top: -6px; left: 0; }
.menubtn span::after { position: absolute; top: 6px; left: 0; }
.menubtn[aria-expanded="true"] { border-color: var(--brand); }
.top__login, .top__fix { order: 0; }
/* hero */
.hero { background: radial-gradient(900px 420px at 85% 20%, #e7e1ff 0%, rgba(231,225,255,0) 70%), radial-gradient(700px 380px at 10% 90%, #e0f0ff 0%, rgba(224,240,255,0) 70%), #fff; }
.hero__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.hero h1 { font-size: 44px; line-height: 1.14; letter-spacing: -.01em; overflow-wrap: break-word; }
.hero__sub { font-size: 19px; color: var(--ink2); max-width: 620px; }
.hero__price { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink2); }
.ticks li::before { content: "✓ "; }
.hero__art { flex: 1 1 460px; min-width: 0; position: relative; padding: 0 0 24px 28px; }

/* анимация: ноутбук + телефон */
.float { animation: scFloat 6s ease-in-out infinite; }
.float--late { animation-delay: -3s; }
.laptop { background: #23203a; border-radius: 20px 20px 8px 8px; padding: 10px 12px 14px; box-shadow: 0 30px 70px rgba(40,28,110,.22); }
.laptop__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.laptop__bar i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.laptop__url { flex: 1; min-width: 0; margin-left: 10px; background: #34304f; color: #b8b2d9; border-radius: 6px; padding: 3px 10px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.laptop__base { margin: 0 auto; width: 100%; height: 14px; background: linear-gradient(180deg,#d9d6e8,#bdb8d2); border-radius: 0 0 16px 16px; }
.live { color: #ff6b5f; animation: scDot 1.6s infinite; }
.caption .live { color: var(--ok); }
.stage { position: relative; height: 430px; border-radius: 10px; overflow: hidden; background: #fff; }
.screen { position: absolute; inset: 0; opacity: 0; animation: scFade 12s infinite; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.screen.s2 { animation-delay: 4s; }
.screen.s3 { animation-delay: 8s; }
.scr__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: #fff; }
.scr__head > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.scr__head b { font-size: 15px; }
.scr__head small { font-size: 12px; opacity: .85; }
.scr__head--max { background: linear-gradient(90deg,#3b6cf6,#8a4df0); }
.scr__head--wa { background: #075e54; }
.scr__head--wb { background: #f6f0fb; border-bottom: 1px solid #ebe3f5; color: var(--ink); }
.ava { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 700; flex: none; }
.wbmark { font-weight: 800; color: #a3229a; font-size: 18px; }
.urlbox { flex: 1; min-width: 0; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; color: #6d6888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__body { position: relative; flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; overflow: hidden; }
.scr__body--max { background: #eef2fb; }
.scr__body--wa { background: #ece5dd; }
.scr__body--wb { flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 16px; padding: 18px; }
.wbfacts { flex: 1 1 100%; list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 13px; color: var(--ink2); max-width: 58%; }
.wbfacts li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.day { align-self: center; font-size: 11px; color: #6d7590; background: #dfe5f4; padding: 2px 10px; border-radius: 999px; }
.bub { opacity: 0; animation: scBubble 4s infinite; border-radius: 14px; padding: 9px 12px; max-width: 78%; }
.bub small { font-size: 11px; color: #8a90a6; }
.bub--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.bub--out { align-self: flex-end; background: #dbe6ff; border-bottom-right-radius: 4px; }
.bub--wa { border-radius: 10px; }
.scr__body--wa .bub--out { background: #dcf8c6; }
.scan { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,transparent,#7c6cf0,transparent); box-shadow: 0 0 18px #7c6cf0; animation: scScan 4s infinite; }
.seal { position: absolute; right: 18px; bottom: 22px; opacity: 0; animation: scStamp 4s infinite; border: 3px solid var(--ok); color: var(--ok); border-radius: 12px; padding: 8px 14px; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.92); text-align: center; line-height: 1.3; }
.seal small { font-weight: 500; font-size: 11px; color: var(--ok); }
.wbphoto { position: relative; overflow: hidden; flex: 0 0 150px; height: 200px; border-radius: 12px; background: #efe9e1; display: flex; align-items: flex-end; padding: 10px; color: #fff; font-size: 11px; }
.wbphoto__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wbphoto span { position: relative; padding: 2px 7px; border-radius: 999px; background: rgba(30,18,10,.55); }
.wbinfo { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 0; }
.wbinfo b { font-size: 15px; }
.wbprice { font-size: 22px; font-weight: 700; }
.wbsell { font-size: 13px; color: #6d6888; }
.wbmatch { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #fbe6e4; color: #a3322b; font-weight: 600; align-self: flex-start; }
.phone { position: absolute; left: -6px; bottom: 0; width: 150px; border-radius: 26px; border: 7px solid var(--ink); background: #eef2fb; overflow: hidden; box-shadow: 0 20px 44px rgba(28,26,43,.3); }
.phone__head { background: linear-gradient(90deg,#3b6cf6,#8a4df0); color: #fff; padding: 9px 10px; font-size: 11px; font-weight: 600; }
.phone__body { padding: 8px; display: flex; flex-direction: column; gap: 5px; font-size: 10px; min-height: 170px; }
.phone .bub { border-radius: 8px; padding: 5px 7px; max-width: none; }
.phone__ok { align-self: center; background: none; color: var(--ok); font-weight: 700; }
.caption { padding-left: 150px; display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--mute); text-align: center; }
@keyframes scFade { 0%,2%{opacity:0;transform:translateY(12px) scale(.98)} 6%,30%{opacity:1;transform:none} 34%,100%{opacity:0;transform:translateY(-8px) scale(.98)} }
@keyframes scBubble { 0%,8%{opacity:0;transform:translateY(8px)} 14%,100%{opacity:1;transform:none} }
@keyframes scScan { 0%{top:0;opacity:0} 10%{opacity:.9} 45%{top:100%;opacity:.9} 50%,100%{top:100%;opacity:0} }
@keyframes scStamp { 0%,55%{opacity:0;transform:rotate(-14deg) scale(1.6)} 62%{opacity:1;transform:rotate(-8deg) scale(.95)} 66%,92%{opacity:1;transform:rotate(-8deg) scale(1)} 100%{opacity:0;transform:rotate(-8deg) scale(1)} }
@keyframes scFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes scTicker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scDot { 0%,100%{opacity:.3} 50%{opacity:1} }

.ticker { background: var(--ink); color: #d9d5f0; overflow: hidden; max-width: 100vw; contain: paint; padding: 14px 0; font-size: 15px; }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: scTicker 40s linear infinite; }

/* карточки */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: transform .2s, box-shadow .2s; }
.card:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(40,28,110,.12); }
.card h3 { font-family: var(--body); font-weight: 700; font-size: 19px; line-height: 1.3; }
.card p { color: var(--ink2); font-size: 15px; flex: 1; }
.card__link { font-size: 15px; font-weight: 600; }
.band--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--top { border-bottom: 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps b { font-size: 18px; }
.steps p { color: var(--ink2); }
.num { font-family: var(--display); font-size: 28px; color: var(--brand); }

/* переписка */
.chat { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: center; }
.chat__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.note { background: #ece8fb; border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.note span { color: var(--ink2); font-size: 15px; }
.chat__art { flex: 1 1 420px; min-width: 0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mini { width: 210px; max-width: 100%; border-radius: 28px; border: 8px solid var(--ink); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.mini__head { color: #fff; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.mini__head--max { background: linear-gradient(90deg,#3b6cf6,#8a4df0); }
.mini__head--wa { background: #075e54; }
.mini__head--tg { background: #2a9ed8; }
.mini__body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; min-height: 150px; }
.m { border-radius: 10px; padding: 7px 9px; background: #fff; }
.m.in { align-self: flex-start; }
.m.out { align-self: flex-end; background: #dbe6ff; }
.m.out.wa { background: #dcf8c6; }
.m.out.tg { background: #d6f0ff; }
.m.ok { align-self: center; background: none; font-size: 10px; color: var(--ok); font-weight: 700; padding: 0; }

/* формы */
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row--stack { flex-direction: column; flex-wrap: nowrap; }
.row.row--stack input { flex: none; }
input, select { min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--brand-l); font: inherit; background: #fff; color: var(--ink); min-width: 0; }
.row input { flex: 1 1 240px; }
.msg { font-size: 15px; color: var(--ok); }
.msg.err { color: #a3322b; }
.check { display: flex; flex-wrap: wrap; gap: 10px; }
.check select { flex: 0 1 180px; }
.check input { flex: 1 1 240px; }
/* запасная форма «пришлём отчёт позже»: колонка, одинаковая ширина полей и кнопки */
.deferred { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; max-width: 480px; }
.deferred > * { margin: 0; }
.deferred__lead { color: var(--ink2); }
.deferred .btn { align-self: stretch; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--ink2); cursor: pointer; }
.agree input { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.result { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow-x: auto; font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.result table { width: 100%; border-collapse: collapse; min-width: 480px; }
.result th, .result td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.result .tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--soon-bg); color: var(--soon); font-weight: 600; }
.result .tag.exact { background: #fbe6e4; color: #a3322b; }
.result form { display: flex; flex-direction: column; gap: 8px; }

/* таблица сравнения */
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
thead tr { background: var(--bg); }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
tbody th { font-weight: 400; }
tbody tr { border-top: 1px solid var(--line); }
thead th { font-weight: 700; }

/* депонирование */
.band--dark { background: #1f1a3d; color: #f1effa; }
.dep { flex-direction: row; flex-wrap: wrap; gap: 40px; }
#panel-dep .sheets { grid-template-columns: 1fr; }
@media (min-width: 560px) { #panel-dep .sheets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { #panel-dep .sheets { grid-template-columns: repeat(4, 1fr); } }
.dep__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dep h2 { color: #fff; }
.dep .lead { color: #cfcbe6; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: #332c5e; font-size: 14px; }
.dep__prices { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.dprice { background: #2a2450; border-radius: 14px; padding: 16px 18px; }
.dprice b { color: #fff; }

/* претензия + предупреждение */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.panel, .fcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.panel p, .fcard > p:not(.fine):not(.msg) { color: var(--ink2); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; align-self: stretch; }
.warn { background: #fff6e6; border: 1px solid #f0d6a6; border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.warn > div { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.warn p { color: #5a4a2a; }
.market__head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.band--white .btn { align-self: flex-start; }

/* тарифы: папка с закладками */
.prices__head { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.folder { display: flex; flex-direction: column; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 18px; position: relative; z-index: 2; }
.tab { font: 600 16px var(--body); color: var(--ink2); background: #d9d3ee; border: 1px solid #d6d0ec; border-bottom: 0; border-radius: 14px 14px 0 0; padding: 14px 26px 12px; cursor: pointer; min-height: 48px; position: relative; top: 1px; }
.tab:hover { background: #e2ddf3; color: var(--ink); }
.tab--on { background: #e9e5f6; color: var(--ink); padding-bottom: 13px; }
.tabbody { position: relative; z-index: 1; margin-top: -1px; background: #e9e5f6; border: 1px solid #d6d0ec; border-radius: 4px 22px 22px 22px; padding: 28px; box-shadow: 0 1px 0 #fff inset, 0 24px 50px rgba(40,28,110,.10); }
.tabpanel[hidden] { display: none; }
.sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.sheet { position: relative; background: #fff; border-radius: 6px 6px 14px 14px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(28,26,43,.06), 0 10px 24px rgba(40,28,110,.07); border-top: 4px solid #cfc8ea; }
.sheet--hl { border-top-color: var(--brand); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6d6888; }
.plan { font-size: 22px; }
.price { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.per { font-family: var(--body); font-weight: 500; font-size: 16px; color: #6d6888; }
.for { color: var(--ink2); font-size: 15px; }
.rule { border-top: 1px dashed #cfc8ea; margin: 4px 0; }
.feat { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #2c2942; flex: 1; }
.feat li { position: relative; padding-left: 26px; line-height: 1.45; }
.feat li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--brand); background: radial-gradient(circle, var(--brand) 0 3px, transparent 4px); }
.sheet__stamp { position: absolute; right: 16px; top: 14px; transform: rotate(9deg); border: 2px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 6px 12px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.cta { display: block; text-align: center; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--brand-l); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; margin-top: 6px; }
.cta:hover { border-color: var(--brand); color: var(--brand); }
.cta--main { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta--main:hover { background: var(--brand-d); color: #fff; }
.tabnote { margin-top: 18px; font-size: 14px; color: var(--mute); }
.tabnote:empty { display: none; }

.gift { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: #fff6d8; border: 1px dashed #d9b640; border-radius: 18px; padding: 24px 28px; color: #2b2410; }
.gift__copy { display: flex; flex-direction: column; gap: 6px; flex: 999 1 420px; min-width: 0; }
.gift__copy b { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.2; }
.gift__act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gift .cta { margin-top: 0; white-space: nowrap; }
.code { font: 600 18px var(--mono); letter-spacing: .12em; padding: 10px 16px; border: 2px dashed #b8922a; border-radius: 10px; background: #fff; color: #5b4a12; }

.faq { display: flex; flex-direction: column; gap: 14px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { font-weight: 600; font-size: 17px; cursor: pointer; }
details p { margin-top: 10px; color: var(--ink2); }

.forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.fcard { align-items: stretch; }
.fcard .btn { align-self: stretch; }

.foot { background: var(--ink); color: #bdb8d6; font-size: 14px; }
.foot a { color: #d9d5f0; }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-top: 40px; padding-bottom: 16px; }
.foot__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.foot__col--wide { flex-basis: 320px; }
.foot__col b { color: #fff; font-family: var(--display); }
.foot__legal { padding-top: 0; padding-bottom: 32px; font-size: 13px; color: #9a95b8; }
.foot__note { margin-top: -20px; }

@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 44px; padding-bottom: 44px; }
  h2 { font-size: 26px; } .h2xl { font-size: 32px; }
  .hero__in { padding-top: 40px; padding-bottom: 44px; gap: 36px; }
  .hero h1 { font-size: 28px; }
  .hero__sub { font-size: 17px; }
  .hero__price { font-size: 44px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__art { padding-left: 0; padding-bottom: 8px; }
  .caption { padding-left: 120px; }
  .stage { height: 360px; }
  .laptop__base { width: 100%; margin-left: 0; }
  .phone { width: 112px; border-width: 5px; border-radius: 20px; left: -2px; bottom: 28px; }
  .phone__body { min-height: 120px; font-size: 9px; }
  .scr__body { font-size: 13px; padding: 12px; }
  .scr__body--wb { gap: 12px; padding: 12px; }
  .wbphoto { flex-basis: 110px; height: 150px; }
  .tabbody { padding: 16px; border-radius: 4px 16px 16px 16px; }
  .tabs { padding-left: 8px; }
  .tab { padding: 12px 14px 10px; font-size: 15px; flex: 1 1 auto; }
  .panel, .fcard, .warn, .gift { padding: 20px; }
  .gift__copy b { font-size: 22px; }
  .btn { max-width: 100%; }
  .top__in { gap: 6px; flex-wrap: wrap; }
  .js .top__in { flex-wrap: nowrap; }
  .logo { flex: 1 1 auto; font-size: 15px; min-width: 0; gap: 8px; }
  .logo svg { width: 28px; height: 28px; flex: none; }
  .top .btn { min-height: 44px; padding: 10px 12px; font-size: 15px; flex: none; }
  .menubtn { flex: none; }
  .menubtn { display: none; }
  .js .menubtn { display: inline-flex; order: 3; }
  .top__login { order: 1; } .top__fix { order: 2; }
  .top__nav { flex-basis: 100%; order: 4; flex-direction: column; gap: 0; }
  .js .top__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(40,28,110,.1); padding: 4px 16px 8px; z-index: 20; }
  .top__nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .js .top__nav:not(.open) { display: none; }
  .dep .btn, .market__head + * { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen, .bub, .scan, .seal, .float, .ticker__track, .live { animation: none !important; }
  .screen, .bub, .seal { opacity: 1; }
  .screen.s2, .screen.s3, .scan { display: none; }
  .ticker__track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; gap: 8px 24px; }
  .card, .mini { transition: none; }
  .card:hover, .card-hover:hover { transform: none; }
}
.fcard .row .btn { flex: 1 1 100%; }
.fcard .row.row--stack .btn { flex: none; align-self: stretch; }

@media (max-width: 420px) { .logo span { display: none; } }

/* free-check result: technical data tucked into a closed «Для экспертов» block */
table details.fine, #result > details.fine { border: 0; padding: 4px 0 0; font-size: 13px; }
details.fine > summary { cursor: pointer; color: var(--mute); }

[hidden] { display: none !important; }
.result .verdict { font-size: 17px; font-weight: 500; }
.result details.fine table { margin-top: 6px; min-width: 0; }

/* логин и форма связи: одинаковые поля и кнопки, согласие прижато к низу карточки */
.fcard .consent-line { margin-top: auto; padding-top: 4px; }
.fcard form.row--stack { gap: 12px; }
.fcard form.row--stack input { flex: none; width: 100%; }

/* таблица сравнения: на узких экранах карточки без горизонтальной прокрутки */
@media (max-width: 720px) {
  .tablewrap { overflow: visible; background: none; border: 0; border-radius: 0; display: flex; flex-direction: column; }
  .tablewrap table, .tablewrap tbody { display: block; min-width: 0; width: 100%; }
  .tablewrap thead { display: none; }
  .tablewrap tbody tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
  .tablewrap tbody th { display: block; padding: 0 0 8px; font-weight: 700; font-size: 16px; }
  .tablewrap tbody td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
  .tablewrap tbody td::before { content: attr(data-label); color: var(--mute); font-size: 13px; padding-top: 2px; }
  .wbfacts { grid-template-columns: 1fr; }
}
/* hero: телефон не перекрывает окно ноутбука */
@media (min-width: 721px) {
  .stage { height: 410px; }
  .wbphoto { height: 180px; }
  .hero__art { padding-left: 0; }
  .phone { display: none; }
  .caption { padding-left: 0; }
}

/* --- v3: пилот, пояснения, блок «Ещё заверяем», вводный текст страниц */
.hero__pilot { font-size: 14px; color: var(--mute); max-width: 520px; }
.hero__clar { max-width: 560px; }
.chat__go { align-self: flex-start; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 900px; padding-top: 48px; padding-bottom: 8px; }
.intro p { color: var(--ink2); }
.also { padding-top: 0; }
.also__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .also__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .also__grid { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 120px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(40,28,110,.12); color: var(--ink); }
.tile b { font-size: 17px; line-height: 1.3; }
.tile span { font-size: 14px; color: var(--brand); font-weight: 600; }

/* --- блог */
.crumbs { font-size: 14px; color: var(--mute); padding-top: 28px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--brand-l); }
.crumbs a { color: var(--mute); }
.bloghead { padding-top: 20px; padding-bottom: 8px; }
.bloghead h1 { font-size: 40px; line-height: 1.15; }
.blogcards { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 64px; }
@media (min-width: 640px) { .blogcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blogcards { grid-template-columns: repeat(4, 1fr); } }
.bcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 260px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(40,28,110,.12); color: var(--ink); }
.bcard time { font-size: 13px; color: var(--mute); }
.bcard h2 { font-family: var(--body); font-weight: 700; font-size: 18px; line-height: 1.3; }
.bcard p { font-size: 15px; color: var(--ink2); flex: 1; }
.bcard span { font-size: 15px; font-weight: 600; color: var(--brand); }
.article { max-width: 760px; padding-bottom: 32px; }
.article__meta { font-size: 14px; color: var(--mute); margin: 8px 0 24px; }
.article h1 { font-size: 36px; line-height: 1.2; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 27px; line-height: 1.25; margin-top: 2em; }
.prose h3 { font-size: 20px; line-height: 1.3; margin-top: 1.6em; font-family: var(--body); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose figure { margin: 1.4em 0; }
.prose figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line, #e3e6ec); border-radius: 10px; }
.prose figcaption { font-size: 14px; line-height: 1.5; color: var(--mute); margin-top: 8px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand-l); color: var(--ink2); }
.prose .tw { overflow-x: auto; max-width: 100%; }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #fff; }
.prose code { background: #ece9fa; padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: #1f1a3d; color: #f1effa; padding: 16px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose a { text-underline-offset: 3px; }
.postcta { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; margin-top: 40px; padding: 24px; background: #1f1a3d; color: #f1effa; border-radius: 18px; }
.postcta h2 { font-size: 22px; color: #fff; }
.postcta p { color: #cfcae8; font-size: 15px; margin-top: 6px; }
.postcta__btns { display: grid; grid-template-columns: 1fr; gap: 10px; min-width: 220px; }
.postcta .btn { width: 100%; }
.postcta .btn--ghost { background: transparent; color: #fff; border-color: #6d62c0; }
.postcta .btn--ghost:hover { color: #fff; border-color: #fff; }
@media (max-width: 640px) { .postcta { grid-template-columns: 1fr; } .article h1, .bloghead h1 { font-size: 28px; } .prose { font-size: 17px; } .prose h2 { font-size: 23px; } }
.related h2 { font-size: 26px; margin-bottom: 16px; }
.related { padding-bottom: 64px; }
.related .also__grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related .also__grid { grid-template-columns: repeat(3, 1fr); } }
.related .bcard { min-height: 220px; }
.notfound { text-align: center; align-items: center; }
.notfound h1 { font-size: 40px; }
.article { padding-top: 24px; }
.bloghead .lead { margin-top: 12px; }

/* галочка согласия на обработку ПДн в формах: одинакова во всех карточках, кнопка неактивна, пока не отмечена */
.row .agree { flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; }
.row--stack .agree { flex: none; }
/* вход в кабинет и «сообщить о ВК»: поле и кнопка в одну строку, галочка согласия отдельной строкой ниже */
.row--inline { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.row--inline input[type="email"] { flex: 1 1 180px; width: auto; }
.row--inline .agree { order: 3; flex: 1 1 100%; }
.fcard .row--inline .btn, .row--inline .btn { order: 2; flex: 1 1 auto; align-self: stretch; }
.row, .agree span { max-width: 100%; }
.row .agree input, .fcard form.row--stack .agree input { flex: none; width: 20px; height: 20px; }

/* --- SEO-секции страниц: списки, ссылки в тексте */
.sec--text { max-width: 1100px; gap: 14px; padding-bottom: 32px; }
.sec--text > p, .sec--text li { color: var(--ink2); max-width: 900px; }
.sec--text ul, .sec--text ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.sec--text .tablewrap { margin-top: 6px; }
.intro a, .sec--text a, .faq a { color: var(--brand); text-decoration: underline; }
.fine--dark a { color: #fff; text-decoration: underline; }

/* вход и форма связи: карточки одной высоты, кнопки на одном уровне внизу, без пустоты внутри */
.forms { align-items: stretch; }
.forms .fcard > form.row--stack { flex: 1 1 auto; }
.forms .fcard > form.row--stack .btn { margin-top: auto; }
