/* dstick — страница продукта. Тот же язык, что у утилиты: тёмный фон, лайм, Unbounded + Onest. */
@font-face { font-family: "Unbounded"; src: url("utility/fonts/unbounded-latin.woff2") format("woff2"); font-weight: 400 900; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("utility/fonts/unbounded-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("utility/fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("utility/fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: dark;
  --bg: #07080a; --panel: #111316; --panel2: #1a1d22; --line: #23272e;
  --text: #f3f4f6; --muted: #9096a1; --faint: #5d636e;
  --accent: #c8ff2e; --ink: #07080a;
  --display: "Unbounded", "Hiragino Sans", "Yu Gothic UI", "PingFang SC", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --body: "Onest", "Hiragino Sans", "Yu Gothic UI", "PingFang SC", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- шапка ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 44px);
  background: linear-gradient(to bottom, rgba(7, 8, 10, .85), rgba(7, 8, 10, 0)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1 var(--display); letter-spacing: -.02em; margin-right: auto; }
.brand svg { width: 28px; height: 28px; }
.nav nav { display: flex; gap: 22px; margin-right: 6px; }
.nav .btn.small:not(.primary) { background: rgba(26, 29, 34, .75); backdrop-filter: blur(8px); }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .12s; }
.nav nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 14px; border: 0; background: var(--panel2); color: var(--text);
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .12s, transform .06s; text-align: center; }
.btn:hover { background: #262a31; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: #d8ff66; }
.btn.primary b { font-weight: 500; opacity: .7; }
.btn.small { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn.wide { width: 100%; }
.btn[aria-disabled="true"] { background: var(--panel2); color: var(--muted); cursor: default; pointer-events: none; }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 10px; padding: 8px 11px; font: 600 13px/1 var(--body); cursor: pointer; }
.ghost:hover { color: var(--text); border-color: var(--faint); }
select.ghost { appearance: none; max-width: 150px; background: rgba(17, 19, 22, .6); backdrop-filter: blur(8px); padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none' stroke='%239096a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
select.ghost option { background: #111316; color: var(--text); }

/* ---------- первый экран ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: center; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 86% 50%; }
.shade { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(7, 8, 10, .92) 0%, rgba(7, 8, 10, .62) 34%, rgba(7, 8, 10, 0) 62%),
  linear-gradient(to top, var(--bg) 0%, rgba(7, 8, 10, 0) 24%); }
.hero-text { position: relative; padding: 0 clamp(16px, 4vw, 44px); max-width: 690px; animation: up .9s .25s both ease-out; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 22px; font: 700 clamp(28px, 4.3vw, 58px)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.lead { margin: 0 0 30px; color: #c3c7cf; font-size: clamp(16px, 1.5vw, 19px); max-width: 52ch; }
.lead.narrow { color: var(--muted); max-width: 60ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.replay { position: absolute; right: clamp(16px, 4vw, 44px); bottom: 28px; backdrop-filter: blur(8px); background: rgba(17, 19, 22, .6); }

/* ---------- разделы ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 44px) 0; }
h2 { margin: 0 0 22px; font: 700 clamp(26px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
h3 { margin: 0 0 8px; font: 600 17px/1.3 var(--display); letter-spacing: -.01em; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-text { animation: none; } html { scroll-behavior: auto; } }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 34px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 34px; }
.card { transition: transform .18s ease-out, background .18s; }
.card:hover { transform: translateY(-4px); background: #15181c; }
.num small { font-size: .42em; letter-spacing: 0; margin-left: 5px; color: var(--text); }

/* ---------- полоса цифр сразу под первым экраном ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: -34px auto 0; padding: 0 clamp(16px, 4vw, 44px); position: relative; z-index: 2; }
.stats div { padding: 26px 18px 26px 0; border-top: 1px solid var(--line); }
.stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 700 clamp(28px, 4.4vw, 54px)/1 var(--display); letter-spacing: -.04em; }
.stats b small { font-size: .38em; letter-spacing: 0; margin-left: 6px; color: var(--accent); }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- палец / пальцы / мышь ---------- */
.trio { margin-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 110px); position: relative; overflow: hidden;
  background: linear-gradient(to bottom, var(--bg), rgba(7, 8, 10, .55) 30%, rgba(7, 8, 10, .7) 70%, var(--bg)), url("media/hero-mid.jpg") center / cover no-repeat; }
.trio h2 { font-size: clamp(28px, 4.8vw, 62px); max-width: 16ch; }
.trio article { padding: 24px 0 0; border-top: 2px solid var(--accent); }
.trio svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 16px; }
.trio p { margin: 0; color: #c3c7cf; }

/* ---------- три шага ---------- */
.steps { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.steps li { counter-increment: step; background: var(--panel); border-radius: 20px; padding: 26px; position: relative; }
.steps li::before { content: "0" counter(step); display: block; font: 700 15px/1 var(--display); color: var(--ink); background: var(--accent); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.chipsline { margin-top: 14px; color: var(--muted); }

/* мягкое лаймовое свечение за блоком покупки */
#buy { position: relative; }
#buy::before { content: ""; position: absolute; inset: 10% 0 auto auto; width: min(520px, 70%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 255, 46, .09), transparent); pointer-events: none; z-index: -1; }
.card { background: var(--panel); border-radius: 20px; padding: 26px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { font: 700 44px/1 var(--display); letter-spacing: -.04em; color: var(--accent); margin-bottom: 22px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.split img { border-radius: 20px; width: 100%; height: auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: #c3c7cf; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin: 34px 0 24px; }
figure { margin: 0; }
figure img { border-radius: 16px; border: 1px solid var(--line); width: 100%; height: auto; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.chips { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--panel); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; color: #c3c7cf; }

/* ---------- конфигуратор ---------- */
.config { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-top: 34px; align-items: start; }
.label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--panel); border: 2px solid transparent; cursor: pointer; transition: border-color .12s, background .12s; }
.option:hover { background: #15181c; }
.option:has(input:checked) { border-color: var(--accent); }
.option input { appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 2px solid var(--faint); flex: none; }
.option input:checked { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.option .body { flex: 1; min-width: 0; }
.option b { display: block; font: 600 16px/1.3 var(--display); letter-spacing: -.01em; }
.option small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.option .price { font: 700 22px/1 var(--display); letter-spacing: -.02em; }
.fine { margin: 6px 0 0; color: var(--faint); font-size: 14px; }
.summary { background: var(--panel); border-radius: 20px; padding: 26px; position: sticky; top: 90px; }
.summary dl { margin: 0 0 20px; display: grid; grid-template-columns: max-content 1fr; gap: 9px 18px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.total b { font: 700 38px/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.summary .fine { margin-top: 12px; text-align: center; }

/* ---------- характеристики ---------- */
.specs { margin: 28px 0 0; display: grid; grid-template-columns: minmax(130px, 240px) 1fr; }
.specs dt, .specs dd { margin: 0; padding: 15px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.faq { margin-top: 44px; display: grid; gap: 10px; }
details { background: var(--panel); border-radius: 16px; padding: 0 22px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font: 600 22px/1 var(--display); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 20px; color: var(--muted); max-width: 70ch; }

.foot { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding-bottom: 44px; color: var(--faint); font-size: 14px; }
.foot span { font: 700 14px/1 var(--display); color: var(--muted); margin-right: auto; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav { gap: 8px; }
  select.ghost { max-width: 104px; }
  .brand span { display: none; }
  .hero { align-items: flex-end; padding-bottom: 76px; }
  .hero video { object-position: 74% 40%; }
  .shade { background: linear-gradient(to top, var(--bg) 4%, rgba(7, 8, 10, .82) 38%, rgba(7, 8, 10, .1) 72%); }
  .summary { position: static; }
  .specs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -18px; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs dd { border-top: 0; padding-top: 0; }
}
