/* stellio.ru v2 prototype. Colours: var(--role) from tokens.css only (check_colors.py). Sizes: skill design.md. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --maxw: 1344px; --pad: 20px; --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ring: inset 0 0 0 1.5px var(--line);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; accent-color: var(--accent); }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font: 400 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--surface-accent); color: var(--text); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--text); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: 42px; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: 30px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 16px; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
li, dd { text-wrap: pretty; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--inverse); color: var(--on-inverse); font-weight: 700; }
.skip:focus { top: 10px; }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.i-sm { width: 18px; height: 18px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 56px 0; }
.section + .section { padding-top: 0; }
.section.band { background: var(--surface); padding-top: 56px; }
.section.band + .section { padding-top: 56px; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 720px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--text-muted); }
.text { max-width: 68ch; }
.stack { display: grid; gap: 12px; }
.stack > .btn, .stack > .more { justify-self: start; }
.stack > *, .products > *, .two > *, .home-apps > *, .home-news > *, .donate-grid > *, .help-grid > *, .hero > *, .app > *, .app-side > * { min-width: 0; }
.products, .product, .buy, .stack, .two, .gets, .home-apps, .home-news, .hero, .app, .wall, .form, .md, .post-body, .wn-entry, .news-entry, .community { grid-template-columns: minmax(0, 1fr); }
.help-aside { margin-top: 32px; }
.theme-nav { justify-content: flex-end; align-self: end; margin-top: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--accent); }
.more:hover { color: var(--text); }
.more svg { transition: transform .2s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.page-head { padding: 36px 0 8px; display: grid; gap: 12px; }
.crumb { font-size: 14px; font-weight: 700; color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; width: fit-content; }
.crumb:hover { color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--on-brand); box-shadow: var(--shadow-glow); }
.btn-primary:hover { color: var(--on-brand); box-shadow: var(--shadow-card); }
.btn-strong { background: var(--inverse); color: var(--on-inverse); }
.btn-strong:hover { color: var(--on-inverse); box-shadow: var(--shadow-glow); }
.btn-soft { background: var(--surface-accent); color: var(--accent); }
.btn-soft:hover { color: var(--text); }
.btn-outline { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-outline:hover { color: var(--text); background: var(--surface); }
.btn-vk { background: var(--vk); color: var(--on-vk); }
.btn-vk:hover { color: var(--on-vk); box-shadow: var(--shadow-glow); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn img { width: 22px; height: auto; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; padding: 0;
  background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s;
}
.icon-btn:hover { background: var(--surface-accent); color: var(--accent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--maxw); margin: 0 auto; padding: 0 12px 0 var(--pad); height: 60px; display: flex; align-items: center; gap: 4px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; margin-right: auto; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.logo:hover { color: var(--text); }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { background: var(--surface-accent); color: var(--accent); }
.hdr-actions { display: flex; align-items: center; gap: 2px; }
.lang-wrap { position: relative; display: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface-accent); color: var(--text); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.lang-btn:hover { color: var(--accent); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 16px; background: var(--bg); box-shadow: var(--ring), var(--shadow-card); display: grid; gap: 2px; }
.lang-pop[hidden] { display: none; }
.lang-pop button, .seg button { font: inherit; }
.lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-weight: 700; cursor: pointer; text-align: left; }
.lang-opt:hover { background: var(--surface); }
.lang-opt[aria-checked="true"] { color: var(--accent); }
.lang-opt[aria-checked="false"] svg { visibility: hidden; }
.theme-btn { display: none; }
.theme-btn .t-moon { display: none; }
html[data-theme="dark"] .theme-btn .t-sun { display: none; }
html[data-theme="dark"] .theme-btn .t-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-btn .t-sun { display: none; }
  html:not([data-theme="light"]) .theme-btn .t-moon { display: block; }
}
.basket-btn { position: relative; }
.basket-btn .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.basket-btn .count:empty { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: var(--surface-accent); color: var(--accent); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }

/* payments switch (html[data-payments]) */
html[data-payments="off"] .pay-on, html[data-payments="on"] .pay-off { display: none !important; }

