/* ATTUNE · attune.blog — публичный сайт, редакция 2 (29.10.2026) по образцу владельца
   docs/attune/references/01_landing_approved_style.png; тексты — ТЗ v2 §7–§9.
   Редакция 3 (29.10.2026): вёрстка вокруг картинок по ТЗ docs/attune/image-brief.md
   (illustrations/foto/, см. docs/attune/asset-provenance.md) — фото-сцены, пейзажи, шаги.
   Только светлая тема: color-scheme: light, тёмного варианта нет.
   Цвета сняты пипеткой с образца; общие токены — attune-tokens.css.
   Заголовки — PT Serif (кириллица, плотная антиква), текст — Inter, знак — Cormorant.
   Размеры текста — в rem. Основы шапки с меню-листом и вкладок — 21st.dev,
   см. docs/attune/component-provenance.md. */

@font-face { font-family: 'PT Serif'; src: url('/static/fonts/PTSerif-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url('/static/fonts/PTSerif-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url('/static/fonts/PTSerif-400-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --site-wrap: 81.5rem;
  --site-gutter: clamp(16px, 4.7vw, 68px);
  --site-sec: clamp(2.75rem, 1.75rem + 2.6vw, 4rem);
  --site-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  /* образец: поле первого экрана, страница, карточки, полосы */
  --site-hero: #F6F2EB;
  --site-bg: #FAF7F2;
  --site-card: #F4F0E9;
  --site-paper: #FCFAF6;
  --site-band: #F4EFE8;
  --site-sand: #F1E9DE;
  --site-line: #E6DFD5;
  /* образец: почти чёрный заголовок, тёплый серый текст */
  --site-ink: #171614;
  --site-ink-soft: #46433E;
  --site-muted: #6A655D;
  --site-accent: var(--attune-primary);
  --site-outline: #CFA597;
  /* образец: круглые значки карточек и плашек */
  --site-badge-terra: #CD9A85;
  --site-badge-sand: #CBBBA4;
  --site-badge-sage: #5F7E7B;
  --site-chip-rose: #F4E2D6;
  --site-chip-sage: #D7DDDA;
  --site-radius: 14px;
  --site-shadow: 0 1px 2px rgb(70 50 30 / 0.04), 0 10px 30px rgb(70 50 30 / 0.06);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }

body.site {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
:where(.hero__in, .tri, .chips, .help, .steps, .price, .faq, .cards, .split, .choose__grid, .subroutes, .quotes, .rep-body, .topics, .facts > div, .ftr__grid, .ftr__cols, .page-head__grid, .said div, .help__top, .final) > * { min-width: 0; }
:where(.site) :is(h1, h2, h3, .hdr__logo, .btn) { overflow-wrap: anywhere; hyphens: auto; }
:where(.site) img { max-width: 100%; height: auto; display: block; }
:where(.site) :is(h1, h2, h3) { margin: 0; font-weight: 400; color: var(--site-ink); }
:where(.site) h2 {
  font-family: var(--site-serif);
  font-size: clamp(2rem, 1.35rem + 2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 24ch;
}
:where(.site) h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; }
:where(.site) p { margin: 0; }
:where(.site) a { color: inherit; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--site-wrap) + 2 * var(--site-gutter)); margin: 0 auto; padding-inline: var(--site-gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:where(.site) :focus-visible { outline: 3px solid var(--attune-focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999rem; top: .75rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: var(--radius-pill);
  background: var(--site-ink); color: #fff; text-decoration: none; font-weight: 500;
}
.skip-link:focus { left: var(--site-gutter); }

/* ------------------------------------------------------------ кнопки, ссылки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .875rem;
  min-height: 3rem; padding: .625rem 1.625rem;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.25; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color var(--duration-ui) ease, border-color var(--duration-ui) ease;
}
.btn svg { flex: 0 0 auto; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--attune-primary); color: #fff; box-shadow: 0 6px 16px rgb(169 96 79 / 0.18); }
.btn--quiet { background: rgb(255 255 255 / 0.4); color: var(--site-ink); border-color: var(--site-outline); }
.btn--sm { min-height: 2.75rem; padding: .5rem 1.25rem; font-size: .9375rem; gap: .625rem; }
.btn--lg { min-height: 3.5rem; padding: .75rem 2.25rem; font-size: 1.0625rem; }
.btn--primary.btn--lg { min-width: min(100%, 15.5rem); justify-content: space-between; padding-inline: 2.25rem 1.75rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--attune-primary-hover); }
  .btn--quiet:hover { background: var(--site-paper); border-color: var(--attune-primary); }
  .link:hover { text-decoration-color: var(--attune-primary-hover); text-decoration-thickness: 2px; }
}
.link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  color: var(--site-ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--site-outline);
  text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.link--arrow svg { color: var(--attune-primary); flex: 0 0 auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1rem; margin-top: 2rem; }
.actions.actions--tight { margin-top: .5rem; }
.tag {
  display: inline-block; padding: .125rem .625rem; border-radius: var(--radius-pill);
  background: var(--attune-sage-soft); color: var(--attune-sage-ink);
  font-size: .8125rem; line-height: 1.5; font-weight: 500;
}
.note { color: var(--site-muted); font-size: .9375rem; }
.kicker {
  color: var(--site-muted); font-size: .75rem; font-weight: 500; line-height: 1.6;
  letter-spacing: .3em; text-transform: uppercase;
}

/* ------------------------------------------------------------------ полосы */
.pilot { background: var(--attune-sage-soft); color: var(--attune-sage-ink); font-size: .875rem; line-height: 1.45; }
.pilot p { max-width: calc(var(--site-wrap) + 2 * var(--site-gutter)); margin: 0 auto; padding: .5rem var(--site-gutter); }
.pilot strong { font-weight: 600; }

/* ------------------------------------------------------------------ шапка */
.hdr { position: sticky; top: 0; z-index: 40; background: rgb(246 242 235 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--site-line); }
.hdr__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  max-width: calc(var(--site-wrap) + 2 * var(--site-gutter)); margin: 0 auto;
  min-height: 4.5rem; padding-inline: var(--site-gutter);
}
.hdr__logo {
  font-family: 'Cormorant Garamond', var(--site-serif); font-weight: 500; font-size: 2.125rem; line-height: 1;
  letter-spacing: .2em; margin-right: -.2em; text-decoration: none; color: var(--site-ink);
  display: inline-flex; align-items: center; min-height: 2.75rem;
}
.hdr__nav { display: flex; gap: .5rem; margin-inline: auto; }
.hdr__link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .875rem;
  color: var(--site-ink-soft); text-decoration: none; font-size: .875rem; border-radius: var(--radius-pill);
  transition: color var(--duration-feedback) ease, background-color var(--duration-feedback) ease;
}
.hdr__link[aria-current="page"] { color: var(--site-ink); text-decoration: underline; text-decoration-color: var(--attune-primary); text-underline-offset: .45em; }
@media (hover: hover) and (pointer: fine) { .hdr__link:hover { color: var(--site-ink); background: rgb(255 255 255 / 0.6); } }
.hdr__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hdr__cta { padding-inline: 1.5rem; }
.hdr__menu {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--site-ink);
  border: 1px solid var(--site-line);
}
@media (max-width: 63.99em) {
  .hdr__nav, .hdr__login { display: none; }
  .hdr__actions { margin-left: auto; }
  .hdr__menu { display: inline-flex; }
  .hdr__logo { font-size: 1.75rem; }
}
@media (max-width: 26em) { .hdr__cta svg { display: none; } .hdr__cta { padding-inline: 1rem; } }
@media (max-width: 22.49em) { .hdr__cta { display: none; } }

/* Лист меню на телефоне: нативный <dialog>, выезжает справа */
.sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(22rem, 88vw); max-width: none; height: 100dvh; max-height: none;
  background: var(--site-paper); color: var(--site-ink);
  box-shadow: var(--shadow-popover);
}
.sheet[open] { transform: translateX(0); transition: transform var(--duration-panel) var(--ease-entrance), overlay var(--duration-panel) allow-discrete, display var(--duration-panel) allow-discrete; }
@starting-style { .sheet[open] { transform: translateX(100%); } }
.sheet::backdrop { background: rgb(36 30 25 / 0.28); }
.sheet__in { display: flex; flex-direction: column; gap: 1.5rem; min-height: 100%; padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; }
.sheet__close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.sheet__nav { display: grid; }
.sheet__nav a { display: flex; align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--site-line); text-decoration: none; font-family: var(--site-serif); font-size: 1.375rem; line-height: 1.2; }
.sheet__actions { display: grid; gap: .75rem; margin-top: auto; }

