/* Сайт Tonykhelper (T54): продолжение приложения — те же цвета, шрифты, кольцо-логотип. Две темы токенами. */
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root, :root[data-theme="dark"] {
  --bg: #0B0A1A; --bg2: #100F24; --card: #16152B; --card2: #1C1B36; --line: rgba(255,255,255,.08);
  --text: #F3F0E8; --hint: #A9A5BD; --mute: #8C88A3;
  --gold: #E3CB92; --gold-2: #C9A866; --gold-bg: rgba(227,203,146,.12);
  --em: #2CC28F; --em-bg: rgba(44,194,143,.13); --pu: #A97FE0; --pu-bg: rgba(180,139,230,.14); --sky: #7FA7E0; --sky-bg: rgba(127,167,224,.14);
  --neg: #F08A93;
  --grad: linear-gradient(135deg, #F1E2B8, #C9A866); --on-grad: #1A1508;
  --glow: radial-gradient(closest-side, rgba(142,98,201,.28), transparent);
  --glow2: radial-gradient(closest-side, rgba(44,194,143,.16), transparent);
  --header: rgba(11,10,26,.78); --shadow: 0 24px 60px rgba(0,0,0,.45);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F4F3F8; --bg2: #ECEAF3; --card: #FFFFFF; --card2: #F8F7FB; --line: rgba(23,20,43,.09);
  --text: #17142B; --hint: #5F5A75; --mute: #6B6680;
  --gold: #85672E; --gold-2: #B8975A; --gold-bg: rgba(184,151,90,.14);
  --em: #0E7A57; --em-bg: rgba(35,180,134,.12); --pu: #6D45A8; --pu-bg: rgba(164,123,219,.13); --sky: #3F6AAE; --sky-bg: rgba(91,132,196,.13);
  --neg: #C2344A;
  --glow: radial-gradient(closest-side, rgba(142,98,201,.16), transparent);
  --glow2: radial-gradient(closest-side, rgba(35,180,134,.12), transparent);
  --header: rgba(244,243,248,.82); --shadow: 0 24px 60px rgba(23,20,43,.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: Unbounded, Manrope, sans-serif; font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }
html[data-theme="light"] .th-dark, html[data-theme="dark"] .th-light { display: none !important; }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 0; font: 700 15px/1.2 Manrope, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--grad); color: var(--on-grad); box-shadow: 0 6px 20px rgba(201,168,102,.25); }
.btn.gold:hover { box-shadow: 0 8px 28px rgba(201,168,102,.38); }
.btn.line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 45%, transparent); }
.btn.line:hover { background: var(--gold-bg); }
.btn.ghost { background: transparent; color: var(--gold); padding: 10px 12px; }
.btn.ghost:hover { background: var(--gold-bg); }
.btn.lg { min-height: 54px; padding: 14px 24px; font-size: 16px; }

