/* ===== Темы ===== */
:root {
  --accent: #D7F205;
  --on-accent: #121212;
  --on-accent-muted: #3A3F00;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --bg: #0E0E0E;
  --bg-deep: #000000;
  --fg: #FFFFFF;
  --muted: #A8A8A8;
  --line: #2E2E2E;
  --card: #1C1C1C;
  --hl-fg: var(--accent);
  --hl-bg: transparent;
  --pill-bg: rgba(255, 255, 255, .1);
  --pill-line: var(--accent);
  --tag-line: var(--accent);
  --card-line: var(--accent);
  --nav-bg: rgba(14, 14, 14, .78);
  --band: #1A1A1A;
  --on-band: #FFFFFF;
  --on-band-2: #A8A8A8;
  --band-line: rgba(255, 255, 255, .14);
  --overlay: linear-gradient(rgba(10, 10, 10, .62), rgba(10, 10, 10, .8));
  --stroke: rgba(255, 255, 255, .14);
  --focus: var(--accent);
  --invert-bg: #FFFFFF;
  --invert-fg: #121212;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F3F2EC;
  --bg-deep: #E7E6DD;
  --fg: #141414;
  --muted: #55554F;
  --line: #D6D5CB;
  --card: #FFFFFF;
  --hl-fg: #141414;
  --hl-bg: var(--accent);
  --pill-bg: rgba(255, 255, 255, .7);
  --pill-line: rgba(20, 20, 20, .14);
  --tag-line: currentColor;
  --card-line: transparent;
  --nav-bg: rgba(243, 242, 236, .8);
  --band: #141414;
  --on-band: #F3F2EC;
  --on-band-2: #A8A8A0;
  --band-line: rgba(243, 242, 236, .18);
  --overlay: linear-gradient(rgba(243, 242, 236, .72), rgba(243, 242, 236, .86));
  --stroke: rgba(20, 20, 20, .12);
  --focus: #141414;
  --invert-bg: #141414;
  --invert-fg: #FFFFFF;
  color-scheme: light;
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; }
p { text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}
html { scrollbar-color: var(--line) var(--bg); }

.wrap { padding-left: clamp(16px, 4vw, 56px); padding-right: clamp(16px, 4vw, 56px); }
.disp { font-family: Unbounded, sans-serif; text-transform: uppercase; }
.hl {
  color: var(--hl-fg);
  background: var(--hl-bg);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .08em;
}
.glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(215, 242, 5, .16), rgba(215, 242, 5, 0) 60%);
  pointer-events: none;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 30px;
  transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: var(--invert-bg); color: var(--invert-fg); }
.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--pill-line);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease;
}
.icon-btn:hover { background: var(--pill-bg); }

/* Переключатель темы: мяч в утопленной дорожке */
.tsw {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 46px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(#0A0A0A, #1A1A1A);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, .85),
    inset 0 -2px 3px rgba(255, 255, 255, .06),
    0 0 0 3px #2A2A2A,
    0 0 0 4px rgba(215, 242, 5, .45),
    0 6px 14px rgba(0, 0, 0, .35);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
[data-theme="light"] .tsw {
  background: linear-gradient(#D9D8CC, #ECEBE2);
  box-shadow:
    inset 0 4px 10px rgba(20, 20, 20, .25),
    inset 0 -2px 3px rgba(255, 255, 255, .9),
    0 0 0 3px #FFFFFF,
    0 0 0 4px rgba(20, 20, 20, .14),
    0 6px 14px rgba(20, 20, 20, .12);
}
.tsw:focus-visible { border-radius: 999px; outline-offset: 6px; }
.tsw-ball {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5));
  transform: translateX(42px) rotate(0deg);
  transition: transform .7s cubic-bezier(.34, 1.35, .5, 1);
}
[data-theme="light"] .tsw-ball {
  transform: translateX(0) rotate(-300deg);
  filter: drop-shadow(0 4px 5px rgba(20, 20, 20, .3));
}
.tsw-ico { position: absolute; top: 15px; transition: opacity .35s ease; }
.tsw-moon { left: 14px; color: var(--accent); }
.tsw-sun { right: 14px; color: #55554F; opacity: 0; }
[data-theme="light"] .tsw-moon { opacity: 0; }
[data-theme="light"] .tsw-sun { opacity: 1; }

/* ===== 1. Hero ===== */
.hero {
  position: relative;
  min-height: max(600px, 100svh);
  display: flex;
  flex-direction: column;
  padding-top: 92px;
  padding-bottom: 28px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url(assets/img/hero-court.jpg) center / cover;
  transform-origin: 50% 40%;
  will-change: transform;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); transition: background .4s var(--ease); }
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, padding .3s ease;
}
.nav.stuck {
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; border-radius: 50%; transition: transform .6s var(--ease); }
.logo:hover { transform: rotate(-40deg); }
.logo-ball { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5)); }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; text-underline-offset: 6px; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav-right { position: relative; display: flex; align-items: center; gap: 14px; }

