/* Юридические страницы (privacy.html, consent.html), 29.09.2026.
   Отдельные статичные страницы: главная собрана на React одной страницей,
   а документам нужны свои адреса и текст прямо в HTML. Токены и шрифты
   повторяют сайт (src/index.css), чтобы переход из подвала был незаметным. */

@font-face { font-family: 'Geist'; font-weight: 300 700; font-display: swap; src: url('/fonts/geist-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist'; font-weight: 300 700; font-display: swap; src: url('/fonts/geist-latin-ext.woff2') 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-weight: 300 700; font-display: swap; src: url('/fonts/geist-latin.woff2') 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; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap; src: url('/fonts/geist-mono-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap; src: url('/fonts/geist-mono-latin.woff2') 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; }

:root {
  --brand: #1f7fbf;
  --primary: #1e2124;
  --granite: #646b71;
  --border-c: #b0b5b9;
  --paper: #eceeef;
  --paper-2: #e2e5e7;
  --frame: clamp(8px, 1vw, 14px);
  --pad: clamp(16px, 3.2vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  color: var(--primary);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: var(--paper); }
a { color: inherit; }

/* лист в рамке, как на главной: по краям тонкие линии */
.sheet {
  max-width: 1040px;
  margin: 0 auto;
  min-height: 100vh;
  border-inline: 1px solid var(--border-c);
  display: flex;
  flex-direction: column;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dim { color: var(--granite); }
.brand { color: var(--brand); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--border-c);
}
.top a { text-decoration: none; transition: color .3s; }
.top a:hover { color: var(--brand); }

.head { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--border-c); }
.head h1 {
  margin: 14px 0 0;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 22ch;
}
.head p { margin: 22px 0 0; }

main { flex: 1; }
.lead { padding: clamp(24px, 3vw, 40px) var(--pad); border-bottom: 1px solid var(--border-c); }
.lead p { margin: 0 0 12px; max-width: 72ch; }
.lead p:last-child { margin-bottom: 0; }

section {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  border-bottom: 1px solid var(--border-c);
}
section > .n {
  /* номер садится на строку заголовка раздела */
  padding: calc(clamp(24px, 3vw, 40px) + 6px) 0 0 var(--pad);
  color: var(--brand);
}
section > .b { padding: clamp(24px, 3vw, 40px) var(--pad) clamp(24px, 3vw, 40px) 12px; max-width: 72ch; }
section h2 {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
section p { margin: 0 0 12px; }
section p:last-child, section ul:last-child { margin-bottom: 0; }
section ul { margin: 0 0 12px; padding: 0; list-style: none; }
section li { position: relative; padding-left: 22px; margin-bottom: 6px; }
section li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--brand); }
section a { color: var(--brand); text-underline-offset: 3px; overflow-wrap: anywhere; }

.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px dashed var(--border-c); }
.req tr:first-child th, .req tr:first-child td { border-top: 0; padding-top: 0; }
.req th { width: 34%; padding-right: 16px; font-weight: 400; color: var(--granite); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px var(--pad);
  font-size: 13px;
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--brand); }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 640px) {
  .sheet { border-inline: 0; }
  section { grid-template-columns: 1fr; }
  section > .n { padding: 24px var(--pad) 0; }
  section > .b { padding: 10px var(--pad) 24px; }
  .req th, .req td { display: block; width: auto; padding: 0; border: 0; }
  .req th { padding-top: 12px; }
  .req tr:first-child th { padding-top: 0; }
  .top .mono:last-child { display: none; }
}

@media print {
  body { background: #fff; }
  .top, .foot .links { display: none; }
}
