/* 08.11 новая главная (владелец: «минимум мелкого текста, максимально просто для глаза»). Свой файл: на главной CSP без
   inline-стилей и без чужих доменов; шрифты свои (site/fonts, OFL). Вёрстка: одна колонка на телефоне, на широком экране
   заголовок слева, витрина справа. Цифры — моноширинным, как в чеке. Каждая анимация объясняет шаг расчёта. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jbmono.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #f6f5f1; --surface: #ffffff; --ink: #16181d; --muted: #5d6470; --line: #e1dfd7; --card: #eef1f6;
  --accent: #1d5fd1; --accent-ink: #ffffff; --accent-soft: #e7eefb;
  --gain: #11693b; --gain-soft: #e3f2e9; --gain-line: #2f9a5e;
  --warn: #9a4d00; --warn-soft: #fbeedd; --warn-line: #e08a2e;
  --deep: #16181d; --deep-ink: #f3f4f6; --deep-muted: #b7bcc6; --deep-edge: transparent;
  --phone: #16181d; --phone-row: #262a31; --phone-ink: #f3f4f6; --phone-muted: #a9afba;
  --seg1: #1d5fd1; --seg2: #4a82e4; --seg3: #7ea4ec; --seg4: #aac3f2; --seg5: #cfdcf7;
  --dc: #5865f2;
  --display: "Archivo", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(20,22,28,.05), 0 12px 32px rgba(20,22,28,.08);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
/* Тёмная тема: акцентные блоки (Pro, телефон) — приподнятые тёмные панели, а не белые плашки */
@media (prefers-color-scheme: dark) { :root {
  --bg: #0f1115; --surface: #171a20; --ink: #e9ebef; --muted: #9aa1ad; --line: #2a2f38; --card: #1c2028;
  --accent: #6fa0ff; --accent-ink: #0b1220; --accent-soft: #1a2436;
  --gain: #5fd08f; --gain-soft: #16291e; --gain-line: #4cc07f;
  --warn: #f2a65a; --warn-soft: #2e2214; --warn-line: #f2a65a;
  --deep: #1f2633; --deep-ink: #eef1f6; --deep-muted: #a3abb8; --deep-edge: #34507f;
  --phone: #0a0c10; --phone-row: #1a1e25; --phone-ink: #eef1f6; --phone-muted: #9aa1ad;
  --seg1: #6fa0ff; --seg2: #5584d6; --seg3: #4169ad; --seg4: #314f82; --seg5: #263b5e;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  color-scheme: dark; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.px { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.defs { position: absolute; }
.c1 { background: var(--seg1); } .c2 { background: var(--seg2); } .c3 { background: var(--seg3); } .c4 { background: var(--seg4); } .c5 { background: var(--seg5); }
.w1 { flex: 466; } .w2 { flex: 156; } .w3 { flex: 75; } .w4 { flex: 55; } .w5 { flex: 25; }

/* шапка */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { font-family: var(--display); font-weight: 850; font-size: 22px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; font-stretch: 112%; display: inline-flex; align-items: center; gap: 8px; }
.brand i { display: inline-flex; gap: 2px; }
.brand i b { width: 4px; height: 16px; border-radius: 2px; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; }
.top nav .nav-dc { display: inline-flex; align-items: center; gap: 6px; color: var(--dc); }
.top nav .nav-dc svg { width: 20px; height: 20px; }
.top nav .hide-s { display: none; }

/* первый экран */
.hero .wrap { display: grid; gap: 28px; padding-block: 36px 28px; }
.hero h1 { font-size: clamp(44px, 11.5vw, 80px); line-height: .94; letter-spacing: -.035em; font-weight: 850; font-stretch: 86%; }
.hero h1 em { font-style: normal; color: var(--accent); }
.underline { display: flex; gap: 3px; height: 10px; width: min(100%, 330px); margin-top: 14px; border-radius: 5px; overflow: hidden; }
.underline b { display: block; height: 100%; }
.lede { font-size: 19px; color: var(--muted); margin: 18px 0 0; max-width: 30ch; }
.cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; max-width: 360px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font: 700 18px/1 var(--sans); text-decoration: none; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.fine { font-size: 15px; color: var(--muted); margin: 0; }
.fine a { color: var(--muted); }

/* витрина с вкладками */
.show { background: var(--surface); border-radius: 26px; box-shadow: var(--shadow); padding: 12px; min-width: 0; border: 1px solid var(--line); }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--bg); padding: 4px; border-radius: 16px; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: transform .45s var(--ease), width .45s var(--ease); }
.tab { position: relative; z-index: 1; overflow: hidden; border: 0; background: transparent; color: var(--muted); font: 700 14.5px/1.15 var(--display); font-stretch: 95%; padding: 10px 4px 12px; min-height: 64px; border-radius: 12px; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 4px; transition: color .3s; }
.tab svg { width: 20px; height: 20px; opacity: .8; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"] svg { opacity: 1; color: var(--accent); }
.tab .prog { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: 0; }
.show.auto .tab[aria-selected="true"] .prog { opacity: .75; animation: prog var(--cycle, 9s) linear forwards; }
.show.paused .tab .prog { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.panels { position: relative; }
.panel { padding: 20px 8px 8px; display: grid; gap: 16px; }
.panel.enter { animation: enter .5s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.panel h3 { font-size: 27px; line-height: 1.04; letter-spacing: -.02em; font-weight: 800; font-stretch: 90%; }
.panel h3 + p { margin: -8px 0 0; color: var(--muted); font-size: 15px; }
.pro-tag { font: 700 11px/1 var(--mono); letter-spacing: .06em; color: var(--accent-ink); background: var(--accent); padding: 4px 6px; border-radius: 5px; vertical-align: 4px; margin-left: 6px; }

/* ПК: разбор по деталям */
.listing { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 14px; }
.listing b { font-size: 16px; display: block; line-height: 1.3; }
.listing span { font-size: 13px; color: var(--muted); }
.ask { text-align: right; flex-shrink: 0; }
.ask .num { font-size: 22px; font-weight: 700; display: block; color: var(--ink); }
.teardown { position: relative; padding-top: 30px; }
.bar { position: relative; height: 46px; border-radius: 12px; overflow: hidden; }
.bar-fill { position: absolute; inset: 0; display: flex; gap: 2px; }
.bar-fill i { display: block; height: 100%; }
.at-ask { left: 77.2%; }
.gapzone { position: absolute; top: 30px; height: 46px; right: 0; border-radius: 0 12px 12px 0;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--gain-line) 55%, transparent) 0 6px, color-mix(in srgb, var(--gain-line) 25%, transparent) 6px 12px);
  box-shadow: inset 0 0 0 2px var(--gain-line); }