/* Подсказка про тему: всплывает под переключателем на 5 секунд */
.theme-tip {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  margin: 0;
  width: max-content;
  max-width: 240px;
  padding: 12px 16px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  font-size: 14px;
  line-height: 1.4;
  animation: tip-in .45s var(--ease);
}
.theme-tip::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 38px;
  width: 12px;
  height: 12px;
  background: var(--card);
  border-left: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
  transform: rotate(45deg);
}
.theme-tip.out { opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .4s ease; }
.theme-tip[hidden] { display: none; }
@keyframes tip-in { from { opacity: 0; transform: translateY(-6px); } }
.nav-cta { padding: 14px 26px; font-size: 15px; }
.menu-btn { display: none; }

.stage { --h1-size: clamp(40px, min(11vw, 19svh), 168px); position: relative; flex-grow: 1; display: flex; align-items: center; justify-content: center; min-height: 440px; }
.h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-weight: 900;
  font-size: var(--h1-size);
  line-height: .9;
  letter-spacing: -0.02em;
}
/* Заголовок, кнопка и место мяча — одна группа; на десктопе она не влияет на раскладку */
.hero-main { display: contents; }
/* Кнопка под заголовком: заголовок стоит по центру сцены, и мяч центрируется по
   нему же, поэтому кнопка вынута из потока и встаёт под двумя строками h1 */
.hero-cta {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--h1-size) * .9 + 28px);
  z-index: 3;
  transform: translateX(-50%);
  font-size: 20px;
  padding: 18px 34px;
  /* лёгкий объём: мягкая тень снизу и светлый блик по верхней кромке */
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55), 0 3px 8px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, translate .25s ease;
}
.hero-cta:hover { translate: 0 -2px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6), 0 4px 10px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .45); }
[data-theme="light"] .hero-cta { box-shadow: 0 10px 22px -8px rgba(20, 20, 20, .35), 0 2px 6px rgba(20, 20, 20, .15), inset 0 1px 0 rgba(255, 255, 255, .6); }
.ballbox {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: calc(var(--h1-size) * 1.65);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}
/* Канвас на весь hero: частицы влетают из-за края экрана. Мяч рисуется
   в границах .ballbox, клики проходят сквозь канвас к ссылкам и кнопкам. */
