/* ============================================================
   ДИЗАЙН-СИСТЕМА · «ночное небо и золото» · editorial
   Антиква Cormorant Garamond + Manrope. Римские главы,
   тонкие золотые линии, глубина слоёв, много воздуха.
   ============================================================ */
:root {
  --bg-deepest: #060410;
  --bg-deep: #0b0817;
  --bg-panel: rgba(21, 16, 38, .78);
  --bg-panel-solid: #151026;
  --gold: #c9a35c;
  --gold-light: #e8cf96;
  --gold-pale: #f0e2c0;
  --gold-dim: rgba(201, 163, 92, .3);
  --gold-faint: rgba(201, 163, 92, .13);
  --text: #ede5d5;
  --text-dim: rgba(237, 229, 213, .72);
  --text-faint: rgba(237, 229, 213, .46);
  --radius: 14px;
  --shadow: 0 24px 70px rgba(2, 1, 8, .6);
  --edge: inset 0 1px 0 rgba(240, 226, 192, .07);
  --container: 1180px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 75% -8%, #1c1440 0%, rgba(28, 20, 64, 0) 60%),
    radial-gradient(900px 700px at -10% 40%, #160f32 0%, rgba(22, 15, 50, 0) 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deepest) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Виньетка поверх всего — глубина кадра */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 62%, rgba(4, 2, 12, .5) 100%);
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(201, 163, 92, .35); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 840px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: .004em;
  font-feature-settings: 'liga', 'kern';
}
h1 em, h2 em {
  font-style: italic;
  color: var(--gold-light);
}

/* Панели: тёмный бархат со световой кромкой сверху */
.panel {
  background:
    linear-gradient(180deg, rgba(240, 226, 192, .035) 0%, rgba(240, 226, 192, 0) 34%),
    var(--bg-panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--edge);
}

/* Двойная рамка — как у карты таро */
.ornate { position: relative; }
.ornate::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-faint);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-block;
  padding: 17px 34px;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease,
              border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #a17d3e 100%);
  color: #221807;
  box-shadow: 0 10px 32px rgba(201, 163, 92, .32), inset 0 1px 0 rgba(255, 245, 220, .55);
}
.btn--primary:hover {
  box-shadow: 0 14px 40px rgba(201, 163, 92, .5), inset 0 1px 0 rgba(255, 245, 220, .55);
}

.btn--outline {
  background: rgba(201, 163, 92, .04);
  color: var(--gold-light);
  border-color: var(--gold-dim);
}
.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(201, 163, 92, .12);
  color: var(--gold-pale);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  padding-inline: 18px;
}
.btn--ghost:hover { color: var(--gold-light); }

.btn--sm { padding: 12px 24px; font-size: 11px; }
.btn--block { display: block; width: 100%; }

/* ============ ШАПКА ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 4, 16, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-faint);
}
.header .container { max-width: 1440px; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  background: radial-gradient(circle at 35% 28%, rgba(201, 163, 92, .2), rgba(201, 163, 92, .03));
  box-shadow: 0 0 24px rgba(201, 163, 92, .12);
}
.logo__text {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 28px);
  min-width: 0;
}
.nav a:not(.btn) {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-dim);
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--gold-light); }
.nav__cta { margin-left: 4px; white-space: nowrap; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform .25s, opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 116px 0 128px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 640px; height: 640px;
  background: rgba(95, 76, 175, .22);
  top: -220px; right: -150px;
}
.hero__glow--2 {
  width: 480px; height: 480px;
  background: rgba(201, 163, 92, .1);
  bottom: -190px; left: -170px;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.22fr .88fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero__eyebrow::before { content: '✦ '; }
.hero__eyebrow::after { content: ' ✦'; }
.hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  margin-bottom: 16px;
}
.hero__ornament {
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .24em;
  margin-bottom: 26px;
  opacity: .85;
}
.hero__sub {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 16px;
  max-width: 580px;
}
.hero__desc {
  font-size: 15px;
  color: var(--text-faint);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Мандала за карточкой сбора */
.fund-wrap { position: relative; }
.mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  opacity: .13;
  pointer-events: none;
  animation: mandala-spin 180s linear infinite;
}
@keyframes mandala-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Карточка сбора — талисман */
.fund-card {
  position: relative;
  padding: 42px 38px 38px;
  background:
    linear-gradient(180deg, rgba(240, 226, 192, .05) 0%, rgba(240, 226, 192, 0) 30%),
    linear-gradient(180deg, rgba(30, 22, 54, .94), rgba(13, 9, 26, .94));
  text-align: center;
}
.fund-card__label {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.fund-card__label::before { content: '✦ '; opacity: .7; }
.fund-card__label::after { content: ' ✦'; opacity: .7; }
.fund-card__goal {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--gold-pale);
  text-shadow: 0 0 40px rgba(232, 207, 150, .25);
}
.progress {
  height: 11px;
  border-radius: 999px;
  background: rgba(237, 229, 213, .07);
  border: 1px solid var(--gold-faint);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #a17d3e, var(--gold), var(--gold-light));
  box-shadow: 0 0 18px rgba(232, 207, 150, .7);
  transition: width 1.4s cubic-bezier(.22, .8, .3, 1);
}
.fund-card__percent {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
  margin: 12px 0 28px;
}

