﻿/* ===== ШРИФТЫ (self-hosted) ===== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Unbounded-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
}

/* ===== СЛОНЯРАПРИНТ — Dark Tech UI ===== */

:root {
  --bg: #0b0b0c;
  --bg-2: #101013;
  --surface: #15161a;
  --surface-2: #1c1e23;
  --surface-3: #24272d;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f3f3;
  --text-mute: #9a9ba0;
  --text-dim: #6b6c72;
  --yellow: #FFB800;
  --yellow-bright: #FFCC2E;
  --yellow-soft: rgba(255, 184, 0, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--yellow);
  color: #15110a;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #15110a;
  outline-offset: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle ambient gradient on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 184, 0, 0.07), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 184, 0, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ====== Typography ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', 'Manrope', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.02);
}
.eyebrow--yellow {
  background: var(--yellow);
  color: #18130a;
  border-color: var(--yellow);
  font-weight: 600;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: eyebrow-pulse 3s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,184,0,0); }
  50%       { box-shadow: 0 0 14px 4px rgba(255,184,0,0.35); }
}
.eyebrow--yellow:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(255,184,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
  filter: brightness(1.12);
  animation: none;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

h1 { font-size: clamp(40px, 5.5vw, 76px); font-weight: 700; }
h2 { font-size: clamp(32px, 3.8vw, 54px); }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

p { color: var(--text-mute); }

.accent { color: var(--yellow); }
.highlight-y { background: var(--yellow); color: #15110a; padding: 0 3px; border-radius: 3px; }
.underline-y { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--yellow {
  background: var(--yellow);
  color: #15110a;
}
.btn--yellow { transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn--yellow:hover { background: var(--yellow-bright); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.2); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: clamp(12px, 2vw, 16px) clamp(18px, 3vw, 26px);
  font-size: clamp(13px, 2.2vw, 15px);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.2); }
.btn--dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--dark:hover { background: var(--surface-3); }
.btn--lg {
  padding: clamp(14px, 1.6vw, 18px) clamp(20px, 2.4vw, 30px);
  font-size: clamp(14px, 1.4vw, 16px);
}
.btn .arrow {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.18);
  border-radius: 50%;
}
.btn--ghost .arrow { background: var(--yellow); color: #15110a; }

/* ====== Nav ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
section[id] {
  scroll-margin-top: 88px;
}
#how, #tiers {
  scroll-margin-top: -8px;
}
#benefits {
  scroll-margin-top: 24px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 16px 32px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 12px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav__logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav__logo-text { line-height: 0.45; letter-spacing: 0.4px; }
.nav__logo-text small {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 9px;
  letter-spacing: 2.6px;
  color: rgb(202, 202, 202);
  font-weight: 100;
  margin-top: 3px;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--radius-pill);
}
.nav__links a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__right { display: flex; gap: 10px; align-items: center; }
.nav__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-mute);
  transition: color .2s, border-color .2s;
}
.nav__icon:hover { color: var(--yellow); border-color: var(--yellow); }
.nav__cta {
  padding: 11px 20px;
  font-size: 14px;
  background: var(--yellow);
  color: #15110a;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta { transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.nav__cta:hover { background: var(--yellow-bright); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 3px 8px rgba(0,0,0,0.15); }
.nav__burger { display: none; }

/* ====== Hero ====== */
.hero {
  padding: 30px 0 80px;
  position: relative;
  background: url('assets/wall_bricks.webp') center/cover no-repeat;
}
.hero__shell {
  /* Glass: light -45°, refraction 80, depth 100, dispersion 100, frost 14, splay 100 */
  background:
    linear-gradient(-45deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 22%,
      rgba(0,0,0,0.30) 50%,
      rgba(0,0,0,0.30) 100%),
    rgba(0,0,0,0.30);
  backdrop-filter: blur(14px) saturate(180%) contrast(108%);
  -webkit-backdrop-filter: blur(14px) saturate(180%) contrast(108%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 36px 56px 36px;
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 49.6vw, 580px);
  /* depth 100 + splay 100: outer drop + inner edge highlights */
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.65),
    inset 1px 1px 0 rgba(255,255,255,0.22),
    inset -1px -1px 0 rgba(0,0,0,0.35),
    inset 0 0 60px rgba(255,255,255,0.05);
}
/* Dispersion 100: chromatic fringes on opposite edges along -45° axis */
.hero__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(-45deg,
      rgba(255, 80, 80, 0.18) 0%,
      rgba(255, 80, 80, 0) 8%,
      transparent 50%,
      rgba(80, 180, 255, 0) 92%,
      rgba(80, 180, 255, 0.18) 100%),
    radial-gradient(120% 80% at -10% -10%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(120% 80% at 110% 110%, rgba(0,0,0,0.35), transparent 45%);
  mix-blend-mode: screen;
}
/* Splay 100: soft secondary highlight sweep */
.hero__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(-45deg, rgba(255,255,255,0.10), transparent 35%);
}
.hero__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
}
.hero__loc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.hero__loc strong { color: var(--text); font-weight: 600; letter-spacing: 0.18em; }
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}
.hero__left { padding-bottom: 36px; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(32px, 3.8vw, 56px);
  text-transform: uppercase;
}
.hero__nowrap { white-space: nowrap; }
.hero__title .accent { color: var(--yellow); }
.hero__title .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-mute);
  max-width: 480px;
  line-height: 1.55;
}
.hero__cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__urgency {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.hero__title-outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
  paint-order: stroke fill;
}

/* Animated word switcher */
/* Slot matches the line height of surrounding text (no baseline jump).
   Each item is taller than the slot, with the word at the TOP — the
   extra space at the bottom of every item is clipped by the slot,
   so descenders (e.g. tail of Д in ОТДЫХАЕШЬ) are already hidden
   before the next word slides into view. */
.word-rotator {
  --slot: 1em;
  --item: 1.3em;
  --stroke: clamp(1px, 0.07em, 2px);
  display: inline-block;
  height: var(--slot);
  line-height: var(--slot);
  overflow: hidden;
  vertical-align: bottom;
  color: transparent;
  -webkit-text-stroke: var(--stroke) #fff;
  text-stroke: var(--stroke) #fff;
  paint-order: stroke fill;
}
.word-rotator__list {
  display: block;
  animation: word-cycle 7.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
.word-rotator__item {
  display: block;
  height: var(--item);
  line-height: var(--slot); /* keep word at top of its slot */
}
@keyframes word-cycle {
  0%, 20%   { transform: translateY(0); }
  25%, 45%  { transform: translateY(calc(-1 * var(--item))); }
  50%, 70%  { transform: translateY(calc(-2 * var(--item))); }
  75%, 95%  { transform: translateY(calc(-3 * var(--item))); }
  100%      { transform: translateY(calc(-4 * var(--item))); }
}
.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: clamp(320px, 38vw, 480px);
}
.hero__elephant {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  margin-top: -60px;
  margin-left: -60px;
}
.hero__visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 55% 60%, rgba(255,184,0,0.25), transparent 70%);
  z-index: 1;
}

/* hero stat card overlay */
.hero__stat-card {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--yellow);
  color: #15110a;
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
  z-index: 3;
  width: clamp(160px, 17vw, 220px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero__stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 6px 16px rgba(0,0,0,0.2);
}
.hero__stat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.hero__stat-card__num {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero__stat-card__icon {
  width: 28px; height: 28px;
  background: #15110a;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--yellow);
}
.hero__stat-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero__stat-card__desc {
  margin-top: 16px;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.4;
  color: #15110a;
  font-weight: 500;
}
.hero__stat-card__btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #15110a;
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero__stat-card__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35), 0 3px 8px rgba(0,0,0,0.2);
}

