/* Подвал: одна разметка и одни правила на девять площадок.
   Собирается internal/build-footer.py — правьте там.
   Пять переменных ниже — единственное, чем площадки различаются;
   их значения лежат в internal/design-tokens.py.
   padding-right у нижней строки — зазор под кнопку продаж,
   она фиксирована в правом нижнем углу и накрыла бы копирайт. */
.sgft{--sgft-bg:#20272B;--sgft-fg:#FBF6EF;--sgft-muted:rgba(251,246,239,0.72);--sgft-acc:#E89A2C;--sgft-line:rgba(251,246,239,0.14)}
.sgft{background:var(--sgft-bg);color:var(--sgft-fg);padding:64px 0 30px;font-size:15.5px;line-height:1.6}
.sgft a{color:inherit;text-decoration:none;transition:color .15s}
.sgft a:hover{color:var(--sgft-acc)}
.sgft a:focus-visible{outline:2px solid var(--sgft-acc);outline-offset:3px;border-radius:4px}
.sgft-in{max-width:1240px;margin:0 auto;padding:0 40px}
.sgft-cols{display:flex;flex-wrap:wrap;gap:40px 32px}
.sgft-brand{flex:1 1 300px;min-width:0;max-width:380px}
.sgft-col{flex:1 1 165px;min-width:0}
.sgft-logo{display:inline-flex;align-items:center;gap:11px;margin-bottom:16px}
.sgft-logo img{display:block;height:42px;width:auto}
.sgft-name{display:flex;flex-direction:column;font-weight:800;font-size:16px;line-height:1.25}
.sgft-name small{font-weight:500;font-size:12.5px;color:var(--sgft-muted);margin-top:3px}
.sgft-about{color:var(--sgft-muted);font-size:14.5px;margin:0 0 16px}
.sgft-inline{color:var(--sgft-acc);text-decoration:underline;text-underline-offset:3px}
.sgft-cross{display:flex;flex-direction:column;gap:9px;margin-bottom:14px;font-size:14px}
.sgft-cross a{display:inline-flex;align-items:center;gap:8px}
.sgft-cross svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgft-partners{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12.5px;color:var(--sgft-muted)}
.sgft-donate{display:inline-block;margin-top:16px;padding:10px 18px;border:1px solid var(--sgft-line);border-radius:999px;font-size:14px;font-weight:600;color:var(--sgft-acc)}
.sgft-donate:hover{background:var(--sgft-acc);color:var(--sgft-bg)}
.sgft h4{font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--sgft-muted);font-weight:700;margin:0 0 14px}
.sgft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.sgft li{color:var(--sgft-muted)}
.sgft-main a{color:var(--sgft-fg)}
.sgft-more{margin-top:14px;padding-top:12px;border-top:1px solid var(--sgft-line);font-size:14px}
.sgft-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;margin-top:48px;padding-top:22px;border-top:1px solid var(--sgft-line);font-size:13.5px;color:var(--sgft-muted);padding-right:84px}
.sgft-bottom a{color:var(--sgft-muted);text-decoration:underline;text-underline-offset:3px}
.sgft-bottom a:hover{color:var(--sgft-acc)}
@media (max-width:760px){.sgft{padding:48px 0 26px}.sgft-in{padding:0 22px}.sgft-cols{gap:32px 24px}.sgft-brand{flex-basis:100%;max-width:none}}
@media (max-width:600px){.sgft-bottom{padding-right:0;padding-bottom:88px}}
@media (max-width:420px){.sgft-col{flex-basis:100%}}
