/* Общее для всех страниц: шрифты (лежат у нас, без сторонних CDN) и логотип */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/golos-cyr.17d048ca05.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 700;font-display:swap;src:url(/assets/fonts/golos-lat.9a69d0aa47.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/unbounded-cyr.e30bf6a606.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/unbounded-lat.22f9b928aa.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/jbmono-cyr.e17cfd15fb.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/jbmono-lat.83c005d49d.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
.dt-logo{ background: url(/assets/img/logo.1c6ea63ed2.webp) center/contain no-repeat; }

/* ── доступность: текст только для скринридеров и поиска, ссылка «к содержанию» ── */
.vh{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip{ position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; background: #ff0a23; color: #fff; font-weight: 600; border-radius: 6px; text-decoration: none; }
.skip:focus{ top: 12px; }

/* ── уведомление о cookie (consent.js) ── */
.cookie{ position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 200; max-width: 760px; margin-inline: auto; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: #121212; color: #cfcfcf; border: 1px solid #3a3a3a; border-top: 3px solid #ff0a23; border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.7); font: 400 14.5px/1.5 'Golos Text','Segoe UI',system-ui,sans-serif; }
.cookie p{ margin: 0; flex: 1 1 320px; }
.cookie a{ color: #fff; text-underline-offset: 3px; }
.cookie__btns{ display: flex; flex-wrap: wrap; gap: 8px; }
.cookie button{ min-height: 42px; padding: 0 18px; border: 0; border-radius: 6px; font: 600 14.5px 'Golos Text','Segoe UI',system-ui,sans-serif; cursor: pointer; background: #ff0a23; color: #fff; }
.cookie button:hover{ background: #ff3346; }
.cookie button.cookie__alt{ background: transparent; color: #f4f4f4; box-shadow: inset 0 0 0 1.5px #3a3a3a; }
.cookie button.cookie__alt:hover{ box-shadow: inset 0 0 0 1.5px #ff0a23; }
@media (max-width: 979px){ .cookie--dock{ bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Текстовые страницы: политика, 404. Та же айдентика, что у главной, без эффектов. */
:root{ color-scheme: dark; --line:#2b2b2b; --text:#f4f4f4; --soft:#cfcfcf; --muted:#a3a3a3; --red:#ff0a23; --red-hot:#ff3346; --r:6px;
  --f-display:'Unbounded','Segoe UI',system-ui,sans-serif; --f-body:'Golos Text','Segoe UI',system-ui,sans-serif; }
*,*::before,*::after{ box-sizing: border-box; }
body{ margin: 0; background: #000; color: var(--soft); font: 400 16.5px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
a{ color: var(--text); text-underline-offset: 3px; }
a:hover{ color: var(--red-hot); }
:focus-visible{ outline: 2px solid var(--red-hot); outline-offset: 3px; }
.wrap{ width: 100%; max-width: 860px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }

.nav{ border-bottom: 1px solid var(--line); }
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.logo{ display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 14px/1 var(--f-display); }
.logo-mark{ width: 32px; height: 36px; flex: none; }
.btn{ display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r); font: 600 15px var(--f-body); color: #fff; text-decoration: none; cursor: pointer; }
.btn-red{ background: var(--red); }
.btn-red:hover{ background: var(--red-hot); color: #fff; }
.btn-ghost{ background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover{ box-shadow: inset 0 0 0 1.5px var(--red); color: #fff; }

main{ padding-block: clamp(30px, 6vw, 64px) 80px; }
h1, h2{ font-family: var(--f-display); font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; margin: 0; }
h1{ font-size: clamp(26px, 5vw, 42px); margin-bottom: 14px; }
h2{ font-size: clamp(19px, 2.6vw, 24px); margin: 44px 0 12px; }
p{ margin: 0 0 12px; }
ul{ margin: 0 0 12px; padding-left: 22px; }
li{ margin-bottom: 6px; }
.meta{ color: var(--muted); font-size: 14.5px; }
.t-wrap{ overflow-x: auto; margin-bottom: 12px; }
table{ width: 100%; border-collapse: collapse; font-size: 15px; }
th, td{ text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px dashed #333; }
th{ color: var(--muted); font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--line); }
code{ font-family: ui-monospace, Consolas, monospace; font-size: .92em; color: var(--text); }

footer{ border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: 14px; }
footer .wrap{ display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

.lost{ text-align: center; padding-block: clamp(40px, 12vw, 120px); }
.lost b{ display: block; font: 900 clamp(80px, 22vw, 180px)/1 var(--f-display); color: var(--red); text-shadow: 0 0 40px rgba(255,10,35,.5); }
.lost p{ margin: 14px auto 26px; max-width: 46ch; }
