/* ============================================================
   AV Ranker — публичные страницы.
   Дизайн-система в духе isakov.work/lp: тёмный фон с сеткой,
   лайм-акцент, Unbounded для заголовков, Manrope для текста.
   ============================================================ */

:root {
  --bg: #08090c;
  --panel: #0e1116;
  --panel2: #12161d;
  --ink: #f4f6f2;
  --mut: #98a1a8;
  --mut2: #6b747c;
  --lime: #c9f73a;
  --lime-soft: rgba(201, 247, 58, .12);
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .05);
  --amber: #ffc555;
  --red: #ff6b5e;
  --font-d: 'Unbounded', system-ui, sans-serif;
  --font-t: 'Manrope', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-t);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -100px, rgba(201,247,58,.07), transparent 60%),
    radial-gradient(900px 700px at -200px 40%, rgba(201,247,58,.04), transparent 60%),
    linear-gradient(var(--line2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line2) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
  background-attachment: fixed, fixed, scroll, scroll;
  overflow-x: clip;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Подсветка сетки под курсором */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 78%) var(--my, 18%), rgba(201,247,58,.055), transparent 70%);
}
/* Плёнка-зерно поверх всего — «студийная» фактура */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Звёзды-акценты у заголовков секций */
.fx-star {
  position: absolute; color: var(--lime); line-height: 1; pointer-events: none; user-select: none;
  font-style: normal; z-index: 1;
  transform: translate(var(--ox, 0), var(--oy, 0));
  transition: transform .3s ease-out;
  text-shadow: 0 0 18px rgba(201,247,58,.6);
}
.fx-star.sm { opacity: .55; text-shadow: none; }
@media (max-width: 620px) { .fx-star { display: none; } }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; position: relative; }
a { color: inherit; }
/* текстовые ссылки: салатовое подчёркивание, на ховере строка «прокрашивается маркером» */
p a:not(.btn), li a:not(.btn), td a:not(.btn), .site-foot a:not(.btn), .nav a:not(.btn), .a-author .aa-t a {
  color: inherit; text-decoration: underline;
  text-decoration-color: rgba(201,247,58,.6);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  background: linear-gradient(rgba(201,247,58,.16), rgba(201,247,58,.16)) no-repeat 0 100%/100% 0;
  transition: background-size .22s ease, text-decoration-color .15s ease;
}
p a:not(.btn):hover, li a:not(.btn):hover, td a:not(.btn):hover, .site-foot a:not(.btn):hover, .nav a:not(.btn):hover, .a-author .aa-t a:hover {
  text-decoration-color: var(--lime);
  background-size: 100% 100%;
}
::selection { background: var(--lime); color: #0b0d05; }
b, strong { color: var(--ink); }
code { font-family: ui-monospace, monospace; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: .9em; color: var(--lime); }

/* ---------- Шапка ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 12, .86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo-mark { display: flex; align-items: center; }
.logo { font-family: var(--font-d); font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo b { color: var(--lime); font-weight: 700; }
.logo:hover { color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-size: 14px; font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-t); font-weight: 800; font-size: 14.5px; letter-spacing: .01em;
  border-radius: 12px; padding: 13px 24px; cursor: pointer; border: none;
  text-decoration: none; white-space: nowrap; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn-accent::after { content: '↗'; font-weight: 800; transition: transform .18s ease; }
.btn-accent:hover::after { transform: translate(2px,-2px); animation: arrfly .45s ease; }
/* стрелка улетает и прилетает заново при наведении */
@keyframes arrfly {
  0% { transform: translate(0,0); opacity: 1; }
  45% { transform: translate(16px,-16px); opacity: 0; }
  55% { transform: translate(-14px,14px); opacity: 0; }
  100% { transform: translate(2px,-2px); opacity: 1; }
}
/* магнитные кнопки: JS пишет --magx/--magy, ховер-подъём складывается с магнитом */
@media (hover: hover) and (pointer: fine) {
  .btn { transform: translate(var(--magx, 0px), var(--magy, 0px)); }
  .btn-accent:hover, .btn-ghost:hover { transform: translate(var(--magx, 0px), calc(var(--magy, 0px) - 2px)); }
}
.btn-accent { background: var(--lime); color: #0b0d05 !important; box-shadow: 0 0 0 rgba(201,247,58,0); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(201,247,58,.25); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--ink) !important; }
.btn-ghost:hover { border-color: rgba(201,247,58,.55); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 15.5px; }

/* ---------- Секции, заголовки ---------- */
section { padding: 110px 0; position: relative; }
section[id] { scroll-margin-top: 76px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mut);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--lime); flex: 0 0 auto; }
.eyebrow i { font-style: normal; color: var(--lime); }
.sec-title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 22px; max-width: 820px;
}
.sec-title em, .sec-title mark { font-style: normal; background: none; color: var(--lime); }
.sec-sub { color: var(--mut); font-size: 18px; line-height: 1.65; max-width: 660px; margin-bottom: 56px; }
.sec-sub b { color: var(--ink); }
.ghost-num {
  position: absolute; top: 84px; right: 24px; pointer-events: none; user-select: none;
  font-family: var(--font-d); font-weight: 800; font-size: clamp(64px, 8vw, 116px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.17);
}

