/* ==========================================================================
   БФ «Немезіда» / Nemesis Charitable Foundation — one-page site
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Alumni Sans"; font-weight: 500; font-display: swap; src: url("../fonts/alumni-sans-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alumni Sans"; font-weight: 500; font-display: swap; src: url("../fonts/alumni-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alumni Sans"; font-weight: 600; font-display: swap; src: url("../fonts/alumni-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alumni Sans"; font-weight: 600; font-display: swap; src: url("../fonts/alumni-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alumni Sans"; font-weight: 700; font-display: swap; src: url("../fonts/alumni-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alumni Sans"; font-weight: 700; font-display: swap; src: url("../fonts/alumni-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("../fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("../fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("../fonts/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("../fonts/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("../fonts/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("../fonts/onest-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0F2E24;          /* основний темно-зелений */
  --ink-deep: #0B241C;     /* підвал, початок градієнта */
  --green: #184D3B;
  --green-2: #23684F;
  --accent: #309474;       /* великі цифри на світлому */
  --accent-text: #1F6E54;  /* дрібний акцентний текст на світлому */
  --mint: #8FD9B6;         /* акцент на темному */
  --ground: #E7ECEA;
  --paper: #F3F6F4;
  --muted: #2B4A40;
  --line: rgba(15, 46, 36, .16);
  --on-dark-muted: rgba(231, 236, 234, .78);
  --on-dark-line: rgba(231, 236, 234, .16);

  --display: "Alumni Sans", "Arial Narrow", sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;

  --pad-x: clamp(20px, 6.9vw, 100px);
  --section-y: clamp(64px, 8.3vw, 120px);
  --radius: clamp(20px, 2vw, 28px);
  --maxw: 1440px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible { outline-color: var(--accent); }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ground); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.display { font-family: var(--display); text-transform: uppercase; }
.eyebrow { font-size: clamp(12px, 1vw, 14px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 5.9vw, 84px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
[id] { scroll-margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 15px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.btn--light { background: var(--ground); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--arrow { padding-right: 7px; }
.btn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--ink); color: var(--ground); flex-shrink: 0; }

/* ---------- Header / hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--ground); background: linear-gradient(128deg, var(--ink-deep) 0%, var(--ink) 38%, var(--green) 78%, var(--green-2) 100%); }
.hero__mark { position: absolute; right: -90px; top: 60px; width: clamp(440px, 57vw, 820px); height: auto; opacity: .07; pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-direction: column; gap: clamp(48px, 6.7vw, 96px); padding-top: clamp(16px, 2.8vw, 40px); padding-bottom: clamp(40px, 5vw, 72px); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(231, 236, 234, .08); border: 1px solid var(--on-dark-line); }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: background-color .2s; }
.nav a:hover { background: rgba(231, 236, 234, .14); color: #fff; }
.topbar__actions { display: flex; align-items: center; gap: clamp(8px, 1.1vw, 16px); }

.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(231, 236, 234, .24); }
.lang a { display: grid; place-items: center; width: clamp(38px, 3vw, 44px); height: 36px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.lang a[aria-current="page"] { background: var(--ground); color: var(--ink); }
.lang a:not([aria-current]):hover { background: rgba(231, 236, 234, .14); }

.burger { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid rgba(231, 236, 234, .24); background: rgba(231, 236, 234, .08); color: var(--ground); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.hero__body { display: flex; flex-direction: column; gap: clamp(28px, 3.3vw, 48px); }
.hero__slogan { display: flex; flex-direction: column; gap: 6px; max-width: 1040px; font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; text-transform: uppercase; }
.hero__slogan span + span { color: var(--mint); }
.hero__cta { display: none; }
.brand { display: flex; flex-shrink: 0; }
.brand img { width: clamp(44px, 3.9vw, 56px); height: auto; }
.hero__title { display: flex; flex-direction: column; gap: clamp(14px, 1.7vw, 24px); }
.hero__logo { width: clamp(300px, 50vw, 720px); height: auto; }
.hero__kicker { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.facts a { text-decoration: underline; text-decoration-color: rgba(143, 217, 182, .5); text-underline-offset: .15em; }
.facts a:hover { color: #fff; }

.hero__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; padding-top: clamp(24px, 2vw, 28px); border-top: 1px solid var(--on-dark-line); }
.legal { display: flex; flex-direction: column; gap: 4px; font-size: clamp(12px, 1vw, 14px); line-height: 1.5; letter-spacing: .02em; color: var(--on-dark-muted); }
.facts { display: flex; gap: clamp(32px, 3.3vw, 48px); }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(231, 236, 234, .7); }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(28px, 2.5vw, 36px); font-weight: 600; line-height: 1; }

/* ---------- Results ---------- */
.results { padding-block: var(--section-y); }
.results .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.9vw, 56px); }
.section-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 80px; align-items: end; }
.section-head__title { display: flex; flex-direction: column; gap: clamp(16px, 1.4vw, 20px); }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.impact { display: flex; flex-direction: column; gap: clamp(28px, 3.3vw, 48px); padding: clamp(28px, 3.9vw, 56px) clamp(22px, 4.4vw, 64px) clamp(28px, 4.2vw, 60px); border-radius: var(--radius); background: var(--ink); color: var(--ground); }
.impact__total { display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 16px); }
.impact__label { font-size: clamp(14px, 1.2vw, 17px); color: rgba(231, 236, 234, .8); }
.impact__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; font-family: var(--display); text-transform: uppercase; }
.impact__num { font-weight: 700; font-size: clamp(60px, 11.7vw, 168px); line-height: .9; white-space: nowrap; }
.impact__cur { font-weight: 500; font-size: clamp(28px, 3.9vw, 56px); line-height: 1; color: var(--mint); }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 48px; padding-top: clamp(24px, 2.5vw, 36px); border-top: 1px solid rgba(231, 236, 234, .14); }
.year { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 16px; }
.year dt { font-size: clamp(13px, 1vw, 14px); font-weight: 600; letter-spacing: .12em; color: rgba(231, 236, 234, .75); }
.year dd { margin: 0; }
.year__value { font-family: var(--display); font-size: clamp(32px, 3.3vw, 48px); font-weight: 600; line-height: 1; white-space: nowrap; }
.year__value small { font-size: .58em; color: var(--mint); }
.bar { height: 8px; border-radius: 999px; background: rgba(231, 236, 234, .1); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--mint); }

