/* ─────────────────────────────────────────────────────────────
   Uniqly AI — стили SEO-страниц (/blog/…, /testy/…).
   Собирается scripts/build-seo.mjs → dist-seo/seo.css?v=<хеш>.
   Палитра и шрифты — как на главной и правовых страницах:
   фон #0E0E10, текст #F2EDE3 / #9A968E, золото #C9A86A / #E4D2A8,
   заголовки Bona Nova, текст Manrope, бренд Sora.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0E0E10;
  --ink-2: #211E24;
  --cream: #F2EDE3;
  --cream-soft: rgba(242, 237, 227, 0.86);
  --mist: #9A968E;
  --mist-dim: rgba(154, 150, 142, 0.7);
  --gold: #C9A86A;
  --gold-soft: #E4D2A8;
  --gold-hi: #F3E6C6;
  --gold-line: rgba(201, 168, 106, 0.24);
  --gold-faint: rgba(201, 168, 106, 0.07);
  --rule: rgba(242, 237, 227, 0.08);
  --font-display: 'Bona Nova', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-brand: 'Sora', 'Manrope', -apple-system, system-ui, sans-serif;
  --col: 720px;
  --wide: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background-color: var(--ink);
  background-image: radial-gradient(130% 90% at 50% -15%, #211E24 0%, #0E0E10 58%);
  background-repeat: no-repeat;
  background-size: 100% 1400px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
  overflow-x: hidden;
}

::selection { background: rgba(201, 168, 106, 0.32); color: var(--cream); }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }
.s-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-nw { white-space: nowrap; }

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.s-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 30;
  padding: 8px 14px; border-radius: 10px;
  background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.s-skip:focus { left: 16px; }

/* ── Шапка: закреплена при прокрутке, Liquid Glass ─────────── */
.s-head {
  position: fixed; z-index: 50;
  top: max(10px, env(safe-area-inset-top));
  left: 0; right: 0;
  padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  pointer-events: none;
}
.s-head-space { height: 84px; flex: 0 0 auto; }
.s-head-bar {
  pointer-events: auto;
  position: relative;
  width: 100%; max-width: var(--wide); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03) 45%, rgba(201,168,106,0.06));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.25), 0 10px 34px rgba(0,0,0,0.38);
  transition: background .3s, box-shadow .3s;
}
.s-head-bar::before, .s-menu-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 18% -40%, rgba(255,255,255,0.18), transparent 55%);
}
.s-head.is-scrolled .s-head-bar {
  background: linear-gradient(135deg, rgba(34,31,36,0.62), rgba(20,19,22,0.55) 50%, rgba(201,168,106,0.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.3), 0 14px 40px rgba(0,0,0,0.5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .s-head-bar, .s-menu-panel { background: rgba(24, 22, 26, 0.94); }
}
.s-brand {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px; margin-right: auto;
  color: var(--gold-soft); text-decoration: none;
  font-family: var(--font-brand); font-weight: 600; font-size: 15.5px; letter-spacing: 1.2px;
  white-space: nowrap;
}
.s-brand img { width: 26px; height: 28px; filter: drop-shadow(0 0 10px rgba(201, 168, 106, 0.35)); }
.s-brand:hover { color: var(--gold-hi); }
.s-nav { position: relative; display: flex; align-items: center; gap: 2px; }
.s-nav-link {
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-brand); font-size: 13.5px; color: rgba(242, 237, 227, 0.82); text-decoration: none; letter-spacing: .3px;
  white-space: nowrap; transition: color .2s, background .2s;
}
.s-nav-link:hover, .s-nav-link[aria-current="page"] { color: var(--gold-soft); background: rgba(255,255,255,0.07); }
.s-drop { position: relative; }
.s-drop-btn { display: inline-flex; align-items: center; gap: 6px; }
.s-drop-btn svg { opacity: .7; transition: transform .2s; }
.s-drop-panel {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px);
  width: max-content; min-width: 260px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; padding: 8px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(36,33,38,0.98), rgba(20,19,22,0.98));
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 18px 44px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.s-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.s-drop:hover .s-drop-panel, .s-drop:focus-within .s-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s-drop:hover .s-drop-btn svg, .s-drop:focus-within .s-drop-btn svg { transform: rotate(180deg); }
.s-drop-panel .s-menu-link { font-size: 14.5px; padding: 11px 14px; white-space: nowrap; }
.s-drop-all { color: var(--gold-soft) !important; }
.s-drop-paid { display: flex !important; align-items: center; gap: 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 14px 14px 0 0 !important; color: var(--gold-soft) !important; font-weight: 600; }
.s-drop-paid img { width: 18px; height: 19px; flex: 0 0 auto; filter: drop-shadow(0 0 6px rgba(201,168,106,0.35)); }
.s-menu-sub.s-drop-paid { border-radius: 14px !important; border-bottom: 0; margin-bottom: 0; }
.s-menu-sub { padding-left: 30px !important; font-size: 14.5px !important; color: rgba(242,237,227,0.78) !important; }
/* Вход в личный кабинет — иконкой рядом с кнопкой, доступен с любой страницы */
.s-head-lk { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  margin-left: 6px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold-soft); flex: 0 0 auto; }
.s-head-lk:hover { color: var(--cream); border-color: var(--gold); background: rgba(201, 168, 106, 0.1); }

