/* Two reading layers. Existing paper, ink, typography and accent tokens only. */
.boevaya-details { margin-top: 18px; border-top: 1px solid var(--hair); }
.boevaya-details > summary { padding: 12px 0; min-height: 44px; cursor: pointer; color: var(--brick); font-size: 15px; font-weight: 600; }
.boevaya-details[open] > summary { margin-bottom: 8px; }
.boevaya-details > p + p { margin-top: 12px; }
.boevaya-lines { display: grid; gap: 8px; }
.boevaya-lines li { padding-left: 16px; border-left: 2px solid var(--hair); }
.boevaya-steps { margin-top: 24px; counter-reset: steps; }
.boevaya-steps > li { counter-increment: steps; position: relative; padding: 16px 0 16px 40px; border-top: 1px solid var(--hair); }
.boevaya-steps > li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; color: var(--brick); font-variant-numeric: tabular-nums; }
.boevaya-steps h3, .boevaya-steps p { display: inline; font-size: 16px; line-height: 1.5; }
.boevaya-steps h3 { margin-right: 10px; }
.boevaya-steps p { color: var(--pencil); }
.boevaya-prices { margin-top: 24px; }
.boevaya-price { padding: 14px 0 0; border-top: 1px solid var(--hair); }
.boevaya-price-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(160px, auto); grid-template-areas: "name short value"; align-items: baseline; gap: 14px; }
.boevaya-price-line > h3 { grid-area: name; }
.boevaya-price-line > .boevaya-price-value { grid-area: value; text-align: right; }
.boevaya-price-line > .boevaya-price-short { grid-area: short; }
.boevaya-price--free .boevaya-price-value { color: var(--brick); }
.boevaya-price h3, .boevaya-price-value { font-size: 17px; font-weight: 650; line-height: 1.4; }
.boevaya-price-value { font-variant-numeric: tabular-nums; }
.boevaya-price-short { font-size: 15px; color: var(--pencil); }
.boevaya-price > .boevaya-details { margin-top: 0; border: 0; }
.boevaya-price .price-what { padding-bottom: 16px; }
.boevaya-credit { margin-top: 12px; font-size: 15px; color: var(--pencil); }
.boevaya-price-cta { margin-top: 16px; }
.boevaya-not-for { margin-top: 24px; padding: 20px; border: 1px solid var(--hair); border-radius: 14px; background: var(--paper); }
.boevaya-not-for h3 { margin-bottom: 12px; font-size: 19px; }
#how > .wrap > .boevaya-details .how-list { margin-top: 24px; }
#how .how-card::after { display: none; }
#contact .boevaya-details { color: var(--canvas); }
#contact .boevaya-details > summary { color: inherit; }
#contact .boevaya-details .hero-lead, #contact .boevaya-details .attention-actions > p, #contact .boevaya-details .price-what, #contact .boevaya-details .price-what span, #contact .boevaya-details .attention-secondary { color: inherit; }
.boevaya-free { margin-block: 20px; }
.forecast-more > h4, .forecast-original > h4 { padding-block: 18px; font-size: 16px; }
/* Without enhancement, every example scene and its explanation remains readable. */
html:not(.xp-js) .xp :is(.xp-rows li, .xp-ad, .xp-page, .xp-tick, .xp-checks .xp-hot) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .xp-js .xp .xp-scene { display: block; }
  .xp-js .xp .xp-scene + .xp-scene { margin-top: 24px; }
  .xp-js .xp :is(.xp-note, .xp-end) { display: block; }
  .xp :is(.xp-rows li, .xp-ad, .xp-page, .xp-tick, .xp-checks .xp-hot, .xp-end) { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  body { overflow-x: visible; }
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 65px; padding-block: 0; gap: 12px; }
  .header-nav { gap: 12px; flex-wrap: wrap; }
  .hero-grid { padding: 28px 0 36px; gap: 24px; }
  .hero-label { margin-bottom: 16px; }
  .hero-author { margin-bottom: 18px; }
  .hero h1 { font-size: 36px; max-width: 100%; line-height: 1.08; }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .attention-actions { margin: 18px 0 0; }
  .attention-card { padding: 18px; }
  .attention-card h2 { margin: 12px 0 18px; }
  .attention-card ol > li { gap: 8px; padding: 10px 0; }
  .attention-card ol > li::before { font-size: 15px; padding-top: 0; }
  .attention-options { margin-top: 12px; }
  .attention-options > summary { padding: 12px 0; }
  .proof, .how, .prices, .doubts, .contact { padding: 36px 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .proof-head { gap: 16px; padding-bottom: 0; }
  .boevaya-steps { margin-top: 18px; }
  .boevaya-steps > li { padding: 12px 0 12px 32px; }
  .boevaya-prices { margin-top: 18px; }
  .boevaya-price { padding-top: 12px; }
  .boevaya-price-line { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name value" "short short"; gap: 4px 10px; }
  .boevaya-price h3, .boevaya-price-value { font-size: 15px; }
  .boevaya-price > .boevaya-details > summary { padding: 8px 0; }
  .boevaya-not-for { padding: 16px; }
  .doubt-list { margin-top: 20px; gap: 10px; }
  .doubt summary { padding: 16px; }
  .contact-lead { margin-top: 16px; }
  .contact-box { padding: 20px 16px; min-width: 0; }
  .site-footer { padding-block: 24px; }
  /* Raise legacy captions, form hints and disclosures to the requested minimum. */
  body :is(p, a, button, label, summary, li, small, figcaption, legend, h4, .eyebrow, .xp-chip i, .xp-bid, .xp-ad small, .xp-ad span, .xp-page small, .query-name, .query-range, .calc-count, .price-what span, .lc-channel span, .lc-consent span, span, i, input, textarea) { font-size: max(15px, 1em) !important; }
  .eyebrow { letter-spacing: .06em; }
  .attention-primary, .attention-secondary, .btn, .btn-ghost, .chip, .xp-cta, .lc-submit, .lc-direct-max, .lc-fallback { width: 100%; justify-content: center; text-align: center; }
  .xp-chip { gap: 4px; padding-inline: 2px; }
  .report-tabs { flex-wrap: wrap; }
  .report-tabs button { width: 100%; }
  .forecast-query { gap: 8px; }
  .query-range { white-space: normal; }
}

.boevaya-source { margin-top: 12px; font-size: 15px; }
.boevaya-price h3::first-letter { text-transform: uppercase; }
@media (max-width: 720px) {
  #proof .direct-workbench .report-source { font-size: 15px !important; }
}
/* All scenes stay expanded in reduced motion, with less space between them. */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .proof, .how, .prices, .doubts, .contact { padding-block: 12px; }
  .hero-grid { padding-block: 20px 24px; gap: 20px; }
  .attention-card ol > li { padding-block: 8px; }
  .xp-stage { padding: 14px 16px; }
  .xp-js .xp .xp-scene + .xp-scene { margin-top: 16px; }
  .xp-note { margin-top: 4px; padding: 4px 10px; }
  .xp-notes { gap: 4px; margin-top: 6px; }
  .xp-ad, .xp-page { padding: 10px 12px; }
  .xp-end { padding: 12px 16px; }
  .xp-end p { margin-bottom: 10px; }
  .boevaya-not-for { margin-top: 16px; }
  .doubt-list { gap: 8px; }
  .contact-box { padding-block: 16px; }
}
/* Legacy motion.js discovers every section/details: keep new blocks static. */
.boevaya-details .motion-fold, .boevaya-details > summary::after { transition: none !important; }

/* 26.09 итог B: шаги в три колонки на десктопе, строка калькулятора как кнопка, источник под сценой. */
@media (min-width: 721px) {
  .boevaya-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .boevaya-steps > li { padding: 18px 0 0; }
  .boevaya-steps > li::before { position: static; display: block; margin-bottom: 8px; }
  .boevaya-steps h3, .boevaya-steps p { display: block; }
  .boevaya-steps h3 { margin: 0 0 6px; }
}
.attention-options > summary { color: var(--brick); }
.attention-options > summary span { font-weight: 400; }
.xp-src { margin: 0 0 10px; color: var(--pencil); }
.contact .contact-sign { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.contact .contact-sign img { border-radius: 50%; flex: none; }
.attention-options > summary::after { content: none; }
/* Контакт по пути наименьшего сопротивления (93-ITOG §8.1). */
.contact .b-fast { margin-top: 20px; }
.contact .b-or { margin-top: 10px; color: inherit; opacity: .8; font-size: 15px; }
/* 27.09: подсказка видна всегда, как в A: скрытие до фокуса сдвигало кнопку, и первое нажатие «Отправить» терялось */
.b-who { margin: 4px 0; }
.b-who + .boevaya-lines { margin-top: 12px; }