/* ---------- Hero ---------- */
.hero2 { padding: 60px 0 96px; overflow: hidden; }
.hero2 .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero2 h1 {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 22px;
}
.hero2 h1 mark { background: none; color: var(--lime); }
.hero2 .sub { font-size: 17.5px; color: var(--mut); margin-bottom: 38px; max-width: 560px; line-height: 1.65; }
.hero2 .sub b { color: var(--ink); }
.hero2 .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 13.5px; font-weight: 700; color: var(--mut); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(201,247,58,.8); }

/* Бегущая строка: при быстром скролле JS разгоняет ленту и слегка наклоняет */
.ticker {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015); padding: 20px 0; will-change: transform;
}
.ticker-in { display: flex; align-items: center; gap: 0; width: max-content; animation: tick 40s linear infinite; }
.ticker-in span {
  font-family: var(--font-d); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; padding: 0 26px; color: var(--ink);
}
.ticker-in span.dim { color: var(--mut); }
.ticker-in i { font-style: normal; color: var(--lime); font-size: 11px; flex: 0 0 auto; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none !important; } }

/* ---------- Мокап кабинета ---------- */
.mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(201,247,58,.06), 0 0 120px -40px rgba(201,247,58,.25);
  overflow: hidden; font-size: 11px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mock-bar .m-url { margin-left: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; color: var(--mut2); font-style: normal; font-size: 10.5px; }