/* ------------------------------------------------------------------ секции */
.sec { padding-block: var(--site-sec); }
/* Полосы и шапки страниц — на светлой штукатурке G1 (бесшовная плитка 1024 px,
   яркость 94–97%). Сверху полупрозрачный слой цвета полосы: фактура едва
   заметна, а итоговый цвет фона тот же, поэтому контраст текста не падает. */
.sec--band { background-image: linear-gradient(rgb(244 239 232 / 0.5) 0 0), url('/static/illustrations/foto/fon-shtukaturka-1024.webp'); background-size: auto, 32rem; }
.page-hero:not(.scene) { background-image: linear-gradient(rgb(246 242 235 / 0.5) 0 0), url('/static/illustrations/foto/fon-shtukaturka-1024.webp'); background-size: auto, 32rem; }
.sec--band { background-color: var(--site-band); }
.sec--sand { background: var(--site-sand); }
.sec__head { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec__row h2 { flex: 1 1 22rem; max-width: 30ch; }
.sec__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.caption {
  max-width: 27rem; color: var(--site-muted); font-size: .75rem; font-weight: 500; line-height: 1.75;
  letter-spacing: .2em; text-transform: uppercase; text-align: right;
}
.caption--plain { max-width: 30rem; font-size: 1rem; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; text-align: left; color: var(--site-ink-soft); }
@media (max-width: 47.99em) { .caption { text-align: left; } }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--site-ink-soft); max-width: 40rem; }

/* ------------------------------------------------------------------ фото-сцена (редакция 3)
   Общий приём для первого экрана, шапки темы и финала: картинка 3:2 прижата
   вправо и вниз, высота задана (--scene-h), левый край плавно уходит в цвет
   стены, светлая вуаль слева держит контраст текста (AA). Если текст вырос
   выше сцены, картинка не растёт и не наезжает на текст: её верх тоже уходит
   в цвет стены. Ширина колонки текста считается от высоты сцены: арка
   начинается примерно на 47% ширины кадра (свободная зона по ТЗ — 35–40%). */
