/* ============================================================
   BIRGA — «Неон канала» (арт-дирекция v7, 2026-08-15).
   Гамма и фактура = телеграм-канал BIRGA: глубокая ночная
   бирюза, неоновые рамки-свечения, белый плакатный капс,
   Павел в капюшоне у белой G20 (реальные баннеры канала).

   Голоса: Anton (плакатный капс, как «ПРИБЫЛЬ» на баннерах),
   Manrope (текст/UI), JetBrains Mono (цифры и данные).
   Акцент: бирюза #00c5c6 (снята с логотипа канала).

   DO NOT: жёлтый/янтарный (v5-v6 похоронены), Unbounded,
   лицо Павла, счётчики подписчиков, имя брокера, обещания
   дохода, «осталось N мест».
   ============================================================ */

:root {
  --ink: #060d0e;          /* ночная бирюзовая чернота */
  --ink-2: #0a1517;
  --card: #0d1b1e;
  --card-2: #102226;
  --teal: #00c5c6;         /* свеча логотипа канала */
  --teal-hot: #19e7e0;     /* неон-блик */
  --teal-dim: #0e5f60;
  --white: #f4f8f8;
  --grey: #93a8aa;
  --grey-dark: #3d5254;
  --line: rgba(0, 197, 198, 0.22);
  --line-soft: rgba(244, 248, 248, 0.1);
  --green: #4fc888;
  --red: #e2604d;
  --glow: 0 0 26px rgba(0, 197, 198, 0.28);

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 16px;
  --container: 1120px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(0, 197, 198, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(0, 197, 198, 0.05), transparent 55%),
    var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--teal);
}
::selection { background: var(--teal); color: var(--ink); }
* { scrollbar-width: thin; scrollbar-color: #204a4d var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #204a4d; border: 2px solid var(--ink); }

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 0.35em; }
h1, h2, .disp {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.14; /* бреве над Й выходит за кегль Oswald — не зажимать */
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
/* Атрибут hidden всегда сильнее авторских display */
[hidden] { display: none !important; }
.mark { color: var(--teal); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Моушн-фон: свечи и линия тренда (transform-only) ---------- */
.bgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
main, .site-header, .site-footer, .sticky-cta { position: relative; z-index: 1; }
.fx { position: absolute; opacity: 0.10; }
.fx-candles {
  width: 340px;
  left: -60px;
  top: 16%;
  animation: fx-drift-a 26s ease-in-out infinite alternate;
}
.fx-candles-2 {
  width: 280px;
  left: auto;
  right: -50px;
  top: 58%;
  opacity: 0.08;
  animation: fx-drift-b 32s ease-in-out infinite alternate;
}
.fx-line {
  width: 640px;
  right: 4%;
  top: 6%;
  opacity: 0.13;
  animation: fx-drift-b 28s ease-in-out infinite alternate;
}
.fx-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: fx-draw 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.fx-dot { animation: fx-blink 14s ease infinite; filter: drop-shadow(0 0 8px rgba(0, 197, 198, 0.9)); }
@keyframes fx-drift-a {
  from { transform: translateY(-24px) rotate(-1deg); }
  to   { transform: translateY(26px) rotate(1deg); }
}
@keyframes fx-drift-b {
  from { transform: translateY(20px); }
  to   { transform: translateY(-24px); }
}
@keyframes fx-draw {
  0% { stroke-dashoffset: 1000; }
  55%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
@keyframes fx-blink {
  0%, 45% { opacity: 0; }
  58%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 720px) {
  .fx-line { width: 420px; right: -80px; }
  .fx-candles { width: 240px; }
}

/* ---------- Фото Павла в hero (флаг PAVEL_PHOTO) ---------- */
.hero-photo { position: relative; }
.photo-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--glow), 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(1.2deg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-photo:hover .photo-frame { transform: rotate(0deg) scale(1.015); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 32px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-teal {
  background: linear-gradient(180deg, var(--teal-hot), var(--teal));
  color: #032021;
  box-shadow: 0 10px 34px rgba(0, 197, 198, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-teal:hover { box-shadow: 0 16px 44px rgba(0, 197, 198, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal), var(--glow); color: var(--teal-hot); }
.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn-xl { padding: 22px 44px; font-size: 18px; }

/* ---------- Штампы ---------- */
.stamp {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  color: var(--teal-hot);
  background: rgba(0, 197, 198, 0.07);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
}
.wordmark:hover { text-decoration: none; }
/* свеча вместо I — как в логотипе канала */
.wm-candle {
  display: inline-block;
  width: 8px;
  height: 0.72em;
  margin: 0 3px;
  background: linear-gradient(180deg, var(--teal-hot), var(--teal));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 197, 198, 0.8);
  position: relative;
}
.wm-candle::before, .wm-candle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: var(--teal);
}
.wm-candle::before { top: -5px; }
.wm-candle::after { bottom: -5px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 58px 0 30px; }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}
/* Мобила (99% трафика): фото-экран сверху, заголовок и кнопка на нём,
   полный текст — под фото обычным потоком */
@media (max-width: 920px) {
  .hero { padding: 0 0 34px; }
  .hero .container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }
  .hero-photo {
    order: -1;
    position: relative;
    height: 68dvh;
    margin: 0 -20px;
    z-index: 0;
  }
  .photo-frame {
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .hero-photo:hover .photo-frame { transform: none; }
  .photo-frame img {
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    object-fit: cover;
    object-position: 50% 40%;
  }
  .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(6, 13, 14, 0.5) 0%, transparent 16%,
      transparent 42%,
      rgba(6, 13, 14, 0.78) 76%, var(--ink) 98%);
  }
  .hero-copy { position: relative; z-index: 1; margin-top: -27dvh; }
  .hero-title { font-size: clamp(40px, 11vw, 54px); }
  .hero-copy .hero-actions { order: 3; margin-bottom: 24px; }
  .hero-copy .hero-sub { order: 4; }
  .hero-actions .btn { width: 100%; }
  .hero-sub { font-size: 15px; }
  /* «Сегодня, 24 года» — широкий прямоугольник на всю строку */
  .path-step.is-now { grid-column: 1 / -1; }
  /* фолбэк без фото */
  .hero-trades { position: relative; z-index: 1; margin-top: 26px; }
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-label { order: 1; }
.hero-title { order: 2; }
/* десктоп: текст перед кнопкой; мобила переопределяет ниже */
.hero-sub { order: 3; }
.hero-actions { order: 4; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-hot);
  margin-bottom: 18px;
}
.hero-label::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal-hot);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 197, 198, 0.5); }
  70% { box-shadow: 0 0 0 11px rgba(0, 197, 198, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 197, 198, 0); }
}
.hero-title { font-size: clamp(44px, 6.6vw, 84px); margin-bottom: 22px; overflow-wrap: anywhere; }
.hero-sub { font-size: 16.5px; line-height: 1.64; color: var(--grey); max-width: 34em; margin-bottom: 26px; }
.hero-sub p { margin: 0 0 14px; }
.hero-sub p:last-child { margin-bottom: 0; }
.hero-sub b { color: var(--white); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 13.5px; font-weight: 600; color: var(--grey); }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* Веер сделок в hero */
.hero-trades { position: relative; display: grid; gap: 14px; padding-top: 10px; }
.hero-trades .proof-card { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.hero-trades .proof-card:nth-child(2) { transform: rotate(-1.3deg); }
.hero-trades .proof-card:nth-child(3) { transform: rotate(1.1deg); }
.hero-trades .proof-card:nth-child(4) { transform: rotate(-0.7deg); }
.hero-trades .post-chip { position: absolute; top: -6px; left: 14px; z-index: 3; }
.trades-note { margin: 4px 0 0; font-size: 12px; color: var(--grey-dark); }

/* Пост из канала в неон-рамке */
.hero-post { position: relative; }
.post-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--glow), 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(1.2deg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-post:hover .post-frame { transform: rotate(0deg) scale(1.015); }
.post-frame img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post-chip {
  position: absolute;
  top: -14px;
  left: 18px;
  z-index: 2;
  background: var(--teal);
  color: #032021;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 9px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 22px rgba(0, 197, 198, 0.4);
}

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section-title { font-size: clamp(34px, 5.4vw, 62px); margin-bottom: 14px; }
.section-sub { color: var(--grey); font-size: 17px; max-width: 44em; margin: 0 0 40px; }

/* ---------- Что получишь ---------- */
.get-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .get-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .get-grid { grid-template-columns: 1fr; } }
.get-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.get-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--glow); }
.get-card .disp { font-size: 40px; color: var(--teal); line-height: 1; text-shadow: 0 0 18px rgba(0, 197, 198, 0.5); }
.get-card h3 { font-size: 17px; font-weight: 800; margin: 0; }
.get-card p { color: var(--grey); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- Кино-разделитель (капот из баннера канала) ---------- */
.strip { position: relative; overflow: hidden; }
.strip img { width: 100%; object-fit: cover; aspect-ratio: 1536 / 361; min-height: 180px; }
.strip-rear img {
  aspect-ratio: 16 / 7;
  object-position: 50% 38%;
  max-height: 72vh;
}
@media (max-width: 640px) {
  .strip-rear img { aspect-ratio: 4 / 3; }
}
.strip::before, .strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}
.strip::before { top: 0; background: linear-gradient(var(--ink), transparent); }
.strip::after { bottom: 0; background: linear-gradient(transparent, var(--ink)); }