.mock-body { padding: 18px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 14px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--panel2); }
.mock-kpi b { display: block; font-family: var(--font-d); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.mock-kpi span { color: var(--mut2); font-size: 8.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.mock-kpi.lit { background: var(--lime); border-color: var(--lime); }
.mock-kpi.lit b { color: #0b0d05; }
.mock-kpi.lit span { color: rgba(11,13,5,.65); }
.mock-row { display: flex; align-items: center; gap: 11px; padding: 9px 4px; border-top: 1px solid var(--line2); }
.mock-row .m-ph { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #1d2530, #141a22); border: 1px solid var(--line); flex-shrink: 0; }
.mock-row .m-t { flex: 1; min-width: 0; }
.mock-row .m-t b { display: block; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .m-t span { color: var(--mut2); font-size: 10px; }
.mock-chip { font-size: 9.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--lime); white-space: nowrap; }
.mock-chip.up { background: var(--lime); color: #0b0d05; }
.mock-note { margin-top: 12px; display: flex; align-items: center; gap: 9px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; color: var(--mut); font-size: 10.5px; }
.mock-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; box-shadow: 0 0 10px rgba(201,247,58,.8); }

/* ---------- Нумерованные редакционные списки ---------- */
.num-list { border-top: 1px solid var(--line); }
.num-row { display: grid; grid-template-columns: 90px 150px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.num-row .n {
  font-family: var(--font-d); font-weight: 800; font-size: 34px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22);
}
.num-row .tag {
  justify-self: start; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 7px; background: var(--lime-soft); color: var(--lime); margin-top: 6px;
}
.num-row .tag.warn { background: rgba(255,107,94,.12); color: var(--red); }
.num-row .tag.dim { background: rgba(255,197,85,.1); color: var(--amber); }
.num-row h3 { font-size: 19px; font-weight: 800; margin-bottom: 7px; letter-spacing: -.01em; }
.num-row p { color: var(--mut); font-size: 15px; max-width: 640px; }

/* ---------- Карточки ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: rgba(201,247,58,.35); transform: translateY(-2px); }
.card .k {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 7px; background: var(--lime-soft); color: var(--lime); margin-bottom: 16px;
}
.card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; letter-spacing: -.01em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--lime); }
.card p { color: var(--mut); font-size: 14.5px; }
.card p a { color: var(--ink); }

/* ---------- Statement (крупная фраза по центру) ---------- */
.statement { text-align: center; padding: 130px 0; }
.statement h2 { font-family: var(--font-d); font-weight: 700; font-size: clamp(26px, 4vw, 44px); line-height: 1.2; max-width: 880px; margin: 0 auto 16px; }
.statement h2 em { font-style: normal; color: var(--lime); }
.statement p { color: var(--mut); font-size: 16px; }

/* ---------- Сравнительная таблица ---------- */
.compare { overflow-x: auto; }
.compare table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14.5px;
}
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line2); }
.compare tr:last-child td { border-bottom: none; }
.compare th { background: var(--panel2); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--mut); font-weight: 800; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 700; }
.compare td:not(:first-child) { color: var(--mut); }
.compare .c-us { background: rgba(201,247,58,.07); border-left: 2px solid var(--lime); border-right: 1px solid var(--line2); color: var(--ink) !important; font-weight: 800; }
.compare th.c-us { background: var(--lime); color: #0b0d05 !important; }
.compare .yes { color: var(--lime) !important; font-weight: 800; }
.compare .no { color: var(--mut2) !important; }

/* ---------- Тарифная сетка ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; position: relative; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--lime); box-shadow: 0 0 60px -25px rgba(201,247,58,.4); }
.plan .p-badge {
  position: absolute; top: -11px; left: 22px; background: var(--lime); color: #0b0d05;
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.plan .p-name { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 14px; }
.plan .p-price { font-family: var(--font-d); font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.plan.hot .p-price { color: var(--lime); }
.plan .p-price small { font-size: 13px; color: var(--mut); font-weight: 600; font-family: var(--font-t); }
.plan .p-per { color: var(--mut2); font-size: 12.5px; margin: 4px 0 16px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 13.5px; color: var(--mut); flex: 1; }
.plan li { padding: 6px 0 6px 22px; position: relative; border-top: 1px solid var(--line2); }
.plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--lime); font-weight: 800; }
.plan .btn { width: 100%; }

/* ---------- Автор ---------- */
.author-sec { overflow: hidden; padding-bottom: 40px; }
.author-sec .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.author-info { padding-bottom: 80px; }
.author-photo { position: relative; overflow: visible; line-height: 0; margin: 0; }
.author-photo img {
  position: relative; z-index: 3; width: 100%; height: auto; display: block;
  filter: contrast(1.05) saturate(1.02) drop-shadow(-16px 8px 36px rgba(0,0,0,.5));
}
.hp-disc {
  position: absolute; left: 53%; top: 21%; transform: translateX(-50%);
  width: 96%; aspect-ratio: 1; background: var(--lime); border-radius: 50%; z-index: 1;
}
.hp-ring {
  position: absolute; left: 53%; top: 18.5%; transform: translateX(-50%);
  width: 104%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; z-index: 1;
}
.hp-spark { position: absolute; color: var(--lime); z-index: 4; line-height: 1; pointer-events: none; }
.hp-s1 { left: -4%; top: 28%; font-size: 30px; }
.hp-s2 { left: 6%; top: 36%; font-size: 17px; opacity: .7; }
/* «вылет» из-за диска: тёмные на лайме, лаймовые снаружи */
.hp-s3 { right: -6%; top: 9%; font-size: 26px; }
.hp-s4 { right: 7%; top: 38%; font-size: 15px; color: #0b0d05; }
.hp-s5 { left: 12%; top: 40%; font-size: 13px; color: #0b0d05; opacity: .85; }
/* лаймовый чип на кромке диска */
.hp-tag {
  position: absolute; right: -4px; top: 17%; z-index: 4;
  background: var(--lime); color: #0b0d05; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 6px 11px;
  transform: rotate(5deg);
}
/* круглый стикер на кромке диска */
.hp-sticker {
  position: absolute; left: -22px; bottom: 24%; z-index: 4;
  width: 138px; height: 138px; border-radius: 50%;
  background: #0c0e11; border: 1.5px solid var(--lime);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  transform: rotate(-8deg);
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
  transition: transform .25s ease;
}
.hp-sticker:hover { transform: rotate(-4deg) scale(1.05); }
.hp-sticker b { font-size: 15px; font-weight: 800; color: var(--lime); line-height: 1.15; }
.hp-sticker small { font-size: 11.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.author-info h2 { margin-bottom: 18px; }
.author-info .a-lead { color: var(--mut); font-size: 16.5px; margin-bottom: 26px; max-width: 560px; }
.author-info .a-lead b { color: var(--ink); }
.author-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.author-fact { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.author-fact b { display: block; font-family: var(--font-d); font-size: 22px; font-weight: 700; color: var(--lime); margin-bottom: 3px; }
.author-fact span { font-size: 12.5px; color: var(--mut); }

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--mut2); margin-bottom: 26px; }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs i { font-style: normal; color: var(--mut2); }

/* ---------- Оглавление статьи ---------- */
.toc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px; margin: 0; position: sticky; top: 88px;
}
.toc b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: 14.5px; counter-reset: toc; }
.toc li { counter-increment: toc; padding: 5px 0; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-d); font-size: 11px; font-weight: 700; color: var(--lime); margin-right: 12px; }
.toc a { color: #cfd6db; text-decoration: none; }
.toc a:hover { color: var(--lime); }

/* ---------- Мета статьи и автор в статье ---------- */
.a-meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--mut2); font-size: 13.5px; margin-bottom: 32px; }
.a-meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.a-meta-row span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.a-author {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px 22px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin: 56px 0 0;
}
.a-author img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 62% 18%;
  background: #14160f; border: 1px solid var(--line); flex-shrink: 0;
}
.a-author .aa-t { min-width: 0; }
.a-author .aa-t b { display: block; font-family: var(--font-d); font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.a-author .aa-t span { color: var(--mut); font-size: 13.5px; line-height: 1.5; display: block; }
.a-author .btn { white-space: nowrap; padding: 11px 18px; font-size: 13.5px; }

/* ---------- Читайте также ---------- */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.related-grid a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; font-weight: 700; font-size: 14.5px; transition: border-color .15s, transform .12s; }
.related-grid a::after { content: '→'; color: var(--lime); margin-left: 8px; }
.related-grid a:hover { border-color: rgba(201,247,58,.4); transform: translateY(-2px); color: var(--lime); }