/* Статистика — колонки, разделённые волосяными линиями */
.fund-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 26px;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  padding: 18px 0;
}
.fund-card__stats div {
  text-align: center;
  padding: 0 8px;
}
.fund-card__stats div + div { border-left: 1px solid var(--gold-faint); }
.fund-card__stats dt {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 7px;
}
.fund-card__stats dd {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-pale);
}
.fund-card__deadline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
.fund-card__deadline strong { color: var(--gold-light); }

/* ============ СЕКЦИИ ============ */
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 60px 0; }

/* Римский номер главы с волосяной линией */
.section__num {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 20px;
}
.section__num::after {
  content: '';
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), rgba(201, 163, 92, 0));
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(32px, 3.8vw, 50px);
  margin-bottom: 24px;
  max-width: 860px;
}
.section__lead {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 36px;
}

/* Список болей */
.pain-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px 32px;
  margin-bottom: 42px;
  max-width: 900px;
}
.pain-list li {
  position: relative;
  padding: 2px 0 2px 28px;
  color: var(--text-dim);
}
.pain-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-size: 11px;
  top: 6px;
  color: rgba(191, 128, 128, .75);
}

.callout {
  padding: 34px 40px;
  font-size: 18px;
  max-width: 860px;
  border-left: 2px solid var(--gold-dim);
}
.callout p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
}
.callout strong { color: var(--gold-light); font-weight: 600; }
.callout--big {
  max-width: 100%;
  text-align: center;
  padding: 76px 48px;
  border-left: 1px solid var(--gold-dim);
}
.callout__ornament {
  font-size: 16px;
  color: var(--gold);
  letter-spacing: .24em;
  margin-bottom: 24px;
  opacity: .85;
}
.callout--big h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 28px;
}
.callout--big p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--text-dim);
}

.goal-line {
  font-size: 18px;
  margin-bottom: 38px;
}
.goal-line strong {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 600;
}

/* Сетки карточек */
.cards-grid { display: grid; gap: 20px; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 30px 32px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 163, 92, .55);
}
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--gold-pale);
}
.card p { font-size: 14px; color: var(--text-dim); }

/* Поддержать сейчас */
.support-banner {
  text-align: center;
  padding: 72px 52px;
}
.support-banner .section__eyebrow::before { content: '✦ '; opacity: .8; }
.support-banner .section__eyebrow::after { content: ' ✦'; opacity: .8; }
.support-banner h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin: 8px auto 24px;
  max-width: 800px;
}
.support-banner p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 12px;
}
.support-banner .btn { margin-top: 28px; }

/* ============ ТАРИФЫ ============ */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}
.tariff {
  padding: 38px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.tariff:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 163, 92, .55);
}
.tariff__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
}
.tariff__badge--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: #221807;
  box-shadow: 0 6px 20px rgba(201, 163, 92, .35);
}
.tariff__period {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 16px;
}
.tariff__price {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  margin-bottom: 8px;
  color: var(--gold-pale);
}
.tariff__permonth {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  position: relative;
}
.tariff__permonth::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 1px;
  background: var(--gold-dim);
}
.tariff__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
  text-align: center;
  flex-grow: 1;
  margin-bottom: 26px;
}
.tariff--best {
  background:
    linear-gradient(180deg, rgba(201, 163, 92, .14), rgba(21, 16, 38, .82));
  border-color: rgba(201, 163, 92, .6);
  box-shadow: 0 24px 70px rgba(201, 163, 92, .14), var(--edge);
}
.tariffs-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 30px;
}

