@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/golos-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/golos-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --ink: #13262c;
  --muted: #5a6a6f;
  --line: #e3dfd6;
  --brand: #0f4c5c;
  --brand-2: #1d7486;
  --brand-soft: #e2eff1;
  --accent: #d9601a;
  --accent-soft: #fbe9dc;
  --ok: #1f7a4d;
  --error: #b42318;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(16 37 43 / .05), 0 6px 24px -12px rgb(16 37 43 / .18);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1a1d; --surface: #142327; --surface-2: #11201f; --ink: #e6eef0; --muted: #9fb2b6; --line: #24383d;
    --brand: #7cc4d1; --brand-2: #8fd3df; --brand-soft: #18343a; --accent: #f2924f; --accent-soft: #3a2618;
    --ok: #5fcf96; --error: #ff8a80; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 6px 24px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
  .hero-art img, .article-figure img, .feature-card img { filter: brightness(.92) saturate(.95); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 2.4vw, 28px); }
h3 { font-size: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { margin-top: 64px; }
.section-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 22px; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; color: var(--brand); }
.logo-text { font-size: 18px; line-height: 1.05; }
.logo-text small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.main-nav .nav-cta { background: var(--brand); color: #fff; }
.main-nav .nav-cta:hover { background: var(--brand-2); color: #fff; }
@media (prefers-color-scheme: dark) { .main-nav .nav-cta, .main-nav .nav-cta:hover { color: #0e1a1d; } }

/* ---------- Поиск ---------- */
.search { position: relative; display: flex; flex: 1; max-width: 460px; }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); }
.search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 20px; height: 20px; }
.search-hero { max-width: 620px; margin: 26px 0 12px; }
.search-hero input { height: 58px; font-size: 17px; padding: 0 130px 0 22px; box-shadow: var(--shadow); }
.search-hero button { width: auto; height: 48px; top: 5px; right: 5px; padding: 0 24px; border-radius: 999px; background: var(--brand); color: #fff; font: 600 16px var(--font); }
.search-hero button:hover { background: var(--brand-2); }
@media (prefers-color-scheme: dark) { .search-hero button { color: #0e1a1d; } }
.search-suggest { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 60vh; overflow: auto; }
.search-suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.search-suggest a small { color: var(--muted); text-align: right; font-size: 12px; }
.search-suggest [aria-selected="true"] a, .search-suggest a:hover { background: var(--brand-soft); }

/* ---------- Главная ---------- */
.hero { padding: 56px 0 24px; background:
  radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 70%),
  radial-gradient(600px 300px at -10% 110%, var(--accent-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--brand-2); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 16px; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 40ch; margin: 0; }
.hero-hints { color: var(--muted); font-size: 15px; margin: 0; }
.hero-art img { display: block; width: 100%; max-width: 480px; margin-left: auto; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat-card:hover { color: var(--ink); border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.cat-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-icon-lg { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.cat-icon-lg .icon { width: 34px; height: 34px; }
.cat-name { font-weight: 600; line-height: 1.3; }
.cat-count { color: var(--muted); font-size: 14px; }
.cat-grid-compact { margin-top: 32px; }

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.feature-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--brand-soft); }
.feature-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.feature-body small { color: var(--brand-2); font-weight: 600; font-size: 13px; }
.feature-body b { font-size: 20px; line-height: 1.25; }
.feature-body span { color: var(--muted); font-size: 15px; }

.alphabet { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; }
.alphabet a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.alphabet a:hover, .alphabet a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 22px; background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .88; }
@media (prefers-color-scheme: dark) { .cta-band { background: linear-gradient(120deg, #164a55, #1d6170); } }

/* ---------- Кнопки и общие элементы ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 600 16px var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-2); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--accent-soft); color: var(--brand); }
@media (prefers-color-scheme: dark) { .btn { color: #0e1a1d; } .btn:hover { color: #0e1a1d; } .btn-light { background: #e6eef0; color: #0f4c5c; } }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 14px; }
.badge { flex: none; align-self: center; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-2); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.page-head { display: flex; gap: 20px; align-items: center; padding: 22px 0 28px; }
.page-head h1 { margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--muted); margin: 0; max-width: 62ch; }
.letter-big { flex: none; width: 76px; height: 76px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 42px; font-weight: 700; }

.article-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article-list li { display: flex; gap: 12px; padding: 0 18px; border-top: 1px solid var(--line); }
.article-list li:first-child { border-top: 0; }
.article-list a { flex: 1; display: grid; gap: 2px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.article-list a:hover b { color: var(--brand-2); text-decoration: underline; text-underline-offset: .18em; }
.article-list a span { color: var(--muted); font-size: 15px; }
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.filter input { width: 100%; height: 46px; padding: 0 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.side-nav { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.side-nav a small { color: var(--muted); }
.side-nav a:hover, .side-nav a[aria-current] { background: var(--brand-soft); color: var(--brand); }

.az-columns { columns: 3 260px; column-gap: 32px; }
.az-group { break-inside: avoid; margin-bottom: 26px; }
.az-group h2 { font-size: 26px; color: var(--brand); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.az-group ul { list-style: none; margin: 0; padding: 0; }
.az-group li { padding: 3px 0; }
.az-group a { color: var(--ink); text-decoration: none; }
.az-group a:hover { color: var(--brand-2); text-decoration: underline; }

/* ---------- Статья ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "head head" "main aside"; column-gap: 48px; }
.article-head { grid-area: head; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding: 20px 0 36px; }
.article-head.has-image { grid-template-columns: 1.1fr .9fr; }
.article-head h1 { margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.article-meta li + li::before { content: "·"; margin-right: 18px; margin-left: -9px; color: var(--line); }
.article-figure { margin: 0; }
.article-figure img { display: block; width: 100%; border-radius: 20px; background: var(--brand-soft); aspect-ratio: 4 / 3; object-fit: cover; }
.article-main { grid-area: main; min-width: 0; }
.article-aside { grid-area: aside; }
.aside-sticky { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.toc-title { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; border-left: 2px solid transparent; }
.toc .toc-l3 a { padding-left: 22px; font-size: 14px; color: var(--muted); }
.toc a:hover { background: var(--brand-soft); color: var(--brand); }
.toc a.is-active { border-left-color: var(--accent); background: var(--surface-2); color: var(--brand); font-weight: 600; }
.toc-faq a { color: var(--accent); font-weight: 600; }
.aside-cta { margin-top: 16px; padding: 18px; border-radius: var(--radius); background: var(--accent-soft); font-size: 15px; }
.aside-cta p { margin: 0 0 12px; }
.aside-cta .btn { width: 100%; }

.summary { margin: 0 0 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--brand-soft); border-left: 4px solid var(--brand-2); }
.summary-title { margin: 0 0 6px !important; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.summary p { margin: 0 0 8px; }
.summary p:last-child { margin: 0; }

.prose { font-size: 18px; line-height: 1.7; max-width: 72ch; }
.prose > p { margin: 0 0 1.05em; }
.prose h2 { margin: 1.8em 0 .6em; padding-top: .2em; }
.prose h3 { margin: 1.5em 0 .5em; color: var(--brand); }
.prose h2 + h3 { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose strong, .prose b { font-weight: 650; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table-scroll table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.table-scroll td, .table-scroll th { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll thead td, .table-scroll th { background: var(--surface-2); font-weight: 600; }

.notice { margin: 32px 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; max-width: 72ch; }

.faq { margin: 40px 0; scroll-margin-top: 88px; }
.faq h2 { margin-bottom: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-weight: 600; font-size: 17px; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--brand-2); }
.faq-answer { padding: 0 20px 16px; color: var(--ink); }
.faq-answer p { margin: 0 0 .7em; }
.faq-answer p:last-child { margin: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; font-size: 14px; color: var(--muted); }
.share a, .share button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand-2); color: var(--brand-2); }

.related { margin: 40px 0; }
.related h2 { font-size: 22px; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mini-card { display: grid; gap: 4px; height: 100%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.mini-card small { font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mini-card:hover { border-color: var(--brand-2); color: var(--brand-2); }

/* ---------- Формы ---------- */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink); font: 400 16px var(--font); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); }
.form [aria-invalid] { border-color: var(--error) !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: start; }
.req { color: var(--accent); }
.field-error { color: var(--error); font-weight: 500; font-size: 14px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-ok { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.alert-error { background: color-mix(in srgb, var(--error) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--error) 35%, transparent); }

/* ---------- Подвал ---------- */
.site-footer { margin-top: 80px; padding: 48px 0 24px; background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 40px; }
.footer-brand { margin: 0 0 12px; }
.footer-note { color: var(--muted); font-size: 14px; margin: 0; }
.footer-title { margin: 0 0 10px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--brand-2); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; grid-template-areas: "head" "aside" "main"; }
  .aside-sticky { position: static; max-height: none; }
  .article-aside { margin-bottom: 24px; }
  .toc ol { columns: 2 220px; }
  .aside-cta { display: none; }
  .with-sidebar { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { flex-wrap: wrap; gap: 10px 8px; padding-block: 10px; }
  .main-nav { gap: 2px; }
  .main-nav a { font-size: 14px; }
  .main-nav a[href="/#razdely"] { display: none; }
  .logo-text { font-size: 16px; }
  .logo-mark { width: 34px; height: 34px; }
  .site-header .search { order: 3; flex-basis: 100%; max-width: none; }
  .main-nav a:not(.nav-cta) { padding: 8px; }
  .main-nav .nav-cta { padding: 8px 12px; }
  .logo-text small { display: none; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 220px; margin: 0 auto; }
  .search-hero input { height: 52px; padding-right: 100px; }
  .search-hero button { height: 42px; padding: 0 16px; }
  .article-head.has-image { grid-template-columns: 1fr; }
  .article-figure { order: -1; }
  .prose { font-size: 17px; }
  .form { padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { align-items: flex-start; }
  .breadcrumbs [aria-current] { max-width: 24ch; }
}
@media (max-width: 420px) {
  .main-nav a[href="/alfavit/"] { display: none; }
}
@media print {
  .site-header, .site-footer, .article-aside, .share, .related, .breadcrumbs { display: none !important; }
  .article-layout { display: block; }
  .faq-item { break-inside: avoid; }
  body { background: #fff; }
}

/* Вопросы посетителей */
.visitor-qa { margin: 32px 0 40px; scroll-margin-top: 88px; }
.qa-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qa-links a { display: block; padding: 12px 16px 12px 42px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.qa-links a::before { content: "?"; position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; line-height: 18px; text-align: center; }
.qa-links a:hover { border-color: var(--brand-2); color: var(--brand-2); }
.qa-question { margin: 0 0 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.qa-question p { margin: 0 0 8px; }
.qa-question p:last-child { margin: 0; }
.qa-answer h2 { margin-top: 0; }
.qa-links small { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 500; white-space: nowrap; }
.visitor-qa h2 { margin-bottom: 14px; }
.ask-inline { display: grid; gap: 10px; margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-soft); }
.ask-inline label { margin: 0; font-weight: 400; }
.ask-inline textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); resize: vertical; }
.ask-inline .btn { justify-self: start; }