/* ---------- Калькулятор тарифа ---------- */
.calc {
  background: var(--panel); border: 1px solid rgba(201,247,58,.4); border-radius: 22px;
  box-shadow: 0 0 90px -30px rgba(201,247,58,.3);
  padding: 40px 44px; max-width: 700px; margin: 0 auto;
}
.calc h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.calc .c-sub { color: var(--mut); font-size: 14px; margin-bottom: 26px; }
.calc input[type=range] { width: 100%; accent-color: var(--lime); height: 34px; }
.calc .c-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.calc .c-n { font-weight: 800; font-size: 19px; }
.calc .c-price { font-family: var(--font-d); font-size: 42px; font-weight: 700; letter-spacing: -.01em; color: var(--lime); }
.calc .c-price small { font-size: 15px; color: var(--mut); font-weight: 600; font-family: var(--font-t); }
.calc .c-per { color: var(--mut); font-size: 14px; text-align: right; }
.calc .c-steps { margin-top: 16px; font-size: 12.5px; color: var(--mut2); }
.calc .btn { margin-top: 24px; width: 100%; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 24px; font-weight: 800; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-d); color: var(--lime); font-size: 19px; font-weight: 700; flex-shrink: 0; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--mut); font-size: 14.5px; }
.faq details[open] { border-color: rgba(201,247,58,.3); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; counter-increment: step; position: relative; }
.step::before {
  content: '0' counter(step);
  font-family: var(--font-d); font-weight: 800; font-size: 30px;
  color: transparent; -webkit-text-stroke: 1px rgba(201,247,58,.55);
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--mut); font-size: 14.5px; }

