/* ──────────────────────────────────────────────────────────────
   Бриф (index.html) и бесплатный анализ (free.html).
   Те же токены и типографика, что на сайте: тёмная база,
   терракотовый акцент, Inter / Playfair Display / JetBrains Mono.
   Имена классов прежние — разметка и скрипты не менялись.
   ────────────────────────────────────────────────────────────── */

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

:root {
  --cream: #121214;
  --ink: #ffffff;
  --sienna: #9B3323;
  --sienna-light: #b84030;
  --green: #4ade80;
  --ash: rgba(255, 255, 255, 0.04);
  --muted: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;

  /* Имена из старой темы — на них ссылаются inline-стили в разметке */
  --accent-400: #b84030;
  --accent-500: #9B3323;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --bg-input: rgba(255, 255, 255, 0.03);
}

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;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--sienna); }

#app {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

/* ── ШАГИ ── */
.step { display: none; }
.step.active { display: block; animation: stepIn 0.3s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.logo-section { text-align: center; margin: 12px 0 28px; }


.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 26px 60px -34px rgba(0, 0, 0, 0.95);
}

.step-header { margin-bottom: 28px; }
.step-header h2 {
  font-family: 'Playfair Display', 'Inter', serif;
  letter-spacing: -0.02em;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.step-header p { font-size: 15px; color: var(--muted); }

/* ── ВСТУПИТЕЛЬНЫЙ ЭКРАН ── */
.intro-content { padding: 48px; }
.intro-title {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.intro-subtitle { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.intro-block { margin-bottom: 28px; }
.intro-block h3 {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
.intro-block p { font-size: 15px; color: rgba(255, 255, 255, 0.75); line-height: 1.75; margin-bottom: 12px; }
.intro-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.intro-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}
.intro-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sienna);
  font-weight: 700;
}
.intro-list strong { color: var(--ink); }
.highlight-text { color: var(--sienna); font-weight: 600; }
.small-text { font-size: 13px; color: var(--muted); }

.info-block,
.warning-block,
.secure-block {
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--border);
  background: var(--ash);
}
.info-block { border-left: 3px solid var(--sienna); }
.warning-block { border-left: 3px solid #e2a03f; }
.secure-block { border-left: 3px solid var(--green); }

.intro-action { margin-top: 36px; text-align: center; }
.final-cta { font-size: 16px; color: rgba(255, 255, 255, 0.8); margin-bottom: 18px; }

/* ── КНОПКИ ── */
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  min-height: 52px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  text-decoration: none;
}
.btn:hover:not(:disabled) { border-color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-accent,
.btn-primary {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}
.btn-accent:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  background: var(--sienna-light);
  border-color: var(--sienna-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(155, 51, 35, 0.3);
}
.btn-secondary,
.btn-outline { background: transparent; color: var(--ink); }
.btn-full { width: 100%; }
.btn-group { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.pulse-btn { animation: pulseBtn 2.4s ease-in-out infinite; }
@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(155, 51, 35, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(155, 51, 35, 0); }
}

.shake { animation: shake 0.45s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.pdf-progress-spinner {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ПОЛЯ ── */
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.form-input,
textarea,
select.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
.form-input::placeholder,
textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.form-input:focus,
textarea:focus {
  outline: none;
  border-color: var(--sienna);
  background: rgba(255, 255, 255, 0.05);
}
.form-input.error,
textarea.error { border-color: #e74c3c; background: rgba(231, 76, 60, 0.06); }
select.form-input option { background: #1b1b1f; color: var(--ink); }

.form-error,
.error-message {
  font-size: 13.5px;
  color: #ff8573;
}
.form-error {
  background: rgba(155, 51, 35, 0.12);
  border: 1px solid rgba(155, 51, 35, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
}
.error-message { display: none; }
textarea.error + .error-message { display: block; }

/* ── ЧЕКБОКСЫ ── */
.checkbox-wrapper,
.brief-consent-label,
.brief-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 20px;
}
.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.custom-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  transition: all 0.2s;
}
.checkbox-wrapper input:checked + .custom-checkbox {
  background: var(--sienna);
  border-color: var(--sienna);
}
.checkbox-wrapper input:checked + .custom-checkbox::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.checkbox-label { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.brief-consent-label input[type="checkbox"],
.brief-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sienna);
  margin-top: 2px;
  flex-shrink: 0;
}

.consent-text {
  max-height: 320px;
  overflow-y: auto;
  padding: 24px 26px;
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.consent-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 8px;
}
.consent-text h3:first-child { margin-top: 0; }
.consent-text p { margin-bottom: 8px; }

.legal-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}
.legal-disclaimer a { color: var(--sienna); }

/* ── ПРОГРЕСС БРИФА ── */
.progress-container { margin-bottom: 32px; }
.progress-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-strong);
}
.progress-track {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--sienna);
  transition: width 0.4s ease;
}
.progress-dot {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #17171b;
  border: 2px solid var(--border-strong);
  transition: all 0.3s;
}
.progress-dot.active,
.progress-dot.completed {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.progress-label span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.35);
}
.progress-label span.active { color: var(--sienna); font-weight: 600; }

/* ── ВОПРОСЫ БРИФА ── */
.brief-intro-box {
  background: var(--ash);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sienna);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 20px;
}
.brief-intro-box h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 14px;
}
.brief-intro-box p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.brief-intro-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.brief-intro-box li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.brief-intro-box li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sienna);
  font-weight: 700;
}