.scene { --scene-wall: #E6DACB; position: relative; isolation: isolate; overflow: hidden; background-color: var(--scene-wall); }
.scene__img {
  position: absolute; z-index: -2; right: 0; bottom: 0;
  height: var(--scene-h); width: auto; max-width: none; aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / 0.55) 9%, #000 22%), linear-gradient(180deg, transparent 0, #000 2.5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / 0.55) 9%, #000 22%), linear-gradient(180deg, transparent 0, #000 2.5%);
  mask-composite: intersect;
}
.scene--veil::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(247 243 236 / 0.88) 0, rgb(247 243 236 / 0.78) 32%, rgb(247 243 236 / 0.4) 46%, rgb(247 243 236 / 0) 56%);
}
/* ------------------------------------------------------------------ первый экран */
.hero { --scene-wall: #EAE0D3; --scene-h: clamp(38rem, 54vw, 50rem); display: flex; flex-direction: column; }
.hero__in { position: relative; z-index: 1; padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem) 2rem; }
.hero__copy { position: relative; max-width: 40rem; }
.hero .kicker { color: var(--site-ink-soft); }
.hero__title {
  margin-top: 1.375rem;
  font-family: var(--site-serif); font-weight: 400;
  font-size: clamp(2.625rem, 1.25rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title em { display: inline-block; font-style: italic; color: var(--site-accent); letter-spacing: -0.015em; }
.hero__sub { margin-top: 1.25rem; font-family: var(--site-serif); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); line-height: 1.3; color: var(--site-ink); }
.hero__text { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--site-ink-soft); max-width: 36rem; }
.hero__note { margin-top: .875rem; color: var(--site-ink-soft); font-size: .875rem; }
.tezisy { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; }
.tezisy li { display: flex; align-items: center; gap: .75rem; flex: 1 1 10rem; max-width: 14rem; color: var(--site-ink-soft); font-size: .8125rem; line-height: 1.45; }
.tezisy__icon { flex: 0 0 auto; color: var(--site-accent); display: inline-flex; }

.hero__photo { display: block; order: 1; }
.hero__photo img { display: block; }
@media (prefers-reduced-motion: no-preference) { .hero__photo img, .page-hero__foto { animation: site-art-in 520ms var(--ease-out) both; } }
@keyframes site-art-in { from { opacity: 0; } to { opacity: 1; } }

/* Пример для Анны и Максима — сразу под сценой */
.demo-wrap { position: relative; z-index: 2; }
.demo-card {
  position: relative; margin: 0; padding: 1.125rem 1.375rem 1.25rem;
  background: rgb(252 250 246 / 0.98); border: 1px solid var(--site-line);
  border-radius: 16px; box-shadow: 0 14px 40px rgb(60 40 25 / 0.13);
}
.demo-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .375rem 1rem; }
.demo-card__title { font-family: var(--site-serif); font-size: 1.25rem; line-height: 1.2; }
.demo-card__topic { flex-basis: 100%; color: var(--site-muted); font-size: .875rem; }
.demo-card__out { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--site-line); font-size: .9375rem; line-height: 1.45; }
.demo-card__out span { font-weight: 600; }

.said { display: grid; gap: .5rem; margin: .5rem 0 0; }
.said div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; align-items: baseline; }
.said dt { font-size: .875rem; font-weight: 600; color: var(--attune-sage-ink); }
.said dd { margin: 0; font-family: var(--site-serif); font-size: 1.0625rem; line-height: 1.35; }

/* От 80em — полноэкранная сцена: текст на стене слева, арка и кресло справа.
   Колонка текста не заходит правее начала арки (≈47% ширины кадра). */
