/* ==========================================================================
   FININDI — лендинг: шапка и первый экран
   ========================================================================== */

/* --- Шапка ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.brand__legal {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  display: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
}
.nav a { transition: color 0.15s ease; }
.nav a:hover { color: #fff; }
.site-header__cta { display: flex; align-items: center; gap: 12px; }
.site-header__cta .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }

.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .nav { display: none; }
}
@media (max-width: 620px) {
  .site-header__inner { min-height: 60px; }
  .brand__name { font-size: 19px; }
  .site-header__cta .btn--desktop { display: none; }
}

/* --- Первый экран ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 64px 0 84px;
}
/* «Инструментальная» фактура: тонкая сетка + лаймовый угол */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 640px; }

.hero .kicker { color: var(--accent); font-size: 11.5px; }
.hero .kicker::before { background: var(--accent); }

.hero__title {
  margin-top: 22px;
  font-size: clamp(34px, 3.55vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.035;
}
.hero__title .hl {
  color: var(--accent);
  white-space: normal;
}
.hero__lead {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
}
.hero__facts b { color: #fff; font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__actions .btn { min-height: 58px; }
.hero__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__note svg { flex: none; }

/* --- Сцена с продуктом ------------------------------------------------- */
.stage {
  position: relative;
  padding: 0 0 74px;
}
.stage__panel {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-3);
  padding: 24px;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
}
.stage__panel::before { /* тонкая сетка на «подложке-сцене» */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 15, 12, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 15, 12, 0.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}
.stage__page,
.stage__cover {
  margin: 0;
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stage__page img,
.stage__cover img,
.stage__excel img { width: 100%; height: auto; display: block; }

.stage__page {
  width: 52%;
  right: 3%;
  top: 19%;
  transform: rotate(2.8deg);
  box-shadow: 0 18px 40px -22px rgba(11, 15, 12, 0.5);
  border: 1px solid rgba(11, 15, 12, 0.06);
  z-index: 1;
}
.stage__cover {
  width: 49%;
  left: 4%;
  top: 9%;
  transform: rotate(-5.5deg);
  box-shadow: 0 26px 52px -22px rgba(11, 15, 12, 0.6);
  border: 1px solid rgba(11, 15, 12, 0.06);
  z-index: 2;
}
.stage__excel {
  margin: 0;
  position: absolute;
  width: 94%;
  right: -3%;
  bottom: 10px;
  z-index: 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(11, 15, 12, 0.1);
  background: #fff;
  transform: rotate(-1.1deg);
  box-shadow: 0 34px 64px -26px rgba(11, 15, 12, 0.75);
}
.stage__excel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.stage__excel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.stage__excel-label {
  position: absolute;
  right: 4%;
  bottom: -22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  z-index: 5;
}

/* --- Мобильная версия первого экрана ---------------------------------- */
@media (max-width: 1080px) {
  .hero { padding: 44px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { max-width: none; }
  .stage { max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 620px) {
  .hero { padding: 26px 0 40px; }
  .hero__inner { gap: 26px; }
  .hero__title { margin-top: 16px; font-size: clamp(29px, 8.2vw, 38px); }
  .hero__lead { margin-top: 14px; font-size: 15.5px; line-height: 1.45; }
  .hero__lead-extra { display: none; }
  .hero__facts { margin-top: 16px; gap: 6px; }
  .hero__facts li { padding: 5px 10px; font-size: 10.5px; letter-spacing: 0.03em; }
  .hero__actions { margin-top: 20px; gap: 10px; flex-direction: column; }
  .hero__actions .btn { width: 100%; min-height: 52px; font-size: 15.5px; }
  .hero__note { margin-top: 12px; font-size: 12px; }
  .hero__note-extra { display: none; }
  .stage { max-width: none; padding-bottom: 44px; }
  .stage__panel { padding: 12px; aspect-ratio: 1 / 0.88; border-radius: var(--r-lg); }
  .stage__cover { width: 50%; top: 10%; }
  .stage__page { width: 52%; top: 20%; }
  .stage__excel { width: 94%; right: -3%; bottom: 8px; }
  .stage__excel-label { bottom: -24px; font-size: 9.5px; }
}

/* ==========================================================================
   ШАПКА — короткая надпись CTA на мобильном
   ========================================================================== */
.site-header__cta-full { display: inline; }
.site-header__cta-short { display: none; }
@media (max-width: 620px) {
  .site-header__cta-full { display: none; }
  .site-header__cta-short { display: inline; }
}

/* ==========================================================================
   ОБЩЕЕ: якоря, заголовки секций, вертикальный ритм
   ========================================================================== */
/* 64px сверху и снизу = 128px между секциями на десктопе;
   на мобильном 28px = 56px между секциями (см. медиазапрос ниже). */
:root { --section-y: 64px; }

section[id] { scroll-margin-top: 84px; }

.section-head__title { text-wrap: balance; }

/* ==========================================================================
   02 · ПРОБЛЕМА
   ========================================================================== */
.problem-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 40px;
}
.problem-card {
  grid-column: span 2;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line-2);
}
.problem-card:nth-child(n + 4) { grid-column: span 3; }
.problem-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.problem-card__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.problem-card__text {
  margin-top: 9px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}

.verdict {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px 34px;
}
.verdict .kicker { color: var(--muted-dark); padding-top: 4px; }
.verdict__text {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   03 · ЧТО ПРЕДЛАГАЕТ FININDI
   ========================================================================== */
.product-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4.2vw, 56px);
}
.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px, 84px 84px;
  mask-image: linear-gradient(to bottom right, #000, transparent 78%);
  pointer-events: none;
}
.product-panel::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.15), transparent 62%);
  pointer-events: none;
}
.product-panel > * { position: relative; z-index: 1; }
.product-panel__claim {
  margin: 0;
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 2.65vw, 35px);
  line-height: 1.16;
  letter-spacing: -0.028em;
}
.product-panel__big {
  display: inline-block;
  color: var(--accent);
  font-size: 1.62em;
  line-height: 0.8;
  letter-spacing: -0.05em;
  vertical-align: -0.05em;
}
.product-panel__chain { color: rgba(255, 255, 255, 0.72); }

