/* ──────────────────────────────────────────────────────────────
   Психокод бизнеса — дизайн-система сайта.
   Один файл на все страницы: лендинг, бриф, кабинет, формы входа.
   Тёмная база + терракотовый акцент, типографика Inter / Playfair /
   JetBrains Mono / Oswald.
   ────────────────────────────────────────────────────────────── */

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

:root {
  --cream: #121214;
  --ink: #ffffff;
  --sienna: #9B3323;
  --sienna-light: #b84030;
  --sienna-dark: #7a2519;
  --ash: rgba(255, 255, 255, 0.04);
  --ash-dark: rgba(255, 255, 255, 0.08);
  --green: #4ade80;
  --green-light: #66ea98;
  --muted: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-lg: 20px;

  /* Поверхности: тонкая линейка + световая кромка сверху вместо плоской заливки */
  --rule: rgba(255, 255, 255, 0.07);
  --rule-strong: rgba(255, 255, 255, 0.16);
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  --panel-hi: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --lift: 0 26px 60px -32px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Общая поверхность для всех карточек */
.pain-err-card, .node-card, .bento-card, .price-card, .sample-card,
.restrict-wrap, .timeline, .vs-col, .vs-summary, .stat-block,
.result-block, .final-block {
  background: var(--panel);
  border: 1px solid var(--rule);
  box-shadow: var(--panel-hi), 0 18px 40px -34px rgba(0, 0, 0, 0.9);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pain-err-card:hover, .node-card:hover, .bento-card:hover,
.price-card:hover, .sample-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
  box-shadow: var(--panel-hi), var(--lift);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  /* Мелкое зерно поверх заливки — убирает ощущение «плоского шаблона» */
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--ash-dark); border-radius: 3px; }

img { max-width: 100%; }

/* ── УТИЛИТЫ ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.serif { font-family: 'Playfair Display', serif; }
.mono { font-family: 'JetBrains Mono', monospace; }
.sienna { color: var(--sienna); }
.green { color: var(--green); }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── ШАПКА ── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18, 18, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  background: rgba(18, 18, 20, 0.94);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo-wrap {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-wrap img { height: 42px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions[hidden] { display: none; }

.btn-login {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  background: none; border: none; padding: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.btn-login:hover { color: #fff; }

.btn-outline-sm {
  font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; background: transparent;
  cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center;
  font-family: 'Inter', sans-serif;
}
.btn-outline-sm:hover { background: #fff; color: #121214; border-color: #fff; }

.user-name {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.65);
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: 76px; left: 0; right: 0;
  background: rgba(18, 18, 20, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px; z-index: 99;
  flex-direction: column; gap: 14px;
  max-height: calc(100vh - 76px); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  font-size: 14px; font-weight: 500; text-align: left;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none; padding: 8px 0;
  border: none; border-bottom: 1px solid var(--border);
  background: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.mobile-nav [hidden] { display: none; }

/* ── КНОПКИ ── */
.btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  background: linear-gradient(180deg, #a93c2a, #8c2e1e); color: #fff;
  border: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px -16px rgba(155, 51, 35, 0.9);
  transition: all 0.35s var(--ease);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; white-space: nowrap; justify-content: center;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #bd4531, #9b3323); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 36px -16px rgba(155, 51, 35, 0.85);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule-strong);
  cursor: pointer; transition: all 0.35s var(--ease);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; white-space: nowrap; justify-content: center;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.04); }

.btn-ghost {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  background: transparent; color: var(--green);
  border: 1.5px solid rgba(74, 222, 128, 0.25);
  cursor: pointer; transition: all 0.25s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; white-space: nowrap; justify-content: center;
}
.btn-ghost:hover { background: rgba(74, 222, 128, 0.08); border-color: var(--green); }

/* ── ПЕРВЫЙ ЭКРАН ── */
#hero {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background-color: var(--cream);
}
.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
#hero::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(18, 18, 20, 0.55) 55%, #121214 100%);
  z-index: 1; pointer-events: none;
}
#hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500;
  color: var(--sienna); letter-spacing: 0.08em;
  margin-bottom: 24px; display: inline-block;
  background: rgba(155, 51, 35, 0.07);
  padding: 6px 12px; border-radius: 6px;
  border: 1px solid rgba(155, 51, 35, 0.15);
}
#hero .eyebrow {
  color: #ff8573;
  background: rgba(255, 133, 115, 0.1);
  border: 1px solid rgba(255, 133, 115, 0.25);
}