/* ---------- Areas ---------- */
.areas { padding-block: var(--section-y); background: var(--paper); }
.areas .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.9vw, 56px); }
.areas__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.areas__head .h2 { max-width: 900px; }
.areas__count { font-family: var(--display); font-size: 28px; font-weight: 500; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; }
.areas__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; }
.area { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.area__title { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 600; text-transform: uppercase; }
.area__num { font-size: clamp(24px, 2.1vw, 30px); line-height: 1; color: var(--accent); }
.area__name { font-size: clamp(28px, 2.4vw, 34px); line-height: 1.05; }
.area p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- Help / banks ---------- */
.help { padding-block: var(--section-y); }
.help .wrap { display: flex; flex-direction: column; gap: clamp(32px, 3.9vw, 56px); }
.help__head { display: flex; flex-direction: column; gap: clamp(16px, 1.7vw, 24px); }
.help__title { font-family: var(--display); font-weight: 700; font-size: clamp(52px, 6.4vw, 92px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.help__sub { max-width: 900px; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.05; text-transform: uppercase; color: var(--accent-text); text-wrap: balance; }

.banks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
.bank { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--ground); }
.bank__name { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 2.8vw, 40px); line-height: 1; text-transform: uppercase; }
.bank--mono .bank__name { text-transform: none; }
.bank__main { display: flex; gap: 28px; flex: 1 1 auto; }
.bank__qr { flex-shrink: 0; display: grid; place-items: center; width: 200px; height: 200px; padding: 16px; border-radius: 16px; border: 2px dashed var(--accent); background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; }
.bank__qr:has(img) { border-style: solid; border-color: var(--paper); padding: 10px; }
.bank__qr img { width: 100%; height: 100%; object-fit: contain; }
.bank__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bank__hint { font-size: 15px; line-height: 1.5; color: rgba(231, 236, 234, .85); }
.requisites { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.4; }
.requisites div { display: flex; flex-direction: column; gap: 2px; }
.requisites dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.requisites dd { margin: 0; color: var(--ground); overflow-wrap: anywhere; }
.bank__btn { align-self: stretch; width: 100%; justify-content: space-between; padding: 7px 7px 7px 24px; line-height: 1.2; text-align: left; }
.hint-mobile { display: none; }
.accounts { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.accounts li { display: flex; align-items: baseline; gap: 10px; }
.acc__cur { flex-shrink: 0; min-width: 34px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--mint); }
.acc__iban { font-variant-numeric: tabular-nums; letter-spacing: .01em; user-select: all; overflow-wrap: anywhere; }
.bank__qr:has(img) { background: #fff; }

.help__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 16px; color: var(--muted); }
.help__contact svg { color: var(--accent-text); }
.help__contact a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.footer__contact a { font-size: 15px; font-weight: 600; color: var(--ground); }
.footer__contact a:hover { color: var(--mint); }

.help { padding-block: var(--section-y); }
.help__accept { margin-top: calc(clamp(32px, 3.9vw, 56px) * -1 + 12px); font-size: 14px; line-height: 1.6; color: var(--muted); }
.help__accept a { font-weight: 600; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.help__accept a:hover { color: var(--ink); }

/* ---------- Reporting ---------- */
.reporting { padding-block: var(--section-y); background: var(--paper); }
.reporting__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.9vw, 56px) 80px; align-items: start; }
.reporting__body { display: flex; flex-direction: column; gap: clamp(16px, 1.7vw, 24px); max-width: 720px; }
.reporting__body p { font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.reporting__body .lead { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.6; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(40px, 3.9vw, 56px) clamp(32px, 3vw, 44px); background: var(--ink-deep); color: var(--on-dark-muted); }
.footer .wrap { display: flex; flex-direction: column; gap: clamp(28px, 2.8vw, 40px); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; }
.footer__top img { width: clamp(139px, 11.8vw, 170px); height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; font-weight: 500; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; }
.footer__nav a:hover { color: #fff; }
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 40px; padding-top: clamp(24px, 2.2vw, 32px); border-top: 1px solid rgba(231, 236, 234, .14); }
.contacts__title { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 2.8vw, 40px); line-height: 1; text-transform: uppercase; color: var(--ground); }
.contacts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; font-style: normal; }
.contacts__list div { display: flex; flex-direction: column; gap: 6px; }
.contacts__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.contacts__list a { font-size: 16px; line-height: 1.45; color: var(--ground); text-decoration: underline; text-decoration-color: rgba(143, 217, 182, .4); text-underline-offset: .2em; overflow-wrap: anywhere; }
.contacts__list a:hover { color: var(--mint); }
.social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.social img { width: 20px; height: 20px; flex-shrink: 0; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; padding-top: clamp(24px, 2vw, 28px); border-top: 1px solid rgba(231, 236, 234, .14); font-size: 13px; line-height: 1.6; letter-spacing: .02em; }
.footer__bottom .legal { font-size: 13px; }
.footer__docs { display: flex; flex-wrap: wrap; gap: 4px 32px; padding-top: clamp(20px, 1.8vw, 26px); border-top: 1px solid rgba(231, 236, 234, .14); font-size: 14px; font-weight: 500; }
.footer__docs a { display: flex; align-items: center; min-height: 40px; text-decoration: underline; text-decoration-color: rgba(143, 217, 182, .4); text-underline-offset: .2em; }
.footer__docs a:hover { color: var(--mint); }