.marker { position: absolute; top: 22px; height: 62px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.marker::after { content: ""; position: absolute; left: -4px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.mlabel { position: absolute; top: 0; font: 700 12.5px/1.2 var(--mono); white-space: nowrap; }
.mlabel.ask-l { transform: translateX(calc(-100% - 8px)); color: var(--ink); }
.mlabel.gap-l { color: var(--gain); right: 0; }
.parts { display: grid; margin: 0; padding: 0; list-style: none; }
.parts li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.parts .dot { width: 12px; height: 12px; border-radius: 3px; }
.parts .num { font-weight: 700; }
.result { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--gain-soft); border-radius: 16px; padding: 12px 16px; }
.result > span:first-child { min-width: 0; font-weight: 600; color: var(--gain); line-height: 1.25; }
.result small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.result .num { white-space: nowrap; font-size: 36px; font-weight: 700; color: var(--gain); letter-spacing: -.02em; }

/* MacBook и консоли: шкала стоимости */
.dev { border-top: 1px solid var(--line); padding: 14px 0 4px; display: grid; gap: 10px; }
.dev-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dev-head b { font-size: 16.5px; line-height: 1.25; }
.dev-head span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.scale { position: relative; height: 58px; margin: 2px 0 0; }
.track { position: absolute; left: 0; right: 0; top: 22px; height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.zone { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--warn-line) 45%, transparent) 0 4px, transparent 4px 8px); }
.zone-l { position: absolute; left: 2px; top: 3px; font: 600 10.5px/1 var(--mono); color: var(--warn); letter-spacing: .02em; }
.span-good, .span-bad { position: absolute; top: 22px; height: 10px; border-radius: 5px; opacity: .85; transform-origin: right; }
.span-good { background: var(--gain-line); }
.span-bad { background: var(--warn-line); }
.tick { position: absolute; top: 14px; width: 2px; height: 26px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.tick-l { position: absolute; top: 0; transform: translateX(-50%); font: 700 12px/1 var(--mono); white-space: nowrap; }
.pin2 { position: absolute; top: 15px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); }
.pin2-l { position: absolute; top: 44px; transform: translateX(-50%); font: 700 12px/1 var(--mono); white-space: nowrap; }
.bad .pin2 { border-color: var(--warn-line); }
.bad .pin2-l { color: var(--warn); }
.tick, .tick-l { left: 90.9%; }
.dev-mb .zone { width: 40.9%; } .dev-mb .span-good { left: 59.4%; width: 31.5%; } .dev-mb .pin2, .dev-mb .pin2-l { left: 59.4%; }
.dev-xb .zone { width: 54.5%; } .dev-xb .span-bad { left: 33.8%; width: 57.1%; } .dev-xb .pin2, .dev-xb .pin2-l { left: 33.8%; }
.dev-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chip { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.chip svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.chip.warn { color: var(--ink); }
.chip.warn svg { color: var(--warn); }
.verdict { font: 700 14px/1 var(--mono); padding: 7px 9px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }
.verdict.ok { background: var(--gain-soft); color: var(--gain); }
.verdict.no { background: var(--warn-soft); color: var(--warn); }

/* Facebook: радар вокруг человека */
.radar-box { display: grid; gap: 8px; }
.radar { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; }
.ring { position: absolute; border-radius: 50%; }
.ring.r1 { inset: 0; background: radial-gradient(circle, color-mix(in srgb, var(--accent-soft) 40%, transparent), var(--accent-soft)); border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.ring.r2 { inset: 25%; border: 1.5px dashed color-mix(in srgb, var(--accent) 35%, transparent); }
.cross { position: absolute; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cross.h { left: 0; right: 0; top: 50%; height: 1px; }
.cross.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 290deg, color-mix(in srgb, var(--accent) 30%, transparent) 359deg, transparent 360deg); animation: spin var(--sweep, 6s) linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rlabel { position: absolute; left: 50%; font: 600 10.5px/1 var(--mono); color: var(--accent); background: var(--surface); padding: 3px 5px; border-radius: 4px; transform: translate(-50%, -50%); }
.rl20 { top: 25%; } .rl40 { top: 1.5%; }
.blip { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.blip.on { animation: blip var(--sweep, 6s) linear infinite; }
@keyframes blip { 0% { opacity: 1; transform: scale(2.1); background: var(--gain-line); } 18% { opacity: .9; transform: scale(1.2); } 60%, 100% { opacity: .45; transform: scale(1); } }
.me { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); animation: beacon 2.4s var(--ease) infinite; z-index: 2; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
.me-label { position: absolute; left: 50%; top: calc(50% + 15px); transform: translateX(-50%); font: 700 11px/1 var(--mono); background: var(--surface); padding: 4px 6px; border-radius: 5px; white-space: nowrap; z-index: 2; }
.hit { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gain-line); border: 2px solid var(--surface); z-index: 3; }
.card { position: absolute; z-index: 4; background: var(--surface); border-radius: 11px; padding: 6px 8px; box-shadow: var(--shadow); display: grid; min-width: 84px; border: 1px solid var(--line); }
.card b { font-size: 12px; line-height: 1.2; }
.card .num { font-size: 15px; font-weight: 700; color: var(--gain); }
.card small { font: 500 10.5px/1.2 var(--mono); color: var(--muted); }
.card.pop { animation: cardpop .5s var(--ease) both; }
@keyframes cardpop { from { opacity: 0; transform: var(--t) scale(.85); } to { opacity: 1; transform: var(--t) scale(1); } }
.radar-cap { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0; }
.cmp { display: grid; gap: 8px; background: var(--bg); border-radius: 16px; padding: 14px; }
.cmp-h { font-size: 14px; font-weight: 600; }
.cmp-row { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 10px; font-size: 14px; }
.cmp-bar { height: 14px; border-radius: 7px; background: var(--line); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; border-radius: 7px; transform-origin: left; }
.cmp-fb { width: 100%; background: var(--gain-line); } .cmp-eb { width: 56%; background: var(--muted); }
.cmp-row .num { font-weight: 700; text-align: right; }
.vs { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.vs-head, .vs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-head span { padding: 10px 12px; font: 700 13px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.vs-head span:first-child { color: var(--muted); background: var(--bg); }
.vs-head span:last-child { color: var(--gain); background: var(--gain-soft); }
.vs-row > div { padding: 10px 12px; font-size: 14.5px; line-height: 1.3; display: flex; gap: 8px; align-items: flex-start; border-top: 1px solid var(--line); }
.vs-row > div:first-child { color: var(--muted); background: var(--bg); }
.vs-row > div:last-child { font-weight: 700; background: color-mix(in srgb, var(--gain-soft) 55%, var(--surface)); }
.vs-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.vs-row .xmark { color: var(--warn); }
.vs-row .okmark { color: var(--gain); width: 16px; height: 16px; }
.strike { position: relative; display: inline-block; white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: var(--warn-line); transform-origin: left; }
.strike.go::after { animation: strike .45s var(--ease) var(--d, 0ms) both; }
@keyframes strike { from { transform: scaleX(0); } }
.vs-foot { padding: 12px; font-weight: 700; font-size: 15.5px; text-align: center; background: var(--deep); color: var(--deep-ink); }
.pricedb { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--accent-soft); border-radius: 16px; padding: 14px; }
.pricedb .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--accent); }
.pricedb .ic svg { width: 22px; height: 22px; }
.pricedb b { display: block; font-size: 16px; line-height: 1.25; }
.pricedb span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }

/* разделы */
section.band { padding-block: 64px 8px; }
.band h2 { font-size: clamp(32px, 7.5vw, 48px); line-height: 1; letter-spacing: -.03em; font-weight: 850; font-stretch: 88%; }
.band h2 + p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.pings-wrap { display: grid; gap: 24px; }
.pings-text { display: grid; gap: 22px; min-width: 0; }
.phone { position: relative; height: 312px; max-width: 420px; width: 100%; border-radius: 28px; background: var(--phone); padding: 14px; overflow: hidden; border: 1px solid var(--line); }
.phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(to bottom, transparent, var(--phone)); pointer-events: none; }
.stack { display: grid; gap: 8px; }
.ping { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; background: var(--phone-row); border-radius: 16px; padding: 10px 12px; color: var(--phone-ink); }
.ping.new { animation: drop .6s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px) scale(.96); } }
.ping .src { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 13px/1 var(--display); color: #ffffff; }
.ping b { font-size: 14.5px; display: block; line-height: 1.2; }
.ping span { font-size: 12px; color: var(--phone-muted); }
.ping .num { font-size: 18px; font-weight: 700; color: #5fd08f; }
.src.e, .m-e { background: #2b6be3; } .src.f, .m-f { background: #3b5bdb; } .src.v, .m-v { background: #0b8a8a; } .src.g, .m-g { background: #2f8a3a; }
.market-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.market-chips span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: 15px; }
.market-chips i { width: 8px; height: 8px; border-radius: 50%; }
.market-chips small { color: var(--muted); font-weight: 500; font-size: 13px; }
.big-stat { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.big-stat .num { font-size: clamp(64px, 17vw, 104px); font-weight: 700; color: var(--gain); letter-spacing: -.05em; line-height: .9; }
.big-stat span { font-size: 18px; font-weight: 600; max-width: 20ch; line-height: 1.3; }

/* тарифы лесенкой */
.ladder { display: grid; margin-top: 26px; max-width: 560px; }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.rail i { width: 16px; height: 16px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px var(--bg); }
.rail .r0 { background: var(--line); } .rail .r1 { background: var(--seg2); } .rail .r2 { background: var(--accent); }
.rail u { width: 2px; flex-grow: 1; background: var(--line); }
.step-body { padding-bottom: 26px; display: grid; gap: 10px; min-width: 0; }
.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.step-head b { font-family: var(--display); font-size: 23px; font-stretch: 92%; }
.step-head .num { font-size: 22px; font-weight: 700; }
.step-head .num small { font: 500 13px var(--sans); color: var(--muted); }
.free-line { color: var(--muted); font-size: 15px; margin: 0; }
.free-line a { font-weight: 600; white-space: nowrap; }
.adds { border-radius: 18px; padding: 16px; display: grid; gap: 12px; background: var(--accent-soft); margin: 0; list-style: none; }
.adds li { font-weight: 700; font-size: 17px; display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.adds li::before { content: "+"; font: 700 17px/1.35 var(--mono); color: var(--accent); }
.adds li span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.adds.pro { background: var(--deep); color: var(--deep-ink); box-shadow: inset 0 0 0 1px var(--deep-edge); }
.adds.pro li::before { color: var(--seg3); }
.adds.pro li span { color: var(--deep-muted); }
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.wait { opacity: 0; transform: translateY(16px); }

/* вопросы */
.faq { margin-top: 18px; max-width: 680px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--mono); color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }

.end { text-align: center; padding-block: 72px 120px; }
.end .wrap { display: grid; gap: 18px; justify-items: center; }
.end h2 { font-size: clamp(34px, 8vw, 56px); line-height: 1; letter-spacing: -.03em; font-weight: 850; font-stretch: 88%; }
footer { border-top: 1px solid var(--line); padding-block: 24px 110px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.foot-links a { color: var(--muted); }
.foot-legal { margin: 0; font-size: 13px; }

/* кнопка снизу на телефоне */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: 12px; transition: transform .4s var(--ease); }
.dock.away { transform: translateY(110%); }
.dock div { flex-grow: 1; display: grid; line-height: 1.25; }
.dock b { font-size: 15px; }
.dock span { font-size: 13px; color: var(--muted); }
.dock .btn { min-height: 50px; font-size: 17px; box-shadow: none; }

/* окна входа (без скриптов: #start, #join-dc, #open + :target) */
.signin { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 16px; }
.signin:target { display: flex; }
.signin-bg { position: absolute; inset: 0; background: rgba(10, 12, 18, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.signin-card { position: relative; width: 100%; max-width: 400px; padding: 28px 24px 22px; border-radius: 20px; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center; }
.signin-card h2 { margin: 0 0 8px; font-size: 24px; }
.signin-card > p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.signin-x { position: absolute; top: 10px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); text-decoration: none; font-size: 24px; line-height: 1; }
.signin-x:hover { background: var(--card); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 12px; background: #fff; color: #1f1f1f; font-weight: 600; font-size: 17px; text-decoration: none; box-shadow: 0 0 0 1px #dadce0; }
.btn-google:hover { box-shadow: 0 0 0 2px var(--accent); }
.btn-google svg { width: 22px; height: 22px; }
.signin-card .signin-fine { font-size: 13px; margin: 14px 0 0; }
.signin-card .signin-alt { font-size: 14px; margin: 10px 0 0; }
.signin:target .signin-card { animation: signin .22s ease-out; }
@keyframes signin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.open-card .open-ic { width: 56px; height: 56px; color: var(--muted); margin: 6px auto 10px; display: block; }
.open-card .open-go { display: flex; width: 100%; }
.open-card .open-how { font-size: 14px; margin: 16px 0 6px; color: var(--muted); }
.open-card .open-url { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--card); font-family: var(--mono); font-size: 15px; color: var(--ink); -webkit-user-select: all; user-select: all; }
.dc-badge { display: grid; place-items: center; margin: 4px auto 12px; width: 52px; height: 52px; border-radius: 14px; background: var(--dc); color: #fff; }
.dc-badge svg { width: 30px; height: 30px; }

@media (max-width: 520px) { .signin { align-items: flex-end; padding: 0; } .signin-card { max-width: none; border-radius: 20px 20px 0 0; padding-bottom: 32px; } }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: start; padding-block: 72px 40px; gap: 56px; }
  .hero-text { position: sticky; top: 110px; }
  .top nav .hide-s { display: inline; }
  .pings-wrap { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 48px; }
  .dock { display: none; }
  footer { padding-block: 24px 32px; }
  .end { padding-block: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