/* Stats strip under hero */
.hero__stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px 24px 16px;
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.stat-card:not(.stat-card--yellow):hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2);
  background: var(--surface-2);
}
.stat-card--yellow { background: var(--yellow); color: #15110a; border-color: var(--yellow); }

/* Тултип — общие стили */
.stat-card__tooltip,
.tier__price-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 40%;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.2s ease, translate 0.2s ease;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.stat-card__tooltip::before,
.tier__price-tooltip::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 24px;
  border: 8px solid transparent;
  border-top-color: #1a1a1a;
}
.stat-card__tooltip { width: 400px; }
.stat-card__tooltip-urgent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
}
.stat-card__tooltip-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
}
.stat-card__tooltip-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.stat-card--yellow:hover .stat-card__tooltip {
  opacity: 1;
  translate: 0 0;
}

.stat-card--yellow {
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 6px 16px rgba(0,0,0,0.3);
  transform: translateY(-10px);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  z-index: 10;
  position: relative;
}
.stat-card--yellow:hover {
  box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 10px 28px rgba(0,0,0,0.35);
  transform: translateY(-16px);
}

/* Стикер ! — выходит за верхний правый угол карточки */
.stat-card__sticker {
  position: absolute;
  top: -6px;
  right: -30px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  z-index: 10;
  rotate: 6deg;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Зачёркнутая цена в правом верхнем углу */
.stat-card__old-price {
  position: absolute;
  top: 10px;
  right: 26px;
}
.stat-card__old-val {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #8b0000;
  position: relative;
  display: inline-block;
}
.stat-card__old-val::after {
  content: '';
  position: absolute;
  left: -4%;
  top: 48%;
  width: 108%;
  height: 2.5px;
  background: #000;
  transform: rotate(-12deg);
  border-radius: 2px;
}

.stat-card--yellow .stat-card__label {
  color: #15110a;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.stat-card__num {
  font-family: 'Unbounded', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card__label {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.stat-card--yellow .stat-card__label { color: rgba(21,17,10,0.7); }
.stat-card__spots {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #15110a;
  background: rgba(21,17,10,0.12);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 6px;
}

/* ====== Section base ====== */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
  flex-wrap: wrap;
}
.section__head-left { max-width: 720px; }
.section__head-right { max-width: 360px; }
.section__title { margin-top: 18px; }
.section__sub { margin-top: 18px; color: var(--text-mute); font-size: 16px; font-weight: 600; line-height: 1.6; max-width: 540px; }

/* ====== Marquee strip ====== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee__track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  text-transform: uppercase;
}
.marquee__item::after {
  content: "★";
  color: var(--yellow);
  font-size: 18px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== Features (How it works) ====== */
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.feature-item:hover { background: rgba(255, 184, 0, 0.03); }
.feature-item--active {
  background: var(--surface);
  border-color: var(--border-strong);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-mute);
  transition: background .25s, color .25s, border-color .25s;
}
.feature-item--active .feature-item__icon {
  background: var(--yellow);
  color: #18130a;
  border-color: var(--yellow);
}

.feature-item__body { flex: 1; min-width: 0; }

.feature-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.feature-item--active .feature-item__tag { color: var(--yellow); }

.feature-item__title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-mute);
  margin-bottom: 8px;
  transition: color .25s;
}
.feature-item--active .feature-item__title { color: var(--text); }

.feature-item__desc {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.5;
  transition: color .25s;
}
.feature-item--active .feature-item__desc { color: var(--text-mute); }

.feature-item__progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}
.feature-item__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--yellow), var(--yellow-bright));
  border-radius: 2px;
  transition: width .05s linear;
}

.features-image {
  position: sticky;
  top: 96px;
}
.features-image__inner {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}
.features-image__inner--visible {
  opacity: 1;
  transform: translateY(0);
}
.features-image__inner img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

#how-img-wrap { filter: url(#edge-displace); }
#how-img { border: 1px solid rgba(255,255,255,0.35) !important; }

.features-image__inner {
  position: relative;
}

.features-image__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow:
    inset 0 0 40px 20px rgba(21, 22, 26, 0.75),
    inset 0 0 80px 10px rgba(21, 22, 26, 0.45);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 960px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-image {
    position: static;
    order: -1;
  }
  .features-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .features-list::-webkit-scrollbar { display: none; }
  .feature-item {
    flex-direction: column;
    min-width: 200px;
    max-width: 240px;
    scroll-snap-align: center;
  }
}

/* ====== Benefits grid ====== */
.bcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.bcard:hover { border-color: var(--yellow); transform: translateY(-2px); }
.bcard__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bcard__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--yellow);
}
.bcard__title { font-size: clamp(11px, 1.15vw, 17px); overflow-wrap: break-word; word-break: break-word; }
.bcard__desc { color: var(--text-mute); font-size: 15px; line-height: 1.5; overflow-wrap: break-word; }
/* ====== Tier cards ====== */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
  padding-top: 42px;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 0px;
  position: relative;
  overflow: visible;
  min-width: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 6px 16px rgba(0,0,0,0.2);
  border-color: var(--yellow);
  z-index: 10;
}
.tier--featured {
  background: linear-gradient(180deg, #1c1d22 0%, #15161a 100%);
  border-color: var(--yellow);
}
.tiers:has(.tier:not(.tier--featured):hover) .tier--featured {
  border-color: var(--border);
}
.tier__head { display: flex; flex-direction: column; gap: 10px; }
.tier__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-bottom: none;
  position: absolute;
  bottom: 100%;
  left: 28px;
  top: auto;
  z-index: 2;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}
.tier--featured .tier__badge {
  background: var(--yellow);
  color: #15110a;
  border: 1px solid var(--yellow);
  border-bottom: none;
  position: absolute;
  bottom: 100%;
  left: 28px;
  top: auto;
  border-radius: 8px 8px 0 0;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
  z-index: 2;
}
.tier__name {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 6px;
  margin-bottom: 0px;
}
.tier__for { color: var(--text-mute); font-size: 14px; }

.tier__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tier__name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.tier__market {
  display: flex; flex-direction: column; gap: 2px;
}

.tier__price-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 6px 0;
}