/* sheets and dialogs */
dialog { border: 0; padding: 0; color: var(--text-2); background: var(--bg); }
dialog::backdrop { background: var(--inverse); opacity: .45; }
.sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); overflow: auto; }
.sheet[open] { animation: sheet-in .28s var(--ease); }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); opacity: .5; margin: 6px auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 8px; }
.sheet-head h2 { font-size: 20px; }
.menu-list { display: grid; gap: 2px; margin: 0 0 12px; padding: 0; list-style: none; }
.menu-list a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 8px; border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.menu-list a:hover { background: var(--surface); }
.menu-list a[aria-current="page"] { background: var(--surface-accent); color: var(--accent); }
.menu-list .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--surface-accent); color: var(--accent); display: grid; place-items: center; }
.group-title { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.menu-prefs { display: grid; gap: 14px; padding: 14px 8px 4px; border-top: 1px solid var(--line); }
.pref { display: grid; gap: 8px; }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); }
.seg button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button[aria-checked="true"] { background: var(--bg); color: var(--accent); box-shadow: var(--ring), 0 1px 2px var(--shadow-ink); }

/* cards and tiles */
.card { background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--ring), var(--shadow-card); padding: 24px; }
.tile { background: var(--surface); border-radius: var(--r-lg); padding: 24px; }
.app-icon { width: 56px; height: 56px; border-radius: 15px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head h2, .app-head h3 { font-size: 24px; }

/* get cards */
.get { position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 18px 14px 14px; border-radius: var(--r); background: var(--bg); box-shadow: var(--ring), var(--shadow-card); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.get:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--ring), var(--shadow-glow); }
.get .gtile { position: relative; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; flex: none; }
.get .gtile img { width: 26px; height: auto; position: relative; }
.get .gtxt { display: grid; gap: 2px; min-width: 0; }
.get .gtxt b { font-size: 17px; line-height: 1.25; }
.get .gtxt span { font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.get .gend { margin-left: auto; color: var(--text-muted); }
.get-vk { background: var(--vk); color: var(--on-vk); box-shadow: var(--shadow-glow); }
.get-vk:hover { color: var(--on-vk); box-shadow: var(--shadow-card); }
.get-vk .gtile { background: transparent; }
.get-vk .gtile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--on-vk); opacity: .16; }
.get-vk .gtile img { width: 30px; }
.get-vk .gtxt span, .get-vk .gend { color: var(--on-vk); }
.flag { position: absolute; top: -12px; right: 16px; padding: 3px 10px; border-radius: 999px; background: var(--vk-soft); color: var(--vk); font-size: 13px; font-weight: 800; line-height: 1.4; box-shadow: var(--shadow-card); }
.gets { display: grid; gap: 16px; }
.gets .get-vk { margin-top: 4px; }