.hero-h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700; line-height: 1.15; letter-spacing: 0.02em;
  color: #fff; margin-bottom: 24px; text-transform: uppercase;
}
.hero-h1 em { font-style: normal; color: #ff8573; }

.hero-p {
  font-weight: 300;
  font-size: 16px; line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px; max-width: 480px;
}

#hero .btn-primary {
  border-radius: 9999px; padding: 14px 32px;
  box-shadow: 0 4px 14px rgba(155, 51, 35, 0.3);
}
#hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155, 51, 35, 0.5);
}
#hero .btn-outline {
  border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 28px;
}
#hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.microcopy {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.45);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--rule); max-width: 480px;
}
.microcopy span { display: flex; align-items: center; gap: 4px; }
.microcopy-dot { color: rgba(255, 255, 255, 0.2); }
.microcopy .dot-green { color: rgba(255, 255, 255, 0.7); }
.microcopy .dot-green::before {
  content: '●'; color: var(--green); margin-right: 4px; font-size: 8px;
}

/* Макет отчёта в правой колонке */
.dashboard-wrap { position: relative; animation: floatUp 6s ease-in-out infinite; }
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dashboard-frame {
  background: rgba(30, 30, 30, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.dashboard-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.db-dots { display: flex; gap: 6px; }
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-dot.r { background: #ff5f57; }
.db-dot.y { background: #ffbd2e; }
.db-dot.g { background: #28c840; }
.db-url {
  flex: 1; background: rgba(255, 255, 255, 0.05);
  border-radius: 6px; padding: 5px 12px;
  font-size: 11px; color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--border);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dashboard-header {
  padding: 16px 20px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.dashboard-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; }
.dash-badge {
  font-size: 10px; font-weight: 600; color: var(--green);
  background: rgba(74, 222, 128, 0.1); padding: 3px 8px; border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.dash-tabs {
  display: flex; margin: 16px 20px 0;
  border-bottom: 1px solid var(--border);
}
.dash-tab {
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.5);
  padding: 8px 14px; cursor: pointer;
  border: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all 0.2s;
  background: none; border-radius: 0; font-family: 'Inter', sans-serif;
}
.dash-tab:hover { color: rgba(255, 255, 255, 0.8); }
.dash-tab.active {
  color: #fff; border-bottom-color: var(--sienna); font-weight: 600;
  box-shadow: inset 0 -2px 0 0 var(--sienna), 0 2px 10px rgba(155, 51, 35, 0.3);
}
.dash-content { padding: 20px; min-height: 300px; }
.tab-pane { display: none; animation: fadeIn 0.25s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.dash-note {
  font-size: 11px; color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px; font-family: 'JetBrains Mono', monospace;
}
.pain-card {
  background: rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 14px;
  margin-bottom: 10px; border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}
.pain-card:hover {
  border-color: rgba(155, 51, 35, 0.5);
  background: rgba(255, 255, 255, 0.07);
}
.pain-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: #ff8573; margin-bottom: 6px;
}
.pain-text { font-size: 12px; color: rgba(255, 255, 255, 0.9); line-height: 1.5; }
.cjm-flow { display: flex; flex-direction: column; }
.cjm-step { display: flex; align-items: flex-start; gap: 12px; position: relative; }
.cjm-step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 14px; top: 30px; bottom: -12px;
  width: 2px; background: var(--border);
}
.cjm-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0; z-index: 1;
}
.cjm-step.done .cjm-num {
  background: var(--sienna); border-color: var(--sienna); color: #fff;
  box-shadow: 0 0 10px rgba(155, 51, 35, 0.4);
}
.cjm-info { padding: 4px 0 16px; }
.cjm-stage { font-size: 11.5px; font-weight: 600; color: #fff; }
.cjm-sub { font-size: 10.5px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }

/* ── ПОЛОСА ЦИФР ── */
#social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ash);
  padding: 32px 0;
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 8px 24px; position: relative;
}
.proof-item:not(:last-child)::after {
  content: ''; position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px; background: var(--border-strong);
}
.proof-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700; line-height: 1;
  margin-bottom: 10px; font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.proof-num span { color: var(--sienna); }
.proof-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: rgba(255, 255, 255, 0.45);
  line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── ОБЩЕЕ ДЛЯ СЕКЦИЙ ── */
section { padding: 120px 0; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--sienna); text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::before {
  content: ''; width: 30px; height: 1px; flex-shrink: 0;
  background: var(--sienna);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(29px, 3.3vw, 46px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
  margin-bottom: 18px; max-width: 880px;
}
.section-sub {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  max-width: 620px; margin-bottom: 56px;
}
/* Заголовки секций — слева, с линейкой во всю ширину: так читается
   как разворот журнала, а не как набор центрированных плашек */
.section-head { margin-bottom: 56px; }
.section-head .section-sub { margin-bottom: 0; max-width: 620px; }
.section-head::after {
  content: ''; display: block; height: 1px; margin-top: 44px;
  background: linear-gradient(90deg, var(--rule-strong), rgba(255, 255, 255, 0));
}
.section-cta { text-align: center; margin-top: 48px; }

/* ── ОШИБКИ / БОЛЬ ── */
.pain-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.pain-err-card {
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  position: relative; overflow: hidden;
}
/* Крупная «водяная» цифра в углу карточки */
.pain-err-card::after {
  content: attr(data-n);
  position: absolute; right: 20px; bottom: -22px;
  font-family: 'Playfair Display', serif;
  font-size: 104px; font-weight: 700; line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.pain-err-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: var(--sienna); opacity: 0; transition: opacity 0.25s;
}
.pain-err-card:hover::before { opacity: 1; }
.err-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; color: var(--sienna);
  background: rgba(155, 51, 35, 0.08); padding: 4px 10px;
  border-radius: 4px; display: inline-block; margin-bottom: 14px;
}
.err-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600; margin-bottom: 10px;
}
.err-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.err-cause {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255, 255, 255, 0.35);
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Блок диагноза */
.stat-block {
  border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.stat-block::before {
  content: '∑'; position: absolute; right: 24px; top: 8px;
  font-size: 140px; color: rgba(255, 255, 255, 0.04);
  font-family: 'Playfair Display', serif; line-height: 1; pointer-events: none;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--sienna);
  letter-spacing: 0.12em; margin-bottom: 20px; text-transform: uppercase;
}
.stat-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 76px); font-weight: 700;
  line-height: 1; color: var(--sienna); margin-bottom: 12px;
}
.stat-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px;
}
.stat-desc {
  font-size: 15px; color: rgba(255, 255, 255, 0.75); line-height: 1.7;
  max-width: 660px; margin: 0 auto;
}
.stat-desc strong { color: var(--sienna); font-weight: 600; }