.tier__price .tier__market {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.tier__market .tier__price-label {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tier__market .tier__price-val {
  font-size: clamp(10px, 1.8vw, 16px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.tier__price {
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 24px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: visible;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Старая цена — абсолют, правый верхний угол, диагональная черта */
.tier__price .tier__price-old {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  display: inline-block;
  text-decoration: none;
}
.tier__price .tier__price-old::after {
  content: '';
  position: absolute;
  left: -4%; top: 50%;
  width: 108%; height: 2px;
  background: #555;
  transform: rotate(-12deg);
  border-radius: 2px;
}

/* ! иконка — внутри строки рядом с ценой */
.tier__price .tier__price-icon {
  position: static;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  align-self: center;
}

.tier__price .tier__price-row {
  display: block;
}

.tier__price-promo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier__price {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tier__price:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.25);
  border-color: var(--yellow);
}

.tier__price-tooltip { width: 340px; }
.tier__price:hover .tier__price-tooltip {
  opacity: 1;
  translate: 0 0;
}

/* Promo-text */
.tier__price .tier__price-promo {
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}
.tier__price-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
}
.tier__price-old {
  font-size: 13px;
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.5);
}
.tier__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tier__price-main {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700; font-size: clamp(22px, 3vw, 34px);
  color: var(--yellow); letter-spacing: -0.02em;
}
.tier__price-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.tier__price-promo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.tier__price-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600; font-size: clamp(10px, 1.8vw, 16px);
  color: var(--text); letter-spacing: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.tier__sec {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier__sec:first-of-type {
  margin-bottom: 24px;
}
.tier__sec h4 {
  color: var(--text-mute);
  margin-top: 16px;
  margin-bottom: 0px;
  font-size: clamp(9px, 1.5vw, 11px);
}
.tier__head + .tier__sec h4 {
  margin-top: 0px;
  margin-bottom: 2px;
}
.tier__sec p { font-family: 'JetBrains Mono', monospace; font-size: clamp(9px, 1.5vw, 11px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); line-height: 1.6; }
.tier__list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
/* ====== Tier list items — restored from old version ====== */
.tier__list li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: clamp(11px, 2vw, 14px);
  line-height: 1.6;
}

.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.tier__list--cons li::before { background: var(--text-dim); }
.tier__list--cons li { color: var(--text-mute); }

.tier__highlight {
  display: inline-block;
  background: var(--yellow);
  color: #15110a;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
  line-height: 1.5;
}

.tier__income {
  margin-top: 32px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}
.tier--featured .tier__income { background: var(--yellow); color: #15110a; border-color: var(--yellow); }
.tier__income-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  display: block; margin-bottom: 6px;
}
.tier--featured .tier__income-label { color: rgba(21,17,10,0.7); }
.tier__income-val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600; font-size: clamp(12px, 3vw, 19px);
  letter-spacing: -0.02em;
}

/* =========================================
   ТОЧЕЧНАЯ НАСТРОЙКА ОТСТУПОВ В ТАРИФАХ
   ========================================= */

/* Между названием и "ПРИМЕРЫ ОБОРУДОВАНИЯ" — 8px */
.tier__name {
  margin-bottom: 4px !important;
}

/* 1. Блок, который идет сразу после шапки (Примеры оборудования) */
.tier__head + .tier__sec h4 {
  margin-top: 20px !important;
  margin-bottom: 2px !important;
}

/* После списка моделей - перед ценой — 16px */
.tier__head + .tier__sec {
  margin-bottom: 16px !important;
}

.tier__head + .tier__sec p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Между ценой и "ВОЗМОЖНОСТИ" — 8px */
.tier__price {
  margin-bottom: 8px !important;
}

/* Возможности (идет после цены) — 20px */
.tier__price + .tier__sec h4 {
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}

/* 2. Блок Ограничений (он всегда идет сразу после блока Возможностей) */
.tier__sec + .tier__sec h4 {
  margin-top: 24px !important;
}

/* ====== Mobile tier tabs (switched view) ======= */
.tiers-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.tiers-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tiers-tab:hover {
  border-color: var(--yellow);
  color: var(--text);
}
.tiers-tab.active {
  background: var(--yellow);
  color: #15110a;
  border-color: var(--yellow);
  font-weight: 700;
}

/* Hide non-active tiers on mobile */
.tiers .tier {
  display: block;
}

@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* 3-column desktop: much tighter columns, need smaller font */
@media (min-width: 901px) {
  .tier__price-val  { font-size: clamp(13px, 1.55vw, 21px); }
  .tier__income-val { font-size: clamp(12px, 1.25vw, 17px); }
  /* Показываем все 3 тарифа на десктопе, скрываем мобильные табы */
  .tiers-tabs { display: none !important; }
  .tiers .tier { display: block !important; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ====== Revenue split section ====== */
#revenue {
  background: url('assets/wall_wood.webp') center / cover no-repeat;
}
.revenue__header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
}
.revenue__hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 28px;
  flex-shrink: 0;
  min-width: 48%;
  color: var(--text);
}
.revenue__hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.revenue__track {
  display: flex;
  flex: 1;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2e;
}
.revenue__track-fill {
  width: 75%;
  background: var(--yellow);
  color: #15110a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(9px, 2.5vw, 13px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 8px;
  position: relative;
}
.revenue__track-pct {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.revenue__track-rest {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(9px, 2.5vw, 13px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: #15161a;
}

.revenue {
  display: block;
}
.revenue__side { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.revenue__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.revenue__item:hover { border-color: var(--yellow); transform: translateY(-3px); }
.revenue__item:active { transform: translateY(0px); }
.revenue__item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--yellow-soft);
  color: var(--yellow);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.revenue__item h3 { font-size: 20px; margin-bottom: 8px; text-transform: none; letter-spacing: -0.02em; font-weight: 700; }
.revenue__item p { font-size: 14px; color: var(--text-mute); }

@media (max-width: 600px) { .revenue__side { grid-template-columns: 1fr; } }

/* ====== Compare table ====== */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.compare th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.compare th.us {
  background: var(--yellow);
  color: #15110a;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.compare td.us { background: rgba(255,184,0,0.06); color: var(--text); font-weight: 600; }
.compare tr:last-child td { border-bottom: none; }
.compare tr:last-child td.us { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.compare td.no { color: #ff4d4d; }
.compare td.yes { color: #7ddc9a; }
.compare td.mid { color: #f5c518; }
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare th:nth-child(2),
.compare td:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.1); }

/* Иконки в ячейках */
.compare td.no::before {
  content: '✕';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 13px;
  font-weight: 800;
  color: #ff4d4d;
  -webkit-text-stroke: 0.6px #ff4d4d;
  text-stroke: 0.6px #ff4d4d;
  margin-right: 7px;
  vertical-align: middle;
}
.compare td.yes::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  border: 1.5px solid #7ddc9a;
  color: transparent;
  -webkit-text-stroke: 1.2px #7ddc9a;
  text-stroke: 1.2px #7ddc9a;
  margin-right: 7px;
  vertical-align: middle;
}
.compare td.mid::before {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: #f5c518;
  margin-right: 7px;
  vertical-align: middle;
}
.compare .cell-sub { color: var(--text-mute); font-size: 12px; display: block; margin-top: 3px; font-weight: 400; }
.compare td.us .cell-sub { color: var(--text-mute); }
.compare__check { width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ====== Compare mobile (tabs + stacked cards) ====== */
.cmob-tabs { display: none; }
.compare-mobile { display: none; }

.cmob-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 12px;
}

.cmob-tab {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.cmob-tab.active {
  background: var(--yellow);
  color: #15110a;
  border-color: var(--yellow);
  font-weight: 700;
}

.cmob-panel { display: none; padding: 14px 12px 12px; }
.cmob-panel.active { display: block; }

.cmob-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cmob-item:last-child { border-bottom: none; }

.cmob-item__label {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex: 0 0 90px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.cmob-item--us .cmob-item__label {
  color: var(--yellow);
  font-weight: 700;
}

.cmob-item__val {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}
.cmob-item__val.no  { color: #ff4d4d; }
.cmob-item__val.yes { color: #7ddc9a; }
.cmob-item__val.mid { color: #f5c518; }

/* ::before icons reuse same design as table cells */
.cmob-item__val.no::before {
  content: '✕';
  display: inline-flex; align-items: center; justify-content: center;
  width: 1em; height: 1em; font-size: 13px; font-weight: 800;
  color: #ff4d4d; margin-right: 6px; vertical-align: middle;
}
.cmob-item__val.yes::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.2em; height: 1.2em; font-size: 12px; font-weight: 700; line-height: 1;
  border-radius: 50%; border: 1.5px solid #7ddc9a;
  color: transparent; -webkit-text-stroke: 1.2px #7ddc9a;
  margin-right: 6px; vertical-align: middle;
}
.cmob-item__val.mid::before {
  content: '';
  display: inline-block;
  width: 0.8em; height: 0.8em; border-radius: 50%;
  background: #f5c518; margin-right: 6px; vertical-align: middle;
}

/* Slonyara row highlight */
.cmob-item--us {
  background: rgba(255, 184, 0, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  margin: 0 -12px;
  border-bottom: none;
}
.cmob-item--us + .cmob-item { border-top: none; }
.cmob-item--us .cmob-item__label {
  color: var(--yellow);
  font-weight: 700;
}

/* ====== Pricing tabs ====== */
.price-tabs { display: flex; gap: 6px; margin-bottom: 24px; }
.price-tab {
  padding: clamp(7px, 1.2vw, 12px) clamp(10px, 2vw, 20px);
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 500;
  color: var(--text-mute);
  transition: all .2s;
  white-space: nowrap;
}
.price-tab.active {
  background: var(--yellow);
  color: #15110a;
  border-color: var(--yellow);
  font-weight: 600;
}
.price-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  overflow: hidden;
}
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: clamp(8px, 2vw, 16px) clamp(10px, 2.5vw, 20px);
  font-size: clamp(12px, 2vw, 14px);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(9px, 1.5vw, 10px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.price-table td:first-child { color: var(--text); font-weight: 500; }
.price-table td:not(:first-child) { font-family: 'JetBrains Mono', monospace; color: var(--yellow); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody td { transition: background 0.15s ease; }
.price-table tbody tr:hover td { background: rgba(255,184,0,0.07); }
.price-table-wrap.hidden { display: none; }

/* ====== FAQ ====== */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}
.faq__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  color: var(--text);
}
.faq__item.open .faq__icon { background: var(--yellow); color: #15110a; transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a-inner {
  padding: 0 0 24px 0;
  max-width: 760px;
  font-size: 16px;
  color: var(--text-mute);
  line-height: 1.6;
}
.faq__item.open .faq__a { max-height: 1200px; }

/* ====== Apply form ====== */
.apply {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,184,0,0.15), transparent 70%);
  pointer-events: none;
}
.apply__title { font-size: clamp(32px, 3.6vw, 48px); }
.apply__list {
  list-style: none;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.apply__list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-size: 15px;
}
.apply__list svg { color: var(--yellow); flex-shrink: 0; }
.apply__guarantee {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.apply__form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--text-mute); }
.form-note a { color: var(--text-mute); text-decoration: underline; }
.form-success {
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.form-success.hidden { display: none; }

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #e05252 !important;
  background: rgba(224, 82, 82, 0.05);
}
.field--error label { color: #e87070; }
.field__error-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #e87070;
  margin-top: -2px;
}
.field__char-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-align: right;
  transition: color .2s;
}
.field__char-count--near { color: var(--text-mute); }
.field__char-count--full { color: #e87070; }
.form-error {
  background: rgba(224, 82, 82, 0.08);
  border: 1px solid rgba(224, 82, 82, 0.45);
  color: #e87070;
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.form-error svg { flex-shrink: 0; margin-top: 2px; }
.form-error.hidden { display: none; }

@media (max-width: 900px) {
  .apply { grid-template-columns: 1fr; padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ====== Footer ====== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 96px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-mute); max-width: 320px; }
.footer__col h4 { color: var(--text-mute); margin-bottom: 16px; font-size: 11px; }
.footer__col a { display: block; color: var(--text); font-size: 14px; padding: 6px 0; }
.footer__col a:hover { color: var(--yellow); }
.footer__email { display: block; color: var(--text-mute); font-size: 14px; padding: 6px 0; user-select: all; cursor: text; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-mute); }
.footer__legal a:hover { color: var(--text); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 14px; }
}

/* responsive */
@media (max-width: 1024px) {
  .hero__title { font-size: clamp(36px, 5.5vw, 64px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 320px; justify-content: flex-end; overflow: visible; }
  .hero__elephant { max-width: 85%; margin-left: 0; margin-right: -100px; }
  .hero__stat-card { position: static; margin-bottom: 24px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero__shell { padding: 20px 24px 20px; }
  .hero__chrome { margin-bottom: 28px; }

  /* 1. Сбрасываем гигантский 60px отступ сетки */
  .hero__grid { gap: 10px; }

  /* 2. Убираем лишний нижний отступ у текстового блока (было 20px) */
  .hero__left { padding-bottom: 0; }
  .hero__visual {
    margin-top: 12px;
    justify-content: center;
    position: relative;
    min-height: auto;
  }
  .hero__elephant {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    filter: none;
  }
  /* 3. Желтая плашка */
  .hero__stat-card {
    position: absolute;
    top: 10px;
    bottom: auto;
    right: 10px;
    margin: 0;
    z-index: 3;
    width: 140px;
    padding: 12px 14px;
  }

  .hero__stat-card__num {
    font-size: 32px;
  }

  .hero__stat-card__desc {
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.3;
  }

  .hero__stat-card__btn {
    font-size: 11px;
    padding: 6px 12px;
    margin-top: 10px;
  }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card__num { font-size: 32px; }
  .compare th, .compare td { padding: 12px 14px; font-size: 12px; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: 12px; }
  #compare .section__head { margin-bottom: 16px; }
  .revenue__header { margin-top: 32px; margin-bottom: 36px; }
  .revenue__item h3 { font-size: 16px; }
  .revenue__item p { font-size: 13px; }
  .calc-printers { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .calc-printer { padding: 8px 10px; }
  .calc-printer__name { font-size: 10px; }
  .calc-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 8px 16px; }
  .calc-tabs { grid-column: 1; grid-row: 1; }
  .calc-left { grid-column: 1; grid-row: 2; }
  .calc-results { grid-column: 1; grid-row: 3; }
  .cmob-tabs { display: flex; }
  .compare table { display: none; }
  .compare-mobile { display: block; }
  .price-table { overflow-x: auto; }
  .price-table table { min-width: 400px; }
  .hero__cta-row { gap: 10px; }
}

/* ====== Utility ====== */
.hidden { display: none; }

/* ====== Nav burger ====== */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: border-color .2s;
}
.nav__burger:hover { border-color: var(--yellow); }
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Nav: ступень 1 — 1100–1280px ── */
@media (max-width: 1280px) {
  .nav__links a { font-size: 12px; padding: 7px 10px; }
  .nav__cta { font-size: 12px; padding: 8px 14px; }
}

/* ── Nav: ступень 2 — 800–1100px ── */
@media (max-width: 1100px) {
  .nav__inner { gap: 8px; }
  .nav__links { gap: 2px; padding: 4px; }
  .nav__links a { font-size: 11px; padding: 6px 8px; }
  .nav__cta { font-size: 11px; padding: 7px 10px; }
  .nav__icon { width: 34px; height: 34px; }
}

/* ── Nav: ступень 3 — < 800px — бургер, кнопка остаётся ── */
@media (max-width: 800px) {
  .nav__inner { padding: 14px 24px; }
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 11, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 8px 24px 16px;
    gap: 2px;
    z-index: 100;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text);
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav__cta { font-size: 13px; padding: 9px 14px; }
}
/* ── Малый мобильный < 480px ── */
@media (max-width: 480px) {
  .nav__inner { padding: 12px 16px; gap: 8px; }
  .nav__icon { display: none; }
  .nav__cta { font-size: 12px; padding: 8px 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__cta-row { flex-direction: column; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
  
  /* 1. Запрещаем перенос фразы ТВОЙ ПРИНТЕР и задаем гибкий размер шрифта */
  .hero__nowrap { white-space: nowrap !important; }
  .hero__title { font-size: clamp(22px, 6.5vw, 36px) !important; }
  
  .hero { padding: 20px 0 40px; }
  .container { padding: 0 16px; }
  .eyebrow { font-size: 10px; padding: 6px 10px; }
}
@media (max-width: 440px) {
  /* 1. Возвращаем отступ, чтобы текст не залезал на плашку */
  .hero__chrome { margin-bottom: 24px !important; }
  .hero__title { margin-top: 0 !important; } /* Перебиваем инлайн margin -20px */
  
  .hero__sub { margin-top: 16px !important; font-size: 14px; }
  
  /* 2. Компактная плашка для узких экранов */
  .hero__stat-card {
    width: 120px;
    padding: 10px 12px;
    transform: none;
  }
  .hero__stat-card__num { font-size: 24px; }
  .hero__stat-card__desc { font-size: 10px; margin-top: 8px; line-height: 1.2; }
  .hero__stat-card__btn { padding: 5px 10px; font-size: 10px; margin-top: 8px; }
  
  .hero__cta-row { margin-top: 20px; gap: 10px; }
  .nav__inner { padding: 10px 16px; gap: 8px; }
  .nav__cta { font-size: 12px; padding: 8px 12px; }
  .container { padding: 0 16px; }
  .hero { padding: 20px 0 40px; }
 
  /* Добавляем сброс высоты для гласс-панели и блока со слоном */
  .hero__shell { min-height: auto; }
  .hero__visual { min-height: auto; }

  /* 1. Возвращаем отступ, чтобы текст не залезал на плашку */
  .hero__chrome { margin-bottom: 24px !important; }
  .hero__title { margin-top: 0 !important; }
}

@media (max-width: 390px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__sub { margin-top: 12px !important; font-size: 13px; }
  .hero__shell { padding: 18px 18px 18px; }
  
  /* Еще больше сжимаем плашку для самых узких экранов (типа iPhone SE) */
  .hero__stat-card {
    width: 100px;
    padding: 8px 10px;
  }
  .hero__stat-card__num { font-size: 24px; }
  .hero__stat-card__desc { font-size: 9px; margin-top: 5px; line-height: 1.2; }
  .hero__stat-card__btn { padding: 4px 8px; font-size: 9px; margin-top: 6px; }
  
  .nav__inner { padding: 10px 14px; gap: 6px; }
  .nav__cta { font-size: 11px; padding: 7px 10px; }
  .btn--lg { padding: 12px 16px; font-size: 14px; }
  .eyebrow { font-size: 9px; padding: 5px 8px; letter-spacing: 0.08em; }
  
}
/* ── 701–1024px: Слон справа от текста и кнопок (под главным заголовком) ── */
@media (min-width: 701px) and (max-width: 1024px) {
  .hero__left {
    /* Растворяем левый контейнер, чтобы его элементы стали частью общего грида */
    display: contents; 
  }
  .hero__grid {
    /* Задаем новую сетку: слева текст, справа колонка 260px для слона */
    grid-template-columns: 1fr 260px; 
    grid-template-areas:
      "title title"
      "sub visual"
      "cta visual";
    row-gap: 0;
    column-gap: 20px;
  }
  .hero__title {
    grid-area: title;
    margin-bottom: 20px !important; /* Отступ под заголовком */
  }
  .hero__sub {
    grid-area: sub;
    margin-top: 0 !important; /* Перебиваем HTML инлайн-стиль */
    max-width: 100%;
  }
  .hero__cta-row {
    grid-area: cta;
    align-self: flex-start;
    margin-top: 24px;
  }
  .hero__visual {
    grid-area: visual;
    min-height: auto;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }
  .hero__elephant {
    max-width: 110%; /* Слон адаптируется под компактную правую колонку */
    margin: 0;
    margin-left: -10px;
  }
  .hero__stat-card {
    position: absolute;
    top: -10px;
    right: -10px;
    transform: scale(0.65); /* Уменьшаем плашку 70% пропорционально */
    transform-origin: top right;
    margin-bottom: 0;
  }
}

/* ====== Benefits wall background + glass ====== */
#pricing {
  background: url('assets/wall_room.webp') center / cover no-repeat;
}

#apply {
  background: url('assets/wall_bricks.webp') center / cover no-repeat;
}

.benefits-wall {
  position: relative;
  background: url('assets/wall_concrete.webp') center / cover no-repeat;
  padding: 80px 0 80px;
}

.benefits-glass {
  background:
    linear-gradient(-45deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 22%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.35) 100%),
    rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px) saturate(180%) contrast(108%);
  -webkit-backdrop-filter: blur(10px) saturate(180%) contrast(108%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 48px 56px 28px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.65),
    0 60px 120px 0px rgba(0, 0, 0, 0.55),
    0 8px 32px 0px rgba(0, 0, 0, 0.45),
    inset 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset -1px -1px 0 rgba(0, 0, 0, 0.35),
    inset 0 0 60px rgba(255, 255, 255, 0.04);
}

.benefits-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(-45deg,
      rgba(255, 80, 80, 0.12) 0%,
      rgba(255, 80, 80, 0) 8%,
      transparent 50%,
      rgba(80, 180, 255, 0) 92%,
      rgba(80, 180, 255, 0.12) 100%);
  mix-blend-mode: screen;
}

/* ── 1025–1220px: расстояние от нижнего края прямоугольника до слона ── */
@media (min-width: 1025px) and (max-width: 1220px) {
  .hero__elephant { max-width: 500px; margin-top: -30px; }
}
/* --- Кнопка в бургер-меню для узких экранов --- */

/* 1. По умолчанию прячем кнопку внутри меню (на десктопе и планшетах она не нужна) */
.nav__mobile-btn {
  display: none;
}

/* 2. Логика строго для экранов меньше 400px (399px и ниже) */
@media (max-width: 399px) {
  
  /* Прячем оригинальную кнопку в самой шапке */
  .nav__right .nav__cta {
    display: none !important;
  }

  /* Показываем нашу скопированную кнопку внутри выпадающего бургера */
  .nav__mobile-btn {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border); /* Добавляем красивую линию-отбивку от остальных ссылок */
  }

  /* Делаем кнопку крупной и удобной для нажатия пальцем */
  .nav__mobile-btn .nav__cta {
    display: flex !important;
    font-size: 14px;
    padding: 12px 16px;
  }
}