/* --- шапка --- */
.top { position: sticky; top: 0; z-index: 40; background: var(--header); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 19px Unbounded, sans-serif; }
.ring { width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: conic-gradient(from 210deg, #F1E2B8, #C9A866, #8E62C9, #B48BE6, #127A5C, #2CC28F, #F1E2B8);
  -webkit-mask: radial-gradient(circle, transparent 7.5px, #000 8.5px); mask: radial-gradient(circle, transparent 7.5px, #000 8.5px); }
.menu { display: flex; gap: 4px; margin-left: 12px; }
.menu a { color: var(--hint); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.menu a:hover { color: var(--text); background: var(--card); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.theme button { width: 34px; height: 32px; border: 0; border-radius: 999px; background: none; color: var(--mute); cursor: pointer;
  display: grid; place-items: center; }
.theme button[aria-pressed="true"] { background: var(--gold-bg); color: var(--gold); }
.theme svg { width: 17px; height: 17px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--card); color: var(--text); cursor: pointer;
  place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.burger svg { width: 22px; height: 22px; }
.drawer { display: none; }
@media (max-width: 1100px) { .menu { display: none; } .burger { display: grid; } .top-actions .hide-md { display: none; } }
@media (max-width: 600px) { .top-actions .theme { display: none; } .top-in { gap: 10px; } .brand { font-size: 17px; } }
.drawer.open { display: block; border-top: 1px solid var(--line); padding: 12px 0 18px; }
.drawer nav { display: grid; gap: 2px; margin-bottom: 14px; }
.drawer nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.drawer .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.drawer .row .btn { flex: 1 1 160px; }
.drawer .theme { margin-top: 14px; }

/* --- первый экран --- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; background: var(--glow); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; left: -300px; top: 80px; background: var(--glow2); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 15px; margin-bottom: 18px;
  background: var(--gold-bg); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #F1E2B8, #C9A866 45%, #B48BE6); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .hero h1 em { background: linear-gradient(120deg, #9C7A3E, #85672E 45%, #6D45A8); -webkit-background-clip: text; background-clip: text; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--hint); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ro { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--text); }
.ro svg { width: 22px; height: 22px; color: var(--em); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; color: var(--hint); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 12px; border-radius: 999px; }
.login-link { margin-top: 14px; font-size: 15px; color: var(--hint); }

.shots { position: relative; padding: 0 0 64px 40px; }
.browser { border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.browser .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--card2); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .bar span { margin-left: 12px; font-size: 12px; color: var(--mute); background: var(--bg); padding: 3px 12px; border-radius: 8px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.phone { position: absolute; left: 0; bottom: 0; width: 34%; min-width: 150px; border-radius: 30px; padding: 7px; background: #0E0D1C;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 24px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.caption { margin-top: 12px; font-size: 13px; color: var(--mute); text-align: right; }
@media (max-width: 980px) {
  .hero { padding-top: 36px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .shots { padding: 0 0 48px 22%; }
  .phone { width: 36%; }
}
@media (max-width: 600px) { .cta .btn { width: 100%; } .shots { padding-left: 14%; } .phone { width: 42%; border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 18px; } }

/* --- секции --- */
section { position: relative; }
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg2); }
@media (max-width: 700px) { .sec { padding: 60px 0; } }
.sec-head { max-width: 880px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.sec h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.15; }
.sec-head p { margin-top: 14px; color: var(--hint); font-size: 18px; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g4, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: 20px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.card p { color: var(--hint); font-size: 16px; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 24px; height: 24px; }
.ic.gold { background: var(--gold-bg); color: var(--gold); } .ic.em { background: var(--em-bg); color: var(--em); }
.ic.pu { background: var(--pu-bg); color: var(--pu); } .ic.sky { background: var(--sky-bg); color: var(--sky); }
.pain { font-family: Unbounded, sans-serif; font-weight: 600; font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.pain-q { display: block; font-size: 34px; line-height: 1; margin-bottom: 14px; color: var(--gold); }
.example { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--card2); font-size: 15px; color: var(--text); }
.example b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* --- экраны приложения --- */
.screens { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs button { border: 0; cursor: pointer; font: 700 15px Manrope, sans-serif; padding: 10px 16px; border-radius: 999px; min-height: 44px;
  background: var(--card); color: var(--hint); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button[aria-selected="true"] { background: var(--grad); color: var(--on-grad); box-shadow: none; }
.panel h3 { font-size: 24px; margin-bottom: 14px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.panel li { position: relative; padding-left: 30px; color: var(--hint); }
.panel li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--em-bg);
  -webkit-mask: none; box-shadow: inset 0 0 0 5px var(--em-bg); }
.panel li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--em); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.panel li b { color: var(--text); font-weight: 700; }
.phone-big { border-radius: 40px; padding: 9px; background: #0E0D1C; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08); max-width: 360px; margin: 0 auto; }
.phone-big img { border-radius: 32px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .screens { grid-template-columns: 1fr; gap: 32px; } .phone-big { max-width: 300px; } }
.tabs-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.tabs-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .tabs { flex-wrap: nowrap; } .tabs button { flex: none; } }

/* --- безопасность --- */
.safe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.safe-big { font-family: Unbounded, sans-serif; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.safe-big span { color: var(--em); }
.safe-note { margin-top: 18px; color: var(--hint); font-size: 18px; }
.safe-list { display: grid; gap: 12px; }
.safe-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.safe-item .ic { margin: 0; }
.safe-item h3 { font-size: 17px; margin: 2px 0 4px; }
.safe-item p { color: var(--hint); font-size: 16px; }
@media (max-width: 900px) { .safe { grid-template-columns: 1fr; gap: 32px; } }

/* --- как начать --- */
.steps { counter-reset: st; }
.step { position: relative; }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: var(--on-grad); font: 600 18px Unbounded, sans-serif; margin-bottom: 16px; }

/* --- сравнение --- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 20px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 14px; color: var(--hint); font-weight: 700; background: var(--card2); }
.cmp thead th.us { color: var(--gold); }
.cmp td:first-child { font-weight: 700; width: 26%; }
.cmp td.us { color: var(--text); }
.cmp td.us::before { content: "✓ "; color: var(--em); font-weight: 800; }
.cmp td.them { color: var(--hint); }
.foot-note { margin-top: 14px; font-size: 14px; color: var(--mute); }
@media (max-width: 760px) {
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .cmp td { padding: 4px 0; border: 0; }
  .cmp td:first-child { width: 100%; font-size: 17px; margin-bottom: 4px; }
  .cmp td.us::before { content: "Tonykhelper: "; color: var(--em); }
  .cmp td.them::before { content: "Обычно у других: "; color: var(--mute); font-weight: 700; }
}

/* --- цена --- */
.price { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; border-radius: 24px;
  background: linear-gradient(135deg, var(--gold-bg), var(--pu-bg)); box-shadow: inset 0 0 0 1px var(--line); }
.price-big { font: 600 44px Unbounded, sans-serif; color: var(--gold); }
.price p { color: var(--hint); }
.price h3 { font-size: 22px; margin-bottom: 6px; }
@media (max-width: 800px) { .price { grid-template-columns: 1fr; text-align: left; } }

/* --- вопросы --- */
.faq { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--gold);
  border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 22px 20px; color: var(--hint); }
.faq .ans p + p { margin-top: 10px; }

/* --- финальный призыв --- */
.final { text-align: center; padding: 72px 24px; border-radius: 28px; position: relative; overflow: hidden; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); }
.final::before { content: ""; position: absolute; inset: -40% -10% auto; height: 140%; background: var(--glow); pointer-events: none; }
.final > * { position: relative; }
.final h2 { font-size: clamp(26px, 3.4vw, 44px); }
.final p { margin: 14px auto 0; max-width: 620px; color: var(--hint); font-size: 18px; }
.final .cta { justify-content: center; }
.join-row { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 12px; justify-content: center; margin-top: 30px; }
@media (max-width: 640px) { .join-row { grid-template-columns: 1fr; } .final { padding: 48px 18px; } }

/* --- кнопки мессенджеров --- */
.msgr { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; text-decoration: none; color: #fff; text-align: left;
  min-height: 64px; font-size: 16px; line-height: 1.25; transition: transform .15s, box-shadow .15s; }
.msgr:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.msgr b { display: block; font-size: 17px; }
.msgr small { display: block; opacity: .88; font-size: 13px; font-weight: 600; }
.msgr .mi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); flex: none; }
.msgr .mi svg { width: 22px; height: 22px; }
.msgr.tg { background: #2A9BD8; }
.msgr.mx { background: linear-gradient(135deg, #3E7BFA, #8E62C9); }

/* --- окно регистрации --- */
dialog.join { width: min(480px, calc(100vw - 24px)); border: 0; padding: 0; border-radius: 24px; background: var(--card); color: var(--text);
  box-shadow: var(--shadow), 0 0 0 1px var(--line); }
dialog.join::backdrop { background: rgba(5,4,14,.6); backdrop-filter: blur(4px); }
.join-in { padding: 28px; }
.join-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.join-head h2 { font-size: 24px; }
.x { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--card2); color: var(--hint); cursor: pointer; font-size: 22px; line-height: 1; }
.join-lead { margin: 10px 0 20px; color: var(--hint); }
.join-btns { display: grid; gap: 10px; }
.join-steps { margin: 20px 0 0; padding-left: 22px; color: var(--hint); display: grid; gap: 6px; font-size: 15px; }
.join-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--hint); }

/* --- подвал --- */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 88px; font-size: 15px; color: var(--hint); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

/* --- документы --- */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 0 24px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin-bottom: 10px; }
.doc .ed { color: var(--mute); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-size: 20px; margin: 34px 0 12px; }
.doc p, .doc li { color: var(--hint); }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc .req { background: var(--card); border-radius: 16px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 12px; }
.back { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 26px; font-weight: 700; text-decoration: none; }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.nf p { color: var(--hint); margin-bottom: 26px; }