.hero-canvas { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; pointer-events: none; }
[data-theme="light"] .h1 .hl { background: transparent; }
.pills { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pill {
  position: absolute;
  background: var(--pill-bg);
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.p1 { left: 3%; top: 6%; }
.p2 { right: 4%; top: 12%; }
.p3 {
  left: 6%;
  bottom: 6%;
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  border-radius: 20px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
  max-width: 7.5em;
}
.p4 { right: 5%; bottom: 10%; }
/* ===== Общие секции ===== */
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec-tight { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.sec-head-stack { flex-direction: column; align-items: flex-start; }
.sec-head-stack .lead { max-width: none; font-size: clamp(18px, 1.7vw, 24px); }
.h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 5vw, 72px); line-height: 1; text-wrap: balance; }
.lead { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* ===== 2. Применение ===== */
@media (min-width: 1001px) and (min-height: 720px) and (prefers-reduced-motion: no-preference), (max-width: 1000px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .use-sec { height: 340vh; padding-top: 0; padding-bottom: 0; }
  .use-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; }
  .use-sticky .use-grid { width: 100%; }
}
/* Карточка под списком: список не нужен — карточки сменяют друг друга прокруткой,
   а где мы сейчас, показывают счётчик и полоска прогресса в карточке */
@media (max-width: 1000px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .use-sec .use-list { display: none; }
  .use-sec .use-left { gap: 16px; }
  /* Блок по высоте содержимого: ни сверху, ни снизу не остаётся пустого экрана */
  .use-sec.sec { height: calc(100svh + 220vh); padding-top: var(--sec-y, 60px); padding-bottom: var(--sec-y, 60px); }
  /* прилипает под шапкой (69 px) с небольшим зазором */
  .use-sec .use-sticky { top: 84px; height: auto; justify-content: flex-start; padding-top: 0; padding-bottom: 0; }
}
.use-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.use-left { display: flex; flex-direction: column; gap: 32px; }
.use-left .h2 { font-size: clamp(30px, 3.6vw, 52px); }
.use-list { display: flex; flex-direction: column; gap: 6px; }
.use-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  padding: 18px 4px;
  cursor: pointer;
  font: inherit;
  transition: padding .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease), border-radius .6s var(--ease);
}
.use-btn:hover { padding-left: 12px; }
.use-t { font-family: Unbounded, sans-serif; font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); }
.use-d { font-size: 15px; color: var(--muted); }
.use-btn.on {
  background: var(--accent);
  color: var(--on-accent);
  border-bottom-color: transparent;
  border-radius: 16px;
  padding-left: 20px;
  padding-right: 20px;
}
.use-btn.on .use-d { color: var(--on-accent-muted); }
.use-panel {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 36px;
  min-height: 520px;
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color .4s var(--ease);
}
.use-panel .glow { inset: auto -10% -30% auto; width: 80%; height: 90%; }
.use-panel img {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 62%;
  max-width: 420px;
  height: auto;
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.use-panel img.r0 { transform: rotate(-18deg); }
.use-panel img.r1 { transform: rotate(40deg); }
.use-panel img.r2 { transform: rotate(110deg); }
.use-panel img.r3 { transform: rotate(190deg); }
.use-big {
  position: relative;
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: .95;
  max-width: 9ch;
}
/* Середина карточки: счётчик, факты-плашки и прогресс по пунктам */
.use-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.use-count { margin: 6px 0 0; font-size: 15px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.use-count b { font-family: Unbounded, sans-serif; font-weight: 700; color: var(--fg); }
.use-points { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 55%; }
.use-points li {
  background: var(--pill-bg);
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.use-bottom { position: relative; display: flex; flex-direction: column; gap: 20px; }
.use-progress { display: flex; gap: 6px; max-width: 220px; }
.use-progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .6s var(--ease); }
.use-progress i.on { background: var(--accent); }
/* Смена пункта: текст гаснет, меняется и проявляется (класс .swap ставит main.js) */
.use-points li { transition: opacity .32s ease, transform .5s var(--ease); }
.use-panel.swap .use-points li { opacity: 0; transform: translateX(-12px); }
.use-points li:nth-child(2) { transition-delay: .05s; }
.use-points li:nth-child(3) { transition-delay: .1s; }
.use-big, .use-text { transition: opacity .32s ease, transform .5s var(--ease); }
.use-panel.swap .use-big, .use-panel.swap .use-text { opacity: 0; transform: translateY(14px); }
.use-text { position: relative; margin: 0; max-width: min(34ch, 52%); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: var(--muted); }

/* ===== 3. Покрытия ===== */
.covs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cov {
  position: relative;
  height: 480px;
  border-radius: 32px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--card-line);
  transition: transform .5s var(--ease);
}
.cov:hover { transform: translateY(-6px); }
.c1 { background-image: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .8)), url(assets/img/synthetic.jpg); }
.c2 { background-image: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .8)), url(assets/img/clay.jpg); }
.c3 { background-image: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .8)), url(assets/img/hard.jpg); }
.c4 { background-image: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .8)), url(assets/img/grass.jpg); }
.cov-t { font-family: Unbounded, sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); }
.tag { align-self: flex-start; border: 1px solid var(--tag-line); border-radius: 999px; padding: 6px 14px; font-size: 13px; }