/* ====== How section grid background ====== */
#how { position: relative; overflow: hidden; }

/* ====== Tiers section grid background ====== */
#tiers { position: relative; overflow: visible; }

/* ====== Shared grid-bg + grid-cursor (used in #how, #tiers, #compare, #faq) ====== */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 184, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 184, 0, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.grid-bg--faq { background-size: 48px 48px; }

.grid-cursor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 184, 0, 0.10), transparent 70%);
}
#how:hover .grid-cursor,
#tiers:hover .grid-cursor,
#compare:hover .grid-cursor,
#faq:hover .grid-cursor {
  opacity: 1;
}

#how .container { position: relative; z-index: 1; }
#tiers .container { position: relative; z-index: 1; }
#tiers .section__head-left { max-width: 1100px; }
#tiers .section__head { margin-bottom: 16px; }
#tiers .section__sub { max-width: 900px; }

/* ====== Compare section ====== */
#compare .container { position: relative; z-index: 1; }

#compare .section__head-left { max-width: none; }
#compare .section__title {
  font-size: clamp(32px, 3.8vw, 54px);
  white-space: nowrap;
}
.compare__vs {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
  paint-order: stroke fill;
}

/* ====== Compare column hover ====== */
.col-lift {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  border-radius: var(--radius-md);
  background: transparent;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}