/* ---------- Статьи и посадочные: колонка чтения + боковое оглавление ---------- */
.article-page { padding: 72px 0 48px; }
.article { max-width: none; margin: 0; padding: 0; }
.article .eyebrow { margin-bottom: 18px; }
.article h1 {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.01em;
  margin-bottom: 16px; max-width: 720px;
}
.article .a-meta { color: var(--mut2); font-size: 13.5px; margin-bottom: 36px; }
.article-grid {
  display: grid; grid-template-columns: minmax(0, 680px) 280px;
  gap: 72px; align-items: start; margin-top: 8px;
}
.article-body { max-width: 680px; }
.article h2 {
  font-family: var(--font-d); font-weight: 700; font-size: 23px; letter-spacing: -.01em;
  margin: 46px 0 14px; padding-top: 26px; border-top: 1px solid var(--line);
}
.article h3 { font-size: 17px; font-weight: 800; margin: 26px 0 8px; }
.article p { margin-bottom: 16px; font-size: 17px; line-height: 1.75; color: #cfd6db; }
.article ul, .article ol { margin: 0 0 15px 22px; font-size: 16px; color: #cfd6db; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--lime); font-weight: 800; }
.article .a-cta { background: var(--panel); border: 1px solid rgba(201,247,58,.4); border-radius: 16px; padding: 24px 26px; margin: 34px 0; box-shadow: 0 0 60px -25px rgba(201,247,58,.35); }
.article .a-cta b { display: block; margin-bottom: 7px; font-size: 16.5px; }
.article .a-cta { color: var(--mut); font-size: 14.5px; }
.article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 18px; font-size: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.article th, .article td { border-bottom: 1px solid var(--line2); padding: 10px 14px; text-align: left; }
.article tr:last-child td { border-bottom: none; }
.article th { background: var(--panel2); color: var(--mut); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.article blockquote { border-left: 2px solid var(--lime); padding: 4px 0 4px 18px; margin: 0 0 15px; color: var(--mut); }

/* ---------- Блог ---------- */
.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: none; margin: 0; }
.blog-card {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; text-decoration: none; transition: border-color .15s, transform .12s;
}
.blog-card:hover { border-color: rgba(201,247,58,.4); transform: translateY(-2px); color: var(--ink); }
.blog-card .k { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--lime-soft); color: var(--lime); margin-bottom: 12px; }
.blog-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; letter-spacing: -.01em; }
.blog-card:hover h3 { color: var(--lime); }
.blog-card p { color: var(--mut); font-size: 14px; }

/* ---------- Футер ---------- */
/* ---------- Политика / реквизиты ---------- */
.privacy { padding: 40px 0; border-top: 1px solid var(--line2); margin-top: 40px; }
.privacy details.pp { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); }
.privacy details.pp + details.pp { margin-top: 12px; }
.privacy details.pp summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  transition: color .15s;
}
.privacy details.pp summary:hover { color: var(--lime); }
.privacy details.pp summary::-webkit-details-marker { display: none; }
.privacy details.pp summary::after { content: '+'; font-family: var(--font-d); color: var(--lime); font-size: 18px; margin-left: auto; }
.privacy details.pp[open] summary::after { content: '–'; }
.privacy .pp-hint { font-family: var(--font-t); font-size: 11.5px; font-weight: 700; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; }
.privacy .pp-body { padding: 2px 24px 22px; }
.privacy .pp-body p { color: var(--mut); font-size: 13px; margin-bottom: 10px; max-width: 820px; line-height: 1.7; }

