/* Shared style for text pages (privacy, terms, support). Same tokens as the landing. */
:root {
  --night: #060b1a; --navy: #0d1a3d; --ice: #eaf2fb; --frost: #9fb3cf; --red: #d42a33; --blue-line: #2f6fe0;
  --line: rgba(159,179,207,.18);
  --display: "Russo One", "Arial Black", Impact, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ice); font: 400 17px/1.65 var(--body); }
a { color: #8fb6ff; }
:focus-visible { outline: 3px solid var(--blue-line); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(6,11,26,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { max-width: 1120px; display: flex; align-items: center; gap: 16px; height: 60px; }
.top img { height: 34px; width: auto; display: block; }
.top .back { margin-left: auto; color: var(--frost); text-decoration: none; font-size: 15px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font: 500 13px/1 var(--mono); }
.lang button { background: none; border: 0; color: var(--frost); padding: 8px 11px; cursor: pointer; font: inherit; }
.lang button[aria-pressed="true"] { background: var(--ice); color: var(--night); }
main .wrap { padding-block: 48px 72px; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--frost); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 44px); margin: 12px 0 8px; }
h2 { font-size: 22px; margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: #d4dfee; }
ul { padding-left: 22px; }
li + li { margin-top: 6px; }
.meta { color: var(--frost); font-size: 15px; }
.todo { background: rgba(255,207,74,.12); color: #ffcf4a; border: 1px dashed rgba(255,207,74,.5); border-radius: 4px; padding: 0 5px; font-family: var(--mono); font-size: .88em; }
code { font-family: var(--mono); color: var(--ice); user-select: all; }
.card { background: var(--navy); border-radius: 12px; padding: 22px 24px; margin: 24px 0; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 8px; text-decoration: none; font-weight: 700; color: #fff; background: var(--red); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ice); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--ice); }
details p { margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); color: var(--frost); font-size: 14px; }
footer .wrap { max-width: 1120px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-block: 24px; }
footer a { color: var(--frost); }
