/* ПДД-коуч — юридические страницы (/privacy, /terms).
   Отдельный минимальный лист: страницы читают с телефона, часто прямо из
   Telegram-браузера. Шрифты берём те же, что лендинг и кабинет (self-hosted
   в /app/fonts/), палитра — светлая, без картинок и без JS. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/app/fonts/unbounded-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  /* Latin face too: every heading here is numbered ("7. Сроки хранения"), and
     digits live outside the Cyrillic range above — without this they drop to
     the generic sans and the headings render in two visibly different fonts. */
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/app/fonts/unbounded-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/app/fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/app/fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212;
}

:root {
  --page: #eff2f9;
  --card: #ffffff;
  --ink: #15151c;
  --ink-soft: #4c5266;
  --line: #dde3ee;
  --accent: #2f6bff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 16px 64px;
  background: var(--page);
  color: var(--ink);
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px 36px;
  margin-top: 24px;
}

.back {
  display: inline-block;
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}
.back:hover {
  color: var(--accent);
}

h1 {
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 17px;
  line-height: 1.35;
  margin: 32px 0 10px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}

p,
li {
  color: var(--ink);
}

ul,
ol {
  padding-left: 22px;
  margin: 10px 0;
}

li {
  margin: 6px 0;
}

a {
  color: var(--accent);
}

.req {
  background: #f5f7fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
}

.req div {
  margin: 3px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.footer a {
  color: var(--ink-soft);
}
