/* ttmod-apk-1.top — mobile-first */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --bg: #0a0c11;
  --bg-soft: #0e1117;
  --surface: #141821;
  --surface-2: #1a1f2a;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f3f5f9;
  --text-2: #b9c1cd;
  --text-3: #8d96a5;
  --cyan: #25f4ee;
  --red: #fe2c55;
  --btn: #e5194b;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .5);
  --container: 1140px;
  --header-h: 60px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: #fff; line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
h1 { margin: 0 0 .9rem; font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { margin: 0 0 .75rem; font-size: clamp(1.45rem, 5vw, 2.15rem); }
h3 { margin: 0 0 .4rem; font-size: 1.08rem; letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(37, 244, 238, .3); color: #fff; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .6rem 1rem; border-radius: 10px; background: #fff; color: #000; font-weight: 700; }
.skip-link:focus { top: .75rem; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 17, .85);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: .6rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; color: #fff; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo small { margin-left: .3rem; padding: .1rem .4rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--text-2); font-size: .66rem; font-weight: 800; letter-spacing: .06em; vertical-align: 2px; }
.header-cta { min-height: 42px; padding: .5rem .9rem; border-radius: 12px; font-size: .92rem; }
.burger {
  display: inline-grid; grid-template-rows: repeat(3, 6px); place-items: center; align-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .04);
  color: #fff; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: .5rem 1rem 1.25rem;
  background: rgba(12, 14, 20, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.nav-open .nav { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .5rem .25rem;
  border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 1.02rem;
}
.nav-list a::after { content: "›"; color: var(--text-3); font-size: 1.3rem; line-height: 1; }
.nav-list a:hover { text-decoration: none; color: var(--cyan); }
.nav-list a[aria-current="page"] { color: var(--cyan); }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 14px;
  font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 12px 30px -10px rgba(254, 44, 85, .75), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { background: #ec1c4f; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: rgba(37, 244, 238, .55); }
.btn-block { width: 100%; }
.btn-sub { display: block; font-size: .78rem; font-weight: 600; opacity: .85; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  color: var(--text-2); font-size: .82rem; font-weight: 700; line-height: 1.3;
}
.chip-cyan { border-color: rgba(37, 244, 238, .3); background: rgba(37, 244, 238, .08); color: var(--cyan); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.badge { display: inline-block; padding: .2rem .55rem; border-radius: 999px; background: rgba(52, 211, 153, .15); color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 2rem 0 2.75rem; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 340px at 0% 0%, rgba(37, 244, 238, .14), transparent 65%),
    radial-gradient(520px 360px at 100% 30%, rgba(254, 44, 85, .14), transparent 65%);
}
.hero-grid { display: grid; gap: 2.25rem; }
.hero .chip { margin-bottom: 1.1rem; }
.hero-lead { max-width: 36rem; margin-bottom: 1.5rem; color: var(--text-2); font-size: 1.1rem; }
.hero-lead strong { color: #fff; }
.hero-actions { display: grid; gap: .65rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.facts li { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); }
.facts span { display: block; color: var(--text-3); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.facts b { color: #fff; font-size: 1rem; }

/* Phone illustration */
.mock { position: relative; width: min(100%, 300px); margin: 0 auto; }
.mock::before {
  content: ""; position: absolute; inset: 10% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 244, 238, .3), transparent), radial-gradient(closest-side at 70% 70%, rgba(254, 44, 85, .35), transparent);
  filter: blur(30px);
}
.mock-body { padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #2b313d, #11141b); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mock-screen { padding: .9rem .75rem 1.1rem; border-radius: 30px; background: #0d1016; }
.mock-bar { display: flex; justify-content: space-between; padding: 0 .55rem .7rem; color: var(--text-3); font-size: .68rem; font-weight: 700; }
.mock-title { margin: 0 0 .25rem; color: #fff; font-size: .95rem; font-weight: 800; text-align: center; }
.mock-sub { margin: 0 0 .6rem; color: var(--text-3); font-size: .7rem; text-align: center; }
.mock-group { margin: .85rem .35rem .4rem; color: var(--text-3); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mock-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; padding: .62rem .7rem; border-radius: 12px; background: var(--surface); }
.mock-row b { display: block; color: #fff; font-size: .8rem; line-height: 1.3; }
.mock-row small { display: block; color: var(--text-3); font-size: .66rem; line-height: 1.35; }
.mock-val { margin-left: auto; color: var(--cyan); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.tg { position: relative; flex: none; width: 36px; height: 21px; margin-left: auto; border-radius: 999px; background: #2a303c; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.on .tg { background: var(--green); }
.on .tg::after { left: 18px; }

/* ---------- Sections ---------- */
.section { padding: 2.75rem 0; }
.section-alt { border-block: 1px solid var(--line); background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 1.6rem; }
.section-head p { margin: 0; color: var(--text-2); }
.kicker { display: inline-block; margin-bottom: .55rem; color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lead-text { max-width: 46rem; color: var(--text-2); font-size: 1.04rem; }
.lead-text strong { color: #fff; }

.grid { display: grid; gap: .9rem; }
.card { padding: 1.3rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card h3 { margin-top: .9rem; }
.card p { margin: 0; color: var(--text-2); font-size: .96rem; }
.card p + p { margin-top: .6rem; }
.card-flat h3 { margin-top: 0; }
.icon-box { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(37, 244, 238, .1); color: var(--cyan); }
.icon-box.red { background: rgba(254, 44, 85, .12); color: #ff6b8a; }
.icon-box.green { background: rgba(52, 211, 153, .12); color: var(--green); }
.icon-box.amber { background: rgba(251, 191, 36, .12); color: var(--amber); }
.card-num { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem; color: var(--text-3); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-accent { border-color: rgba(37, 244, 238, .35); background: linear-gradient(160deg, rgba(37, 244, 238, .1), rgba(255, 255, 255, .02) 60%), var(--surface); }

/* Lists */
.list-check, .list-cross { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.list-check li, .list-cross li { position: relative; padding-left: 2rem; color: var(--text-2); }
.list-check li::before, .list-cross li::before {
  content: ""; position: absolute; left: 0; top: .18rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.list-cross li::before {
  background: rgba(254, 44, 85, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b8a' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.list-check strong, .list-cross strong { color: #fff; }

/* Callouts */
.note { display: flex; gap: .85rem; margin: 1.25rem 0; padding: 1rem 1.1rem; border: 1px solid rgba(37, 244, 238, .25); border-radius: var(--radius-sm); background: rgba(37, 244, 238, .06); color: var(--text-2); }
.note > .ic { margin-top: .15rem; color: var(--cyan); }
.note p { margin: 0; }
.note p + p { margin-top: .5rem; }
.note strong { color: #fff; }
.note-warn { border-color: rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .07); }
.note-warn > .ic { color: var(--amber); }
.note-danger { border-color: rgba(254, 44, 85, .35); background: rgba(254, 44, 85, .07); }
.note-danger > .ic { color: #ff6b8a; }
.note-ok { border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .07); }
.note-ok > .ic { color: var(--green); }

/* Tables */
.table-wrap { margin: 1.25rem 0 1.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: .8rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead th { background: rgba(255, 255, 255, .03); color: var(--text-3); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
tbody th { color: #fff; font-weight: 700; }
td { color: var(--text-2); }
.yes, .no, .mid { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.yes { color: var(--green); }
.no { color: #ff6b8a; }
.mid { color: var(--amber); }
.specs th { width: 42%; color: var(--text-3); font-weight: 700; }
.specs td { color: #fff; font-weight: 700; }

/* Steps */
.steps { display: grid; gap: .8rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding: 1.15rem 1.15rem 1.15rem 4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.steps > li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1.05rem; display: grid; place-items: center;
  width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--grad); color: #0a0c11; font-weight: 800;
}
.steps h3 { margin: .2rem 0 .35rem; font-size: 1.04rem; }
.steps p, .steps ul { margin: 0 0 .5rem; color: var(--text-2); font-size: .96rem; }
.steps > li > :last-child { margin-bottom: 0; }

/* TOC */
.toc { margin: 0 0 2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc-title { margin: 0 0 .6rem; color: var(--text-3); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: .15rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .35rem 0; color: var(--text); font-size: .95rem; font-weight: 600; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--cyan); font-size: .8rem; font-weight: 800; line-height: 1.75; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 1.25rem 0 2rem; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; color: var(--text-3); font-size: .85rem; font-weight: 600; }
.crumbs a { color: var(--text-2); }
.page-hero h1 { max-width: 50rem; font-size: clamp(1.8rem, 7vw, 3rem); }
.page-lead { max-width: 44rem; margin-bottom: 1.1rem; color: var(--text-2); font-size: 1.08rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.page-hero .hero-actions { max-width: 34rem; }

/* Article layout */
.layout { display: grid; gap: 2rem; padding: 2rem 0 3rem; }
.article { min-width: 0; max-width: 47rem; }
.prose { font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.6rem 0 .85rem; font-size: clamp(1.35rem, 5vw, 1.8rem); }
.prose h3 { margin: 1.7rem 0 .5rem; font-size: 1.14rem; }
.prose p, .prose ul, .prose ol { color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; padding-left: .2rem; }
.prose li::marker { color: var(--cyan); font-weight: 700; }
.prose strong { color: #fff; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-color: rgba(37, 244, 238, .4); text-underline-offset: 3px; }
.prose .steps, .prose .list-check, .prose .list-cross { padding-left: 0; }
.prose .steps > li, .prose .list-check li, .prose .list-cross li { margin-bottom: 0; }
.prose .grid { margin: 1.25rem 0 1.5rem; }
.prose .card h3 { margin-top: .9rem; }
.prose .card-flat h3 { margin-top: 0; }
.updated { color: var(--text-3); font-size: .88rem; }
.mt-lg { margin-top: 1.5rem; }
.narrow { max-width: 48rem; }

.aside { display: none; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1rem; }

/* File card */
.file-card { padding: 1.25rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(165deg, rgba(37, 244, 238, .08), rgba(254, 44, 85, .06) 70%), var(--surface); box-shadow: var(--shadow); }
.file-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.file-head svg { width: 52px; height: 52px; flex: none; }
.file-name { margin: 0; color: #fff; font-size: 1.08rem; font-weight: 800; line-height: 1.25; }
.file-meta { margin: .1rem 0 0; color: var(--text-3); font-size: .85rem; }
.file-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 1rem; }
.file-specs div { padding: .6rem .7rem; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.file-specs dt { color: var(--text-3); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.file-specs dd { margin: 0; color: #fff; font-size: .95rem; font-weight: 800; }
.file-note { margin: .75rem 0 0; color: var(--text-3); font-size: .82rem; text-align: center; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s; }
.faq-item[open] { border-color: rgba(37, 244, 238, .3); }
.faq-item summary { position: relative; display: block; min-height: 54px; padding: 1rem 3.2rem 1rem 1.15rem; color: #fff; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { padding: 0 1.15rem 1.1rem; color: var(--text-2); }
.faq-a p { margin: 0 0 .6rem; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a strong { color: #fff; }

/* Related */
.related { display: grid; gap: .75rem; }
.related a { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: #fff; transition: border-color .2s, transform .2s; }
.related a:hover { border-color: rgba(37, 244, 238, .45); text-decoration: none; transform: translateY(-2px); }
.related b { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 1rem; }
.related b::after { content: "→"; color: var(--cyan); }
.related span { color: var(--text-2); font-size: .9rem; line-height: 1.5; }

/* CTA band */
.cta-band { display: grid; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg, rgba(37, 244, 238, .12), rgba(254, 44, 85, .12)), var(--surface); }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; color: var(--text-2); }

/* Footer */
.footer { padding: 2.5rem 0 6.5rem; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--text-2); font-size: .93rem; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-about p { margin: .9rem 0 0; max-width: 24rem; }
.footer-title { margin: 0 0 .5rem; color: var(--text-3); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li a { display: inline-block; padding: .4rem 0; color: var(--text-2); }
.footer li a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: .82rem; line-height: 1.6; }
.footer-bottom p { margin: 0 0 .4rem; }

/* Sticky download bar (mobile) */
.dl-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: .75rem; padding: .55rem .55rem .55rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(20, 24, 33, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  transform: translateY(160%); transition: transform .3s ease;
}
.dl-bar.is-visible { transform: none; }
.dl-bar-text { min-width: 0; color: var(--text-3); font-size: .8rem; line-height: 1.3; }
.dl-bar-text b { display: block; color: #fff; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-bar .btn { flex: none; min-height: 46px; margin-left: auto; padding: .6rem 1.1rem; }

/* 404 */
.not-found { padding: 4rem 0; text-align: center; }
.not-found .big { margin: 0; font-size: clamp(5rem, 25vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .lead-text { margin-inline: auto; }
.not-found .hero-actions { max-width: 30rem; margin: 1.5rem auto 0; justify-content: center; }

/* ---------- Breakpoints ---------- */
@media (max-width: 359px) {
  .logo small { display: none; }
  .header-cta { padding: .5rem .7rem; }
}
@media (max-width: 639px) {
  table { font-size: .9rem; }
  th, td { padding: .7rem .65rem; }
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: .85rem .95rem; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack th, .table-stack td { display: block; padding: .15rem 0; border: 0; }
  .table-stack tbody th { margin-bottom: .3rem; font-size: 1rem; }
  .table-stack td::before { content: attr(data-label) ": "; color: var(--text-3); font-weight: 700; }
}
@media (min-width: 640px) {
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 2rem; }
}
@media (min-width: 960px) {
  :root { --header-h: 68px; }
  body { font-size: 17px; }
  .burger { display: none; }
  .nav { display: block; position: static; max-height: none; overflow: visible; padding: 0; margin-left: auto; background: none; border: 0; box-shadow: none; }
  .nav-list { display: flex; align-items: center; gap: .25rem; }
  .nav-list a { min-height: 40px; padding: .45rem .8rem; border: 0; border-radius: 10px; color: var(--text-2); font-size: .95rem; }
  .nav-list a::after { content: none; }
  .nav-list a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
  .nav-list a[aria-current="page"] { background: rgba(37, 244, 238, .08); color: var(--cyan); }
  .nav-list .m-only { display: none; }
  .logo { margin-right: 0; }
  .header-cta { margin-left: .5rem; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 3.5rem; }
  .mock { width: 320px; }
  .section { padding: 4.5rem 0; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero { padding: 2rem 0 2.75rem; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; padding: 3rem 0 4rem; }
  .layout.layout-solo { grid-template-columns: minmax(0, 1fr); }
  .page-hero .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .aside { display: block; }
  .footer { padding-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
  .dl-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
