/* Bitz по-русски — палитра официального сайта bitz.io (:root inline CSS, 2026-10-29) */
:root {
  --bg: #0d131c;          /* --base-background */
  --surface: #111923;     /* --base-surface */
  --el: #1a2230;          /* --base-elements / --base-divider */
  --red: #ff3939;         /* --primary-solid */
  --white: #ffffff;       /* --base-text-primary */
  --text: #e3e4e7;        /* --base-text-secondary */
  --dim: #a2b3ca;         /* --base-text-placeholder */
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --red-soft: rgba(255, 57, 57, .12);
  --radius: 18px;
  --shell: 1200px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration-color: rgba(255, 57, 57, .6); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }
h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0 0 1.1em; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: var(--white); font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 26px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(255, 57, 57, .7); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.cta:hover { background: #ff4d4d; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 57, 57, .85); }
.cta-sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1; transition: border-color .2s, background .2s; }
.ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .03); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(13, 19, 28, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.hdr.is-stuck { border-bottom-color: var(--line); background: rgba(13, 19, 28, .92); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-sub { font-size: 13px; font-weight: 600; color: var(--dim); padding-left: 10px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: var(--el); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: 24px 0 40px; }
.menu-list { display: grid; gap: 28px; margin-bottom: 28px; }
.menu-h { font-size: 13px; color: var(--dim); font-weight: 600; margin: 0 0 8px; }
.menu-list a { display: block; padding: 10px 0; color: var(--white); text-decoration: none; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu .cta { width: 100%; }
.menu-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 10px; }

/* Home hero */
.hero { position: relative; padding: 72px 0 88px; overflow-x: clip; }
.hero::before { content: ''; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; background: radial-gradient(closest-side, rgba(255, 57, 57, .2), rgba(255, 57, 57, 0)); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em, .phero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: 19px; color: var(--text); max-width: 34em; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.disclose { font-size: 13px; color: var(--dim); margin: 16px 0 0; }
.shots { position: relative; margin: 0; padding-bottom: 60px; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--el); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar span { margin-left: 10px; font-size: 11px; color: var(--dim); background: var(--bg); padding: 3px 12px; border-radius: 6px; }
.phone { position: absolute; width: 27%; right: -10px; bottom: 0; border-radius: 26px; padding: 7px; background: #05080d; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.phone img { border-radius: 20px; }
.shots figcaption { position: absolute; left: 0; bottom: 0; font-size: 12px; color: var(--dim); max-width: 64%; }

/* Home sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.sec-head p { font-size: 18px; margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .25s; }
.sec-alt .tile { background: var(--bg); }
.tile:hover { border-color: rgba(255, 57, 57, .5); transform: translateY(-3px); }
.tile-img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--el); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-img.contain img { object-fit: contain; padding: 18px; }
.tile-body { padding: 24px 24px 26px; }
.tile-body h3 { font-size: 22px; margin-bottom: 10px; }
.tile-body p { color: var(--text); font-size: 16px; margin: 0 0 14px; }
.tile-more { color: var(--red); font-weight: 600; font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.facts { position: sticky; top: 96px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--el), var(--surface)); padding: 28px; }
.facts h2 { font-size: 20px; margin-bottom: 18px; }
.facts dl { margin: 0; }
.facts dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--dim); margin-bottom: 2px; }
.facts dd { margin: 0; color: var(--white); font-size: 15px; line-height: 1.5; font-weight: 500; }
.facts .cta { width: 100%; margin-top: 18px; }
.facts small, .rail small { display: block; text-align: center; color: var(--dim); font-size: 12px; margin-top: 10px; }

.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vcol { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.vcol h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.vcol h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #3dca85; }
.vcol.minus h3::before { background: var(--red); }
.vcol ul { margin: 0; padding: 0; list-style: none; }
.vcol li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; color: var(--white); font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-75%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; }

.band { position: relative; overflow: hidden; border-radius: 24px; padding: 56px; background: linear-gradient(120deg, var(--el), var(--surface)); border: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(255, 57, 57, .22), rgba(255, 57, 57, 0)); pointer-events: none; }
.band h2 { font-size: clamp(26px, 3vw, 36px); }
.band p { margin: 12px 0 0; }
.band > * { position: relative; z-index: 1; }

/* Article pages */
.phero { position: relative; padding: 56px 0 44px; border-bottom: 1px solid var(--line); overflow-x: clip; }
.phero::before { content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -420px; background: radial-gradient(closest-side, rgba(255, 57, 57, .16), rgba(255, 57, 57, 0)); pointer-events: none; }
.phero .shell { position: relative; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span::before { content: '/'; margin-right: 10px; opacity: .5; }
.phero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; max-width: 17em; }
.phero .lead { font-size: 19px; max-width: 42em; margin: 22px 0 18px; }
.byline { font-size: 14px; color: var(--dim); margin: 0; }
.page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-top: 48px; padding-bottom: 88px; }
.prose { max-width: 740px; min-width: 0; }
.quick { border-radius: 16px; background: var(--red-soft); border: 1px solid rgba(255, 57, 57, .28); padding: 22px 26px; margin-bottom: 26px; }
.quick-h { font-weight: 700; color: var(--white); margin: 0 0 6px; font-size: 15px; }
.quick p:last-child { margin: 0; color: var(--white); }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin-bottom: 40px; background: var(--surface); }
.toc summary { cursor: pointer; font-weight: 700; color: var(--white); }
.toc ol { margin: 12px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { font-size: 15px; padding: 3px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.on { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); margin: 56px 0 18px; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin: 34px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--white); font-weight: 600; }
.prose .cta { margin: 6px 0 18px; }
.note { border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 26px 0; }
.note p:last-child { margin: 0; }
.note b { color: var(--white); }
.tbl { width: 100%; overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.tbl th { text-align: left; color: var(--white); font-weight: 600; background: var(--el); padding: 12px 16px; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--dim); padding: 10px 16px; }
.shot { margin: 30px 0; }
.shot img { border-radius: 14px; border: 1px solid var(--line-2); }
.shot figcaption { font-size: 13px; color: var(--dim); margin-top: 10px; line-height: 1.5; }
.shot.narrow { max-width: 340px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); padding: 22px 24px; margin: 34px 0; }
.inline-cta p { margin: 0; flex: 1 1 260px; color: var(--white); font-weight: 500; }
.inline-cta .cta { margin: 0; }
.inline-cta small { color: var(--dim); font-size: 12px; width: 100%; }
.rail { position: relative; }
.rail-card { position: sticky; top: 96px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--el), var(--surface)); padding: 26px; }
.rail-card img { margin-bottom: 16px; }
.rail-card p { font-size: 15px; line-height: 1.55; }
.rail-card .cta { width: 100%; }
.related { padding: 72px 0 96px; border-top: 1px solid var(--line); background: var(--surface); }
.related-h { font-size: 28px; margin-bottom: 28px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel { position: relative; display: block; padding: 24px 52px 26px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; transition: border-color .2s, transform .2s; }
.rel:hover { border-color: rgba(255, 57, 57, .5); transform: translateY(-2px); }
.rel small { display: block; color: var(--red); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.rel b { color: var(--white); font-size: 18px; line-height: 1.35; font-weight: 600; }
.rel span { position: absolute; right: 22px; top: 24px; color: var(--dim); font-size: 20px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.ftr-brand p { margin-top: 18px; color: var(--dim); font-size: 15px; max-width: 26em; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr-h { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.ftr-cols a { display: block; color: var(--dim); text-decoration: none; font-size: 15px; padding: 4px 0; }
.ftr-cols a:hover { color: var(--white); }
.ftr-bottom { padding-top: 28px; font-size: 13px; color: var(--dim); line-height: 1.6; }
.ftr-bottom p { margin: 0; max-width: 72em; }
.ftr-bottom strong { color: var(--white); }

/* Floating CTA (review pages) */
.floating-cta { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 16px; width: min(560px, calc(100% - 24px)); padding: 12px 12px 12px 20px; border-radius: 16px; background: rgba(26, 34, 48, .94); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .8); transition: opacity .3s, transform .3s; }
.floating-cta.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.floating-cta .caption { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; min-width: 0; }
.floating-cta strong { color: var(--white); font-size: 15px; }
.floating-cta small { color: var(--dim); font-size: 12px; }
.floating-cta .button { background: var(--red); color: var(--white); font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.floating-cta button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--dim); font-size: 22px; cursor: pointer; }
.floating-cta button:hover { color: var(--white); background: rgba(255, 255, 255, .06); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .browser { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-cta { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .browser { transform: none; }
  .split, .page { grid-template-columns: 1fr; gap: 40px; }
  .facts, .rail-card { position: static; }
  .rail { order: 2; max-width: 520px; }
}
@media (min-width: 1081px) { .menu { display: none !important; } }
@media (min-width: 700px) { .menu-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .tiles, .rel-grid { grid-template-columns: 1fr; }
  .verdict { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 36px 28px; }
  .ftr-top { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { padding: 0 16px; }
  .hdr-in { height: 64px; gap: 12px; }
  .menu { inset: 64px 0 0; }
  .logo-sub { display: none; }
  .hdr-cta { padding: 10px 14px; }
  .hero { padding: 44px 0 64px; }
  .hero .lead, .phero .lead { font-size: 17px; }
  .hero-actions .cta, .hero-actions .ghost { width: 100%; }
  .phone { width: 32%; right: -4px; }
  .shots figcaption { max-width: 60%; }
  .toc ol { columns: 1; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
  .tbl table { min-width: 0; font-size: 14px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .floating-cta { padding-left: 14px; gap: 10px; }
  .floating-cta small { display: none; }
  .vcol { padding: 24px 20px; }
}