/* ============ БЕСПЛАТНО / PRO ============ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 14px;
}
.compare {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.compare--pro {
  background: linear-gradient(180deg, rgba(201, 163, 92, .11), rgba(21, 16, 38, .82));
  border-color: rgba(201, 163, 92, .5);
}
.compare__title {
  font-size: 30px;
  margin-bottom: 12px;
}
.compare--pro .compare__title { color: var(--gold-light); }
.compare__sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 26px;
  max-width: 440px;
}
.check-list { flex-grow: 1; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 14px;
  line-height: 1.55;
  border-bottom: 1px solid rgba(237, 229, 213, .06);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 9px;
  font-weight: 700;
  color: var(--text-faint);
}
.check-list--pro li::before {
  content: '✦';
  color: var(--gold);
  font-weight: 400;
}
.compare .btn { margin-top: 28px; }

/* ============ ФИЧИ · нумерованные 01–10 ============ */
.features-grid { counter-reset: feat; margin-top: 14px; }
.feature {
  position: relative;
  counter-increment: feat;
  padding: 38px 38px 34px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 163, 92, .55);
}
.feature::after {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: rgba(201, 163, 92, .13);
  pointer-events: none;
}
.feature__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--gold-dim);
  background: radial-gradient(circle at 35% 28%, rgba(201, 163, 92, .16), rgba(201, 163, 92, .02));
  box-shadow: 0 0 30px rgba(201, 163, 92, .1);
}
.feature__icon svg { width: 38px; height: 38px; }
.feature h3 {
  font-size: 25px;
  margin-bottom: 6px;
  color: var(--gold-pale);
  max-width: 85%;
}
.feature__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 14px;
}
.feature p:not(.feature__tagline) {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ============ ТАЙМЛАЙН · ФАЗЫ ЛУНЫ ============ */
.roadmap-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  margin: -8px 0 38px;
}
.timeline {
  position: relative;
  max-width: 760px;
  margin: 30px auto 0;
  padding-left: 44px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-dim), rgba(201, 163, 92, .05));
}
.timeline__item {
  position: relative;
  margin-bottom: 22px;
}
.timeline__marker {
  position: absolute;
  left: -44px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-deepest);
  border: 1px solid var(--gold-dim);
}
.timeline__marker svg { width: 22px; height: 22px; }
.timeline__marker--full {
  border-color: var(--gold);
  box-shadow: 0 0 26px rgba(232, 207, 150, .4);
}
.timeline__body { padding: 26px 32px; margin-left: 18px; }
.timeline__date {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline__body h3 {
  font-size: 23px;
  margin-bottom: 4px;
  color: var(--gold-pale);
}
.timeline__body p:last-child { font-size: 14px; color: var(--text-dim); }
.timeline__item--release .timeline__body {
  border-color: rgba(201, 163, 92, .55);
  background: linear-gradient(180deg, rgba(201, 163, 92, .11), rgba(21, 16, 38, .78));
}

/* ============ ВЫГОДЫ · editorial-список ============ */
.benefits-list {
  counter-reset: ben;
  columns: 2;
  column-gap: 64px;
  max-width: 1020px;
  margin-top: 10px;
}
.benefits-list li {
  counter-increment: ben;
  position: relative;
  break-inside: avoid;
  padding: 16px 0 16px 58px;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(237, 229, 213, .08);
}
.benefits-list li::before {
  content: counter(ben, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  color: var(--gold);
}

/* ============ МАТЕМАТИКА СБОРА ============ */
.math-table {
  overflow: hidden;
  max-width: 720px;
  margin-bottom: 28px;
  padding: 14px;
}
.math-table table {
  width: 100%;
  border-collapse: collapse;
}
.math-table th, .math-table td {
  text-align: left;
  padding: 16px 24px;
  font-size: 15px;
}
.math-table th {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--gold-dim);
}
.math-table tbody tr { border-bottom: 1px solid rgba(237, 229, 213, .06); }
.math-table tbody tr:last-child { border-bottom: none; }
.math-table td:first-child {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--gold-pale);
}
.math-table__best { background: rgba(201, 163, 92, .1); }
.math-table__best td { color: var(--gold-light); }

/* ============ FAQ · нумерованные вопросы ============ */
.faq-list { counter-reset: faq; display: grid; gap: 12px; margin-top: 10px; }
.faq { overflow: hidden; counter-increment: faq; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 60px 24px 76px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 26px;
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--gold);
  opacity: .8;
}
.faq summary::after {
  content: '✦';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gold);
  transition: transform .3s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq[open] summary { color: var(--gold-light); }
.faq p {
  padding: 0 30px 26px 76px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ============ КОМАНДА · КАРТЫ ТАРО ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}
.person {
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
}
.person__frame {
  position: relative;
  border: 1px solid var(--gold-dim);
  border-radius: 210px 210px 12px 12px;
  padding: 11px;
  margin-bottom: 28px;
}
.person__frame::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 200px 200px 6px 6px;
  box-shadow: inset 0 -50px 80px rgba(6, 4, 16, .55), inset 0 0 60px rgba(6, 4, 16, .25);
  pointer-events: none;
}
.person__photo {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: top center;
  border-radius: 200px 200px 6px 6px;
  filter: saturate(.85) sepia(.1) contrast(1.02);
}
.person__info { padding: 0 10px; }
.person__info h3 {
  font-size: 34px;
  margin-bottom: 4px;
  color: var(--gold-pale);
}
.person__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.person__role::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 163, 92, 0));
}
.person__info ul { margin-top: 12px; }
.person__info ul li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.person__info ul li::before {
  content: '✧';
  position: absolute;
  left: 2px;
  color: var(--gold);
  opacity: .8;
}