/* ── РЕЗУЛЬТАТ ── */
.result-block {
  border-radius: var(--radius-lg);
  padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden;
}
/* Мягкий тёплый свет сверху — чтобы блок-заявление читался как главный */
.result-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, rgba(155, 51, 35, 0.16), transparent 62%);
}
.result-block > * { position: relative; }
.result-block .section-title { margin-bottom: 20px; }
.result-lead { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.result-checks {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.result-check {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 9999px; padding: 10px 22px;
  font-size: 15px; font-weight: 600;
}
.result-check::before { content: '✓'; color: var(--green); font-weight: 700; }
.result-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.result-block .section-eyebrow { justify-content: center; }
.result-block .section-title { margin-left: auto; margin-right: auto; }
.result-block .microcopy { justify-content: center; margin: 0 auto; }

/* ── ДЛЯ КОГО ── */
.node-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.node-card {
  border-radius: var(--radius-lg); padding: 36px 34px;
  display: flex; flex-direction: column;
}
.node-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--sienna); margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.node-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; margin-bottom: 12px;
}
.node-desc { font-size: 14.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.node-req {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255, 255, 255, 0.4);
  margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.node-card .btn-outline { align-self: flex-start; min-height: 46px; padding: 11px 22px; font-size: 14px; }

/* Ограничения системы */
.restrict-wrap {
  margin-top: 24px; border-radius: var(--radius-lg);
  padding: 44px 46px;
}
.restrict-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; margin-bottom: 28px;
}
.restrict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.restrict-item { display: flex; gap: 16px; }
.restrict-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; color: var(--sienna);
  border: 1px solid rgba(155, 51, 35, 0.3); border-radius: 6px;
  padding: 3px 8px; height: fit-content; flex-shrink: 0;
}
.restrict-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.restrict-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── ЧТО ПОЛУЧАЕТЕ (BENTO) ── */
/* Бенто: две широкие карточки с иллюстрациями, одна высокая и три обычных —
   сетка перестаёт быть «шестью одинаковыми плитками» */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card.b1 { grid-column: 1 / 3; grid-row: 1; }