.col-lift.visible {
  opacity: 1;
  transform: translateY(0px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.35),
    0 6px 16px rgba(0,0,0,0.2),
    inset 0 0 0 1px var(--yellow);
}

/* ====== No-break prices ====== */
.stat-card__num,
.tier__price-val,
.tier__income-val,
.feature-item__tag {
  white-space: nowrap;
}

.features-image img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ====== Bento-grid внутри glass-карточки ====== */
/* z-index: -1 — рендерится за непозиционированными потомками (.bl-wrap и др.),
   но перед background карточки: работает т.к. .benefits-glass создаёт
   stacking context через backdrop-filter */
#benefits-glass-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* ====== Benefits new layout ====== */
.benefits-header {
  display: grid;
  grid-template-columns: 65fr 35fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 16px;
  align-items: start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* eyebrow растягивается на обе колонки */
.benefits-header__eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}

.benefits-header__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.benefits-header__right .section__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.6;
  max-width: none;
}

.benefits-header__right .bcard__desc {
  font-size: 16px;
  font-weight: 600;
}

.benefits-title {
  font-size: clamp(22px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.benefits-left {
  display: flex;
  align-items: stretch;
  padding: 22px 28px;
}

/* ── bl-wrap: phone слева (auto), items справа (1fr) ── */
.bl-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.bl-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bl-phone img {
  height: auto;
  max-height: 500px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
}

.bl-items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.bl-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.bl-item:nth-child(1),
.bl-item:nth-child(2),
.bl-item:nth-child(3) { margin-left: 0; }

.bl-item__body { flex: 1; }

/* ── Стрелки: абсолютное позиционирование относительно .bl-item ── */
/* z-index: 10 обязателен: телефон с width:130% заходит ~50px в колонку .bl-items и без
   явного z-index перекрывает стрелки (DOM-порядок: .bl-phone идёт после .bl-items) */
.bl-arrow {
  position: absolute;
  height: auto;
  opacity: 0.72;
  pointer-events: none;
  z-index: 10;
}

/* arrow1: верхний айтем, margin-left:0 — текстовое тело (≤260px) дальше всего от правого
   края айтема (~186px зазор). Стрелка шире, чтобы визуально заполнить больший зазор.
   right:-44px → наконечник на ~44px правее правого края .bl-items (в зоне экрана телефона) */
.bl-arrow--1 {
  width: 120px;
  right: -44px;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
}

/* arrow2: средний айтем, margin-left:36px — текст ближе к правому краю (~150px зазор).
   Стрелка короче, чтобы «хвост» появлялся с тем же пропорциональным отступом от текста.
   right:-44px — наконечник на той же горизонтальной позиции, что и у остальных */
.bl-arrow--2 {
  width: 90px;
  right: -44px;
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
}

/* arrow3: нижний айтем, margin-left:20px — средний зазор (~166px).
   right:-44px — единая точка прицела на экране телефона */
.bl-arrow--3 {
  width: 105px;
  right: -44px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
}

.bl-item__title {
  font-size: clamp(11px, 1.15vw, 17px);
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 5px;
  font-family: Unbounded, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.bl-item__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
  margin: 0;
  font-family: Manrope, sans-serif;
}

.bl-item:nth-child(1) .bl-item__desc,
.bl-item:nth-child(2) .bl-item__desc {
  max-width: 300px;
}

.bl-item:nth-child(3) .bl-item__desc {
  max-width: 360px;
}

.benefits-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .benefits-header {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .benefits-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .bl-phone img {
    max-height: 320px;
  }
}

@media (max-width: 560px) {
  .benefits-title {
    font-size: 26px;
  }
  .benefits-cards {
    grid-template-columns: 1fr;
  }
  .bcard--wide {
    grid-column: 1;
  }

  .bl-wrap {
    grid-template-columns: 1fr;
  }

  .bl-items {
    justify-content: flex-start;
    gap: 24px;
  }

  .bl-phone {
    justify-content: center;
    order: 2;
  }

  .bl-items {
    order: 1;
  }
}

@media (min-width: 901px) {
  .benefits-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
  }
}

/* Тултип: мобильная версия */
@media (max-width: 900px) {
  .stat-card--yellow:hover .stat-card__tooltip {
    opacity: 0;
    translate: 0 -6px;
  }
  .stat-card--yellow.tooltip-active .stat-card__tooltip {
    opacity: 1;
    translate: 0 0;
  }
  .stat-card__tooltip {
    bottom: auto;
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    width: 90vw;
    max-width: 360px;
  }
  .stat-card__tooltip::before {
    top: auto;
    bottom: 100%;
    left: 24px;
    border-top-color: transparent;
    border-bottom-color: #1a1a1a;
  }
}

/* ====== Calculator ====== */
.calc-wrapper {
  margin-top: 50px;
}
.calc-card {
  background: rgba(21, 22, 26, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 16px 32px;
  align-items: start;
}
.calc-left { display: flex; flex-direction: column; gap: 20px; }
.calc-step { display: flex; flex-direction: column; gap: 10px; }
.calc-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.calc-step__label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

/* Tabs — inside card as buttons */
.calc-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1;
  margin-bottom: 8px;
  align-self: start;
}
.calc-tab {
  font-size: 11px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-mute);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.calc-tab { transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s; }
.calc-tab:hover { color: var(--text); border-color: var(--yellow); background: rgba(255,184,0,0.08); transform: translateY(-2px); }
.calc-tab:active { transform: translateY(0px); }
.calc-tab.active {
  background: var(--yellow);
  color: #15110a;
  border-color: var(--yellow);
  font-weight: 700;
}

/* Slider */
.calc-field__header {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-bottom: 8px;
}
.calc-field__val {
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
  font-family: 'JetBrains Mono', monospace;
}
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--border-strong);
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--yellow);
}
.calc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--yellow);
}
.calc-range__marks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
}

