@font-face {
  font-family: Inter;
  src: url("../brand/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../brand/inter-ru.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
:root {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #252822;
  background: #fff;
  --ink: #252822;
  --muted: #595d54;
  --accent: #a9401e;
  --line: #dcded4;
  --paper: #f6f5ef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body, h1, h2, p, ul, ol { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #9e411d; outline-offset: 4px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: clamp(20px, 6.4vw, 88px); }
.skip { position: absolute; z-index: 4; transform: translateY(-140%); background: #fff; padding: 10px; }
.skip:focus { transform: translateY(0); }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.bar, .actions, .primary-nav, .wordmark { display: flex; align-items: center; }
.bar { min-height: 80px; gap: 32px; }
.wordmark { gap: 9px; font-size: clamp(18px, 2vw, 24px); font-weight: 680; letter-spacing: -.065em; line-height: 1; text-decoration: none; }
.wordmark img { flex-shrink: 0; }
.primary-nav { margin-left: auto; gap: 26px; }
.primary-nav a, footer nav a { font-size: 14px; font-weight: 520; text-decoration: none; }
.actions { gap: 15px; }
.order { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 21px; background: var(--ink); color: white; text-decoration: none; font-size: 14px; font-weight: 570; border-radius: 99px; line-height: 1.25; text-align: center; }
.order:hover { color: #fff; background: var(--accent); }
.intro { padding: clamp(32px, 4vw, 56px) 0 clamp(42px, 6vw, 78px); background: var(--paper); }
.crumbs { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: clamp(30px, 4.2vw, 59px); font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { max-width: 23ch; font-size: clamp(36px, 5.5vw, 78px); line-height: 1.04; font-weight: 520; letter-spacing: -.066em; overflow-wrap: break-word; }
.lead { max-width: 67ch; margin-top: 23px; color: var(--muted); font-size: clamp(16px, 1.56vw, 21px); line-height: 1.52; letter-spacing: -.018em; }
.inline-cta, .report-link { color: var(--accent); font-weight: 620; }
.inline-cta { display: inline-block; margin-top: 23px; }
.date, time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.date { margin-bottom: 14px; }
.interior { padding-block: clamp(40px, 6.5vw, 86px); }
.reading { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 735px); align-items: start; gap: clamp(32px, 7vw, 110px); }
.toc { position: sticky; top: 24px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; }
.toc summary { font-weight: 620; cursor: pointer; }
.toc ul { padding: 13px 0 0; display: grid; gap: 10px; list-style: none; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.prose, .step p, .report p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; }
.prose { overflow-wrap: anywhere; grid-column: -2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .step h2, .news-list h2 { font-weight: 540; letter-spacing: -.045em; line-height: 1.2; }
.prose h2, .step h2 { font-size: clamp(24px, 2.5vw, 36px); }
.prose h2:not(:first-child) { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose a, .back a { color: var(--accent); }
.prose .back { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 40px; }
.steps { padding: 0; list-style: none; }
.step + .step { padding-top: 38px; margin-top: 38px; border-top: 1px solid var(--line); }
.step-heading { display: flex; align-items: baseline; gap: 14px; }
.step-index { color: var(--accent); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); margin-top: 12px; }
.step-figure { display: grid; place-items: center; width: 100%; min-height: 150px; padding: 14px; margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step-figure img { display: block; width: 100%; height: auto; max-height: 235px; object-fit: contain; }
.report { margin-top: 35px; padding: 22px 26px; border-radius: 16px; background: var(--paper); }
.report p { margin-top: 5px; font-size: 15px; color: var(--muted); }
.news-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: minmax(100px, .3fr) minmax(0, 1fr) auto; gap: clamp(18px, 4vw, 52px); align-items: baseline; padding: 32px 0; text-decoration: none; }
.news-list h2 { font-size: clamp(22px, 2.7vw, 38px); }
.news-list p { margin-top: 12px; max-width: 64ch; color: var(--muted); }
.arrow { color: var(--accent); font-size: 24px; }
footer { padding-block: 35px; border-top: 1px solid var(--line); background: var(--paper); }
.foot, .foot nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.foot { justify-content: space-between; }
.foot nav { gap: 12px 22px; }
@media (max-width: 780px) {
  .bar { gap: 20px; min-height: 68px; justify-content: space-between; }
  .primary-nav { display: none; }
  .reading { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .toc ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .news-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
  .news-list time { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .bar { gap: 6px; }
  .wordmark { font-size: 17px; gap: 6px; }
  .wordmark img { width: 29px; height: 29px; }
  .actions { gap: 5px; }
  .order { max-width: 140px; padding: 8px 13px; font-size: 12px; }
  .step-figure { min-height: 100px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.header { position: relative; z-index: 3; }
.header .wrap { width: min(100% - clamp(40px, 8.75vw, 144px), 1440px); padding-inline: 0; max-width: none; }
.bar { justify-content: space-between; min-height: 84px; }
.primary-nav { margin-left: 0; }
.order { gap: 10px; }
.order .icon { width: 17px; height: 17px; }
.mobile-menu { display: none; }
@media (max-width: 1120px) {
  .bar { gap: 16px; }
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: 13px; }
}
@media (max-width: 940px) {
  .bar { min-height: 70px; }
  .primary-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; background: white; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary .icon { width: 20px; height: 20px; }
  .mobile-menu summary .icon:last-child, .mobile-menu[open] summary .icon:first-child { display: none; }
  .mobile-menu[open] summary .icon:last-child { display: block; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 6px max(18px, 4.375vw) 12px; background: white; box-shadow: 0 10px 18px #25251e12; border-block: 1px solid var(--line); }
  .mobile-menu nav a { padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
  .mobile-menu nav a:last-child { border-bottom: 0; color: var(--accent); }
}
@media (max-width: 720px) {
  .header .wrap { width: calc(100% - 36px); }
  .bar { min-height: 65px; }
  .order { display: none; }
  .actions { gap: 12px; }
}
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.contact-grid section { padding: clamp(20px,3vw,42px); border: 1px solid var(--line); border-radius: 18px; }
.contact-grid p, .contact-grid address { margin-top: 15px; color: var(--muted); font-style: normal; }
.contact-grid a { display: inline-block; margin-top: 15px; color: var(--accent); font-weight: 600; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