.bento-card.b2 { grid-column: 3; grid-row: 1 / 3; }
.bento-card.b3 { grid-column: 1; grid-row: 2; }
.bento-card.b4 { grid-column: 2; grid-row: 2; }
.bento-card.b5 { grid-column: 1; grid-row: 3; }
.bento-card.b6 { grid-column: 2 / 4; grid-row: 3; }

.bento-split {
  display: grid; grid-template-columns: 1fr 0.8fr;
  gap: 32px; align-items: center; height: 100%;
}
.bento-body { display: flex; flex-direction: column; }
.bento-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--rule);
  background: #efe7dc;
}
.bento-media img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(0.97) contrast(1.02);
}
.bento-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0) 55%, rgba(18, 18, 20, 0.4));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
/* Вырезанный объект лежит прямо на карточке: ни рамки, ни затемнения.
   Тень возвращаем фильтром, иначе предмет висит в пустоте */
.bento-media--plain {
  border: 0; background: none; overflow: visible;
}
.bento-media--plain::after { content: none; }
.bento-media--plain img {
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55));
}

.bento-media--inset { margin-top: 22px; }
.bento-media--inset img { aspect-ratio: 16 / 7; object-position: 50% 45%; }
.bento-card.b1 .bento-media img,
.bento-card.b6 .bento-media img { aspect-ratio: 5 / 4; }
.bento-media--plain.bento-media--inset img { aspect-ratio: 16 / 7; }
.bento-card {
  border-radius: var(--radius-lg);
  padding: 30px 30px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(155, 51, 35, 0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
.bento-card > * { position: relative; }
.bento-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(155, 51, 35, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; border: 1px solid rgba(155, 51, 35, 0.12);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em; margin-bottom: 10px;
}
.bento-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.3;
}
.bento-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.bento-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bento-list li {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  display: flex; gap: 9px;
}
.bento-list li::before { content: '·'; color: var(--sienna); font-weight: 700; }
.bento-note {
  margin-top: 18px; padding: 14px 16px;
  background: rgba(155, 51, 35, 0.06); border-radius: 8px;
  border: 1px solid rgba(155, 51, 35, 0.1);
  font-size: 13px; color: rgba(255, 255, 255, 0.75); line-height: 1.6;
}
.bento-tag {
  display: inline-block; margin-top: 14px; align-self: flex-start;
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(74, 222, 128, 0.1); padding: 3px 10px; border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* ── КАК ПРИМЕНЯТЬ ── */
.apply-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
}
.apply-card {
  display: flex; flex-direction: column;
  padding: 30px 40px 30px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background 0.4s var(--ease);
}
.apply-card:nth-child(2n) { padding: 30px 0 30px 40px; border-right: none; }
.apply-card:hover { background: rgba(255, 255, 255, 0.022); }
.apply-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--sienna);
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.apply-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 600; margin-bottom: 10px; line-height: 1.3;
}
.apply-desc { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }
.apply-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
  font-size: 11px; color: rgba(255, 255, 255, 0.45);
}
.apply-meta span {
  border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px;
}
.apply-meta span.accent { color: var(--green); border-color: rgba(74, 222, 128, 0.25); }

.timeline {
  margin-top: 28px; border-radius: var(--radius-lg);
  padding: 40px 42px;
}
.timeline-title { font-size: 16px; font-weight: 600; margin-bottom: 24px; }
.timeline-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline-item { display: flex; flex-direction: column; gap: 6px; }
.timeline-when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: var(--sienna); letter-spacing: 0.06em;
}
.timeline-what { font-size: 14px; color: var(--muted); line-height: 1.6; }
.timeline-note { margin-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }

/* ── МЕТОДОЛОГИЯ ── */
.method-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.method-sticky { position: sticky; top: 100px; }
.method-steps { display: flex; flex-direction: column; }
.method-step {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.method-step:first-child { padding-top: 0; }
.method-step:last-child { border-bottom: none; }
.method-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sienna); border: 2px solid var(--sienna);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.method-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; color: var(--sienna); margin-bottom: 6px;
}
.method-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; margin-bottom: 8px;
}
.method-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.method-goal {
  font-size: 13.5px; color: rgba(255, 255, 255, 0.6);
  margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--border-strong);
}

/* ── РОЛИ: методология / ИИ / вы ── */
.roles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  margin-bottom: 64px;
}
.role { padding: 30px 36px 30px 0; border-right: 1px solid var(--rule); }
.role:last-child { border-right: none; padding-right: 0; }
.role-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sienna); margin-bottom: 12px;
}
.role-text { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* Перечень под подзаголовком секции */
.head-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.head-list li {
  font-size: 13.5px; color: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--rule); border-radius: 9999px;
  padding: 8px 18px;
}

/* ── ChatGPT vs ПСИХОКОД ── */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { border-radius: var(--radius-lg); padding: 36px 34px; }
.vs-col.good {
  border-color: rgba(155, 51, 35, 0.4);
  background: linear-gradient(180deg, rgba(155, 51, 35, 0.1), rgba(255, 255, 255, 0.025));
}
.vs-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.vs-col.good .vs-head { color: var(--sienna); }
.vs-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.vs-item:last-child { border-bottom: none; padding-bottom: 0; }
.vs-item-title { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.vs-item-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.vs-summary { margin-top: 28px; border-radius: var(--radius-lg); padding: 40px 42px; }
.vs-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; margin-bottom: 16px;
}
.vs-summary p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.vs-summary p + p { margin-top: 12px; }
.vs-summary strong { color: var(--ink); font-weight: 600; }
.vs-summary .accent { color: var(--sienna); font-weight: 600; }
.vs-summary ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.vs-summary li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px;
}

/* ── СРАВНЕНИЕ (ТАБЛИЦА) ── */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table th {
  padding: 16px 20px; text-align: left;
  font-size: 14px; font-weight: 600;
  border-bottom: 2px solid var(--border-strong);
}
.compare-table th:first-child { width: 24%; color: var(--muted); }
.compare-table th.col-bad { color: var(--muted); }
.compare-table th.col-good {
  color: var(--sienna); background: rgba(155, 51, 35, 0.04);
  border-radius: 8px 8px 0 0;
}
.compare-table td {
  padding: 14px 20px; font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle; line-height: 1.5;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.col-good { background: rgba(155, 51, 35, 0.03); color: var(--ink); }
.compare-table td.col-bad { color: var(--muted); }
.compare-table .feature-name { font-weight: 500; }
.check { color: var(--green); font-size: 16px; font-weight: 700; }
.cross { color: #ff6b6b; font-size: 16px; }
.compare-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.compare-table tr:hover td.col-good { background: rgba(155, 51, 35, 0.05); }
.compare-note {
  margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, 0.7);
  background: var(--ash); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
}

/* ── ПРИМЕРЫ ОТЧЁТОВ ── */
.samples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sample-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
}
/* Обложка — не скриншот документа, а его титул в миниатюре:
   картинка первой страницы весила бы столько же, сколько сам файл. */
.sample-cover {
  position: relative; padding: 36px 30px 30px;
  border-bottom: 1px solid var(--rule);
  background-color: #1a1a1d;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
/* Под текстом — затемнение, чтобы обложка читалась как обложка, а не как фон */
.sample-cover::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(14, 14, 16, 0.3) 0%, rgba(14, 14, 16, 0.72) 55%, rgba(14, 14, 16, 0.9) 100%);
}
.sample-cover > * { position: relative; }
.samples-grid .sample-card:nth-child(1) .sample-cover {
  background-image: url('/img/art/cover-school.webp');
}
.samples-grid .sample-card:nth-child(2) .sample-cover {
  background-image: url('/img/art/cover-coach.webp');
}
.sample-cover-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); margin-bottom: 12px;
}
.sample-cover-name {
  font-family: 'Playfair Display', serif;
  font-size: 21px; font-weight: 600; line-height: 1.3; min-height: 80px;
}
.sample-cover-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.sample-cover-lines span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.sample-cover-lines span:nth-child(2) { width: 88%; }
.sample-cover-lines span:nth-child(3) { width: 70%; }
.sample-cover-lines span:nth-child(4) { width: 46%; }
.sample-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.sample-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--sienna); margin-bottom: 12px;
}
.sample-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; flex: 1; }
.sample-body .btn-primary { width: 100%; }