/* phone frame: the screenshot keeps its own aspect, so the frame fits it exactly */
.phone { display: block; width: var(--w, 220px); max-width: 100%; padding: 5px; border-radius: 13px; background: var(--device); box-shadow: 0 1px 2px var(--shadow-ink), 0 10px 28px var(--shadow-ink); flex: none; }
.phone img { display: block; width: 100%; height: auto; border-radius: 8px; } /* small screen radius: status bars stay whole */
.art { display: block; border-radius: var(--r); overflow: hidden; }
.art img { display: block; width: 100%; height: auto; }
.rail { --rh: 290px; scroll-padding-inline: var(--pad); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 18px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
.rail-big { --rh: 440px; }
.rail-mid { --rh: 380px; }
.phone.ph-h { width: auto; }
.phone.ph-h img { height: var(--rh); width: auto; max-width: none; }
.rail-item { display: grid; gap: 10px; justify-items: start; align-content: end; text-decoration: none; color: var(--text); }
.rail:not(.rail-big) { --rw: 140px; align-items: flex-end; }
.rail:not(.rail-big) .phone.ph-h { width: calc(var(--rw) + 10px); }
.rail:not(.rail-big) .phone.ph-h img { width: 100%; height: auto; }
.rail-item b { font-size: 16px; }
.rail-item:hover { color: var(--accent); }
.rail-item .phone { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rail-item:hover .phone { transform: translateY(-4px); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 800; background: var(--surface-accent); color: var(--accent); }
.tag-vk { background: var(--vk-soft); color: var(--vk); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 700; background: var(--surface-accent); color: var(--accent); }

/* home */
.home-apps { display: grid; gap: 14px; padding: 20px 0 0; }
.app { display: grid; gap: 16px; align-content: start; }
.app h2 { font-size: 24px; }
.app h2 a { color: inherit; text-decoration: none; }
.app h2 a:hover { color: var(--accent); }
.app .app-line { color: var(--text-2); }
.app-player { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.app-player .pp-head { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.app-player .shot { --w: 96px; grid-column: 2; grid-row: 1; align-self: start; }
.app-player .pp-body { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 16px; }
.app-side { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.app-side .shot { --w: 104px; }
.app-side .art { width: 112px; border-radius: 16px; }
.app-text { display: grid; gap: 10px; align-content: start; }
.home-news { display: grid; gap: 14px; }
.home-news > .community { align-self: start; }
#news { padding-top: 14px; }
.news-entry { display: grid; gap: 10px; align-content: start; }
.news-entry h3 { font-size: 22px; }

/* community card (What's new, Home) */
.community { display: grid; gap: 12px; align-content: start; background: var(--surface-accent); border-radius: var(--r-lg); padding: 24px; }
.community .c-head { display: flex; align-items: center; gap: 12px; }
.community .c-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; }
.community .c-mark { color: var(--accent); }
.community .c-mark .brand { width: 22px; height: 22px; }
.community h3, .community h2 { font-size: 22px; letter-spacing: -0.02em; }
.community .btn { justify-self: start; }
html[data-ln="ru"] .ln-en, html:not([data-ln="ru"]) .ln-ru { display: none !important; }

/* page hero */
.hero { display: grid; gap: 28px; padding: 32px 0 56px; }
.hero-text { display: grid; gap: 16px; align-content: start; }
.hero-shot { display: flex; justify-content: center; }
.hero-shot .phone { --w: 240px; }
.desc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 6px; padding: 0; list-style: none; }
.desc li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 16px; background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; line-height: 1.3; min-width: 0; overflow-wrap: break-word; }
/* Russian labels are longer (VLA-817 ru copy): one per row on phones */
@media (max-width: 719px) { html[lang="ru"] .desc { grid-template-columns: minmax(0, 1fr); } }
.desc li svg { color: var(--accent); }
.meta { font-size: 14px; color: var(--text-muted); }

/* feature list */
.features { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.features .fi { width: 44px; height: 44px; border-radius: 13px; background: var(--surface-accent); color: var(--accent); display: grid; place-items: center; }
.features b { display: block; color: var(--text); font-size: 17px; line-height: 1.35; }
.features span { display: block; font-size: 15px; line-height: 1.5; color: var(--text-muted); margin-top: 2px; }

/* buy box */
.price { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.old-price { font-size: 16px; color: var(--text-muted); text-decoration: line-through; font-weight: 600; }
.price .sale-tag { vertical-align: middle; margin-left: 4px; }
.legal table { border-collapse: collapse; margin: 16px 0; }
.legal td { vertical-align: top; padding: 8px; border: 1px solid var(--line); }
.sale { background: var(--accent); color: var(--bg); }
.buy { display: grid; gap: 12px; }
.buy .row .btn { flex: 1 1 auto; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--surface-accent); color: var(--text); }
.notice svg { color: var(--accent); margin-top: 2px; }
.notice p + p { margin-top: 4px; }

/* products (Purchase) */
.products { display: grid; gap: 16px; }
.product { display: grid; gap: 18px; grid-template-rows: auto 1fr auto auto; }
.product.is-target { box-shadow: 0 0 0 3px var(--focus), var(--shadow-card); }
.product .p-head { display: flex; gap: 16px; align-items: center; }
.product .p-head img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line); }
.product h2 { font-size: 24px; }
.product ul.gives { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.product ul.gives li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.product ul.gives svg { color: var(--accent); margin-top: 2px; }
.product .buy { margin-top: auto; }

/* steps */
details.steps { border-top: 1px solid var(--line); padding-top: 4px; }
details.steps > summary, .acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; font-weight: 800; color: var(--text);
}
details > summary::-webkit-details-marker { display: none; }
.plus { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-accent); color: var(--accent); display: grid; place-items: center; flex: none; transition: transform .2s var(--ease); }
details[open] > summary .plus { transform: rotate(45deg); }
.step-list { display: flex; gap: 14px; overflow-x: auto; margin: 4px calc(-1 * 20px) 0; padding: 6px 20px 14px; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.step-list li { flex: 0 0 156px; display: grid; gap: 10px; align-content: start; scroll-snap-align: start; font-size: 14px; line-height: 1.45; color: var(--text); }
.step-list .phone { --w: 156px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); font-size: 13px; font-weight: 800; margin-right: 6px; }
ol.text-steps { margin: 8px 0 12px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
ol.text-steps li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--text); }
ol.text-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); font-size: 13px; font-weight: 800; margin-top: 1px; }

/* forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.input, textarea.input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--text-muted); }
.input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.msg { font-size: 14px; font-weight: 600; min-height: 0; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--success); }
.form { display: grid; gap: 14px; }
.result { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--surface); }
.result[hidden] { display: none; }
.code { font-size: 20px; font-weight: 800; letter-spacing: .06em; color: var(--text); font-variant-numeric: tabular-nums; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--ring); }

/* FAQ, accordion */
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search .input { padding-left: 48px; }
.faq-app + .faq-app { margin-top: 40px; }
.faq-app > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 26px; }
.faq-app > h2 img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line); }
.faq-group { margin-top: 18px; }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { min-height: 60px; padding: 10px 0; font-size: 16px; line-height: 1.4; }
.acc > summary:hover { color: var(--accent); }
.acc .ans { padding: 0 0 18px; display: grid; gap: 10px; max-width: 68ch; grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
.md ul, .md ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.md p + p { margin-top: 0; }
.md { display: grid; gap: 12px; overflow-wrap: anywhere; }
.md h3 { font-size: 20px; }
.empty { padding: 24px; border-radius: var(--r); background: var(--surface); }
.empty[hidden] { display: none; }

/* What's new */
.wn { display: grid; gap: 0; }
.wn-list { display: none; }
.wn-entry { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.wn-entry:first-child { padding-top: 0; }
.wn-meta { display: flex; align-items: center; gap: 10px; }
.wn-entry .md h2 { font-size: 22px; letter-spacing: -0.02em; }
.wn-detail .community { margin-top: 24px; }

/* blog */
.posts { display: grid; gap: 16px; }
.post-card { display: grid; gap: 10px; text-decoration: none; color: var(--text-2); }
.post-card h2 { font-size: 24px; }
.post-card:hover h2 { color: var(--accent); }
.post-cover { border-radius: var(--r); background: var(--grad-soft); padding: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-end; min-height: 160px; }
.post { display: grid; gap: 28px; padding: 32px 0 56px; }
.post h1 { font-size: 36px; }
.post-body { display: grid; gap: 18px; max-width: 640px; }
.post-body h2 { font-size: 26px; margin-top: 18px; scroll-margin-top: 90px; }
.post-body p, .post-body li { font-size: 17px; line-height: 1.7; }
.toc { display: none; }
.sizes { display: grid; gap: 10px; margin: 4px 0; padding: 18px; border-radius: var(--r); background: var(--surface); }
.size-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; font-size: 15px; color: var(--text); font-weight: 700; }
.size-bar { height: 28px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; color: var(--on-brand); font-size: 14px; font-weight: 800; min-width: 72px; }
.glossary { display: grid; gap: 12px; margin: 0; }
.glossary div { padding: 16px 18px; border-radius: var(--r); background: var(--surface); }
.glossary dt { font-weight: 800; color: var(--text); font-size: 17px; }
.glossary dd { margin: 4px 0 0; }

/* donate */
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amount { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface-accent); color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }
.amount[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); }
.wall { display: grid; gap: 28px; }
.wall ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.wall li { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wall .who { color: var(--text); font-weight: 700; }
.wall .sum { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.wall .when { font-size: 14px; color: var(--text-muted); }
.wall .note { grid-column: 1 / -1; font-size: 15px; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 28px; margin-top: 24px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.f-main { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; }
.f-main .btn-vk { justify-self: start; }
.f-main .f-mail { justify-self: start; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; font-weight: 600; }
.f-col a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -12px; } /* glyphs on the column's left edge */
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); }
.socials a:hover { background: var(--surface-accent); }
.brand { display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.f-mail { font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.f-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-muted); }