/* ============ ФИНАЛ ============ */
.final {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  text-align: center;
}
.final::before {
  content: '✦';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: var(--gold);
  padding: 0 26px;
  background: transparent;
}
.mandala--final {
  top: 50%;
  left: 50%;
  width: 820px;
  height: 820px;
  opacity: .07;
}
.final__inner { position: relative; }
.final .hero__ornament { margin-bottom: 30px; }
.final h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  max-width: 840px;
  margin: 0 auto 26px;
}
.final__text {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 50px;
}
.final__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 0 auto 54px;
  max-width: 720px;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  padding: 26px 0;
}
.final__stats div {
  flex: 1 1 200px;
  padding: 6px 28px;
}
.final__stats div + div { border-left: 1px solid var(--gold-faint); }
.final__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--gold-pale);
  line-height: 1.15;
  margin-bottom: 4px;
}
.final__stats span {
  font-size: 10.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .24em;
}
.final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ ФУТЕР ============ */
.footer {
  border-top: 1px solid var(--gold-faint);
  padding: 34px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.footer__up { color: var(--text-dim); transition: color .2s; }
.footer__up:hover { color: var(--gold-light); }

/* ============ КАРУСЕЛИ (мобильные) ============ */
.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--gold-dim);
  transition: width .25s ease, background .25s ease;
}
.carousel-dots button.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

@media (max-width: 768px) {
  [data-carousel] {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    margin-inline: -28px;
    padding: 20px 28px 10px;
    scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * {
    scroll-snap-align: center;
    flex: 0 0 82%;
    max-width: 82%;
  }
  .features-grid[data-carousel] > * { flex-basis: 86%; max-width: 86%; }
  .cards-grid--3[data-carousel] > * { flex-basis: 64%; max-width: 64%; }

  /* Внутри карусели карточки видимы сразу — без scroll-reveal */
  [data-carousel] > .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-carousel] + .carousel-dots { display: flex; }
}

/* ============ АНИМАЦИИ ПОЯВЛЕНИЯ ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress__fill { transition: none; }
  .mandala { animation: none; }
}

/* ============ АДАПТИВ ============ */
/* Средние ширины: компактное меню, чтобы всё умещалось в строку */
@media (max-width: 1400px) {
  .logo__text { display: none; }
  .nav a:not(.btn) { font-size: 10.5px; letter-spacing: .09em; }
  .nav { gap: 15px; }
  .nav__cta { padding: 11px 18px; }
}

/* Планшет и уже: бургер вместо строки меню */
@media (max-width: 1100px) {
  .logo__text { display: block; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 4, 16, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--gold-faint);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) {
    display: block;
    padding: 16px 4px;
    font-size: 12px;
    letter-spacing: .14em;
    border-bottom: 1px solid rgba(237, 229, 213, .06);
  }
  .nav__cta { margin: 18px 0 0; text-align: center; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .fund-wrap { max-width: 560px; }
  .mandala { width: 540px; height: 540px; }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tariffs-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 84px; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .benefits-list { columns: 1; }
  .compare { padding: 36px 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  [data-carousel] { margin-inline: -20px; padding-inline: 20px; }
  .cards-grid--3 { grid-template-columns: 1fr; }
  .tariffs-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .final__actions .btn { width: 100%; }
  .fund-card { padding: 32px 22px 30px; }
  .fund-card__goal { font-size: 40px; }
  .callout { padding: 26px 24px; }
  .callout p { font-size: 19px; }
  .callout--big { padding: 48px 24px; }
  .support-banner { padding: 48px 24px; }
  .section__lead { font-size: 19px; }
  .faq summary { padding: 20px 52px 20px 62px; font-size: 19px; }
  .faq summary::before { left: 20px; top: 22px; }
  .faq p { padding-left: 62px; }
  .feature { padding: 30px 24px; }
  .feature h3 { max-width: 100%; }
  .timeline { padding-left: 38px; }
  .timeline__marker { left: -38px; width: 33px; height: 33px; }
  .timeline__marker svg { width: 19px; height: 19px; }
  .mandala { width: 430px; height: 430px; }
  .final__stats div + div { border-left: none; border-top: 1px solid var(--gold-faint); }
  .final__stats div { flex-basis: 100%; padding: 14px 8px; }
}