/* Просмотрщик PDF */
.ln-pdf-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 28px;
}
.ln-pdf-modal[hidden] { display: none; }
.ln-pdf-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(4px);
}
.ln-pdf-window {
  position: relative; display: flex; flex-direction: column;
  width: min(1100px, 100%); height: min(90vh, 100%);
  background: #16161a; border: 1px solid var(--border-strong);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.ln-pdf-head {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.ln-pdf-title {
  flex: 1; font-size: 15px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ln-pdf-action {
  flex-shrink: 0; padding: 8px 16px; border-radius: 10px;
  border: 1px solid rgba(155, 51, 35, 0.5); color: #ff8573;
  font-size: 14px; text-decoration: none; transition: background-color 0.2s;
}
.ln-pdf-action:hover { background: rgba(155, 51, 35, 0.18); }
.ln-pdf-close {
  flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background-color 0.2s;
}
.ln-pdf-close:hover { background: rgba(255, 255, 255, 0.18); }
.ln-pdf-body { position: relative; flex: 1; background: #1b1c20; }
.ln-pdf-frame { width: 100%; height: 100%; border: 0; display: block; }
.ln-pdf-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.65); font-size: 15px;
}

/* ── ПРОТОКОЛ ПОДКЛЮЧЕНИЯ ── */
.plan-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.plan-steps::before {
  content: ''; position: absolute;
  top: 36px; left: 10%; right: 10%; height: 2px;
  background: var(--ash-dark); z-index: 0;
}
.plan-card { padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.plan-num-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream); border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; transition: all 0.3s;
}
.plan-card:hover .plan-num-wrap { border-color: var(--sienna); background: rgba(255, 255, 255, 0.08); }
.plan-num-val { font-size: 15px; font-weight: 700; color: var(--sienna); line-height: 1.25; }
.plan-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600; margin-bottom: 10px;
}
.plan-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── ТАРИФЫ ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 900px; margin: 72px auto 0; align-items: start;
}
.pricing-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 1120px; }
.price-card {
  border-radius: var(--radius-lg);
  padding: 40px 38px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card.free { border-style: dashed; }
.price-card.popular {
  border-color: var(--sienna); background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(155, 51, 35, 0.18), var(--shadow-card);
}
.popular-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--sienna); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 18px; border-radius: 0 0 10px 10px; white-space: nowrap;
}
.plan-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 700; line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.price-card.free .price-amount { color: var(--green); }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.price-divider { height: 1px; background: var(--border); margin: 22px 0; }
.price-sub-label { font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.85);
}
.price-features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.price-features li strong { color: var(--ink); font-weight: 600; }
/* Списки с иконками — как на сайте: эмодзи вместо галочки */
.price-features--icons li::before { content: none; }
.price-features--icons .pli-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: #ff8573;
  background: rgba(155, 51, 35, 0.1);
  border: 1px solid rgba(155, 51, 35, 0.22);
}
.price-features--icons .pli-icon svg { width: 15px; height: 15px; display: block; }

/* Полный тариф выделяем рамкой, без бейджа */
.price-card.accent { border-color: rgba(155, 51, 35, 0.5); }
.price-card.accent::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 70% at 50% 0%, rgba(155, 51, 35, 0.18), transparent 60%);
}
.price-card.accent > * { position: relative; }
.price-result {
  font-size: 13.5px; color: rgba(255, 255, 255, 0.7); line-height: 1.6;
  padding: 14px 16px; background: rgba(155, 51, 35, 0.07);
  border: 1px solid rgba(155, 51, 35, 0.15); border-radius: 8px;
  margin-bottom: 24px;
}
.price-card .btn-primary, .price-card .btn-outline, .price-card .btn-ghost {
  width: 100%; margin-top: auto;
}
.price-note { text-align: center; margin-top: 32px; font-size: 13px; color: var(--muted); }

