@font-face { font-family: M; src: url(/assets/Montserrat.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --green:#2a9d2f; --green-hi:#32b13a; --green-lo:#1c8a2b; --ink:#17301c; --muted:#6b8070; --bg:#f3f7f2; --line:#d6e2d6; --orange:#f39200; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: M, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; }
a { color: var(--green-lo); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* шапка */
.hero { background: linear-gradient(170deg, var(--green-hi), var(--green-lo)); color: #fff; padding: 28px 0 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 48px 0 16px; font-weight: 800; }
.hero .lead { font-size: clamp(18px, 2.4vw, 22px); max-width: 640px; margin: 0 0 32px; opacity: .95; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 15px 26px; border-radius: 99px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-main { background: var(--orange); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn:hover { filter: brightness(1.06); }

/* секции */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 680px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.band { border-radius: 16px; padding: 18px 20px; color: #fff; }
.band .pts { font-size: 28px; font-weight: 800; }
.band .lbl { font-weight: 600; }

.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 720px) { .groups { grid-template-columns: 1fr; } }
.group { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.group h3 { margin: 0 0 4px; font-size: 20px; }
.group .n { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.group ol { margin: 0; padding-left: 0; list-style: none; }
.group li { padding: 7px 0; border-top: 1px solid var(--bg); font-size: 16px; display: flex; gap: 10px; }
.group li span { color: var(--muted); min-width: 24px; font-variant-numeric: tabular-nums; }
.group li.lock { color: var(--green-lo); font-weight: 600; }

.channels { display: flex; flex-wrap: wrap; gap: 12px; }
.channels a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; text-decoration: none; color: var(--ink); font-weight: 600; }
.channels a small { display: block; color: var(--muted); font-weight: 500; font-size: 14px; }

.note { color: var(--muted); font-size: 14px; }

/* подвал */
footer { background: var(--ink); color: #c9d6cb; padding: 36px 0; font-size: 14px; }
footer a { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
footer p { margin: 4px 0; }

/* документы */
.doc-head { background: linear-gradient(170deg, var(--green-hi), var(--green-lo)); color: #fff; padding: 22px 0; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 44px); margin: 32px auto; font-size: 16px; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 0; }
.doc > p:first-of-type strong { font-size: 1.15em; }
.doc ol { counter-reset: item; padding-left: 0; list-style: none; }
.doc ol > li { counter-increment: item; margin: 6px 0; }
.doc ol > li::before { content: counters(item, ".") ". "; font-weight: 600; }
.doc ol > li > p:first-child { display: inline; }
.doc ol ol { padding-left: 1.4em; margin-top: 6px; }
.doc ul { padding-left: 1.4em; }
.doc .updated { color: var(--muted); font-size: 14px; }