/* ===== 4. Характеристики ===== */
.specs { position: relative; overflow: hidden; background: var(--bg-deep); transition: background-color .4s var(--ease); }
.outline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Unbounded, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(64px, 15vw, 240px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px var(--stroke);
  pointer-events: none;
}
.spec-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.feat { display: flex; flex-direction: column; gap: 28px; }
.feat .h2 { font-size: clamp(28px, 3vw, 44px); }
.feat b { display: block; font-family: Unbounded, sans-serif; font-weight: 600; font-size: clamp(20px, 2vw, 28px); }
.feat span { font-size: 20px; color: var(--muted); }
.spec-ball { position: relative; display: flex; justify-content: center; }
.spec-ball .glow { inset: 0; }
.spin { position: relative; width: 100%; max-width: 440px; will-change: transform; }
.spin img { display: block; width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat {
  background: var(--card);
  border-radius: 28px;
  padding: 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--card-line);
  transition: background-color .4s var(--ease);
}
.stat b { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 40px; line-height: 1; }
.stat span { color: var(--muted); margin-top: 6px; }
.stat-pro { background: var(--accent); color: var(--on-accent); grid-column: span 2; border-color: transparent; }
.stat-pro span { color: var(--on-accent-muted); }

/* ===== 5. Комплекты ===== */
.kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kit {
  background: var(--card);
  border-radius: 36px;
  padding: 36px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--card-line);
  transition: background-color .4s var(--ease);
}
.kit-on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.kit-on .tag { border-color: currentColor; }
.kit-n { font-family: Unbounded, sans-serif; font-weight: 900; font-size: clamp(72px, 8vw, 112px); line-height: 1; }
.kit-sub { font-size: 18px; color: var(--muted); }
.kit-on .kit-sub { color: var(--on-accent-muted); }
.kit-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.kit-price { font-size: 24px; }
.kit-btn {
  background: var(--invert-bg);
  color: var(--invert-fg);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 24px;
  transition: opacity .2s ease;
}
.kit-btn:hover { opacity: .85; }
.kit-on .kit-btn { background: #121212; color: #FFFFFF; }

/* ===== 6. Вопросы ===== */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 960px; }

.faq details { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: Unbounded, sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 65ch; }

/* ===== 7. CTA и подвал ===== */
.cta-wrap { padding-bottom: 24px; }
/* Фон из мячей; затемнение в центре держит текст, к краям мячи остаются яркими */
.cta {
  background:
    radial-gradient(ellipse 40% 62% at 50% 50%, rgba(10, 10, 10, .8), rgba(10, 10, 10, .45) 60%, rgba(10, 10, 10, 0)),
    #9DB30A url(assets/img/cta-balls.jpg) center / cover;
  color: #FFFFFF;
  border-radius: 48px;
  padding: clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-title { font-size: clamp(32px, 6vw, 88px); text-shadow: 0 4px 32px rgba(0, 0, 0, .55); }
.cta .btn { background: var(--accent); color: var(--on-accent); }
.cta .btn:hover { background: #FFFFFF; color: #121212; }
.foot {
  margin-top: 48px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--band);
  color: var(--on-band-2);
  font-size: 14px;
  transition: background-color .4s var(--ease);
}
.foot-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.foot-bottom p { margin: 0; }
.foot-sign { padding: 6px 0; color: inherit; text-decoration: none; }
.foot-sign:hover { color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; }
.foot :focus-visible { outline-color: var(--accent); }

/* ===== Плашка «демо-сайт» ===== */
.demo {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  width: min(440px, calc(100% - 32px));
  padding: 24px 56px 24px 24px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--accent);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  animation: demo-in .45s var(--ease);
}
.demo[hidden] { display: none; }
@keyframes demo-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.demo-title { margin: 0 0 8px; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 18px; }
.demo-text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.demo-link {
  display: inline-flex;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
}
.demo-link:hover { background: var(--invert-bg); color: var(--invert-fg); }
.demo-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.demo-x:hover { background: var(--pill-bg); color: var(--fg); }

