/* Общий стиль служебных страниц: 404, политика конфиденциальности. Без инлайн-стилей — CSP их не пускает. */
@font-face { font-family: 'Lofi'; src: url(../fonts/pangolin-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'Lofi'; src: url(../fonts/pangolin-lat.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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: 'Retro'; src: url(../fonts/pressstart-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'Retro'; src: url(../fonts/pressstart-lat.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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }

:root { --bg: #140e12; --ink: #f3e6c8; --muted: #bfae96; --panel: #241a1c; --accent: #f2b94a; --edge: #0c0809; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font: 17px/1.5 'Lofi', system-ui, "Segoe UI", sans-serif; font-synthesis: none; }
body { margin: 0; min-height: 100vh; background: var(--bg); }
.page { max-width: 720px; margin: 0 auto; padding: 28px 16px 56px; }
.brand { font: 10px/1.6 'Retro', sans-serif; letter-spacing: .2em; color: var(--accent); text-decoration: none; }
h1 { margin: 6px 0 14px; font-size: 32px; line-height: 1.15; font-weight: 600; }
h2 { margin: 26px 0 6px; font-size: 21px; font-weight: 600; color: var(--accent); }
p, li { color: var(--ink); }
.muted { color: var(--muted); font-size: 15px; }
ul { padding-left: 22px; margin: 6px 0 10px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
.btn { display: inline-block; margin-top: 14px; padding: 8px 16px; background: var(--accent); color: #2a1606; text-decoration: none; font-weight: 600;
  box-shadow: -3px 0 0 0 var(--edge), 3px 0 0 0 var(--edge), 0 -3px 0 0 var(--edge), 0 3px 0 0 var(--edge); }
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; }
.nf .code { font: 48px/1.2 'Retro', sans-serif; color: var(--accent); margin: 10px 0; }
.nf p { margin: 4px 0; max-width: 28em; }
