@font-face { font-family: 'Oswald'; src: url('assets/fonts/oswald-cyrillic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/manrope-cyrillic.woff2') format('woff2'); font-display: swap; }

:root { color-scheme: dark; --ink: #0b0d0c; --ink-2: #131714; --cream: #f4eee3; --green: #61d34f; --yellow: #ffd23d; --line: rgba(255,255,255,.14); --heading-leading: 1.12; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: rgba(255,255,255,.82); background: var(--ink); font-family: 'Manrope', Arial, sans-serif; line-height: 1.65; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.legal-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 72px; padding: 14px max(24px, calc((100vw - 1160px) / 2)); background: rgba(11,13,12,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.legal-brand { display: flex; align-items: center; gap: 12px; color: white; font: 600 23px/1 'Oswald', sans-serif; text-decoration: none; text-transform: uppercase; }
.legal-brand img { width: 36px; height: 40px; object-fit: contain; }
.legal-back { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.legal-main { width: min(100% - 40px, 1160px); margin: 0 auto; padding: clamp(60px,9vw,120px) 0 100px; }
.legal-hero { max-width: 980px; padding-bottom: clamp(42px,7vw,80px); border-bottom: 1px solid var(--line); }
.legal-kicker { margin: 0 0 18px; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin-top: 0; color: white; font-family: 'Oswald', sans-serif; font-weight: 600; line-height: var(--heading-leading); text-transform: uppercase; }
h1 { max-width: 1000px; margin-bottom: 28px; font-size: clamp(48px,8vw,104px); }
h2 { margin-bottom: 18px; font-size: clamp(27px,3vw,42px); }
.legal-lead { max-width: 780px; margin: 0; color: rgba(255,255,255,.68); font-size: clamp(17px,2vw,22px); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0,760px); gap: clamp(40px,7vw,100px); padding-top: clamp(48px,7vw,84px); }
.legal-toc { position: sticky; top: 104px; align-self: start; display: grid; gap: 11px; padding-left: 18px; border-left: 3px solid var(--green); }
.legal-toc a { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.legal-toc a:hover { color: white; }
.legal-content { min-width: 0; }
.legal-section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-section p, .legal-section li { color: rgba(255,255,255,.72); }
.legal-section ul { display: grid; gap: 10px; padding-left: 20px; }
.legal-card { padding: 24px; background: var(--ink-2); border-top: 5px solid var(--yellow); }
.legal-card strong { display: block; margin-bottom: 8px; color: var(--green); font: 600 26px/1.1 'Oswald', sans-serif; text-transform: uppercase; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-note { padding: 18px 20px; color: rgba(255,255,255,.78); background: rgba(97,211,79,.08); border-left: 4px solid var(--green); }
.legal-footer { display: flex; justify-content: space-between; gap: 24px; padding: 32px max(24px, calc((100vw - 1160px) / 2)); color: rgba(255,255,255,.4); border-top: 1px solid var(--line); font-size: 10px; }

@media (max-width: 760px) {
  .legal-header { min-height: 64px; padding-inline: 16px; }
  .legal-brand { font-size: 18px; }
  .legal-brand img { width: 30px; height: 34px; }
  .legal-back { font-size: 9px; }
  .legal-main { width: min(100% - 32px, 1160px); padding-top: 52px; }
  .legal-layout { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc { position: static; grid-template-columns: 1fr 1fr; }
  .legal-section { padding-bottom: 34px; margin-bottom: 34px; }
  .legal-footer { flex-direction: column; padding-inline: 16px; }
}
