/* Страницы «Политика конфиденциальности» и «Условия использования».
   Отдельный лёгкий файл: основной styles.css тянет за собой весь сервис. Шрифты свои, локальные. */
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/sofia-cond-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/sofia-cond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #0A0908; --ink: #F6F2EC; --ink-2: #C9C1B7; --ink-3: #8C847A; --line: rgba(255, 255, 255, .09);
  --accent: #E8503A; --warn: #FFB36B;
  --f-display: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 17px/1.7 var(--f-body); -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.lg-top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; background: rgba(10, 9, 8, .86); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lg-brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
}
.lg-brand img { border-radius: 7px; }
.lg-langs { display: flex; gap: 4px; }
.lg-langs button, .lg-langs a {
  font: 600 13px/1 var(--f-body); color: var(--ink-3); background: none; border: 1px solid transparent;
  padding: 8px 11px; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.lg-langs button[aria-pressed="true"], .lg-langs a[aria-current="page"] { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .05); }
/* Телефон: семь языков помещаются в строку, без прокрутки вбок (раньше «TR» уезжал за край) */
@media (max-width: 560px) {
  .lg-top { gap: 8px; padding: 10px 12px; }
  .lg-brand { font-size: 0; gap: 0; }
  .lg-langs { flex-wrap: wrap; justify-content: flex-end; gap: 0; min-width: 0; }
  .lg-langs button, .lg-langs a { padding: 8px 6px; font-size: 12px; min-width: 32px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
}

main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 88px) 20px 96px; }
article[lang] { display: none; }
article[lang].is-on { display: block; }
h1 {
  margin: 0 0 12px; font-family: var(--f-display); font-weight: 700; color: var(--ink);
  font-size: clamp(40px, 7vw, 68px); line-height: .98; letter-spacing: -.03em;
}
.lg-date { margin: 0 0 36px; color: var(--ink-3); font-size: 14px; }
.lg-short {
  margin: 0 0 48px; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}
.lg-short b { display: block; color: var(--ink); font-size: 15px; letter-spacing: .02em; margin-bottom: 8px; }
.lg-short ul { margin: 0; padding-left: 20px; }
.lg-short li + li { margin-top: 6px; }
h2 {
  margin: 48px 0 12px; font-family: var(--f-display); font-weight: 700; color: var(--ink);
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; letter-spacing: -.01em;
}
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li + li { margin-top: 6px; }
strong { color: var(--ink); font-weight: 600; }

/* реквизиты, которые владелец ещё не заполнил в legal.js, видны сразу */
.lg-fill {
  color: #1A0F08; background: var(--warn); border-radius: 6px; padding: 1px 7px; font-weight: 600; font-size: .92em;
}
.lg-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.lg-foot a { margin-right: 16px; }