/* Printer cards */
.calc-printers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-printer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.calc-printer:hover { border-color: var(--yellow); background: rgba(255,184,0,0.06); transform: translateY(-2px); }
.calc-printer:active { transform: translateY(0px); }
.calc-printer.active { border-color: var(--yellow); background: rgba(255,184,0,0.06); }
.calc-printer__icon { color: var(--text-mute); flex-shrink: 0; width: 20px; height: 20px; }
.calc-printer.active .calc-printer__icon { color: var(--yellow); }
.calc-printer__name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
}
.calc-printer.active .calc-printer__name { color: var(--yellow); }

/* Results — правая колонка */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-content: center;
}
.calc-result { display: flex; flex-direction: column; gap: 6px; }
.calc-result__label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.calc-result__val {
  font-size: 32px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}
.calc-result--accent .calc-result__label { color: var(--yellow); }
.calc-result--accent .calc-result__val { color: var(--yellow); font-size: clamp(24px, 5vw, 36px); }
.calc-hint {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.4;
  padding: 10px 12px;
  background: rgba(255,184,0,0.06);
  border: 1px solid rgba(255,184,0,0.15);
  border-radius: 14px;
}
.calc-cta { width: 100%; justify-content: center; }
.calc-disclaimer { font-size: 12px; color: var(--text-mute); margin: 0; line-height: 1.5; }