/* ---------- Юридичні документи ---------- */
.hero--doc .hero__inner { gap: clamp(32px, 4.2vw, 64px); padding-bottom: clamp(32px, 3.9vw, 56px); }
.hero--doc .hero__mark { right: -120px; top: -40px; width: clamp(360px, 42vw, 620px); }
.doc__head { display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 20px); max-width: 1040px; }
.doc__title { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 76px); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.doc__sub { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; text-transform: uppercase; color: var(--mint); text-wrap: balance; }
.doc__date { font-size: 14px; letter-spacing: .02em; color: var(--mint); }
.doc__head .hero__cta { margin-top: 8px; }

.doc { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.doc__wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 4.2vw, 72px); align-items: start; }
.doc__toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 1.8vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.doc__toc-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.doc__toc ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.doc__toc li { counter-increment: toc; }
.doc__toc li a { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.doc__toc li a::before { content: counter(toc) "."; flex-shrink: 0; font-variant-numeric: tabular-nums; color: var(--accent-text); }
.doc__toc li a:hover { color: var(--ink); }
.doc__back { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.doc__back:hover { color: var(--ink); }

.doc__body { display: flex; flex-direction: column; gap: clamp(32px, 3.3vw, 48px); max-width: 820px; }
.doc__sec { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.doc__h2 { display: flex; gap: 14px; margin-bottom: 4px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.doc__h2n { flex-shrink: 0; color: var(--accent); }
.doc .cl { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.doc .cl--d2 { padding-left: clamp(16px, 2vw, 32px); }
.doc .cl--d3 { padding-left: clamp(32px, 4vw, 64px); }
.doc .cl__n { flex-shrink: 0; min-width: 3.4em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.doc .cl__t { min-width: 0; overflow-wrap: anywhere; }
.doc__cont { padding-left: calc(3.4em + 12px); font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.doc__enum { display: flex; flex-direction: column; gap: 10px; padding-left: calc(3.4em + 12px); list-style: none; }
.doc__enum li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.doc__enum .cl__n { min-width: 2em; }
.doc a[href^="mailto"], .doc a[href^="http"], .doc a[href^="tel"] { font-weight: 500; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.doc__other { padding-top: clamp(20px, 2vw, 28px); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.doc__other a { font-weight: 600; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.doc__other a:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---- ≤1280: щільніше меню-капсула (6 пунктів) ---- */
@media (max-width: 1280px) {
  .nav a { padding: 0 14px; }
}

/* ---- ≤1180: вужчий десктоп ---- */
@media (max-width: 1180px) {
  .bank__main { flex-direction: column; }
  .bank__qr { align-self: flex-start; }
  .facts { gap: 28px; }
}

/* ---- ≤1140: меню згортається в бургер (капсула з 6 пунктами не вміщується) ---- */
@media (max-width: 1140px) {
  .burger { display: grid; }
  .topbar { position: relative; flex-wrap: wrap; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; padding: 8px; border-radius: 20px; background: rgba(11, 36, 28, .92); backdrop-filter: blur(8px); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; padding: 0 16px; font-size: 17px; border-radius: 12px; }
  .topbar__donate { display: none; }
  .hero__cta { display: flex; align-self: flex-start; }
}

/* ---- ≤1024: планшет ---- */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .reporting__grid { grid-template-columns: minmax(0, 1fr); }
  .years { grid-template-columns: minmax(0, 1fr); }
  .year { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
  .year__value { justify-self: end; }
  .bar { grid-column: 1 / -1; }
  .bar { height: 6px; }

  .areas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .contacts { grid-template-columns: minmax(0, 1fr); }

  .doc__wrap { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { position: static; }
  .doc__toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---- ≤700: телефон ---- */
@media (max-width: 700px) {
  .hero__mark { right: -150px; top: 150px; }
  .hero__logo { width: 100%; max-width: 420px; }
  .facts { flex-wrap: wrap; gap: 20px 28px; }
  .banks { grid-template-columns: minmax(0, 1fr); }
  .bank__main { flex-direction: column; }
  .bank__qr { align-self: center; width: 220px; height: 220px; }
  .bank__btn { min-height: 56px; }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
  .footer__contact { align-items: flex-start; text-align: left; }
  .hero__meta { flex-direction: column-reverse; align-items: flex-start; }
  .hero__cta { align-self: stretch; justify-content: space-between; min-height: 56px; padding-left: 24px; }
  .hero__cta .btn__icon { width: 42px; height: 42px; }

  .areas__head { flex-direction: column; align-items: flex-start; }
  .areas__count { display: none; }
  .areas__list { grid-template-columns: minmax(0, 1fr); }
  .area { gap: 6px; padding: 18px 0 20px; }
  .area__title { gap: 12px; }
  .areas__list { border-bottom: 1px solid var(--line); }


  .footer__top { flex-direction: column; }
  .contacts, .contacts__list { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 4px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; font-size: 12px; }
  .footer__bottom .legal { font-size: 12px; }
  .footer__docs { gap: 0 16px; }

  .doc__toc ol { grid-template-columns: minmax(0, 1fr); }
  .doc .cl { flex-direction: column; gap: 2px; }
  .doc .cl--d2 { padding-left: 16px; }
  .doc .cl--d3 { padding-left: 32px; }
  .doc__cont, .doc__enum { padding-left: 0; }
  .doc__enum li { gap: 8px; }
  .doc__head .hero__cta { margin-top: 4px; }
}

/* ---- ≤360: дуже вузькі телефони ---- */
@media (max-width: 360px) {
  .impact__num { font-size: 52px; }
  .lang a { width: 34px; }
}