.s-head-cta {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #C9A86A, #B0925A);
  color: #0E0E10; text-decoration: none;
  font-size: 13.5px; font-weight: 600; letter-spacing: .2px; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 14px rgba(201,168,106,0.25);
  transition: filter .2s;
}
.s-head-cta:hover { filter: brightness(1.07); }
.s-menu { position: relative; display: none; }
.s-menu summary {
  list-style: none; cursor: pointer; position: relative;
  width: 40px; height: 40px; border-radius: 999px;
}
.s-menu summary::-webkit-details-marker { display: none; }
.s-menu summary span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--gold-soft);
  transition: transform .25s, top .25s;
}
.s-menu summary span:first-child { top: 16px; }
.s-menu summary span:last-child { top: 23px; }
.s-menu[open] summary span:first-child { top: 19.5px; transform: rotate(45deg); }
.s-menu[open] summary span:last-child { top: 19.5px; transform: rotate(-45deg); }
.s-menu-panel {
  position: absolute; right: 0; top: calc(100% + 14px);
  width: min(300px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 8px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(36,33,38,0.98), rgba(20,19,22,0.98));
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 18px 44px rgba(0,0,0,0.5);
}
.s-menu-link {
  position: relative; padding: 13px 16px; border-radius: 14px;
  color: var(--cream); text-decoration: none; font-size: 15.5px; transition: background .2s, color .2s;
}
.s-menu-link:hover, .s-menu-link[aria-current="page"] { background: rgba(255,255,255,0.07); color: var(--gold-soft); }

/* ── Колонка ─────────────────────────────────────────────── */
.s-page {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding-block: 30px 64px;
  flex: 1 0 auto;
}
.s-page--wide { max-width: var(--wide); }
.s-page--wide .s-top, .s-page--wide .s-intro { max-width: var(--col); }
.s-page--wide .s-h1 { margin-bottom: 22px; }

.s-crumbs { margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--mist); }
.s-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.s-crumbs li { display: inline; }
.s-crumbs li + li::before { content: "/"; margin: 0 9px; color: rgba(154, 150, 142, 0.4); }
.s-crumbs a { color: var(--mist); text-decoration: none; transition: color .2s; }
.s-crumbs a:hover { color: var(--gold-soft); }
.s-crumbs [aria-current] { color: rgba(242, 237, 227, 0.62); }

.s-h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--cream);
  text-wrap: balance;
}
.s-meta {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}
.s-meta .s-dot { margin: 0 3px; color: rgba(201, 168, 106, 0.55); }
.s-meta b { font-weight: 500; color: rgba(242, 237, 227, 0.78); }

/* ── Текст статьи ────────────────────────────────────────── */
.s-body > :first-child { margin-top: 0; }
.s-lead p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--cream);
  margin: 0 0 16px;
}
.s-body p { margin: 0 0 18px; color: var(--cream-soft); }
.s-body strong, .s-body b { font-weight: 600; color: var(--cream); }
.s-body em { font-style: italic; }

.s-body h2 {
  margin: 56px 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 4.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--gold-soft);
  scroll-margin-top: 24px;
  text-wrap: balance;
}
.s-body h3 {
  margin: 34px 0 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19.5px;
  line-height: 1.4;
  color: var(--cream);
  scroll-margin-top: 24px;
}
.s-body h4 { margin: 26px 0 8px; font-size: 17px; font-weight: 600; color: var(--cream); }