/* legal */
.legal { max-width: 760px; display: grid; gap: 12px; padding-bottom: 40px; }
.legal p { margin: 0; text-wrap: pretty; }
li, dd { text-wrap: pretty; }


/* packs, basket, misc */
.two { display: grid; gap: 16px; align-items: start; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0; padding: 0; list-style: none; }
.pack { display: grid; gap: 6px; color: var(--text); font-size: 15px; }
.pack .art { border-radius: var(--r-sm); }
.pack .art img { aspect-ratio: 682 / 254; object-fit: cover; } /* Topaz preview is 720 px wide, the rest ~682 */
.buy-band { display: grid; gap: 16px; }
.buy-band .app-head h2 { font-size: 26px; }
.form-card h2 { color: var(--text); }
.form-card > .small { margin-top: 14px; }
.b-items { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.b-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; }
.b-price { color: var(--accent); font-variant-numeric: tabular-nums; }
.b-empty { padding: 12px 0; }
.b-empty[hidden], .b-form[hidden] { display: none; }
.b-sum { margin: 4px 0 0; display: grid; gap: 6px; }
.b-sum div { display: flex; justify-content: space-between; font-size: 15px; }
.b-sum dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 700; }
.b-total { font-size: 18px !important; color: var(--text); font-weight: 800; }
.basket .b-form { padding-bottom: 4px; }


/* one Google Play button style on the whole site */
.btn-gp { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); padding: 0 20px 0 16px; }
.btn-gp:hover { color: var(--text); background: var(--surface); }
.btn-gp img { width: 20px; height: auto; }

/* VK Player: card surface like the other apps, only its mark is VK blue (owner night) */
.vk-mark { width: 56px; height: 56px; border-radius: 15px; background: var(--vk); display: grid; place-items: center; flex: none; }
.vk-mark img { width: 30px; height: auto; }
.get .gtile .vk-mark { width: 52px; height: 52px; border-radius: 14px; }
.vk-band { background: var(--surface); padding: 56px 0; }
.vk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vk-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.vk-list svg { color: var(--accent); }
.vk-band .get { max-width: 460px; }
.vk-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.vk-text { gap: 18px; }
.app-vk .app-text { gap: 14px; }
.home-apps > .community { align-self: start; }

/* Restore code */
.restore-cards { gap: 16px; }
.picks { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.picks legend { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; padding: 0; }
.pick { display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--text); font-weight: 700; }
.pick span img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.pick input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: var(--surface-accent); }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.big-shot { width: min(100%, 460px); }

/* Home player card */
.app-player .desc { margin: 0; }
.app-player .desc li { background: var(--bg); }
.chameleon { margin-top: 28px; display: grid; gap: 6px; max-width: 62ch; }

/* section headings inside pages */
.h-sec { font-size: 24px; margin: 8px 0 8px; }
.h-card { font-size: 22px; }
.narrow { max-width: 760px; }
.note-line { margin: 8px 0 0; color: var(--text-2); }
.more-help { margin-top: 20px; }
.faq-wrap > * { max-width: 860px; }
.faq-common { margin-top: 24px; }
.faq-apps { margin-top: 36px; display: grid; gap: 12px; }
.faq-cat { border-radius: var(--r); background: var(--surface); padding: 0 20px; }
.faq-cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 64px; font-weight: 800; font-size: 18px; color: var(--text); }
.faq-cat > summary img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.faq-cat > summary .plus { margin-left: auto; }
.faq-cat[open] > summary .plus { transform: rotate(45deg); }
.faq-cat > div { padding-bottom: 12px; }
.acc .ans h4 { margin-top: 8px; }
.acc .ans .step-list { margin-left: 0; margin-right: 0; padding-left: 0; }
.band .acc { border-color: var(--line); }
.search { margin-bottom: 8px; }