.section-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 16px;
}
.question-group { display: flex; flex-direction: column; gap: 10px; }
.question-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.question-number {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(155, 51, 35, 0.15);
  border: 1px solid rgba(155, 51, 35, 0.4);
  color: #ff8573;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.question-hint {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── ОПЛАТА ── */
.payment-card { text-align: center; }
.payment-card .step-header { text-align: left; }
.payment-amount {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.payment-description { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.payment-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 28px;
}
.payment-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.payment-feature .icon { font-size: 18px; flex-shrink: 0; }

.promo-section {
  background: var(--ash) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  padding: 18px !important;
  text-align: left;
}
.promo-section input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 10px !important;
  color: var(--ink) !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.promo-section input::placeholder { color: rgba(255, 255, 255, 0.28); }

/* ── АНАЛИЗ ── */
.analysis-loading { text-align: center; padding: 40px 0; }
.loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--sienna);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}
.loader-ring:nth-child(2) {
  inset: 10px;
  border-top-color: #ff8573;
  animation-duration: 1.9s;
  animation-direction: reverse;
}
.loader-ring:nth-child(3) {
  inset: 20px;
  border-top-color: var(--green);
  animation-duration: 2.4s;
}
.loader-text {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.loader-subtext { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.loader-warning {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

/* ── РЕЗУЛЬТАТ ── */
.result-card { padding: 0; overflow: hidden; }
.result-card-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 70vh;
}
.result-sidebar {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.result-sidebar-logo { display: block; }
.result-sidebar-logo img { height: 38px; width: auto; display: block; }
.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.status-badge.success {
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.result-actions { margin-top: auto; }
.download-group { display: flex; flex-direction: column; gap: 10px; }
.download-group .btn { width: 100%; }

.result-viewer { position: relative; background: #1b1c20; min-height: 70vh; }
.result-pdf-frame { width: 100%; height: 100%; min-height: 70vh; border: 0; display: block; }
.result-pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}
.result-pdf-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
/* На телефоне PDF в рамке листается плохо — показываем карточку-ссылку */
.result-pdf-mobile-card {
  display: none;
  margin: 24px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--ash);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.result-pdf-mobile-icon { font-size: 34px; margin-bottom: 10px; }
.result-pdf-mobile-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.result-pdf-mobile-sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── ВЫБОР БИЗНЕСА ── */
.profile-select-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ash);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.profile-select-card:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.06); }
.profile-select-card.selected { border-color: var(--sienna); background: rgba(155, 51, 35, 0.1); }
.ps-icon { font-size: 22px; }
.ps-name { font-size: 15px; font-weight: 600; }
.ps-niche { font-size: 13px; color: var(--muted); }

/* ── ПОДВАЛ ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0e0e10;
  padding: 44px 0 0;
  margin-top: 56px;
}
.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-link:hover { color: #fff; }
.footer-logo img { height: 42px; width: auto; display: block; opacity: 0.9; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-made-link { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-made-link:hover { color: #fff; }

/* ── ВСПЛЫВАЮЩИЙ ПРОМОКОД ── */
#promo-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(4px);
}
#promo-popup-box {
  position: relative;
  max-width: 420px;
  margin: 10vh auto 0;
  background: #16161a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
#promo-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
#promo-popup-close:hover { color: var(--ink); }
.promo-popup-icon { font-size: 36px; margin-bottom: 10px; }
.promo-popup-title {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.promo-popup-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.promo-popup-discount {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--sienna);
  line-height: 1;
  margin-bottom: 16px;
}
.promo-popup-code-row { display: flex; gap: 10px; margin-bottom: 16px; }
.promo-popup-code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(155, 51, 35, 0.12);
  border: 1px dashed rgba(155, 51, 35, 0.5);
  border-radius: 10px;
  padding: 12px;
}
.promo-popup-copy {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.promo-popup-copy:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.promo-popup-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}
.promo-popup-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--ink);
}
.promo-popup-timer.expired { color: #ff8573; }
.promo-popup-cta {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 10px;
  background: var(--sienna);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}
.promo-popup-cta:hover { background: var(--sienna-light); }

/* ── БЕСПЛАТНЫЙ АНАЛИЗ (free.html) ── */
.free-wrap { max-width: 760px; margin: 0 auto; }
.free-logo { text-align: center; margin: 12px 0 18px; }
.free-logo img { height: 50px; width: auto; }
.free-upsell {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.free-upsell a { color: var(--sienna); font-weight: 600; }
.free-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.success-emoji { font-size: 46px; text-align: center; margin-bottom: 12px; }
.creds {
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.creds .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.creds .row:last-child { border-bottom: none; }
.creds .k { font-size: 13.5px; color: var(--muted); }
.creds .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  color: var(--ink);
  text-align: right;
  word-break: break-all;
}
.tg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  background: var(--sienna);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s;
}
.tg-link:hover { background: var(--sienna-light); }

/* ── АДАПТИВ ── */
@media (max-width: 900px) {
  .result-card-split { grid-template-columns: 1fr; }
  .result-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  #app { padding: 16px 14px 56px; }
  .glass-card { padding: 26px 20px; }
  .intro-content { padding: 28px 20px; }
  .section-card { padding: 20px 18px; }
  .progress-dot { width: 32px; height: 32px; font-size: 12px; }
  .progress-label span { font-size: 10px; }
  .payment-amount { font-size: 42px; }
  .btn-group { flex-direction: column-reverse; }
  .btn-group .btn { width: 100%; }
  .result-pdf-frame { display: none; }
  .result-pdf-loading { display: none; }
  .result-pdf-mobile-card { display: block; }
  .result-viewer { min-height: 0; }
  .footer-container { flex-direction: column; }
}