.s-body ul, .s-body ol { margin: 0 0 20px; padding-left: 1.5em; color: var(--cream-soft); }
.s-body li { margin: 0 0 9px; padding-left: 6px; }
.s-body li > ul, .s-body li > ol { margin: 9px 0 0; }
.s-body ul > li::marker { color: var(--gold); }
.s-body ol > li::marker { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

.s-body a, .s-faq a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  transition: color .2s, border-color .2s;
  overflow-wrap: anywhere;
}
.s-body a:hover, .s-faq a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }

.s-body blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--gold-soft);
}
.s-body blockquote p { color: inherit; margin: 0 0 10px; }
.s-body blockquote p:last-child { margin-bottom: 0; }

.s-body hr { margin: 44px auto; width: 72px; border: 0; border-top: 1px solid var(--gold-line); }

.s-body code {
  font-size: .9em; padding: 1px 6px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); color: var(--gold-soft);
}
.s-body pre { overflow-x: auto; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.s-body pre code { padding: 0; background: none; }

/* Таблицы */
.s-tbl {
  margin: 22px 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
}
.s-tbl table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; }
.s-tbl th, .s-tbl td {
  padding: 13px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--rule); color: var(--cream-soft);
}
.s-tbl th {
  font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  color: var(--gold); background: rgba(201, 168, 106, 0.06);
}
.s-tbl tbody tr:last-child td { border-bottom: none; }
.s-tbl td:first-child { color: var(--cream); font-weight: 500; }
/* В таблицах слова не рвём посреди (иначе «INTJ» ломается на «INT / J»):
   узкий экран — горизонтальная прокрутка таблицы, а не перенос букв. */
.s-tbl td, .s-tbl th, .s-tbl a { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.s-tbl th { white-space: nowrap; }
.s-tbl td a { white-space: nowrap; }

/* ── Блок «Коротко» ──────────────────────────────────────── */
.s-answer {
  position: relative;
  margin: 28px 0 30px;
  padding: 24px 26px 8px;
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(201, 168, 106, 0.085), rgba(255, 255, 255, 0.015) 70%);
}
.s-answer-label {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 10px !important;
  font-size: 12px !important; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--gold) !important;
}
.s-answer-label::before { content: "✦"; font-size: 12px; letter-spacing: 0; }
.s-answer p { color: var(--cream); }
.s-answer ul { padding-left: 1.3em; }
.s-answer li { color: var(--cream-soft); }

/* ── Оглавление ──────────────────────────────────────────── */
.s-toc {
  margin: 30px 0 8px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.s-toc summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 22px;
  cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--gold);
}
.s-toc summary::-webkit-details-marker { display: none; }
.s-toc summary::after {
  content: ""; width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.s-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.s-toc ol {
  list-style: none; counter-reset: toc;
  margin: 0 !important; padding: 0 22px 16px !important;
  columns: 2 260px; column-gap: 30px;
}
.s-toc li {
  counter-increment: toc; break-inside: avoid;
  position: relative; margin: 0 !important; padding: 5px 0 5px 28px !important;
  font-size: 15px; line-height: 1.45;
}
.s-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 7px;
  font: 600 11.5px/1.45 var(--font-brand); color: rgba(201, 168, 106, 0.7);
}
.s-toc a { color: var(--cream-soft); border-bottom: none; }
.s-toc a:hover { color: var(--gold-soft); }

/* ── CTA ─────────────────────────────────────────────────── */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 36px;
  border-radius: 40px;
  background: linear-gradient(135deg, #C9A86A, #B0925A);
  color: #0E0E10 !important;
  border-bottom: none !important;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 600; letter-spacing: .3px;
  line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: 0 8px 30px rgba(201, 168, 106, 0.22);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.s-btn::after { content: "→"; font-weight: 500; transition: transform .25s; }
.s-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(201, 168, 106, 0.36); filter: brightness(1.04); }
.s-btn:hover::after { transform: translateX(3px); }

.s-cta {
  margin: 34px 0 36px;
  padding: 30px 32px 26px;
  border: 1px solid rgba(201, 168, 106, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 168, 106, 0.13), transparent 60%),
    linear-gradient(160deg, rgba(201, 168, 106, 0.07), rgba(255, 255, 255, 0.015) 65%);
}
.s-cta-kicker {
  margin: 0 0 8px !important;
  font-size: 12px !important; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold) !important;
}
.s-cta-title {
  margin: 0 0 18px !important;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 36px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.3px;
  color: var(--cream) !important;
  text-wrap: balance;
}
.s-body .s-cta-list, .s-cta-list {
  list-style: none;
  margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px;
}
.s-body .s-cta-list li, .s-cta-list li {
  position: relative; margin: 0; padding: 0 0 0 26px;
  font-size: 16px; line-height: 1.5; color: var(--cream-soft);
}
.s-cta-list li::before {
  content: "✦"; position: absolute; left: 0; top: 1px;
  font-size: 13px; color: var(--gold);
}
.s-cta-note { margin: 14px 0 0 !important; font-size: 14px !important; color: var(--mist) !important; }

