:root {
  --paper: #fcfdfd;
  --ink: #172021;
  --muted: #667274;
  --line: #e3e8e7;
  --green: #168260;
  --green-soft: #e4f3eb;
  --amber: #bd7520;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Arial Black", "Avenir Next", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
.shell { width: min(840px, calc(100% - 40px)); margin-inline: auto; }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-size: 17px; letter-spacing: -.5px; text-decoration: none; }
.wordmark img { width: 30px; height: 30px; }
.back { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.legal-main { padding: 72px 0 108px; }
.kicker { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: 1.2px; }
h1 { max-width: 760px; margin: 0; font-family: var(--display); font-size: clamp(38px, 6vw, 58px); line-height: 1.02; letter-spacing: -2px; }
.updated { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.notice { margin: 36px 0 50px; padding: 20px 22px; border: 1px solid #b8d8cd; border-radius: 10px; background: var(--green-soft); }
.notice strong { display: block; margin-bottom: 5px; }
.toc { margin: 0 0 56px; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
.toc li { margin-bottom: 8px; break-inside: avoid; }
.toc a { color: var(--muted); font-size: 14px; text-decoration: none; }
section { padding: 34px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 16px; font-family: var(--display); font-size: 24px; line-height: 1.2; letter-spacing: -.65px; }
h3 { margin: 26px 0 8px; font-size: 16px; }
p { margin: 0 0 14px; }
ul, ol { margin: 12px 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
.placeholder { color: #9a5a0e; font-weight: 750; }
.legal-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-footer .shell { padding: 30px 0; }
@media (max-width: 620px) {
  .legal-main { padding-top: 50px; }
  .toc { columns: 1; }
  .back { font-size: 0; }
  .back::after { content: "Назад"; font-size: 14px; }
}

