/* ==== ШРИФТ-НАЧАЛО: мягкий шрифт RYUDO Soft — Nunito, SIL OFL 1.1, fonts/ (2026-10-24; собирает S/metki/sobrat-metki.js) ==== */
@font-face { font-family: "RYUDO Soft"; font-style: normal; font-weight: 400 800; font-display: swap; size-adjust: 96%; ascent-override: 97%; descent-override: 28%; line-gap-override: 0%; src: url("fonts/nunito-cyrillic.woff2?v=20261024") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "RYUDO Soft"; font-style: normal; font-weight: 400 800; font-display: swap; size-adjust: 96%; ascent-override: 97%; descent-override: 28%; line-gap-override: 0%; src: url("fonts/nunito-latin-ext.woff2?v=20261024") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "RYUDO Soft"; font-style: normal; font-weight: 400 800; font-display: swap; size-adjust: 96%; ascent-override: 97%; descent-override: 28%; line-gap-override: 0%; src: url("fonts/nunito-latin.woff2?v=20261024") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==== ШРИФТ-КОНЕЦ ==== */
/* Открытые страницы правовых документов: terms.html, privacy.html, offer.html (2026-10-09).

   Читаются до входа — с витрины, со страницы входа и из окна оплаты, — поэтому не тянут за собой
   стили продукта: тот же тёмный фон, тот же акцент и шрифт, но в одном небольшом файле. Текст —
   длинный юридический, и всё здесь подчинено чтению: колонка не шире 72 знаков, межстрочный 1.65,
   оглавление сбоку на широком экране и сверху на узком. */

:root {
  color-scheme: dark;
  --lp-bg: #080a09;
  --lp-surface: #0d1110;
  --lp-raised: #111615;
  --lp-text: #f3f6f5;
  --lp-muted: #8f9996;
  --lp-line: rgb(255 255 255 / 9%);
  --lp-accent: #00e5c8;
  --lp-accent-soft: rgb(0 229 200 / 10%);
  --lp-focus: rgb(0 229 200 / 55%);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 85% -20%, rgb(0 229 200 / 8%), transparent 60%),
    var(--lp-bg);
  color: var(--lp-text);
  font-family: "RYUDO Soft", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lp-accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 1.5px solid var(--lp-focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgb(0 229 200 / 15%); }

.lp-skip {
  position: absolute; left: 16px; top: -60px; padding: 8px 14px; border-radius: 10px;
  background: var(--lp-raised); color: var(--lp-text); z-index: 10;
}
.lp-skip:focus { top: 12px; }

.lp-head {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 14px max(16px, calc((100% - 1180px) / 2));
  background: rgb(8 10 9 / 88%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-brand {
  color: var(--lp-text); text-decoration: none;
  font-weight: 800; letter-spacing: .32em; font-size: .92rem;
}
.lp-brand span { color: var(--lp-muted); font-weight: 500; letter-spacing: .08em; margin-left: 10px; font-size: .78rem; }
.lp-lang { margin-left: auto; display: inline-flex; border: 1px solid var(--lp-line); border-radius: 999px; padding: 2px; }
.lp-lang button {
  min-width: 44px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--lp-muted); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.lp-lang button[aria-pressed="true"] { background: var(--lp-accent-soft); color: var(--lp-accent); }

.lp-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
  padding: 36px 0 72px;
}

.lp-side { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; }
.lp-side h2 { margin: 0 0 10px; color: var(--lp-muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lp-docs { display: grid; gap: 2px; margin: 0 0 26px; padding: 0; list-style: none; }
.lp-docs a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--lp-muted); text-decoration: none; font-size: .88rem; line-height: 1.35;
}
.lp-docs a:hover { color: var(--lp-text); background: rgb(255 255 255 / 4%); }
.lp-docs a[aria-current="page"] { color: var(--lp-accent); background: var(--lp-accent-soft); }
.lp-toc { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.lp-toc a { display: block; padding: 4px 12px; color: var(--lp-muted); text-decoration: none; font-size: .8rem; line-height: 1.4; }
.lp-toc a:hover { color: var(--lp-text); }

.lp-doc { max-width: 72ch; min-width: 0; }
.lp-kicker { margin: 0 0 8px; color: var(--lp-accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lp-doc h1 { margin: 0 0 14px; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; font-weight: 780; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lp-lead { margin: 0 0 6px; color: var(--lp-muted); }
.lp-edition { margin: 0 0 28px; color: var(--lp-muted); font-size: .84rem; }
.lp-note {
  margin: 0 0 28px; padding: 12px 16px; border: 1px solid var(--lp-line); border-radius: 14px;
  background: var(--lp-surface); color: var(--lp-muted); font-size: .86rem;
}
.lp-doc h2 { margin: 34px 0 10px; font-size: 1.12rem; line-height: 1.35; font-weight: 740; overflow-wrap: anywhere; }
.lp-doc p { margin: 0 0 12px; overflow-wrap: anywhere; }
.lp-doc ul { margin: 0 0 14px; padding-left: 20px; }
.lp-doc li { margin: 0 0 6px; overflow-wrap: anywhere; }
.lp-doc li::marker { color: var(--lp-accent); }

.lp-foot {
  border-top: 1px solid var(--lp-line);
  padding: 22px max(16px, calc((100% - 1180px) / 2)) 40px;
  color: var(--lp-muted); font-size: .8rem;
}
.lp-foot a { color: var(--lp-muted); }

@media (max-width: 900px) {
  .lp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .lp-side { position: static; max-height: none; overflow: visible; }
  .lp-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
  .lp-docs a { border: 1px solid var(--lp-line); padding: 6px 12px; font-size: .82rem; }
  .lp-toc, .lp-toc-title { display: none; }
  .lp-brand span { display: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .lp-head, .lp-side, .lp-foot, .lp-skip { display: none; }
  .lp-wrap { display: block; width: auto; padding: 0; }
  .lp-doc { max-width: none; }
  a { color: #000; }
}