.s-cta--final {
  margin-top: 56px;
  padding: 44px 36px 38px;
  text-align: center;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(201, 168, 106, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(201, 168, 106, 0.06), rgba(255, 255, 255, 0.01));
}
.s-cta--final .s-cta-title { font-size: clamp(30px, 5vw, 42px) !important; margin-bottom: 22px !important; }
.s-cta--final .s-cta-list { max-width: 600px; margin-inline: auto; text-align: left; }
.s-cta-mark { display: block; width: 34px; height: 36px; margin: 0 auto 14px; filter: drop-shadow(0 0 14px rgba(201, 168, 106, 0.4)); }

.s-cta-mid {
  display: flex; align-items: center; gap: 22px;
  margin: 34px 0 36px;
  padding: 20px 22px 20px 26px;
  border-radius: 18px;
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 106, 0.05);
}
.s-cta-mid p { flex: 1 1 auto; margin: 0 !important; font-size: 16.5px; line-height: 1.55; color: var(--cream) !important; }
.s-cta-mid .s-btn { flex: 0 0 auto; padding: 13px 24px; font-size: 15px; }

/* Липкая кнопка */
.s-sticky {
  position: fixed; z-index: 20;
  right: 24px; bottom: 24px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}
.s-sticky.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, visibility 0s; }
.s-sticky .s-btn { padding: 14px 26px; font-size: 15px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 6px 24px rgba(201, 168, 106, 0.25); }
.s-sticky-note { display: none; }

/* ── Частые вопросы ──────────────────────────────────────── */
.s-faq { margin: 64px 0 0; }
.s-faq-h {
  margin: 0 0 12px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(27px, 4.4vw, 34px); line-height: 1.2; color: var(--gold-soft);
  scroll-margin-top: 24px;
}
.s-faq-item { padding: 20px 0 6px; border-top: 1px solid var(--rule); }
.s-faq-item:last-child { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.s-faq-q { margin: 0 0 8px; font-size: 18.5px; font-weight: 600; line-height: 1.45; color: var(--cream); }
.s-faq-a { margin: 0 0 14px; color: var(--cream-soft); }

/* ── Автор ───────────────────────────────────────────────── */
.s-author {
  margin: 48px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.s-author-top { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.s-author-mark {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold-line);
  background: radial-gradient(circle at 50% 35%, rgba(201, 168, 106, 0.16), rgba(201, 168, 106, 0.02));
}
.s-author-mark img { width: 20px; height: 22px; }
.s-author-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.s-author-row { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.s-author-photo {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(201, 168, 106, 0.45);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.08), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.s-author-info { min-width: 0; }
.s-author-info .s-author-k { margin: 0 0 4px; }
.s-author-name { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--cream); }
.s-author-role { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--mist); }
.s-author-t { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cream-soft); }
.s-author-t b { color: var(--cream); font-weight: 600; }

/* ── Карточки: «Читать дальше» и хаб ─────────────────────── */
.s-related { margin: 56px 0 0; }
.s-related-h, .s-sec-h {
  margin: 0 0 18px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(25px, 4vw, 30px); line-height: 1.2; color: var(--gold-soft);
}
.s-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-page--wide .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-card { margin: 0; padding: 0; }
.s-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: 20px 22px 18px;
  border: 1px solid var(--rule); border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color .25s, background .25s, transform .25s;
}
.s-card a:hover { border-color: rgba(201, 168, 106, 0.4); background: rgba(201, 168, 106, 0.05); transform: translateY(-2px); }
.s-card-t { margin: 0 0 8px; font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--cream); text-wrap: balance; }
.s-card-d { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--mist); flex: 1 1 auto; }
.s-card-more { font-size: 13.5px; font-weight: 600; letter-spacing: .3px; color: var(--gold); }