@media (min-width: 80em) {
  .hero { min-height: var(--scene-h); justify-content: center; }
  .hero__in { padding-block: 2.5rem 5.25rem; }
  .hero__copy { max-width: min(38rem, calc(100vw - 0.6 * 1.5 * var(--scene-h) - max(var(--site-gutter), (100vw - var(--site-wrap)) / 2) - 1.5rem)); }
  /* карточка примера — длинной строкой, заходит на ковёр у нижнего края сцены */
  .demo-wrap { margin-top: -3.25rem; }
  .demo-card { display: grid; grid-template-columns: minmax(15rem, .9fr) minmax(0, 1.5fr) minmax(0, 1.1fr); align-items: center; gap: 1rem 2.25rem; padding: 1.25rem 1.75rem; }
  .demo-card__head { align-content: center; }
  .demo-card .said { margin: 0; }
  .demo-card__out { margin: 0; padding: .25rem 0 .25rem 2rem; border-top: 0; border-left: 1px solid var(--site-line); }
  .sec--tri { padding-top: 3rem; }
}
/* Уже 80em — текст над сценой, сцена ниже во всю ширину; верх кадра уходит в фон. */
@media (max-width: 79.99em) {
  .hero::before { display: none; }
  .hero__in { padding-bottom: 0; }
  .hero__photo img {
    position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-position: 70% 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .demo-wrap { margin-top: -3.5rem; }
  .demo-card { max-width: 34rem; margin-left: auto; }
}
@media (max-width: 39.99em) {
  .hero__photo img { aspect-ratio: 10 / 11; object-position: 50% 100%; margin-top: -1.5rem; }
  .demo-wrap { margin-top: -3rem; }
  .demo-card { margin-inline: .25rem; }
}

/* ------------------------------------------------------------------ три большие карточки */
.tri { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.tri__card {
  display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem) 0;
  background: var(--site-card); border-radius: var(--site-radius); box-shadow: var(--site-shadow);
}
.badge { display: inline-grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; color: #2E2621; }
.badge--terra { background: var(--site-badge-terra); }
.badge--sand { background: var(--site-badge-sand); }
.badge--sage { background: var(--site-badge-sage); color: #FBF8F3; }
.tri__title { margin-top: 1.375rem; font-family: var(--site-serif); font-size: clamp(1.75rem, 1.4rem + .9vw, 2.25rem); line-height: 1.08; letter-spacing: -0.02em; }
.tri__text { margin-top: .875rem; margin-bottom: 1.25rem; color: var(--site-ink-soft); font-size: 1.125rem; line-height: 1.5; max-width: 24rem; }
/* Пейзажи B1–B3 (16:5): верх светлый, поэтому верхняя кромка мягко уходит в карточку */
.tri__art {
  width: calc(100% + 2 * clamp(1.5rem, 2.5vw, 2rem)); max-width: none; height: auto;
  margin: auto calc(-1 * clamp(1.5rem, 2.5vw, 2rem)) 0;
  aspect-ratio: 16 / 5; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0, #000 28%);
}
@media (min-width: 56em) { .tri { grid-template-columns: repeat(3, 1fr); } .tri__card { min-height: 25rem; } }

/* ------------------------------------------------------------------ плашки со значками */
.chips { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; }
.chip {
  display: flex; align-items: center; gap: 1.125rem; padding: 1.125rem 1.375rem;
  background: var(--site-paper); border: 1px solid #EEE8DF; border-radius: 12px; box-shadow: 0 1px 2px rgb(70 50 30 / 0.03);
  font-size: .9375rem; line-height: 1.5; color: var(--site-ink);
}
.chip--stack { align-items: flex-start; }
.chip--stack strong { display: block; font-family: var(--site-serif); font-size: 1.1875rem; font-weight: 400; line-height: 1.25; margin-bottom: .25rem; }
.chip--stack > span:last-child { color: var(--site-ink-soft); }
.chip__icon { flex: 0 0 auto; display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.chip__icon--lg { width: 4.25rem; height: 4.25rem; }
.chip__icon--rose { background: var(--site-chip-rose); color: #7A3E2E; }
.chip__icon--sage { background: var(--site-chip-sage); color: #34423F; }
@media (min-width: 48em) { .chips { grid-template-columns: repeat(3, 1fr); } .chips--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .chips--4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ «чем помогаем» */
.help { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.help__card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--site-paper); border: 1px solid #ECE6DC; border-radius: var(--site-radius); box-shadow: var(--site-shadow);
}
.help__top { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; padding: 1.5rem 1.5rem 1.25rem; }
.help__title { font-family: var(--site-serif); font-size: 1.4375rem; font-weight: 400; line-height: 1.18; letter-spacing: -0.01em; }
.help__text { margin-top: .5rem; color: var(--site-ink-soft); font-size: .9375rem; line-height: 1.55; }
/* Пейзажи C1–C3 (4:1) */
.help__art {
  width: 100%; height: auto; margin-top: auto; aspect-ratio: 4 / 1; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0, #000 30%);
}
@media (min-width: 56em) { .help { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ шаги
   Картинки D1–D3: две тропинки → арка → тропинки сошлись. На широком экране
   кадр над номером, номера связаны тонкой линией; на телефоне — вертикальная
   линия слева через номера, кадр над заголовком шага. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; position: relative; }
.steps__item { position: relative; display: grid; gap: .625rem; align-content: start; }
.steps__art { display: block; overflow: hidden; border-radius: var(--site-radius); box-shadow: var(--site-shadow); aspect-ratio: 16 / 10; }
.steps__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.steps__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.75rem; height: 3.75rem; border-radius: 50%;
  border: 1px solid var(--site-outline); background: var(--site-paper); color: var(--site-accent);
  font-family: var(--site-serif); font-size: 1.5rem; line-height: 1; position: relative; z-index: 1;
}
.steps__item h3 { font-family: var(--site-serif); font-size: 1.625rem; line-height: 1.18; font-weight: 400; margin-top: .75rem; letter-spacing: -0.01em; }
.steps__item p { color: var(--site-ink-soft); max-width: 24rem; }
@media (min-width: 56em) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; container-type: inline-size; }
  .steps__art { aspect-ratio: 5 / 4; margin-bottom: .875rem; }
  /* линия от номера к следующему номеру: высота кадра = 0,8 ширины колонки */
  .steps__item:not(:last-child)::after {
    content: ""; position: absolute; z-index: 0;
    top: calc((100cqw - 6rem) / 3 * 0.8 + .875rem + 1.875rem); left: 3.75rem;
    width: calc((100cqw - 6rem) / 3 + 3rem - 3.75rem); border-top: 1px solid var(--site-outline);
  }
}
@media (max-width: 55.99em) {
  .steps::before { content: ""; position: absolute; top: 1.875rem; bottom: 1.875rem; left: 1.875rem; border-left: 1px solid var(--site-outline); }
  .steps__item { padding-left: 5rem; }
  .steps__n { position: absolute; left: 0; top: 0; }
  .steps__art { margin-bottom: .25rem; }
}

/* ------------------------------------------------------------------ пример (вкладки) */
.ex { background: var(--site-paper); border: 1px solid #ECE6DC; border-radius: 18px; box-shadow: var(--site-shadow); padding: clamp(1.25rem, 3vw, 2.5rem); }
.ex__tabs { display: inline-flex; gap: .25rem; padding: .3125rem; margin-bottom: 2rem; border-radius: var(--radius-pill); background: var(--site-card); max-width: 100%; }
.ex__tabs[hidden] { display: none; }
.ex__tab {
  flex: 0 0 auto; min-height: 2.75rem; padding: .5rem 1.25rem;
  border: 0; border-radius: var(--radius-pill); background: none; color: var(--site-muted);
  font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer;
  transition: color var(--duration-ui) ease, background-color var(--duration-ui) ease;
}
.ex__tab[aria-selected="true"] { color: var(--site-ink); background: #fff; box-shadow: 0 1px 4px rgb(70 50 30 / 0.1); }
@media (hover: hover) and (pointer: fine) { .ex__tab:hover { color: var(--site-ink); } }
@media (max-width: 39.99em) {
  .ex__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 14px; }
  .ex__tabs[hidden] { display: none; }
  .ex__tab { padding: .5rem .25rem; border-radius: 10px; font-size: .875rem; line-height: 1.25; text-align: center; }
}
.ex__panels { display: grid; gap: 2.5rem; }
.ex.is-tabs .ex__panels { gap: 0; min-height: 15rem; }
.ex__panel { display: grid; gap: 1rem; max-width: 48rem; }
.ex__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ex.is-tabs .ex__panel:not([hidden]) { animation: site-panel-in 180ms var(--ease-out); }
}
@keyframes site-panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ex.is-tabs .ex__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ex__panel-title { font-size: .9375rem; color: var(--attune-sage-ink); }
.ex__topic { color: var(--site-muted); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ex__big { font-family: var(--site-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.25; letter-spacing: -0.01em; }
.ex__meaning { color: var(--site-ink-soft); max-width: 38rem; }
.ex__meaning span { font-weight: 600; color: var(--site-ink); }
.ex__rule { padding: .875rem 1rem; border-radius: 12px; background: var(--attune-sage-soft); color: var(--attune-sage-ink); font-size: .9375rem; }
.said--two { gap: 1rem; }
@media (min-width: 48em) {
  .said--two { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .said--two div { grid-template-columns: 1fr; gap: .25rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--site-card); }
  .said--two dd { font-size: 1.25rem; }
}
.ex__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--site-line); }

/* ------------------------------------------------------------------ темы */
.topics { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; }
.topic {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--site-paper); border: 1px solid #ECE6DC; border-radius: var(--site-radius); box-shadow: var(--site-shadow);
  transition: border-color var(--duration-ui) ease, transform var(--duration-ui) var(--ease-out);
}
/* Кадр фото темы (E1–E4): сюжет справа, пустая стена слева в кадр почти не попадает */
.kadr { display: block; position: relative; overflow: hidden; }
.kadr img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--kx, 86%) var(--ky, 50%);
  transform: scale(var(--kz, 1.3)); transform-origin: var(--kx, 86%) var(--ky, 50%);
}
.kadr--semya-kak-komanda { --kx: 72%; --ky: 28%; }
.kadr--pered-sovmestnoy-zhiznyu { --kx: 88%; --ky: 45%; }
.kadr--pered-vazhnym-resheniem { --kx: 82%; --ky: 62%; }
.kadr--sverka-spustya-vremya { --kx: 84%; --ky: 62%; }
.topic__art { aspect-ratio: 4 / 3; }
.topic__body { display: grid; gap: .5rem; padding: 1.25rem 1.375rem 1.25rem; flex: 1; align-content: start; }
.topic__title { font-family: var(--site-serif); font-size: 1.5rem; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.topic__body p { color: var(--site-ink-soft); font-size: .9375rem; }
.topic__link { margin-top: auto; font-size: .9375rem; }
.topic__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--site-radius); }
.topic:focus-within { outline: 3px solid var(--attune-focus); outline-offset: 3px; }
.topic__link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .topic:hover { border-color: var(--site-outline); transform: translateY(-2px); } }
@media (min-width: 40em) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .topics { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ безопасность */
.safety {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.25rem;
  padding: 1.25rem 1.5rem; border-radius: var(--site-radius);
  background: var(--attune-sage-soft); color: var(--site-ink);
}
.safety__icon { color: var(--attune-sage-ink); flex: 0 0 auto; padding-top: .125rem; }
.safety__links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .5rem; }
.safety__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; text-underline-offset: .25em; }