/* ---------- Футер ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 48px; overflow: hidden; }
.ft-mark {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(28px, 10.2vw, 150px); line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
  user-select: none; white-space: nowrap; margin-bottom: 48px;
  /* два слоя сквозь контур букв: заливка за курсором (--fx/--fy пишет JS)
     и бегущий блик как idle-анимация */
  background:
    radial-gradient(320px 320px at var(--fx,-999px) var(--fy,-999px),
      rgba(201,247,58,.85), rgba(201,247,58,.14) 55%, transparent 75%),
    linear-gradient(115deg,
      transparent 0 38%, rgba(201,247,58,.05) 44%, rgba(201,247,58,.28) 50%,
      rgba(201,247,58,.05) 56%, transparent 62% 100%);
  background-size: 100% 100%, 260% 100%; background-position: 0 0, 130% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: markshine 7s ease-in-out infinite;
}
.ft-mark .fm-l {
  display: inline-block; transform: translateY(var(--ly, 0px));
  background: radial-gradient(320px 320px at calc(var(--fx,-9999px) - var(--ox,0px)) var(--fy,0px),
    rgba(201,247,58,.9), rgba(201,247,58,.16) 55%, transparent 75%);
  -webkit-background-clip: text; background-clip: text;
}
.ft-mark.pre .fm-l { opacity: 0; }
.ft-mark.on .fm-l {
  opacity: 1;
  animation: fmup .7s cubic-bezier(.19,1,.22,1) backwards,
             fmglow 6s ease-in-out infinite;
  animation-delay: calc(var(--i)*55ms), calc(var(--i)*140ms + 1.4s);
}
@keyframes fmup {
  from { opacity: 0; transform: translateY(.55em); }
  to { opacity: 1; transform: translateY(var(--ly, 0px)); }
}
@keyframes fmglow {
  0%, 74%, 88%, 100% { color: transparent; }
  81% { color: rgba(201,247,58,.4); }
}
.ft-mark b { color: transparent; -webkit-text-stroke: 1px rgba(201,247,58,.35); animation: markglow 7s ease-in-out infinite; }
@keyframes markshine {
  0%, 35% { background-position: 130% 0; }
  85%, 100% { background-position: -130% 0; }
}
@keyframes markglow {
  0%, 45%, 100% { filter: drop-shadow(0 0 0 rgba(201,247,58,0)); }
  62% { filter: drop-shadow(0 0 18px rgba(201,247,58,.45)); }
}
@media (prefers-reduced-motion: reduce) { .ft-mark, .ft-mark b { animation: none; } }
.ft { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.ft-name { font-family: var(--font-d); font-size: 14px; font-weight: 600; }
.ft-name small { display: block; font-family: var(--font-t); font-size: 12px; font-weight: 600; color: var(--mut); margin-top: 8px; }
.ft-links { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.ft-contacts { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.ft-legal { font-size: 12px; color: var(--mut); line-height: 1.8; text-align: right; }

/* ---------- Auth ---------- */
.auth-body { display: flex; flex-direction: column; min-height: 100vh; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 38px 36px; box-shadow: 0 0 80px -30px rgba(201,247,58,.2);
}
.auth-card h1 { font-family: var(--font-d); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-card .lead { color: var(--mut); font-size: 14px; margin-bottom: 26px; }
.auth-card label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: 16px 0 7px; }
.auth-card input {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 15px; font-size: 15px; color: var(--ink); font-family: var(--font-t); outline: none;
}
.auth-card input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.auth-card .btn { width: 100%; margin-top: 24px; }
.auth-err { color: var(--red); font-size: 13.5px; margin-top: 14px; min-height: 18px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--mut); }
.auth-fine { font-size: 12px; color: var(--mut2); margin-top: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .a-author { grid-template-columns: 72px 1fr; }
  .a-author .btn { grid-column: 1 / -1; justify-self: start; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .hero2 .wrap { grid-template-columns: 1fr; }
  .ghost-num { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
  .author-sec .wrap { grid-template-columns: 1fr; }
  .author-facts { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .blog-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .grid, .grid-2, .steps { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .num-row { grid-template-columns: 54px 1fr; }
  .num-row .tag { display: none; }
  .num-row .n { font-size: 24px; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .calc { padding: 28px 22px; }
  .statement { padding: 70px 0; }
  .plans, .related-grid { grid-template-columns: 1fr; }
}