@media (max-width: 768px) {
  .calc-wrapper { margin-top: 48px; }
  .calc-tabs { flex-wrap: wrap; grid-column: 1; grid-row: 1; }
  .calc-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 24px; gap: 8px 16px; }
  .calc-left { grid-column: 1; grid-row: 2; }
  .calc-results { grid-column: 1; grid-row: 3; }
  .calc-printers { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .calc-printer { padding: 6px 8px !important; }
  .calc-printer__icon { width: 16px !important; height: 16px !important; }
  .calc-printer__name { font-size: 10px !important; white-space: normal !important; }
  .calc-result--accent .calc-result__val { font-size: clamp(24px, 5vw, 36px) !important; }
  .tier__name { font-size: 18px; }
  .tier__for { font-size: 12px; }
  .tier__list li { font-size: 12px; }
  .tiers { gap: 12px; padding-top: 28px; }
  .tier { gap: 0px; }
  .tier__head { gap: 6px; }
  .tier__sec h4 { margin-bottom: 6px; }
  .tier__list { gap: 5px; }
  .tier__price-val { font-size: clamp(14px, 2vw, 18px); }
  .tier__market .tier__price-val { font-size: clamp(14px, 2.2vw, 20px); }
  .tier__income-val { font-size: clamp(14px, 2.5vw, 21px); }
  /* Мобильные отступы для тарифов */
  .tier__head + .tier__sec h4 { margin-top: 16px !important; }
  .tier__price + .tier__sec h4 { margin-top: 12px !important; }
  .tier__sec + .tier__sec h4 { margin-top: 18px !important; }
  .tier__price { margin-bottom: 6px !important; }
  .tier__income { margin-top: 12px !important; }
  .tiers-tabs { display: flex; }
  .tiers { grid-template-columns: 1fr !important; }
  .tiers .tier { display: none; }
  .tiers .tier:not(.hidden) { display: block; }
  .tiers .tier:nth-child(1), .tiers .tier:nth-child(3) { display: none; }
  .tiers .tier:nth-child(2) { display: block; }
}

/* =========================================
   АДАПТИВНАЯ ТАБЛИЦА ЦЕН (ДЕСКТОП + МОБАЙЛ)
   ========================================= */

/* 1. Отменяем жесткую ширину 400px на планшетах и телефонах */
@media (max-width: 700px) {
  .price-table table {
    min-width: 100% !important;
  }
}

/* 2. По умолчанию (на ПК) переключатель А4/А3 скрыт.
      Таблица показывает ВСЕ колонки. */
.format-switcher {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
}

/* 3. Логика ТОЛЬКО для мобильных экранов (до 520px) */
@media (max-width: 520px) {

  /* Показываем кнопки-переключатели */
  .format-switcher {
    display: flex !important;
  }

  /* И только теперь прячем колонки в зависимости от нажатой кнопки */
  .price-table-inner[data-active-format="a4"] .col-a3 {
    display: none !important;
  }

  .price-table-inner[data-active-format="a3"] .col-a4 {
    display: none !important;
  }
}

/* =========================================
   ИСПРАВЛЕНИЕ КАЛЬКУЛЯТОРА НА МОБИЛЬНЫХ
   ========================================= */
@media (max-width: 700px) {
  /* 1. Снимаем жесткую распорку с главной кнопки калькулятора */
  .calc-cta.btn {
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    padding: 14px 16px !important;
  }

  /* 2. Разрешаем длинным названиям вкладок переноситься на новую строку */
  .calc-tabs {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .calc-tab {
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    padding: 7px 10px !important;
    font-size: 10px !important;
    flex: 0 0 auto;
  }

  /* 3. Уменьшаем внутренние отступы (padding) карточки для экономии места */
  .calc-card {
    padding: 24px 16px !important;
  }

  /* 4. Чиним шапку Дохода: выстраиваем заголовок и полосу друг под другом */
  .revenue__header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* 5. Для самых маленьких экранов (iPhone SE и т.д.) выстраиваем принтеры в один столбец */
@media (max-width: 420px) {
  .calc-printers {
    grid-template-columns: 1fr !important;
  }
}
/* ===== PRICING SPLIT: image left + table right ===== */
.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.pricing-split__left {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-split__left img {
  width: 100%;
  max-width: 238px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6)) drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.pricing-split__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 768px) {
  .pricing-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pricing-split__left img {
    max-width: 220px;
    margin: 0 auto;
  }
}
@media (max-width: 599px) {
  .pricing-split__left {
    justify-content: flex-start;
  }
  .pricing-split__left img {
    margin: 0;
  }
}

/* Pricing table: extra bottom padding on small screens */
@media (max-width: 540px) {
  #pricing .price-table {
    padding-bottom: 12px;
  }
}

/* ===== PRICING — phone image alongside hint card (600–768px) ===== */

/* Inline phone image hidden by default */
.pricing-hint__phone { display: none; }

@media (min-width: 600px) and (max-width: 768px) {
  /* section__head-right — flex row: text left, phone right */
  #pricing .section__head-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex: 0 0 100% !important;
    max-width: none !important;
  }
  .pricing-hint-card { flex: 1; }

  /* Show inline phone image */
  .pricing-hint__phone {
    display: block;
    width: 110px;
    flex-shrink: 0;
    height: auto;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6)) drop-shadow(0 6px 14px rgba(0,0,0,0.4));
  }

  /* Hide the original phone block in pricing-split */
  .pricing-split__left { display: none; }

  /* Table takes full width */
  .pricing-split { grid-template-columns: 1fr; }
}

/* =========================================
   PRICING TABLE & BUTTONS — MOBILE ADAPTATION
   ========================================= */

/* 1. Unify height of price tabs and format buttons */
.price-tab,
.format-btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 2. Tight adaptation for mobile screens (up to 520px) */
@media (max-width: 520px) {

  /* Make buttons more compact so they fit in one row */
  .price-tab,
  .format-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    height: 32px;
  }

  .price-tabs {
    gap: 6px !important;
    flex-wrap: wrap;
  }

  /* Compact the pricing table */
  .price-table {
    padding: 12px 10px !important;
  }

  .price-table th,
  .price-table td {
    padding: 6px 4px !important;
    font-size: 13px !important;
  }

  .price-table th {
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
  }
}

/* Screens ≤ 360px */
@media (max-width: 360px) {
  .price-table table { table-layout: fixed; }

  .price-table th,
  .price-table td {
    padding: 5px 2px !important;
    font-size: 12px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .price-table th {
    font-size: 10px !important;
    padding: 4px 1px !important;
  }
  .price-table td:first-child {
    width: 35% !important;
  }
  .price-table td:not(:first-child) {
    width: 32.5% !important;
  }

  .price-tab,
  .format-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
    height: 30px;
  }
}

/* ===== FORMAT SWITCHER A4 / A3 ===== */

.format-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.format-btn.active {
  background: var(--yellow);
  color: #15110a;
  border-color: var(--yellow);
  font-weight: 600;
}

/* Desktop (>520px): all columns visible */
.col-a3, .col-a4 { display: table-cell; }

/* ≤520px: show switcher and hide inactive columns */
@media (max-width: 520px) {
  .format-switcher { display: flex; }

  /* A4 selected — hide A3 columns */
  .price-table-inner[data-active-format="a4"] .col-a3 {
    display: none;
  }

  /* A3 selected — hide A4 columns */
  .price-table-inner[data-active-format="a3"] .col-a4 {
    display: none;
  }
}

/* ===== PRICING TABS — hover state ===== */
.price-tab:not(.active):hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--yellow);
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  cursor: pointer;
}

/* ===== PRICING TABLE — compact rows ===== */
.pricing-split__right .price-table th,
.pricing-split__right .price-table td {
  padding: 8px 16px;
}

/* ===== APPLY title — match section__title font size ===== */
.apply__title { font-size: clamp(32px, 3.8vw, 54px); }