/* ── FAQ ── */
.faq-list { max-width: 820px; display: flex; flex-direction: column; counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--rule); counter-increment: faq; }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; justify-content: flex-start; align-items: center;
  padding: 28px 0; text-align: left;
  font-size: 18px; font-weight: 500; color: var(--ink);
  background: none; border: none; cursor: pointer; gap: 16px;
  font-family: 'Inter', sans-serif; transition: color 0.3s var(--ease);
}
.faq-q::before {
  content: counter(faq, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em; margin-right: 18px; flex-shrink: 0;
}
.faq-a { padding-left: 47px; }
.faq-q:hover, .faq-q.open { color: var(--sienna); }
.faq-icon {
  margin-left: auto;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: var(--muted); transition: all 0.3s;
}
.faq-q.open .faq-icon {
  background: var(--sienna); border-color: var(--sienna); color: #fff; transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  font-size: 15px; color: var(--muted); line-height: 1.75;
}
.faq-a.open { max-height: 720px; padding-bottom: 22px; }
.faq-a a { color: var(--sienna); }
.faq-a strong { color: var(--ink); }

/* ── ФИНАЛЬНЫЙ CTA ── */
#final { padding: 110px 0; }
.final-block {
  border-radius: var(--radius-lg); padding: 88px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.final-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(155, 51, 35, 0.16), transparent 70%);
  pointer-events: none;
}
.final-block > * { position: relative; }
.final-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; color: var(--green);
  text-transform: uppercase; margin-bottom: 18px;
}
.final-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 700;
  line-height: 1.2; margin-bottom: 18px;
}
.final-sub {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  max-width: 620px; margin: 0 auto 36px;
}

/* ── ПОДВАЛ ── */
#footer {
  background: #0c0c0e; padding: 72px 0 44px;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.footer-brand img { height: 42px; margin-bottom: 16px; opacity: 0.9; }
.footer-brand p { font-size: 13px; color: rgba(255, 255, 255, 0.45); line-height: 1.6; max-width: 300px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.3); }

/* ── ПОЯВЛЕНИЕ БЛОКОВ ──
   Прячем только если скрипт жив: иначе страница осталась бы пустой. */
html.has-js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.has-js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── АДАПТИВ ── */
@media (max-width: 1024px) {
  .bento-card.b1, .bento-card.b2, .bento-card.b3,
  .bento-card.b4, .bento-card.b5, .bento-card.b6 {
    grid-column: auto; grid-row: auto;
  }
  .bento-split { grid-template-columns: 1fr; gap: 24px; }
  .bento-media img { aspect-ratio: 16 / 9; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .dashboard-wrap { max-width: 620px; }
  .method-layout { grid-template-columns: 1fr; gap: 48px; }
  .method-sticky { position: static; }
  .plan-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .plan-steps::before { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  #hero { padding: 110px 0 72px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .header-actions { display: none; }
  .proof-num { font-size: 26px; }
  .proof-item { padding: 8px 10px; }
  .proof-label { font-size: 12px; }
  .pain-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-card, .apply-card:nth-child(2n) { padding: 26px 0; border-right: none; }
  .roles { grid-template-columns: 1fr; }
  .role, .role:last-child {
    padding: 22px 0; border-right: none; border-bottom: 1px solid var(--rule);
  }
  .faq-q { font-size: 16px; padding: 22px 0; }
  .faq-a { padding-left: 0; }
  .node-grid { grid-template-columns: 1fr; }
  .restrict-grid { grid-template-columns: 1fr; }
  .restrict-wrap, .timeline, .vs-summary { padding: 28px 22px; }
  .result-block { padding: 40px 24px; }
  .stat-block { padding: 32px 22px; }
  .timeline-row { grid-template-columns: 1fr; gap: 18px; }
  .plan-steps { grid-template-columns: 1fr; gap: 32px 0; }
  .pricing-grid, .pricing-grid.three { grid-template-columns: 1fr; max-width: 460px; }
  .samples-grid { grid-template-columns: 1fr; }
  .sample-cover-name { font-size: 19px; min-height: 0; }
  .compare-table th, .compare-table td { padding: 10px 14px; font-size: 13px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn-primary, .cta-row .btn-outline { width: 100%; }
  .result-ctas .btn-primary, .result-ctas .btn-outline { width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .final-block { padding: 48px 24px; }
  .ln-pdf-modal { padding: 0; }
  .ln-pdf-window { border-radius: 0; height: 100%; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item::after { display: none; }
  .hero-h1 { font-size: 27px; }
  .dash-tab { padding: 8px 9px; font-size: 11px; }
  .price-card { padding: 28px 24px; }
}