.s-intro p { font-size: 19px; line-height: 1.65; color: var(--cream-soft); margin: 0 0 16px; }
.s-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.s-chips a {
  display: inline-block; padding: 7px 14px; border-radius: 30px;
  border: 1px solid var(--gold-line); color: var(--gold-soft); text-decoration: none;
  font-size: 14px; transition: background .2s, border-color .2s;
}
.s-chips a:hover { background: rgba(201, 168, 106, 0.08); border-color: var(--gold); }
.s-sec { margin: 52px 0 0; scroll-margin-top: 24px; }
.s-sec-h small { margin-left: 10px; font-family: var(--font-brand); font-size: 13px; color: var(--mist); letter-spacing: .5px; }
.s-page--wide .s-cta--final { max-width: var(--col); margin-inline: auto; }

/* ── Футер ───────────────────────────────────────────────── */
.s-foot {
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding-block: 0 36px; text-align: center;
}
.s-foot-line {
  max-width: var(--col); margin: 0 auto;
  padding-top: 18px; border-top: 1px solid rgba(201, 168, 106, 0.14);
}
.s-legal {
  margin: 0; font-family: var(--font-brand); font-size: 11.5px; line-height: 1.9; letter-spacing: .3px;
  color: rgba(154, 150, 142, 0.72); text-wrap: balance;
}
.s-legal + .s-legal { margin-top: 2px; }
.s-legal .s-item { white-space: nowrap; }
.s-legal .s-sep { margin: 0 3px; opacity: .6; }
.s-legal a { color: rgba(201, 168, 106, 0.8); text-decoration: none; white-space: nowrap; transition: color .2s; }
.s-legal a:hover { color: var(--gold-soft); }

/* ── Мобильная версия ────────────────────────────────────── */
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.7; padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
  .s-head-space { height: 74px; }
  .s-head-bar { padding: 6px 6px 6px 14px; gap: 6px; }
  .s-nav { display: none; }
  .s-menu { display: block; }
  .s-page { padding-block: 20px 44px; }
  .s-h1 { font-size: clamp(31px, 8.6vw, 40px); }
  .s-meta { font-size: 13.5px; margin-bottom: 24px; }
  .s-crumbs ol { flex-wrap: nowrap; }
  .s-crumbs li { white-space: nowrap; }
  .s-crumbs li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .s-lead p { font-size: 18.5px; }
  .s-body h2 { margin-top: 46px; }
  .s-body h3 { font-size: 18.5px; }
  .s-answer { padding: 20px 18px 6px; border-radius: 18px; }
  .s-toc summary { padding: 14px 18px; }
  .s-toc ol { padding: 0 18px 14px !important; }
  .s-cta { padding: 24px 20px 22px; border-radius: 20px; }
  .s-body .s-cta-list, .s-cta-list { grid-template-columns: 1fr; gap: 9px; }
  .s-cta .s-btn { display: flex; width: 100%; padding: 17px 20px; }
  .s-cta--final { padding: 34px 20px 28px; }
  .s-cta-mid { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 18px 18px 20px; }
  .s-cta-mid .s-btn { width: 100%; }
  .s-cards, .s-page--wide .s-cards { grid-template-columns: 1fr; }
  .s-author { padding: 18px; }
  .s-author-photo { width: 68px; height: 68px; }
  .s-author-name { font-size: 20px; }
  .s-sticky {
    left: 0; right: 0; bottom: 0;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: rgba(14, 14, 16, 0.86);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(201, 168, 106, 0.2);
  }
  .s-sticky .s-btn { display: flex; width: 100%; padding: 14px 18px; box-shadow: none; }
  .s-sticky-note { display: block; margin: 6px 0 0; text-align: center; font-size: 11.5px; color: var(--mist); }
  .s-foot { padding-bottom: 28px; }
  .s-legal { font-size: 11px; }
  .s-legal .s-sep { margin: 0 2px; }
}
@media (max-width: 420px) {
  .s-brand { gap: 7px; font-size: 15px; letter-spacing: 1px; }
  .s-brand img { width: 26px; height: 28px; }
  .s-head-cta { padding: 8px 13px; font-size: 12.5px; }
}
@media (max-width: 350px) {
  .s-brand span { display: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .s-page--wide .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Печать ──────────────────────────────────────────────── */
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .s-head, .s-head-space, .s-sticky, .s-head-cta, .s-toc, .s-cta, .s-cta-mid, .s-skip { display: none !important; }
  .s-body p, .s-body li, .s-h1, .s-body h2, .s-body h3 { color: #000 !important; }
}
