:root {
  --bg: #090c07;
  --panel: #10150d;
  --line: rgba(220, 235, 196, .11);
  --line-strong: rgba(220, 235, 196, .18);
  --text: #eef2e5;
  --text-soft: #c7d0ba;
  --muted: #8f9a82;
  --muted-2: #6c7761;
  --acid: #c8f05a;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  min-width: 320px;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(200, 240, 90, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: #0b1006; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070a05; }
::-webkit-scrollbar-thumb { background: #2a331b; border: 2px solid #070a05; border-radius: 10px; }

.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 24px; }

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 7, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 34px; height: 34px; color: var(--acid); }
.logo__mark svg { display: block; width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .1em; }
.logo__text small { margin-top: 5px; color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .24em; }
.back-link { color: var(--muted); font-size: 11.5px; font-weight: 600; transition: color .2s; }
.back-link:hover { color: var(--acid); }

.legal { max-width: 850px; padding-top: 72px; padding-bottom: 80px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.legal__lead { max-width: 600px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal__toc a {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
}
.legal__toc a:hover { border-color: rgba(200, 240, 90, .4); background: rgba(200, 240, 90, .07); color: var(--acid); }

.legal__section { position: relative; margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal__num {
  display: block;
  margin-bottom: 10px;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
}
.legal__section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}
.legal__section > p { margin-top: 14px; color: var(--muted); }
.legal__section ol { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; counter-reset: legal; }
.legal__section li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.75;
  counter-increment: legal;
}
.legal__section li::before {
  content: counter(legal, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.legal__section li strong { color: var(--text); font-weight: 700; }
.legal__section a { color: var(--acid); border-bottom: 1px solid rgba(200, 240, 90, .35); }
.legal__section a:hover { border-color: var(--acid); }
.legal__note {
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}
.age { padding: 1px 4px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 8px; }

.legal-footer { border-top: 1px solid var(--line); background: #070a05; color: var(--muted-2); font-size: 10px; }
.legal-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; flex-wrap: wrap; }
.legal-footer a { color: var(--text-soft); }
.legal-footer a:hover { color: var(--acid); }

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .legal { padding-top: 50px; padding-bottom: 56px; }
  .legal-header__inner { min-height: 66px; }
  .back-link { font-size: 10.5px; }
  .legal__section { margin-top: 38px; padding-top: 28px; }
  .legal__section li { padding-left: 28px; font-size: 12.5px; }
  .legal__section li::before { font-size: 12px; }
}