.chain {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 20px;
}
.chain__item { border-top: 1px solid var(--line-dark); padding-top: 15px; }
.chain__word {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.chain__text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted-dark);
}

.deliverables {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
  display: block;
}
.deliverables__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.deliverables__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}
.deliverable {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.deliverables__title { margin-bottom: 20px; }
.deliverable__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 4px 7px;
  line-height: 1.2;
}
.deliverable__body { display: block; min-width: 0; }
.deliverable__name {
  display: block;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.deliverable__meta {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ==========================================================================
   04/05 · ГАЛЕРЕИ
   ========================================================================== */
.gallery__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.gallery__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery__nav { display: flex; gap: 8px; flex: none; }
.gallery--guide .gallery__nav { display: none; }
.gallery--excel .gallery__nav { display: none; }
.rail-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.rail-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.rail-btn:disabled { opacity: 0.32; cursor: default; }

.page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 22px;
}
.page-card { margin: 0; min-width: 0; }
.page-card__link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.page-card__link img { width: 100%; height: auto; display: block; }
.page-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.page-card__cap {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-card__idx { flex: none; color: #a9afa8; }

.guide-structure {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px 40px;
}
.guide-structure__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 13px;
}
.guide-structure__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}
.guide-structure__list li {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 15.5px;
}

/* --- Excel-факты ------------------------------------------------------- */
.excel-facts {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.excel-fact {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.excel-fact__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.excel-fact__name { font-size: 15px; color: var(--muted); }
.excel-fact__sub { font-size: 13.5px; color: var(--muted); }
.excel-fact__icon { color: var(--text); margin-bottom: 6px; }

.excel-rail { columns: 2; column-gap: 20px; }
.excel-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 26px;
  min-width: 0;
}
.excel-card__link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.excel-card__link img { width: 100%; height: auto; display: block; }
.excel-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.excel-card__cap {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.excel-card__idx { flex: none; color: #a9afa8; }

.excel-format {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--muted);
}
.excel-format__label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

/* ==========================================================================
   06 · КАК ПОЛЬЗОВАТЬСЯ
   ========================================================================== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 24px;
}
.step { border-top: 2px solid var(--ink); padding-top: 16px; min-width: 0; }
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.step__title {
  margin-top: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.step__text { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

.steps-note {
  margin-top: 40px;
  max-width: 70ch;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   07 · ЗАДАЧИ
   ========================================================================== */
.task-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.task-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 20px 22px;
  min-height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.task-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.task-card__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.task-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.disclaimer {
  margin-top: 32px;
  max-width: 84ch;
  padding-left: 18px;
  border-left: 1px solid var(--line-2);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   08 · КОМУ ПОДОЙДЁТ
   ========================================================================== */
.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}
.audience-card__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.audience-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.audience-not {
  margin: 16px 0 0;
  display: flex;
  gap: 18px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 20px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  font-size: 15.5px;
  color: var(--muted);
}
.audience-not__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

/* ==========================================================================
   09 · ТАРИФЫ
   ========================================================================== */
.tariff-desktop {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.tariff-table th,
.tariff-table td {
  text-align: left;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.tariff-table thead th {
  background: var(--ink);
  color: #fff;
  border-bottom: 0;
  padding: 20px 24px;
  vertical-align: bottom;
}
.tariff-table__feature {
  width: 44%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.tariff-table__plan { width: 28%; }
.tariff-table__plan--hi { background: var(--ink-2); }
.tariff-table__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tariff-table__price {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-dark);
}
.tariff-table__files {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.tariff-table__badge {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tariff-table tbody th {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tariff-table tbody td { font-size: 15.5px; }
.tariff-table tbody td.is-hi { background: rgba(201, 241, 88, 0.15); font-weight: 600; }
.tariff-table tbody td.is-off { color: #a9afa8; }
.tariff-table tbody tr:last-child th,
.tariff-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.tariff-table tfoot td { border-bottom: 0; padding: 20px 24px 22px; }
.tariff-table__foot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tariff-table__buy.is-hi { background: rgba(201, 241, 88, 0.15); }
.tariff-table .btn { min-height: 48px; font-size: 15px; padding: 0 18px; }

.tariff-cards { display: none; }

.price {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.price--hi { border-color: var(--ink); box-shadow: var(--shadow-2); }
.price__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.price__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.price__files {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 3px;
}
.price--hi .price__files { border-color: var(--ink); color: var(--text); }
.price__sum {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.price__sum small {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.price__list {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
.price__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.price__list li:first-child { border-top: 0; }
.price__list li::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.price__list li.off { color: #a9afa8; text-decoration: line-through; }
.price__list li.off::before { background: var(--line-2); }
.tariff-explain {
  margin-top: 26px;
  max-width: 88ch;
  padding-left: 18px;
  border-left: 2px solid var(--ink);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.tariff-note { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ==========================================================================
   10 · ПРОИСХОЖДЕНИЕ
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}
.trust-lede {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.5vw, 33px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.trust-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px 32px;
  display: grid;
  gap: 16px;
}
.trust-panel__line {
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.trust-panel__line:first-child { color: #fff; font-weight: 600; }

/* ==========================================================================
   11 · FAQ
   ========================================================================== */
.faq-list { max-width: 980px; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 23px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__num {
  flex: none;
  width: 26px;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.faq-item__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.15s ease;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: #fff; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-item__a {
  margin: 0;
  max-width: 78ch;
  padding: 0 40px 26px 46px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.faq-item[open] .faq-item__a { animation: faqIn 0.18s ease-out; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   12 · ФИНАЛЬНЫЙ CTA
   ========================================================================== */
.final {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 88px 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 80%);
  pointer-events: none;
}
.final::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.13), transparent 64%);
  pointer-events: none;
}
.final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 48px;
  align-items: end;
}
.final .kicker { color: var(--accent); }
.final__title {
  margin-top: 20px;
  max-width: 20ch;
  font-size: clamp(32px, 3.8vw, 50px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.final__note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--muted-dark);
}
.final__actions { display: flex; flex-direction: column; gap: 12px; }
.final__actions .btn { min-height: 58px; }

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.site-footer {
  background: var(--ink-2);
  color: #fff;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.site-footer .brand { color: #fff; }
.site-footer__tagline { font-size: 13.5px; line-height: 1.55; color: var(--muted-dark); }
.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.74);
}
.site-footer__nav a { transition: color 0.15s ease; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__legal {
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--muted-dark);
}
.site-footer__legal-line { margin: 0; max-width: 100%; }
.site-footer__legal a { color: rgba(255, 255, 255, 0.82); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__disclaimer {
  margin-top: 22px;
  max-width: 92ch;
  font-size: 12px;
  line-height: 1.55;
  color: #7f8880;
}

/* ==========================================================================
   STICKY-ПАНЕЛЬ ПОКУПКИ (только мобильный)
   ========================================================================== */
.sticky-buy { display: none; }

@media (max-width: 760px) {
  /* Плотный мобильный ритм: 28 + 28 = 56px между секциями */
  :root { --section-y: 28px; }

  /* Панель никогда не перекрывает контент: под неё зарезервировано ровно
     столько же места, сколько она занимает (69px + safe-area). */
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .sticky-buy {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    height: calc(69px + env(safe-area-inset-bottom));
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 15, 12, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }
  body.is-scrolled .sticky-buy { transform: none; visibility: visible; }
  .sticky-buy .btn {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    align-self: center;
    flex: none;
    padding: 0 10px;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
    font-weight: 650;
    white-space: nowrap;
  }
  .sticky-buy .btn__price { font-size: 12.5px; line-height: 1; opacity: 0.68; }

  /* Временный режим после клика по двери в окне оплаты: панель видна сразу,
     а кнопка выбранного тарифа подписана «Вернуться к оформлению».
     Стиль минимальный, в духе существующей панели. */
  body.has-checkout-return .sticky-buy { transform: none; visibility: visible; }
  .sticky-buy .btn--return {
    white-space: normal;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
  }
}

/* ==========================================================================
   ЛАЙТБОКС
   ========================================================================== */
.lb { position: fixed; inset: 0; z-index: 120; }
.lb[hidden] { display: none; }
.lb__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 9, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lb__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 82px 58px;
}
.lb__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-height: 0;
}
.lb__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 176px);
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.lb__caption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: min(100%, 900px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
}
.lb__counter { color: var(--accent); font-variant-numeric: tabular-nums; flex: none; }
.lb__close,
.lb__nav {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lb__close:hover,
.lb__nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.lb__nav:disabled { opacity: 0.28; cursor: default; }
.lb__close { top: 16px; right: 16px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 18px; }
.lb__nav--next { right: 18px; }
.lb__hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
html.lb-open,
html.lb-open body { overflow: hidden; }
html.lb-open .sticky-buy { transform: translateY(110%); visibility: hidden; }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1080px) {
  .product-panel__claim { max-width: none; }
  .deliverables { grid-template-columns: 1fr; gap: 22px; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-lede { max-width: none; }
  .final__inner { grid-template-columns: 1fr; gap: 34px; }
  .final__title { max-width: 24ch; }
  .final__actions { flex-direction: row; flex-wrap: wrap; }
  .final__actions .btn { flex: 1 1 240px; }
}

@media (max-width: 1023px) {
  .page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
  .deliverables__list { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .problem-card,
  .problem-card:nth-child(n + 4) { grid-column: span 1; }
  .problem-card:nth-child(5) { grid-column: span 2; }
  .verdict { grid-template-columns: 1fr; gap: 12px; padding: 24px 26px; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .chain__item:last-child { grid-column: span 2; }
  .excel-facts { grid-template-columns: 1fr; gap: 0; margin-bottom: 36px; }
  .excel-fact {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line-2);
  }
  .excel-fact__num { font-size: 30px; line-height: 1.1; }
  .excel-fact__icon { align-self: center; margin-bottom: 0; width: 24px; height: 24px; }
  .guide-structure { grid-template-columns: 1fr; gap: 6px; }
  .guide-structure__label { padding-top: 0; }
  .guide-structure__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .faq-item__q { font-size: 18px; }
  .faq-item__a { padding-left: 46px; padding-right: 12px; }
  .site-footer__top { gap: 32px; }
}

@media (max-width: 760px) {
  /* Галереи превращаются в ленты с кнопками */
  .gallery--guide .gallery__nav,
  .gallery--excel .gallery__nav { display: flex; }
  .page-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-grid::-webkit-scrollbar { display: none; height: 0; }
  .page-card { flex: 0 0 clamp(236px, 72vw, 360px); scroll-snap-align: start; }
  .page-card__link:hover { transform: none; box-shadow: var(--shadow-1); }
  .excel-rail {
    display: flex;
    gap: 14px;
    columns: auto;
    overflow-x: auto;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .excel-rail::-webkit-scrollbar { display: none; height: 0; }
  .excel-card { flex: 0 0 84vw; margin: 0; scroll-snap-align: start; }
  /* Единая «витрина» для скриншотов разной высоты: без обрезки, с полями. */
  .excel-card__link {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
  }
  .excel-card__link img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .excel-card__link:hover { transform: none; box-shadow: var(--shadow-1); }
  .gallery__bar { margin-bottom: 16px; }
  .gallery__note { font-size: 10px; letter-spacing: 0.1em; }

  /* Тарифы: две карточки вместо таблицы */
  .tariff-desktop { display: none; }
  .tariff-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .price { padding: 24px 22px; }
  .price__sum { font-size: 40px; }
  .tariff-explain { margin-top: 22px; font-size: 14.5px; line-height: 1.5; }

  /* Шаги — вертикальный список */
  .steps { display: block; }
  .step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 4px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .step:first-child { border-top: 2px solid var(--ink); }
  .step__num { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; }
  .step__title { grid-column: 2; margin-top: 0; font-size: 18px; }
  .step__text { grid-column: 2; }
  .steps-note { margin-top: 28px; font-size: 15.5px; }

  /* Карточки задач и аудитории — компактная одна колонка */
  .task-card { min-height: 0; padding: 18px 18px 20px; gap: 18px; }
  .audience-grid { grid-template-columns: 1fr; gap: 10px; }
  .audience-card { min-height: 0; padding: 20px 22px; gap: 14px; }
  .audience-card__title { font-size: 18px; }
  .audience-not { padding: 18px 20px; gap: 8px; }

  .problem-card { padding: 18px 0 22px; }
  .problem-card__title { font-size: 18px; }
  .verdict { margin-top: 32px; }
  .verdict__text { font-size: 16px; }

  .deliverables__list { grid-template-columns: 1fr; }
  .product-panel__claim { font-size: 24px; }
  .chain { margin-top: 30px; }

  .guide-structure { margin-top: 40px; }
  .guide-structure__list { grid-template-columns: 1fr; gap: 0; }
  .excel-facts { margin-bottom: 26px; }
  .excel-format { font-size: 11px; }

  .faq-item__summary { padding: 18px 0; gap: 14px; }
  .faq-item__num { width: 20px; }
  .faq-item__q { font-size: 17px; }
  .faq-item__icon { width: 26px; height: 26px; }
  .faq-item__a { padding: 0 0 22px 34px; font-size: 15.5px; }

  .final { padding: 34px 0 40px; }
  .final__actions { flex-direction: column; }
  .final__actions .btn {
    flex: 0 0 auto;
    width: 100%;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    line-height: 1;
  }
  .final__title { font-size: clamp(29px, 8vw, 38px); }
  .final__note { font-size: 10.5px; letter-spacing: 0.1em; }

  .site-footer { padding: 44px 0 28px; }
  .site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .site-footer__legal { gap: 8px 20px; font-size: 10.5px; }
  .site-footer__disclaimer { font-size: 11.5px; }
  .site-footer__top { padding-bottom: 24px; }

  /* Лайтбокс на мобильном: крупная картинка, кнопки внизу */
  .lb__dialog { padding: 60px 12px 92px; }
  .lb__img { max-height: calc(100vh - 240px); }
  .lb__nav { top: auto; bottom: calc(22px + env(safe-area-inset-bottom)); transform: none; }
  .lb__nav--prev { left: 14px; }
  .lb__nav--next { right: 14px; }
  .lb__close { width: 44px; height: 44px; top: 12px; right: 12px; }
  .lb__caption { font-size: 10.5px; letter-spacing: 0.08em; gap: 10px; }
  .lb__hint { display: none; }
}

@media (max-width: 420px) {
  .task-grid { grid-template-columns: 1fr; }
  .problem-card:nth-child(5) { grid-column: span 1; }
  .chain { grid-template-columns: 1fr; }
  .chain__item:last-child { grid-column: span 1; }
  .gallery__note { max-width: 62%; }
  .sticky-buy .btn { font-size: 13px; padding: 0 8px; }
  .sticky-buy .btn__price { font-size: 12px; }
}


/* Ключевые формулы в hero (этап 1) */
.hero-formulas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; }
.hero-formulas div { border: 1px solid rgba(201, 241, 88, 0.22); background: rgba(201, 241, 88, 0.06); border-radius: 11px; padding: 9px 11px; }
.hero-formulas b { display: block; font-family: var(--font-mono); font-size: 11.5px; color: #C9F158; margin-bottom: 3px; }
.hero-formulas span { display: block; font-size: 12px; line-height: 1.35; color: #D9DED7; }
.hero-formulas i { display: block; font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: #9AA39C; margin-top: 3px; }
@media (max-width: 900px) { .hero-formulas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero-formulas { gap: 6px; } .hero-formulas div { padding: 7px 8px; } }

/* Этап 1: факты в одну строку на десктопе, 2×2 на мобиле; галочка в строке доверия */
.hero__facts { gap: 6px; }
.hero__facts li { padding: 6px 9px; font-size: 10.5px; letter-spacing: 0.02em; }
.hero__note { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.hero__note svg { flex: none; }
.hero__note span { min-width: 0; }
@media (max-width: 820px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
  .hero__facts li { justify-content: center; white-space: nowrap; font-size: 10px; padding: 5px 6px; }
  .hero__note { align-items: flex-start; }
}

/* Правки 17.11.2026 */
@media (max-width: 1024px) {
  .deliverables__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}
@media (max-width: 560px) {
  .deliverables__list { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .site-footer__disclaimer { max-width: none; white-space: nowrap; }
}


/* Превью промптов на лендинге */
.prompt-previews {
  margin-top: 44px;
}
.prompt-previews__lead {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2, #3e3e37);
}
.prompt-previews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 16px;
}
.prompt-preview {
  margin: 0;
}
.prompt-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(11, 15, 12, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px -28px rgba(11, 15, 12, 0.45);
  background: #fff;
}
.prompt-preview figcaption {
  margin-top: 9px;
  font-family: var(--font-mono, Consolas, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7a7466;
}
.prompt-previews__note {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #7a7466;
}
@media (max-width: 900px) {
  .prompt-previews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .prompt-previews__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .prompt-preview { flex: 0 0 78%; scroll-snap-align: start; }
}

/* v5: шапка «Мои файлы», коллажи, кликабельные превью промптов, апгрейд в модалке */

.site-header__myfiles {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__myfiles:hover { color: #c9f158; }
@media (max-width: 820px) {
  .site-header__myfiles { display: none; }
}
.site-footer__legal a#my-files-link { color: #c9f158; text-decoration: underline; text-underline-offset: 2px; }

.preview-collage {
  margin: 0 0 22px;
  max-width: 760px;
}
.preview-collage__link { display: block; }
.preview-collage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(11, 15, 12, 0.12);
  box-shadow: 0 22px 50px -34px rgba(11, 15, 12, 0.5);
}
.preview-collage figcaption {
  margin-top: 9px;
  font-family: var(--font-mono, Consolas, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7a7466;
}
.prompt-previews-wrap { padding-top: 8px; }
.prompt-preview__link { display: block; }
.prompt-preview__link img { transition: transform 0.2s ease; }
.prompt-preview__link:hover img { transform: translateY(-2px); }
@media (max-width: 600px) {
  .preview-collage { margin-bottom: 16px; }
}
