@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-400-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-600-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-700-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F;
}

:root {
  --ink: #20271d;
  --muted: #5d6658;
  --green: #5d883b;
  --deep-green: #263b26;
  --paper: #f7f6f0;
  --white: #fffefa;
  --line: #dcded4;
  --red: #dc4b36;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.78 Montserrat, sans-serif; }
img { display: block; max-width: 100%; }
a { color: #376d2c; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--deep-green); }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 2px; }
::selection { background: #d7e9be; color: var(--ink); }

.reading-progress { position: fixed; z-index: 80; inset: 0 0 auto; height: 4px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--green); }
.site-header { position: relative; z-index: 30; background: rgba(255,254,250,.97); border-bottom: 1px solid #e5e7dc; }
.header-inner { max-width: 1280px; margin: auto; padding: 15px 32px; min-height: 74px; display: flex; align-items: center; gap: 23px; }
.brand img { width: 58px; height: auto; }
.header-rule { height: 28px; width: 1px; background: var(--line); }
.header-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.header-link { margin-left: auto; text-decoration: none; font-size: 13px; font-weight: 700; }
.header-link span { margin-left: 3px; }

.hero { background: var(--paper); padding: 72px 32px 0; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-kicker { display: flex; align-items: center; gap: 11px; color: #456c32; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #f4e6df; }
.kicker-separator { color: #a5b19d; }
.hero h1 { margin: 28px 0 23px; max-width: 1050px; font-size: clamp(42px, 5.1vw, 71px); line-height: 1.09; letter-spacing: -.055em; font-weight: 700; text-wrap: balance; }
.hero-deck { max-width: 900px; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: #4a5447; margin: 0; }
.hero-promise { display: inline-block; margin: 26px 0 0; padding: 11px 16px; border-left: 3px solid var(--green); background: #eaf0e3; color: #31512c; font-size: 14px; line-height: 1.45; font-weight: 700; }
.hero-footer { max-width: 750px; display: flex; align-items: center; gap: 14px; margin: 26px 0 42px; color: #515d4b; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hero-footer-line { width: 30px; height: 1px; background: #a4b099; }
.hero-image { max-width: 1200px; margin: 0 auto; }
.hero-image figure { margin: 0; }
.hero-image img { width: 100%; aspect-ratio: 1280 / 708; object-fit: cover; border-radius: 12px 12px 0 0; box-shadow: 0 8px 28px rgba(25,37,19,.12); }
.hero-image figcaption { padding: 14px 2px 22px; color: #626b5e; font-size: 12px; line-height: 1.55; }
.hero-image figcaption em { font-style: normal; }

.story-layout { max-width: 1220px; margin: 0 auto; padding: 74px 32px 112px; display: grid; grid-template-columns: 220px minmax(0, 810px); gap: clamp(48px, 6vw, 92px); align-items: start; }
.story-aside { position: sticky; top: 42px; align-self: start; }
.toc { padding-top: 11px; border-top: 2px solid var(--green); }
.toc-label { margin: 0 0 18px; color: var(--green); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; font-weight: 700; }
.toc a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: #556250; text-decoration: none; font-size: 12px; line-height: 1.5; }
.toc a:hover { color: var(--green); }
.toc a span { color: #94a885; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.aside-video { display: flex; align-items: center; gap: 12px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; text-decoration: none; color: var(--deep-green); font-size: 12px; font-weight: 700; line-height: 1.45; }
.aside-video small { color: #879285; font-weight: 400; font-size: 11px; }
.play-icon { display: grid; place-items: center; flex: 0 0 33px; height: 33px; color: var(--green); border: 1px solid #8fae76; border-radius: 50%; font-size: 9px; padding-left: 2px; }

.article-body { min-width: 0; }
.article-body > p:first-child { font-size: 20px; line-height: 1.75; font-weight: 600; color: var(--deep-green); }
.article-body p { margin: 0 0 22px; }
.article-body strong { color: #263c25; font-weight: 700; }
.article-body em { font-style: italic; }
.article-body .chapter { margin-top: 69px; padding-top: 23px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.article-body h2 { display: flex; align-items: baseline; gap: 17px; margin: 0 0 29px; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.22; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.chapter-number { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: -.02em; flex: 0 0 auto; }
.article-body h3 { margin: 38px 0 16px; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { padding-left: 5px; margin: 0 0 11px; }
.article-body li::marker { color: var(--green); font-weight: 700; }
.article-body blockquote { margin: 28px 0 32px; padding: 25px 29px; border-radius: 14px; background: #edf3e8; color: #274326; }
.article-body blockquote p { margin: 0; }
.article-body blockquote p + p { margin-top: 14px; }
.article-body .key-idea { border-left: 4px solid #80a660; font-size: 20px; line-height: 1.5; font-weight: 600; }
.article-body .reader-moment { position: relative; display: grid; gap: 7px; padding: 24px 29px; background: #203327; color: #fffdf3; font-size: 20px; line-height: 1.5; font-weight: 700; }
.article-body .reader-moment strong { color: #fffdf3; }
.reader-moment::before { content: "УЗНАЛИ СЕБЯ?"; color: #b9d89e; font-size: 11px; letter-spacing: .13em; }
.article-body .testimonial { background: #f8efe9; border-left: 4px solid #d26d54; color: #38402f; font-size: 20px; line-height: 1.55; }
.article-body .testimonial p:last-child { font-size: 13px; color: #756e61; font-weight: 600; }

.article-figure { margin: 38px 0 35px; }
.article-figure img { width: 100%; height: auto; border-radius: 10px; background: #e8e8df; box-shadow: 0 5px 18px rgba(27,34,24,.09); }
.article-figure figcaption { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--green); color: #687265; font-size: 12px; line-height: 1.6; }
.article-figure figcaption em { font-style: normal; }

.table-wrap { margin: 30px 0 36px; }
.table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.table-wrap tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.table-wrap tr { min-width: 0; padding: 21px 23px; border: 1px solid #d8e3d2; border-radius: 12px; background: #f7faf4; }
.table-wrap td { padding: 0; font-size: 14px; line-height: 1.55; }
.table-wrap td + td { margin-top: 12px; }
.table-wrap td:first-child { color: #274c27; font-size: 16px; line-height: 1.4; font-weight: 700; }
.comparison-table-wrap tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comparison-table-wrap tr { min-height: 183px; background: #f7f2e9; border-color: #ece0cc; }
.comparison-table td:first-child { font-size: 17px; color: #6d5632; }
.comparison-table td + td::before { content: "А У ВАС ВОЗНИКАЕТ ВОПРОС"; display: block; margin-bottom: 7px; color: #74865d; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.steps-table-wrap tr { position: relative; padding-top: 27px; background: #eaf2e5; border-color: #d4e3ca; }
.steps-table td + td::before { content: "СПРОСИТЕ СЕБЯ"; display: block; margin-bottom: 5px; color: #5e8a4a; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.steps-table td:last-child { color: #65705d; }
.meat-table-wrap tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meat-table-wrap tr { background: #f4f1e9; border-color: #e5dccb; }
.meat-table td:nth-child(2)::before { content: "ЗАДАЧА"; display: block; margin-bottom: 5px; color: #8a7555; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.meat-table td:last-child::before { content: "СПОСОБ"; display: block; margin-bottom: 5px; color: #8a7555; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.time-table-wrap tbody { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.time-table-wrap tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: #e9f1e5; }
.time-table td + td { margin-top: 0; border-left: 1px solid #cddbc5; padding-left: 20px; }
.time-table td::before { content: "АКТИВНОЕ ВРЕМЯ"; display: block; margin-bottom: 7px; color: #668954; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.time-table td:last-child::before { content: "ПАССИВНОЕ ВРЕМЯ"; }
.diagnostic-table-wrap tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.diagnostic-table-wrap tr { background: #f8f6f1; border-color: #e8e4db; }
.diagnostic-table td:last-child::before { content: "ЧТО ПРОВЕРИТЬ"; display: block; margin-bottom: 5px; color: #688a52; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.diagnostic-table td:first-child { color: #373b2e; }
.article-body .flow-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 0; margin: 25px 0 28px; list-style: none; counter-reset: flow; }
.article-body .flow-list li { position: relative; min-height: 112px; padding: 18px 19px 19px 59px; margin: 0; border: 1px solid #d8e4d0; border-radius: 11px; background: #f7faf5; font-size: 14px; line-height: 1.55; counter-increment: flow; }
.flow-list li::before { content: counter(flow, decimal-leading-zero); position: absolute; top: 17px; left: 18px; color: #659148; font-size: 13px; font-weight: 700; }
.article-body .action-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 25px 0 28px; list-style: none; }
.article-body .action-list li { margin: 0; padding: 17px 19px; background: #f2f6ed; border-left: 3px solid #8bad70; border-radius: 7px; font-size: 14px; }
.article-body .related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 20px 0 30px; list-style: none; }
.article-body .related-links li { margin: 0; padding: 21px 19px; background: #f7f6f0; border: 1px solid #e1e3d8; border-radius: 10px; font-size: 13px; line-height: 1.55; }
.related-links a { display: block; margin-bottom: 8px; font-weight: 700; font-size: 16px; line-height: 1.35; }

.course-chapter { margin-left: -26px; margin-right: -26px; padding: 31px 26px 35px !important; border: 1px solid #cfddc4 !important; border-radius: 14px; background: #f0f5ea; }
.course-chapter h2 { color: #263f25; }
.course-chapter .article-figure { margin: 30px 0; }
.course-actions { padding-top: 22px; margin-top: 26px; border-top: 1px solid #cfddc4; }
.course-actions p { margin: 0 0 15px; font-size: 14px; font-weight: 600; color: #345834; }
.course-buttons { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.course-buttons a { display: inline-flex; align-items: center; min-height: 45px; padding: 10px 15px; border-radius: 7px; background: #3c6b33; color: white; text-decoration: none; font-size: 12px; line-height: 1.35; font-weight: 700; }
.course-buttons a + a { background: transparent; color: #345b30; border: 1px solid #78996f; }
.course-buttons a:hover { filter: brightness(.92); }

.site-footer { background: #1f2d20; color: #f2f4ee; padding: 38px 32px; }
.footer-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; gap: 22px; }
.footer-inner img { filter: brightness(0) invert(1); width: 128px; height: auto; }
.footer-inner p { margin: 0; font-size: 14px; color: #c2ceb8; }
.footer-inner a { margin-left: auto; color: #e6f0dc; font-size: 12px; text-decoration: none; }

@media (max-width: 950px) {
  .story-layout { grid-template-columns: minmax(0, 810px); justify-content: center; padding-top: 48px; }
  .story-aside { display: none; }
}
@media (max-width: 650px) {
  body { font-size: 15px; line-height: 1.75; }
  .header-inner { min-height: 60px; padding: 12px 18px; gap: 12px; }
  .brand img { width: 44px; }
  .header-rule, .header-label { display: none; }
  .header-link { font-size: 11px; }
  .hero { padding: 38px 18px 0; }
  .hero-kicker { font-size: 10px; gap: 8px; }
  .hero h1 { margin: 21px 0 17px; font-size: clamp(34px, 9vw, 49px); line-height: 1.13; letter-spacing: -.055em; }
  .hero-deck { font-size: 16px; line-height: 1.64; }
  .hero-promise { margin-top: 20px; padding: 10px 12px; font-size: 12px; }
  .hero-footer { margin: 18px 0 27px; gap: 8px; font-size: 10px; flex-wrap: wrap; }
  .hero-footer-line { width: 19px; }
  .hero-image img { border-radius: 8px 8px 0 0; }
  .hero-image figcaption { font-size: 10px; padding-bottom: 13px; }
  .story-layout { padding: 40px 18px 74px; }
  .article-body > p:first-child { font-size: 17px; }
  .article-body p { margin-bottom: 18px; }
  .article-body .chapter { margin-top: 47px; padding-top: 19px; }
  .article-body h2 { gap: 10px; margin-bottom: 22px; font-size: clamp(27px, 7vw, 33px); }
  .chapter-number { font-size: 11px; }
  .article-body h3 { margin-top: 29px; font-size: 19px; }
  .article-figure { margin: 27px 0 29px; }
  .article-figure figcaption { font-size: 11px; }
  .article-body blockquote { padding: 19px 20px; }
  .article-body .key-idea, .article-body .reader-moment, .article-body .testimonial { font-size: 17px; }
  .table-wrap tbody, .comparison-table-wrap tbody, .meat-table-wrap tbody, .diagnostic-table-wrap tbody { grid-template-columns: 1fr; gap: 9px; }
  .table-wrap tr { min-height: 0; padding: 17px 18px; }
  .table-wrap td { font-size: 13px; }
  .table-wrap td:first-child { font-size: 15px; }
  .time-table-wrap tr { display: block; }
  .time-table td + td { margin-top: 16px; padding: 16px 0 0; border-left: 0; border-top: 1px solid #cddbc5; }
  .article-body .flow-list, .article-body .action-list, .article-body .related-links { grid-template-columns: 1fr; }
  .article-body .flow-list li { min-height: 0; }
  .article-body .related-links li { padding: 17px 18px; }
  .course-chapter { margin-left: -7px; margin-right: -7px; padding: 22px 15px 25px !important; }
  .course-buttons { display: block; }
  .course-buttons a { display: flex; justify-content: center; margin: 0 0 8px; }
  .footer-inner { gap: 12px; flex-wrap: wrap; }
  .footer-inner img { width: 105px; }
  .footer-inner p { font-size: 12px; }
  .footer-inner a { width: 100%; margin: 6px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