/* ---------- Путь ---------- */
.path-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 980px) { .path-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-row { grid-template-columns: 1fr 1fr; } }
.path-step {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.path-step:hover { border-color: var(--line); box-shadow: var(--glow); }
.path-step .disp { font-size: 54px; line-height: 1; color: var(--grey-dark); }
.path-step .yr {
  font-style: normal;
  font-size: 19px;
  letter-spacing: 0.04em;
  margin-left: 6px;
  opacity: 0.85;
}
.path-step h3 { font-size: 15px; font-weight: 800; margin: 8px 0 6px; }
.path-step p { color: var(--grey); font-size: 13px; line-height: 1.5; margin: 0; }
.path-step.is-now { border-color: var(--teal); box-shadow: var(--glow); background: var(--card-2); }
.path-step.is-now .disp { color: var(--teal-hot); text-shadow: 0 0 22px rgba(0, 197, 198, 0.6); }
.path-quote {
  margin: 36px 0 0;
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.45;
  max-width: 36em;
}
.path-quote .mark {
  background: rgba(0, 197, 198, 0.14);
  padding: 0 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Пруфы ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.proof-card img { width: 100%; aspect-ratio: 720 / 212; object-fit: cover; }
.proof-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 16px;
}
.proof-card .pl { color: var(--green); }
.proof-card .mn { color: var(--red); }
.proof-card.is-loss { border-color: rgba(226, 96, 77, 0.5); }
.proof-card.is-loss::after {
  content: "МИНУС НЕ УДАЛЯЮ";
  position: absolute;
  top: 12px; right: -34px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 5px 40px;
  transform: rotate(35deg);
}
.proof-note { margin: 22px 0 0; color: var(--grey); font-size: 13.5px; max-width: 50em; }

/* ---------- Два продукта: ТГ-моки ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.prod-card:hover { border-color: var(--line); box-shadow: var(--glow); }

.shot-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 22px rgba(0, 197, 198, 0.16), 0 16px 44px rgba(0, 0, 0, 0.45);
  background: #0a1214;
}
.shot-frame img { width: 100%; height: auto; }

.tg-mock {
  background: #0a1214;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 197, 198, 0.05);
}
.tg-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, var(--teal-hot), var(--teal)) 50% 50% / 6px 18px no-repeat,
    #0e2a2c;
  background-color: #0e2a2c;
  border: 1px solid var(--line);
}
.tg-name { font-weight: 800; font-size: 14px; line-height: 1.2; }
.tg-name i {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--teal);
}
.tg-body { padding: 14px; display: grid; gap: 10px; }
.tg-msg {
  position: relative;
  background: #122225;
  border-radius: 4px 14px 14px 14px;
  padding: 10px 58px 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 96%;
}
.tg-msg b { font-size: 13px; }
.tg-msg code {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--teal-hot);
  font-size: 12.5px;
}
.tg-msg .up { color: var(--green); }
.tg-time {
  position: absolute;
  right: 10px;
  bottom: 7px;
  font-size: 10.5px;
  color: var(--grey-dark);
  font-weight: 600;
}
.tg-post {
  position: relative;
  background: #122225;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 26px;
}
.tg-post img { width: 100%; aspect-ratio: 1536 / 726; object-fit: cover; }
.tg-post p { margin: 10px 12px 0; font-size: 13px; line-height: 1.55; }
.tg-post .tg-time { bottom: 8px; }

.prod-info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.prod-info h3 { font-size: 19px; font-weight: 800; margin: 0; }
.prod-info p { color: var(--grey); font-size: 14.5px; line-height: 1.6; margin: 0; }
.prod-info .btn { margin-top: 4px; }

/* ---------- Вопрос из личек: диалог ---------- */
.dm-card {
  max-width: 720px;
  display: grid;
  gap: 16px;
}
.dm-row { display: flex; align-items: flex-end; gap: 10px; }
.dm-row-answer { flex-direction: row; }
.dm-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
}
.dm-ava-user {
  background: #16292c;
  color: var(--grey);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-ava-birga {
  background:
    linear-gradient(180deg, var(--teal-hot), var(--teal)) 50% 50% / 7px 19px no-repeat,
    #0e2a2c;
  border-color: var(--line);
  box-shadow: 0 0 14px rgba(0, 197, 198, 0.35);
}
.dm-bubble {
  position: relative;
  padding: 14px 62px 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 16px;
  max-width: 46em;
}
.dm-q {
  background: #122225;
  border-bottom-left-radius: 4px;
  color: var(--white);
}
.dm-a {
  background: rgba(0, 197, 198, 0.1);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: var(--glow);
}
@media (max-width: 560px) {
  .dm-bubble { font-size: 14px; padding-right: 54px; }
}

/* ---------- Как зайти ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 32px 24px 26px;
  margin-top: 16px;
}
.step-card .disp {
  position: absolute;
  top: -16px;
  left: 20px;
  background: var(--teal);
  color: #032021;
  font-size: 22px;
  padding: 6px 15px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 197, 198, 0.4);
}
.step-card h3 { font-size: 18px; font-weight: 800; margin: 10px 0 8px; }
.step-card p { color: var(--grey); font-size: 14.5px; margin: 0; }
.step-card .btn { margin-top: 16px; }

/* ---------- Первый проект ---------- */
.first-strip {
  border: 1.5px dashed var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
@media (max-width: 760px) { .first-strip { grid-template-columns: 1fr; } }
.first-strip h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.first-strip p { color: var(--grey); font-size: 15px; margin: 0; max-width: 46em; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.2s ease;
}
.faq-item[open], .faq-item:hover { border-color: var(--line); }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  padding: 19px 34px 19px 0;
  list-style: none;
  position: relative;
  touch-action: manipulation;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-hot);
  font-family: var(--display);
  font-size: 24px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--grey); font-size: 14.5px; line-height: 1.6; padding: 0 0 20px; margin: 0; }