/* ------------------------------------------------------------------ стоимость */
.price { display: grid; gap: 2.5rem; }
.price__head { display: grid; gap: 1.25rem; align-content: start; }
.price__sub { margin-top: .75rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before {
  content: ""; position: absolute; left: .25rem; top: .45em; width: .55rem; height: .9rem;
  border: solid var(--attune-sage-ink); border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.price__panel {
  display: grid; gap: .875rem; align-content: start; align-self: start;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 18px;
  background: var(--site-paper); border: 1px solid #ECE6DC; box-shadow: var(--site-shadow);
}
.price__panel .actions { margin-top: 1rem; }
.price__label { color: var(--attune-sage-ink); font-weight: 600; font-size: .9375rem; }
.price__title { font-family: var(--site-serif); font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.01em; }
.price__sum { font-family: var(--site-serif); font-size: 2.5rem; line-height: 1.1; }
.price__sum span { font-family: var(--font-sans); font-size: 1rem; color: var(--site-muted); }
.price__sum--sm { font-size: 1.75rem; }
.price__off { padding: .75rem 1rem; border-radius: 12px; background: var(--attune-primary-soft); }
@media (min-width: 56em) { .price { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }

/* ------------------------------------------------------------------ вопросы */
.faq { display: grid; gap: 2rem; }
.faq__list { border-top: 1px solid var(--site-outline); }
.faq__item { border-bottom: 1px solid var(--site-line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.75rem; padding-block: .75rem; cursor: pointer; list-style: none;
  font-family: var(--site-serif); font-size: 1.25rem; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__mark { flex: 0 0 auto; display: inline-flex; color: var(--attune-primary); transition: transform var(--duration-ui) var(--ease-out); }
.faq__item[open] .faq__mark { transform: rotate(45deg); }
.faq__a { padding: 0 2.5rem 1.5rem 0; color: var(--site-ink-soft); max-width: 46rem; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height var(--duration-panel) var(--ease-entrance), content-visibility var(--duration-panel) allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
@media (min-width: 56em) { .faq { grid-template-columns: 1fr 2fr; column-gap: 4rem; } }

/* ------------------------------------------------------------------ финал
   Та же арка вечером, с раскрытой тетрадью (E4) — сцена в карточке. */
.sec--final { padding-top: 0; }
.final { --scene-wall: #E8DDD0; --scene-h: 32rem; display: grid; border-radius: 20px; box-shadow: var(--site-shadow); }
.final__copy { position: relative; padding: clamp(1.75rem, 1rem + 4vw, 4rem); align-self: center; }
.final__copy .lead { margin-top: 1.25rem; color: var(--site-ink-soft); }
@media (min-width: 60em) {
  .final { min-height: var(--scene-h); }
  .final__copy { max-width: min(40rem, calc(100% - 0.54 * 1.5 * var(--scene-h) - 1rem)); }
}
@media (max-width: 59.99em) {
  .final::before { display: none; }
  .final__art {
    position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-position: 80% 60%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 25%);
    mask-image: linear-gradient(0deg, transparent 0, #000 25%);
  }
  .final__copy { padding-top: .5rem; }
}

/* ------------------------------------------------------------------ подвал */
.ftr { background-color: var(--site-hero); border-top: 1px solid var(--site-line); padding-block: 3.5rem 2.5rem; font-size: .9375rem; color: var(--site-ink-soft); }
.ftr__grid { display: grid; gap: 2.5rem; }
.ftr__brand p { margin-top: .5rem; max-width: 22rem; }
.ftr__cols { display: grid; gap: 2rem; }
.ftr__title { font-family: var(--font-sans); max-width: none; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--site-muted); margin-bottom: .5rem; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ftr__col a:hover { text-decoration: underline; text-underline-offset: .25em; } }
.ftr__disclaimer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--site-line); max-width: 52rem; }
.ftr__legal { display: grid; gap: .375rem; margin-top: 1rem; font-size: .8125rem; color: var(--site-muted); }
@media (min-width: 40em) { .ftr__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64em) { .ftr__grid { grid-template-columns: 1fr 2.2fr; } }

/* ------------------------------------------------------------------ внутренние страницы */
.page-hero { position: relative; background-color: var(--site-hero); border-bottom: 1px solid var(--site-line); }
.page-head { position: relative; z-index: 1; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 3vw, 3rem); }
.page-head__copy { max-width: 46rem; }
.page-head__kicker { color: var(--site-muted); font-size: .75rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.25rem; }
.page-head h1 { font-family: var(--site-serif); font-weight: 400; font-size: clamp(2.375rem, 1.4rem + 3.4vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; max-width: 20ch; }
.page-head .lead { margin-top: 1.25rem; }
/* Пейзаж в шапке (B1–B3, C1–C3): окно-карточка справа, холмы внизу кадра */
.page-head__grid { display: grid; gap: 2rem; align-items: center; }
.page-head__art {
  width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 100%;
  border-radius: var(--site-radius); box-shadow: var(--site-shadow); background: var(--site-card);
}
@media (min-width: 56em) { .page-head__grid { grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem); column-gap: 3.5rem; } }
/* Шапка темы: фото-сцена E1–E4, текст на свободной стене слева (≈35% кадра) */
.page-hero--foto { --scene-wall: #E8DDCF; --scene-h: clamp(34rem, 40vw, 38rem); border-bottom: 0; }
.page-hero--foto .page-head__kicker { color: var(--site-ink-soft); }
.page-hero--foto .lead { color: var(--site-ink-soft); }
@media (min-width: 64em) {
  .page-hero--foto { min-height: var(--scene-h); display: grid; align-items: center; }
  .page-hero--foto .page-head { padding-block: 2.5rem; }
  .page-hero--foto .page-head__copy { max-width: min(40rem, calc(100vw - 0.57 * 1.5 * var(--scene-h) - max(var(--site-gutter), (100vw - var(--site-wrap)) / 2) - 1.5rem)); }
}
@media (max-width: 63.99em) {
  .page-hero--foto { display: flex; flex-direction: column; }
  .page-hero--foto::before { display: none; }
  .page-hero--foto .page-head { padding-bottom: 0; }
  .page-hero__foto {
    order: 1; position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 85% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
}
@media (max-width: 39.99em) { .page-hero__foto { aspect-ratio: 5 / 4; object-position: 88% 55%; } }
.page-head__tag { margin-top: 1rem; }
.page-hero + .wrap > .page-sec:first-child, .page-hero + .wrap > form.page-sec:first-child { border-top: 0; }
.page-sec { padding-block: clamp(2.5rem, 4vw, 4rem); }
.page-sec + .page-sec { border-top: 1px solid var(--site-line); }
.page-sec h2 { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); margin-bottom: 1.25rem; }
.prose { max-width: 44rem; display: grid; gap: 1rem; color: var(--site-ink-soft); }
.split { display: grid; gap: 2rem; }
@media (min-width: 56em) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.numbered { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 1rem; }
.numbered li { counter-increment: n; position: relative; padding-left: 3rem; color: var(--site-ink-soft); }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: -.125rem;
  width: 2.125rem; height: 2.125rem; border-radius: 50%; border: 1px solid var(--site-outline); background: var(--site-paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--site-serif); font-size: 1.0625rem; color: var(--site-accent);
}
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { padding: 1.5rem 1.625rem; border-radius: var(--site-radius); background: var(--site-card); box-shadow: var(--site-shadow); display: grid; gap: .5rem; align-content: start; }
.card h2, .card h3 { font-family: var(--site-serif); font-size: 1.5rem; line-height: 1.2; font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.card p { color: var(--site-ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.cta-row__note { color: var(--site-muted); font-size: .9375rem; flex-basis: 100%; }

/* Условия темы */
.facts { margin: 0; display: grid; padding: .25rem 1.5rem; border-radius: var(--site-radius); background: var(--site-paper); border: 1px solid #ECE6DC; }
.facts > div { display: grid; gap: .375rem; padding-block: 1.25rem; }
.facts > div + div { border-top: 1px solid var(--site-line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--site-ink-soft); display: grid; gap: .375rem; }
@media (min-width: 48em) { .facts > div { grid-template-columns: 14rem 1fr; gap: 2rem; } }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.quotes li { padding: 1.25rem 1.5rem; border-radius: var(--site-radius); background: var(--site-card); font-family: var(--site-serif); font-size: 1.3125rem; line-height: 1.35; }
.subroutes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48em) { .subroutes { grid-template-columns: repeat(2, 1fr); } }
.subroutes li { display: grid; gap: .5rem; align-content: start; padding: 1.25rem 1.5rem; border-radius: var(--site-radius); background: var(--site-paper); border: 1px solid #ECE6DC; box-shadow: var(--site-shadow); }
.subroutes h3 { font-family: var(--site-serif); font-size: 1.5rem; font-weight: 400; }
.subroutes p { color: var(--site-ink-soft); }
.subroutes .btn { justify-self: start; margin-top: .5rem; }

/* Выбор темы: радио с подписью, не только цветом */
.choose { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; }
.choose legend { font-weight: 600; margin-bottom: 1rem; }
.choose__grid { display: grid; gap: 1rem; }
@media (min-width: 48em) { .choose__grid { grid-template-columns: repeat(2, 1fr); } }
.choice__art { grid-column: 1 / -1; width: calc(100% + 3rem); max-width: none; margin: -1.25rem -1.5rem .75rem; aspect-ratio: 2 / 1; --kz: 1.15; }
.choice:has(input:checked) .choice__art { margin: calc(-1.25rem + 1px) calc(-1.5rem + 1px) .75rem; width: calc(100% + 3rem - 2px); }
.choice { overflow: hidden; position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1.25rem 1.5rem; border: 1px solid #E2DACF; border-radius: var(--site-radius); background: var(--site-paper); box-shadow: var(--site-shadow); cursor: pointer; transition: border-color var(--duration-ui) ease, background-color var(--duration-ui) ease; }
.choice input { grid-row: span 3; width: 1.375rem; height: 1.375rem; margin: .25rem 0 0; accent-color: var(--attune-primary); }
.choice__name { font-family: var(--site-serif); font-size: 1.5rem; line-height: 1.2; }
.choice__text { color: var(--site-ink-soft); font-size: 1rem; }
.choice__time { color: var(--site-muted); font-size: .9375rem; }
.choice__picked { display: none; font-size: .875rem; font-weight: 600; color: var(--attune-primary-hover); }
.choice:has(input:checked) { border-color: var(--attune-primary); border-width: 2px; padding: calc(1.25rem - 1px) calc(1.5rem - 1px); background: #fff; }
.choice:has(input:checked) .choice__picked { display: block; }
.choice:has(input:focus-visible) { outline: 3px solid var(--attune-focus); outline-offset: 3px; }
.field-error { display: flex; gap: .5rem; align-items: center; padding: .75rem 1rem; border-radius: 12px; background: #F6E3DF; color: var(--attune-error); font-weight: 500; }
.others { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; }
.others li { border-top: 1px solid var(--site-line); }
.others a { display: grid; gap: .25rem; padding-block: 1rem; text-decoration: none; min-height: 2.75rem; }
.others a strong { font-weight: 600; text-decoration: underline; text-decoration-color: var(--site-outline); text-underline-offset: .3em; }
.others a span { color: var(--site-ink-soft); font-size: 1rem; }

/* ------------------------------------------------------------------ пример отчёта */
.rep-cover { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 18px; background: var(--site-paper); border: 1px solid #ECE6DC; box-shadow: var(--site-shadow); }
.rep-cover dl { margin: 0; display: grid; gap: .75rem 2rem; }
.rep-cover dt { color: var(--site-muted); font-size: .875rem; }
.rep-cover dd { margin: 0; font-weight: 500; }
@media (min-width: 48em) { .rep-cover dl { grid-template-columns: repeat(3, auto); justify-content: start; } }
.rep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: var(--site-sec); }
.rep > * { min-width: 0; }
.rep--top { margin-top: 2.5rem; }
.rep-toc { position: sticky; top: 5.5rem; align-self: start; }
.rep-toc h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--site-muted); margin-bottom: .5rem; }
.rep-toc ol { list-style: none; margin: 0; padding: 0; display: grid; }
.rep-toc a { display: flex; align-items: center; min-height: 2.75rem; padding-left: .875rem; border-left: 2px solid var(--site-line); text-decoration: none; color: var(--site-ink-soft); font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) { .rep-toc a:hover { border-left-color: var(--attune-primary); color: var(--site-ink); } }
.rep-body { display: grid; gap: 1.25rem; min-width: 0; }
.rep-sec { scroll-margin-top: 6rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--site-radius); background: var(--site-paper); border: 1px solid #ECE6DC; box-shadow: var(--site-shadow); display: grid; gap: 1rem; }
.rep-sec h2 { font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.25rem); }
.rep-sec__sub { color: var(--site-muted); }
.diff { display: grid; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--site-line); }
.diff h3 { font-family: var(--site-serif); font-size: 1.5rem; font-weight: 400; }
.diff__q { padding: .875rem 1rem; border-radius: 12px; background: var(--attune-primary-soft); }
.diff__q span { font-weight: 600; }
.why summary { display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; font-weight: 500; text-decoration: underline; text-decoration-color: var(--site-outline); text-underline-offset: .3em; }
.why p { color: var(--site-ink-soft); font-size: .9375rem; padding-bottom: .5rem; }
.rep-final { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--site-radius); background: var(--site-card); }
.rep-final h2 { font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.25rem); }
@media (min-width: 64em) { .rep { grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; } }
@media (max-width: 63.99em) {
  .rep-toc { position: static; }
  .rep-toc ol { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
  .rep-toc a { white-space: nowrap; border: 1px solid var(--site-line); border-radius: var(--radius-pill); padding: 0 1rem; background: var(--site-paper); }
}

/* ------------------------------------------------------------------ документы и 404 */
.doc { max-width: 48rem; padding-block: clamp(2rem, 4vw, 3.5rem) var(--site-sec); color: var(--site-ink-soft); }
.doc h1 { font-family: var(--site-serif); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: var(--site-ink); }
.doc h2 { font-family: var(--font-sans); font-size: 1.25rem; line-height: 1.35; font-weight: 600; margin: 2.25rem 0 .75rem; max-width: none; letter-spacing: 0; }
.doc h3 { margin: 1.5rem 0 .5rem; }
.doc p, .doc li { margin: 0 0 .75rem; }
.doc a { text-decoration-color: var(--attune-primary); text-underline-offset: .25em; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .625rem .75rem; border-bottom: 1px solid var(--site-line); }
.doc th { color: var(--site-ink); font-weight: 600; }
@media (max-width: 44.99em) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { padding: .75rem 0; border-bottom: 1px solid var(--site-line); }
  .doc td { border: 0; padding: .25rem 0; }
  .doc td[data-label]::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--site-muted); }
}
.notfound { display: grid; gap: 1.25rem; justify-items: start; padding-block: clamp(3rem, 6vw, 6rem) var(--site-sec); max-width: 40rem; }
.notfound h1 { font-family: var(--site-serif); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.notfound__art { width: min(15rem, 70%); border-radius: var(--site-radius); box-shadow: var(--site-shadow); }

/* ------------------------------------------------------------------ окно входа */
.vo {
  width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0;
  border-radius: 18px; background: var(--site-paper); color: var(--site-ink);
  box-shadow: var(--shadow-popover); overflow: auto;
}
.vo::backdrop { background: rgb(36 30 25 / 0.32); }
.vo[open] { opacity: 1; transform: none; transition: opacity var(--duration-panel) var(--ease-out), transform var(--duration-panel) var(--ease-out), overlay var(--duration-panel) allow-discrete, display var(--duration-panel) allow-discrete; }
@starting-style { .vo[open] { opacity: 0; transform: scale(0.97); } }
.vo__in { position: relative; padding: 2.25rem 2rem 1.75rem; }
.vo__close-form { position: absolute; top: .75rem; right: .75rem; margin: 0; }
.vo__close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.vo__eyebrow { color: var(--site-muted); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.vo__title { margin: .5rem 0 .75rem; font-family: var(--site-serif); font-weight: 400; font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; }
.vo__text { margin: 0 0 1.5rem; color: var(--site-ink-soft); font-size: 1rem; line-height: 1.55; }
.vo__form { display: grid; gap: .5rem; margin: 0; }
.vo__label { font-size: .9375rem; font-weight: 500; }
.vo__input { width: 100%; min-height: 3.25rem; border: 1px solid var(--attune-control-border); border-radius: 12px; background: #fff; color: var(--site-ink); padding: .75rem 1rem; font: inherit; font-size: 1rem; }
.vo__hint { margin: 0 0 .5rem; color: var(--site-muted); font-size: .875rem; }
.vo__submit { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; min-height: 3.25rem; border: 0; border-radius: var(--radius-pill); background: var(--attune-primary); color: #fff; font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; transition: transform 140ms var(--ease-out), background-color var(--duration-ui) ease; }
.vo__submit:active { transform: scale(0.97); }
.vo__submit--quiet { background: transparent; color: var(--site-ink); border: 1px solid var(--site-outline); }
@media (hover: hover) and (pointer: fine) { .vo__submit:hover { background: var(--attune-primary-hover); } .vo__submit--quiet:hover { background: var(--site-bg); } }
.vo__or { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--site-muted); font-size: .875rem; }
.vo__or::before, .vo__or::after { content: ""; flex: 1; border-top: 1px solid var(--site-line); }
.vo__vk { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; margin-top: .75rem; border: 1px solid var(--site-outline); border-radius: var(--radius-pill); text-decoration: none; }
.vo__new { margin: 1.25rem 0 0; }
.vo__new a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration-color: var(--attune-primary); text-underline-offset: .3em; }
.vo__legal { margin: .5rem 0 0; color: var(--site-muted); font-size: .8125rem; }
@media (max-width: 35.99em) {
  .vo { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .vo__in { padding: 2rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------------ меньше движения */
@media (prefers-reduced-motion: reduce) {
  .btn:active, .vo__submit:active { transform: none; }
  .topic:hover { transform: none; }
  .sheet[open], .vo[open] { transition: opacity var(--duration-panel) ease; }
  @starting-style { .sheet[open] { transform: none; opacity: 0; } .vo[open] { transform: none; } }
  .faq__mark { transition: none; }
}

/* ------------------------------------------------------------------ узкие экраны */
@media (max-width: 39.99em) {
  .kicker { letter-spacing: .2em; font-size: .6875rem; }
  .hero__title { font-size: clamp(2.25rem, 11.5vw, 3.25rem); }
  .hero .actions .btn { flex: 1 1 100%; }
  .tezisy { gap: .875rem; }
  .tezisy li { flex-basis: 100%; max-width: none; }
}
.page-hero + .wrap > .rep-cover { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