/* ===== APPLY — 60/40 columns ===== */
#apply .apply { grid-template-columns: 1fr 1fr; row-gap: 0; }
#apply { padding-bottom: 96px; }
.footer { margin-top: 0; }
#apply .apply__left,
#apply .apply__form { min-width: 0; }
#apply .apply__form { align-self: end; }

/* ===== APPLY — form fields + telegram button ===== */
#apply .btn--dark { background: #15161a; border-color: rgba(255,255,255,0.1); transition: all .2s; }
#apply .btn--dark:hover {
  background: #1e1f25;
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.25), 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
#apply .field input,
#apply .field select,
#apply .field textarea { background: #15161a; }

/* ===== APPLY title — scales on narrow screens ===== */
@media (max-width: 900px) {
  .apply__title { font-size: clamp(18px, 8vw, 42px); }
}

/* ===== APPLY — form-note: desktop / mobile variants ===== */
.form-note--mobile { display: none; }

@media (max-width: 900px) {
  .form-note--desktop { display: none; }
  .form-note--mobile  { display: block; margin-top: 0; }
}

/* ===== APPLY — mobile: single column ===== */
@media (max-width: 900px) {
  #apply .apply {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px;
  }
  #apply .apply__left {
    margin-bottom: 32px;
  }
  #apply .apply__form {
    align-self: auto;
  }
  /* Input fields full width, no horizontal overflow */
  #apply .field input,
  #apply .field select,
  #apply .field textarea {
    width: 100%;
    box-sizing: border-box;
  }
  #apply .apply .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  #apply .apply {
    padding: 20px 16px;
  }
  #apply .apply__left {
    margin-bottom: 24px;
  }
  #apply { padding-bottom: 56px; }
}

/* ===== APPLY — glass effect ===== */
#apply .apply {
  background: rgba(20, 17, 10, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ===== FAQ grid ===== */
#faq .container { position: relative; z-index: 1; }

/* ===== FAQ — 2 independent columns ===== */
#faq .faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  border-top: none;
  align-items: start;
}
#faq .faq__col {
  border-top: none;
}
#faq .faq__item {
  border-bottom: none;
}
#faq { padding: 64px 0; }
#faq .section__head { margin-bottom: 34px; }
#faq .faq__q { padding: 19px 0; }
@media (max-width: 768px) {
  #faq .faq {
    grid-template-columns: 1fr;
  }
}

/* ===== PRICING hint card — glass + yellow border ===== */
.pricing-hint-card {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--yellow);
  background: rgba(255, 184, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 32px rgba(255, 184, 0, 0.08), inset 0 0 0 1px rgba(255,184,0,0.06);
}
.pricing-hint-card p {
  margin: 0;
  color: var(--text-mute);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* ===== PRICING header — vertical align + spacing ===== */
#pricing .section__head { align-items: center; margin-bottom: 24px; }

/* ===== PRICING header — 60/40 split ===== */
#pricing .section__head-left { max-width: none; flex: 0 0 53%; }
#pricing .section__head-right { max-width: none; flex: 0 0 43%; }

@media (max-width: 1100px) {
  #pricing .section__head-left  { flex: 1 1 100%; }
  #pricing .section__head-right { flex: 1 1 100%; }
}

/* ===== COMPARE title — match default h2 size ===== */
#compare .section__title {
  font-size: clamp(36px, 5.5vw, 64px);
  white-space: normal;
}


/* ============================================================
   RESPONSIVE POLISH — seamless adaptation across all screens
   ============================================================ */

/* Global protection against horizontal overflow */
html { max-width: 100%; overflow-x: hidden; }

/* ── Tiers: show tabs at ≤900px, display only active tier ── */
@media (max-width: 900px) {
  .tiers-tabs {
    display: flex;
  }
  .tiers {
    grid-template-columns: 1fr;
  }
  .tiers .tier {
    display: none;
  }
}

/* ── Revenue cards: 4 → 2 cols (601–900px) → 1 col (≤600px) ── */
@media (min-width: 601px) and (max-width: 900px) {
  .revenue__side { grid-template-columns: repeat(2, 1fr); }
}

/* ── Revenue section header: stacked column layout on mobile ── */
@media (max-width: 700px) {
  .revenue__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .revenue__hero-title {
    min-width: 0;
    width: 100%;
    font-size: clamp(28px, 8vw, 44px);
    margin: 0;
  }
  .revenue__track {
    width: 100%;
    flex: none;
    height: 64px;
  }
}

/* ── Mascot elephant: remove negative margin-right on mobile ── */
@media (max-width: 700px) {
  .hero__elephant {
    max-width: 88% !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero__visual {
    overflow: hidden;
    justify-content: center;
  }
}

/* ── Compare title: remove white-space: nowrap on mobile ── */
@media (max-width: 700px) {
  #compare .section__title {
    white-space: normal !important;
    font-size: clamp(28px, 6vw, 44px) !important;
  }
  .compare__vs { display: inline; }
}

/* ── Tier price tooltip: constrain width to viewport ── */
.tier__price-tooltip {
  max-width: min(340px, 90vw);
}

/* ── Pricing tabs: wrap on very narrow screens ── */
@media (max-width: 540px) {
  .price-tabs { flex-wrap: wrap; }
}

/* ── Calculator: printer buttons 3 → 2 columns on mid-size mobiles ── */
@media (min-width: 481px) and (max-width: 640px) {
  .calc-printers { grid-template-columns: repeat(2, 1fr); }
  .calc-printer__name { white-space: normal; }
}

/* ── Calculator: tabs scroll horizontally on very narrow screens ── */
@media (max-width: 420px) {
  .calc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .calc-tabs::-webkit-scrollbar { display: none; }
  .calc-tab { flex-shrink: 0; }
}

/* ── Benefits glass card: reduce padding on mobile ── */
@media (max-width: 560px) {
  .benefits-glass { padding: 20px 18px 16px !important; }
}
@media (max-width: 400px) {
  .benefits-glass { padding: 16px 14px 12px !important; }
}

/* ── Footer: single column on very narrow screens ── */
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr !important; }
}

/* ── Phone mockup in benefits: cap height to not overflow text ── */
@media (max-width: 700px) {
  .bl-phone img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
  }
}
@media (max-width: 400px) {
  .bl-phone img { max-height: 220px; }
}

/* ── Hero shell: remove fixed min-height on small screens ── */
@media (max-width: 600px) {
  .hero__shell { min-height: auto !important; }
}

/* ── Section subtitle size on small screens ── */
@media (max-width: 480px) {
  .section__sub { font-size: 14px; }
  .section { padding: 56px 0; }
}
@media (max-width: 380px) {
  .section { padding: 44px 0; }
  .section__sub { font-size: 16px; }
}

/* ====== Focus-visible: клавиатурная навигация ====== */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Поля формы — уже имеют жёлтую рамку через border, outline лишний */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

/* ====== prefers-reduced-motion: отключаем анимации ====== */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .word-rotator__list { animation: none; }
  .eyebrow--yellow { animation: none; box-shadow: 0 0 14px 4px rgba(255,184,0,0.35); }
}

/* ====== Apply — Telegram primary CTA block ====== */
.apply__tg-block { margin-top: 28px; }
.apply__tg-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
}

/* ====== Apply — divider "или оставь заявку" ====== */
.apply__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 4px;
  color: var(--text-mute);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.apply__or::before,
.apply__or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ====== Apply — scarcity spots reminder ====== */
.apply__spots {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  text-align: center;
  margin-bottom: -2px;
}