/* ===== Адаптив ===== */
@media (max-width: 1000px) {
  .menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 16px;
    width: min(340px, calc(100% - 32px));
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .nav-links a:hover { background: var(--pill-bg); text-decoration: none; }
  .nav.open .nav-links { display: flex; }
}

@media (max-width: 1000px) {
  .use-grid { grid-template-columns: minmax(0, 1fr); }
  .use-panel { min-height: 380px; }
  .covs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cov { height: 300px; }
  /* Текст и мяч рядом, плашки PRO и цифры — строкой под ними */
  .spec-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .spin { max-width: 380px; }
  .stats { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-pro { grid-column: auto; }
  .kits { grid-template-columns: minmax(0, 1fr); }
  .kit { min-height: 0; }
}

@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-right { gap: 10px; }

  .hero { min-height: 0; padding-top: 84px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .stage { flex-direction: column; justify-content: flex-start; gap: 20px; padding-top: 40px; padding-bottom: 32px; min-height: 0; }
  /* Мяч — фон за заголовком и кнопкой: группа держит высоту мяча, он по центру под ней */
  .hero-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: 100%; min-height: calc(min(84vw, 340px) + 24px); }
  .h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  [data-theme="light"] .h1 { text-shadow: 0 0 18px rgba(243, 242, 236, .8); }
  .hero-cta { position: relative; left: auto; top: auto; transform: none; font-size: 17px; padding: 16px 30px; }
  .hero-canvas { z-index: 0; opacity: .8; }
  .theme-tip { left: auto; right: 0; max-width: min(240px, calc(100vw - 32px)); }
  .theme-tip::before { left: auto; right: 98px; }
  .ballbox { width: min(84vw, 340px); z-index: 0; }
  .pills { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: auto; }
  .pill, .p3 { position: static; font-size: 14px; padding: 8px 14px; border-radius: 999px; line-height: 1.3; max-width: none; }

  /* Один шаг между разделами: у каждого раздела отступ снизу, сверху — только
     у первого после полосы с фоном (характеристики) и у самой полосы */
  :root { --sec-y: 60px; }
  .sec { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
  .sec-tight { padding-top: 0; }
  .cta-wrap { padding-bottom: 0; }
  .foot { margin-top: var(--sec-y); }
  .use-btn { flex-direction: column; gap: 4px; }
  .use-panel { min-height: 0; justify-content: flex-start; border-radius: 28px; gap: 28px; }
  .use-points { max-width: none; }
  .use-big { font-size: clamp(24px, 7.4vw, 40px); }
  .use-points li { white-space: nowrap; font-size: 15px; padding: 8px 14px; }
  .use-text { max-width: 62%; }
  .use-panel img { width: 50%; right: -10%; bottom: -12%; }
  .cov { height: 220px; border-radius: 24px; padding: 18px; }
  .spec-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; row-gap: 32px; }
  .feat { gap: 20px; }
  .feat .h2 { font-size: clamp(20px, 6vw, 28px); }
  .feat b { font-size: 18px; }
  .feat span { font-size: 16px; }
  .spec-ball { justify-content: flex-start; }
  .spin { width: 190%; max-width: none; flex-shrink: 0; }
  .stats { gap: 10px; }
  .stat { min-height: 110px; padding: 16px; border-radius: 22px; }
  .stat b { font-size: 28px; }
  .stat span { font-size: 14px; }
  .cov-t { font-size: clamp(13px, 3.9vw, 18px); }
  .outline { -webkit-text-stroke: 1px var(--stroke); }
  .kit { padding: 28px; border-radius: 28px; }
  .cta { border-radius: 32px; }
}

@media (max-width: 380px) {
  .logo-ball { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .use-btn, .cov, .use-panel img, .use-big, .use-text, .faq summary svg, .tsw-ball, .logo { transition: none; }
  .demo, .theme-tip { animation: none; }
}