/* ---------- Финальный CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 100px 0 110px;
  background: radial-gradient(640px 320px at 50% 30%, rgba(0, 197, 198, 0.14), transparent 70%);
}
.cta-final .section-title { font-size: clamp(44px, 8vw, 96px); }
.cta-final .section-sub { margin: 0 auto 36px; }
.cta-legal { margin: 26px 0 0; font-size: 12.5px; color: var(--grey-dark); }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 30px 0 104px; font-size: 13.5px; color: var(--grey); }
.footer-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.footer-disclaimer { margin: 0; line-height: 1.6; max-width: 52em; }
.footer-col ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 15px;
  font-family: var(--mono);
  font-size: 11.5px;
}

/* ---------- Плавающая CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(6, 13, 14, 0.96) 45%);
  display: none;
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 640px) { body.show-sticky .sticky-cta { display: block; } }
@media (min-width: 641px) { .site-footer { padding-bottom: 30px; } }

/* ---------- Появление ---------- */
html.js [data-reveal] {
  opacity: 0.001;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-label::before { animation: none; }
  .fx, .fx-path, .fx-dot { animation: none; }
  .fx-path { stroke-dashoffset: 0; }
  .fx-dot { opacity: 1; }
}

/* ---------- privacy.html (легаси-классы) ---------- */
.logo { display: inline-flex; align-items: center; font-family: var(--display); font-size: 21px; letter-spacing: 0.05em; color: var(--white); text-transform: uppercase; }
.logo:hover { text-decoration: none; }
.sprite { display: none; }
.logo-candle {
  display: inline-block;
  width: 7px;
  height: 0.72em;
  margin: 0 3px;
  background: linear-gradient(180deg, var(--teal-hot), var(--teal));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 197, 198, 0.8);
  align-self: center;
}
.policy { padding: 56px 0 80px; }
.policy h1 { font-size: clamp(30px, 6vw, 52px); margin-bottom: 10px; }
.policy h2 { font-family: var(--body); font-weight: 800; text-transform: none; font-size: 21px; margin: 40px 0 12px; line-height: 1.3; }
.policy p, .policy li { color: var(--grey); font-size: 15px; line-height: 1.65; }
.policy ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.updated { font-family: var(--mono); font-size: 12px; color: var(--grey); margin-bottom: 34px; }
.lede { font-size: 17px; color: var(--white); }
.callout { border: 1.5px dashed var(--line); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; color: var(--white); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-weight: 800; }
.icon { width: 16px; height: 16px; }
