/* Общие стили статических страниц tst-tune.com (/privacy/, /delete-account/,
   /dongle/): те же токены, шрифты, шапка и подвал, что у главной (landing/app).
   Одна тёмная тема: графит, красный логотипа — только как «свет». */

@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geologica-latin.woff2") format("woff2-variations");
  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: "Geologica";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geologica-cyrillic.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/martian-mono-latin.woff2") format("woff2-variations");
  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: "Martian Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/martian-mono-cyrillic.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #0a0a0b;
  --s1: #121214;
  --s2: #1a1a1d;
  --line: #26262a;
  --grid: #2e2e33;
  --ink: #ededed;
  --sub: #b0b0b6;
  --faint: #8a8a91;
  --white: #f4f4f4;
  --red: #f80000;
  --red-ink: #ff4d4d;
  --ok: #3ddc84;
  --warn: #e5a13c;
  --sans: "Geologica", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --hdr: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── Шапка (как на главной) ─────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 20;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.96) 60%, rgba(10, 10, 11, 0));
}
.brand { display: block; padding: 6px 0; }
.logo { width: clamp(86px, 8.5vw, 118px); height: auto; display: block; overflow: visible; }
.logo-t { fill: var(--white); }
.logo-s, .logo-bar { fill: var(--red); }
.logo-bar { filter: drop-shadow(0 0 6px rgba(248, 0, 0, 0.8)); }
.hdr-r { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }

/* Переключатель языка — кнопки (тексты обеих версий уже на странице). */
.lang { display: flex; gap: 2px; font: 500 12px var(--mono); }
.lang button, .lang a {
  appearance: none; border: 0; background: none; cursor: pointer;
  padding: 8px; font: inherit; letter-spacing: 0.02em; color: var(--faint); text-decoration: none;
}
.lang button:hover, .lang a:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 18px; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s, opacity 0.2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: rgba(18, 18, 20, 0.6); }
.btn-line:hover { border-color: var(--sub); }
/* Белый на красном 3,8:1 — поэтому крупный жирный текст. */
.btn-red {
  height: 58px; padding: 0 26px; font-size: 19px; font-weight: 700;
  background: var(--red); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.4), 0 10px 50px -8px rgba(248, 0, 0, 0.65);
}
.btn-red:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.6), 0 14px 70px -6px rgba(248, 0, 0, 0.85); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Подвал ──────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); margin-top: clamp(48px, 8vh, 96px); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; font: 400 11px/1.6 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: 0.02em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 899px) {
  :root { --hdr: 64px; }
  .hdr .btn-line { height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 420px) {
  .hdr .btn-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