/* What's new with one entry */
.wn-single { display: block; }

/* Equalizer */
.eq-hero-wrap { position: relative; overflow: hidden; }
/* the sound field sits behind the Equalizer screenshot at every width (owner), sized to the phone, never under text */
.eq-hero-wrap .hero-shot { position: relative; isolation: isolate; }
.eq-hero-wrap .hero-shot .phone { position: relative; z-index: 1; }
.sound-viz { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(200%, 900px); height: 82%;
  transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, currentColor 55%, transparent); mask-image: radial-gradient(closest-side, currentColor 55%, transparent); }
.wide-shot { width: min(100%, 520px); }
.effects { display: grid; gap: 40px; }
.effect { display: grid; gap: 20px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.effect-text { display: grid; gap: 8px; max-width: 46ch; }
.effect-text h3 { font-size: 24px; }
.effect-text p { font-size: 17px; }
.store-shot { display: block; width: min(100%, 380px); border-radius: var(--r); overflow: hidden; box-shadow: var(--ring), 0 1px 2px var(--shadow-ink), 0 10px 28px var(--shadow-ink); justify-self: center; }
.store-shot img { display: block; width: 100%; height: auto; }
.fun { margin-top: 48px; display: grid; gap: 14px; }
.fun-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.fun-list li { padding: 14px 16px; border-radius: var(--r); background: var(--surface); display: grid; gap: 2px; }
.fun-list b { color: var(--text); }
.fun-list span { font-size: 15px; color: var(--text-muted); }

/* Widgets */
.hero-art { max-width: 420px; }
.rail-slides { list-style: none; margin-top: 32px; }
.rail-slides .slide { flex: 0 0 240px; }
.rail-ctl { justify-content: flex-end; margin-bottom: 8px; }
.rail-big { list-style: none; }
#news { padding-top: 14px; }
.notice + .products, .note-line + .products { padding-top: 24px; }
#older-codes.notice { margin-bottom: 56px; }


/* light / dark screenshots of the same screen (owner: dark screenshots in dark mode) */
.v-dark { display: none !important; }
html[data-theme="dark"] .v-dark { display: block !important; }
html[data-theme="dark"] .v-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .v-dark { display: block !important; }
  html:not([data-theme="light"]) .v-light { display: none !important; }
}
/* APK as a hero button, version and size small inline */
.btn-apk small { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.hero-text .row .btn { padding: 0 16px; gap: 8px; }
.hero-text .row { gap: 10px; }
.btn.is-disabled { opacity: .6; cursor: not-allowed; box-shadow: inset 0 0 0 1.5px var(--line); }
.pp-hero .desc { margin: 4px 0 8px; grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.pp-hero .desc li { min-height: 44px; padding: 6px 12px; }
.home-apps { align-items: start; }


/* Equalizer: the store screen's player list rebuilt in HTML (tokens only) */
#apps-supported { overflow: hidden; }
.players-card { position: relative; width: min(100%, 440px); justify-self: center; padding: 28px 8px; }
.pc-burst { position: absolute; inset: -10% -20%; width: 140%; height: 120%; fill: none; stroke: var(--brand-2); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .55; pointer-events: none; }
.pc-burst circle:nth-child(2) { stroke: var(--brand-1); }
.pc-burst circle:nth-child(3) { stroke: var(--brand-3); }
.pc-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pc-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 22px; background: var(--bg); box-shadow: var(--ring), 0 1px 2px var(--shadow-ink), 0 10px 28px var(--shadow-ink); }
.pc-mark { width: 56px; height: 56px; }
.pc-mark .m-line { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.pc-green .m-fill { fill: var(--mark-green); } .pc-green .m-line { stroke: var(--on-brand); }
.pc-red .m-fill { fill: var(--mark-red); } .pc-red .m-glyph { fill: var(--on-vk); }
.pc-orange .m-fill { fill: var(--mark-orange); } .pc-orange .m-glyph { fill: var(--on-brand); }
.pc-purple .m-fill { fill: var(--mark-purple); } .pc-purple .m-line { stroke: var(--on-vk); }
.pc-text { display: grid; gap: 2px; min-width: 0; }
.pc-text b { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }
.pc-text > span { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--text-muted); }
.pc-bars { width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; flex: none; }
.pc-toggle { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--accent); flex: none; }
.pc-toggle::after { content: ""; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }


/* VK section: the opened-artist screen in HTML (tokens, so dark mode is the same screen in dark tokens) */
.as-phone { --w: 290px; }
.as-screen { display: flex; flex-direction: column; aspect-ratio: 411 / 891; border-radius: 8px; overflow: hidden; background: var(--bg); color: var(--text); font-size: 11px; line-height: 1.3; container-type: inline-size; }
.as-screen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.as-screen svg .fill { fill: currentColor; stroke: none; }
.as-screen b { font-weight: 700; }
.as-hero { position: relative; display: flex; align-items: flex-end; aspect-ratio: 2.2 / 1; padding: 0 12px 10px; background: var(--surface-accent); }
.as-hero b { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.as-top { position: absolute; top: 10px; left: 10px; }
.as-actions { display: flex; align-items: center; gap: 10px; padding: 12px 12px 4px; }
.as-pill { padding: 6px 14px; border-radius: 999px; background: var(--surface-accent); font-weight: 700; font-size: 12px; }
.as-follow { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12px; }
.as-follow svg { width: 15px; height: 15px; }
.as-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 4px; font-size: 13px; }
.as-bar span { color: var(--accent); font-weight: 700; font-size: 11px; }
.as-bar b { display: inline-flex; align-items: center; gap: 4px; }
.as-bar svg { width: 13px; height: 13px; }
.as-albums { display: flex; gap: 8px; padding: 4px 12px 8px; overflow: hidden; flex: 1 1 0; min-height: 0; }
.as-album { width: 76px; flex: none; display: grid; gap: 2px; align-content: start; }
.as-album img { width: 76px; height: 76px; border-radius: 8px; display: block; }
.as-album b { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-album span { font-size: 9.5px; color: var(--text-muted); }
.as-rows { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 3px; }
.as-rows li, .as-mini { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--surface); }
.as-cov img { width: 34px; height: 34px; border-radius: 5px; display: block; }
.as-t { display: grid; flex: 1; min-width: 0; }
.as-t span { font-size: 10px; color: var(--text-muted); }
.as-d { font-size: 10px; color: var(--text-muted); }
.as-rows li svg { width: 14px; height: 14px; color: var(--text-muted); }
.as-mini { border-top: 1px solid var(--line); background: var(--bg); padding: 8px; }
.as-play { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; }
.as-play svg { width: 14px; height: 14px; }

/* ≥720 */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .f-grid { grid-template-columns: 2fr repeat(5, 1fr); }
  .f-main { grid-column: auto; }
  .features { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .products { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .app-side .shot { --w: 132px; }
  .app-side .art { width: 150px; }
  .home-news { grid-template-columns: 7fr 5fr; }
  .fun-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr 1fr; }
  .packs { grid-template-columns: repeat(3, 1fr); gap: 18px 16px; }
}

