/* ============================================================
   privacy.css — страница /privacy/, вне деки.
   Обычный документ: без сцены 1920x1080, без rem-масштабирования.
   Из деки берём только палитру (tokens.css) и шрифты (fonts.css).
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--night);
  color: var(--d-ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  /* мягкие фирменные пятна, как на тёмных слайдах */
  background-image:
    radial-gradient(60rem 40rem at 88% -10%, rgba(33, 161, 154, .16), transparent 60%),
    radial-gradient(45rem 35rem at -10% 8%, rgba(226, 96, 40, .12), transparent 62%);
  background-repeat: no-repeat;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) max(20px, env(safe-area-inset-left, 0px))
           clamp(40px, 8vw, 90px) max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- шапка ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--d-mut);
  text-decoration: none;
}

.brand:hover { color: #fff; }

.brand .logo {
  width: 1.5em;
  height: 1.5em;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cpath fill=%22%23e26028%22 d=%22M12 1 H52 Q63 1 63 12 V41 Q63 52 52 52 H48 L60 64 L33 52 H12 Q1 52 1 41 V12 Q1 1 12 1 Z%22/%3E%3C/svg%3E") no-repeat center/contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8125rem;
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.eyebrow .sq {
  width: .625rem;
  height: .625rem;
  background: currentColor;
  border-radius: .1875rem;
}

h1 {
  margin: .75rem 0 0;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
}

.updated {
  margin: .875rem 0 0;
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--d-faint);
}

.lead {
  margin: 1.5rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--d-mut);
}

/* ---------- разделы ---------- */
h2 {
  margin: 2.75rem 0 0;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 700;
}

p, li {
  font-size: 1rem;
  line-height: 1.6;
  color: #c7ced7;
  font-weight: 450;
}

p { margin: .75rem 0 0; }

ul {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin-top: .5rem;
  padding-left: 1.125rem;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .625rem;
  width: .375rem;
  height: .375rem;
  border-radius: .125rem;
  background: var(--teal);
}

a { color: var(--teal-light); }
a:hover { color: #fff; }

b, strong { color: #fff; font-weight: 700; }

/* ---------- подвал ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--d-line);
  font-size: .875rem;
  color: var(--d-faint);
}

.foot a { text-decoration: none; }

.back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