/* ≥1024 */
@media (min-width: 1024px) {
  body { font-size: 17px; }
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section + .section { padding-top: 0; }
  .section.band, .section.band + .section { padding-top: 88px; }
  .lead { font-size: 20px; }
  .page-head { padding: 56px 0 12px; }
  .hero { grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; padding: 56px 0 88px; }
  .hero-shot .phone { --w: 300px; }
  .tile { padding: 32px; }
  .card { padding: 28px; }
  .vk-band { padding: 88px 0; }
  .vk-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; }
  .effect { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .effect.flip .effect-text { order: 2; }
  .fun-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .effect-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-apps { grid-template-columns: repeat(12, 1fr); gap: 18px; padding-top: 32px; }
  .app-player { grid-column: span 7; grid-template-rows: auto 1fr; column-gap: 32px; }
  .app-vk { grid-column: span 6; }
  .home-apps > .community { grid-column: span 5; }
  .app-player .more { align-self: start; }
  .app-player .pp-body { grid-column: 1; grid-row: 2; align-content: start; }
  .app-player .desc { grid-template-columns: minmax(0, 1fr); }
  .app-player .desc li { min-height: 44px; padding: 6px 12px; }
  .app-player .shot { --w: 236px; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .app-eq, .app-wg { grid-column: span 3; }
  .app-side { grid-template-columns: 1fr; align-items: start; height: 100%; }
  .app-side .shot { --w: 178px; justify-self: center; align-self: end; }
  .app-side .art { width: 100%; align-self: end; }
  .app-side .app-text { align-self: start; }
  .home-news { gap: 18px; }
  #news { padding-top: 18px; }
  .wn { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
  .wn-list { display: grid; gap: 4px; position: sticky; top: 100px; padding: 8px; border-radius: var(--r); box-shadow: var(--ring); }
  .wn-list a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 600; }
  .wn-list a span { color: var(--text-muted); font-weight: 500; }
  .wn-list a[aria-current="true"] { background: var(--surface-accent); font-weight: 800; }
  .wn-list a:hover { background: var(--surface); }
  .wn.js-pick .wn-entry:not(.is-shown) { display: none; }
  .wn.js-pick .wn-entry { border-bottom: 0; padding-top: 0; }
  .post { grid-template-columns: 220px minmax(0, 640px) 220px; justify-content: center; gap: 48px; padding-top: 56px; }
  .post > header { grid-column: 2; }
  .post-body { grid-column: 2; }
  .toc { display: grid; gap: 2px; grid-column: 1; grid-row: 2; align-self: start; position: sticky; top: 100px; }
  .toc a { min-height: 40px; display: flex; align-items: center; color: var(--text-muted); font-weight: 600; font-size: 15px; text-decoration: none; }
  .toc a:hover { color: var(--accent); }
  .post h1 { font-size: 64px; }
  .help-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .help-aside { position: sticky; top: 100px; margin-top: 0; }
  .wall ol.wall-cols { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .donate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .step-list { margin: 4px 0 0; padding: 6px 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); overflow: visible; }
  .step-list li { flex: none; }
  .rail { --rh: 300px; }
  .rail-8 { --rw: 128px; }
  .rail:not(.rail-big):not(.rail-8) { --rw: 150px; }
  .rail-big { --rh: 288px; gap: 12px; margin: 0; padding: 6px 0 18px; }
  .rail-ctl { display: none !important; }
  .rail-mid { --rh: 400px; }
  .packs { grid-template-columns: repeat(5, 1fr); }
  .buy-band .buy .row .btn { flex: 0 0 auto; }
  .buy-band { grid-template-columns: 1fr auto; align-items: center; column-gap: 40px; }
  .buy-band > .app-head, .buy-band > .buy, .buy-band > .small { grid-column: 1; }
  .buy-band > .price { grid-column: 2; grid-row: 1; font-size: 36px; }
  .basket { margin: auto; width: 480px; max-width: calc(100% - 32px); border-radius: var(--r-lg); padding: 8px 24px 24px; }
  .basket .grab { display: none; }
}

/* the full header from 1100 (all nav items fit) */
@media (min-width: 1100px) {
  .site-header { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 6px var(--pad) 6px; pointer-events: none; }
  .bar { pointer-events: auto; height: 64px; padding: 0 10px 0 20px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--ring), var(--shadow-glow); max-width: calc(var(--maxw) - 2 * var(--pad)); }
  .logo { margin-right: 12px; }
  .nav { display: flex; gap: 2px; margin-right: auto; }
  .lang-wrap { display: block; }
  .theme-btn { display: inline-grid; }
  .menu-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01s !important; animation: none !important; scroll-behavior: auto !important; }
  .get:hover, .rail-item:hover .phone { transform: none; }
}
