/* ============ Tokens ============ */
:root {
  --bg: #ffffff;
  --bg-warm: #faf7f2;        /* мягкий бежевый, теплее чем белый */
  --bg-elev: #fafbfc;
  --fg: #1f2328;
  --muted: rgba(31, 35, 40, 0.62);
  --soft: rgba(31, 35, 40, 0.04);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --ink: #1f2328;            /* для контурных рисунков */
  --accent: #3a8dff;
  --accent-soft: rgba(58, 141, 255, 0.10);
  --accent-strong: #2470db;
  --success: #16a34a;
  --success-soft: rgba(22, 163, 74, 0.10);
  --warn: #d97706;
  --warn-soft: rgba(217, 119, 6, 0.10);
  /* Тёплые пастели для иллюстраций */
  --pastel-yellow: #fde9b8;
  --pastel-peach:  #fad5c0;
  --pastel-mint:   #c8ead4;
  --pastel-blue:   #d6e6ff;
  --pastel-cream:  #f4ecdb;

  --shadow-card: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-idle: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 18px rgba(0,0,0,0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1d22;
    --bg-warm: #1f2228;
    --bg-elev: #20242b;
    --fg: #f1f3f5;
    --muted: rgba(241, 243, 245, 0.6);
    --soft: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --ink: #f1f3f5;
    --accent: #5ba3ff;
    --accent-soft: rgba(91, 163, 255, 0.14);
    --accent-strong: #7eb8ff;
    --success: #4ade80;
    --success-soft: rgba(74, 222, 128, 0.14);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.12);
    --pastel-yellow: #4a3f1f;
    --pastel-peach:  #4a2f24;
    --pastel-mint:   #234032;
    --pastel-blue:   #233448;
    --pastel-cream:  #2d281f;
    --shadow-idle: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-hover: 0 6px 18px rgba(0,0,0,0.55);
    --shadow-card: 0 1px 2px rgba(0,0,0,0.3);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 20px; }
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ============ Type ============ */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.display { font-size: 60px; line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
h2.section-title { font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 18px; letter-spacing: 0.01em;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.note { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .display { font-size: 38px; }
  h2.section-title { font-size: 28px; }
  .lede { font-size: 17px; }
}

/* ============ Header ============ */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.012em;
}
.brand-logo {
  width: 38px; height: auto; flex: none; display: block;
  object-fit: contain;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color 150ms; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.user-pill {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-elev);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) {
  .login-link { display: none; }
  .user-pill { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 21px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-idle); }
.btn-primary:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); background: var(--accent-strong); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { color: var(--accent); }
.btn-lg { height: 52px; padding: 0 28px; border-radius: 26px; font-size: 16px; }

/* ============ Hero ============ */
.hero { padding: 56px 0 96px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin-left: auto;
}
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-widget-overlay {
  position: absolute;
  bottom: 8%; left: 6%;
  z-index: 5;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 14px;
  margin-top: 56px;
  overflow: hidden;
  background: var(--bg-elev);
}
.hero-stats > div { padding: 22px 24px; }
.hero-stats > div + div { border-left: 1px solid var(--border); }
.stat-num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat-num.money { color: var(--accent); }
.stat-num .small { font-size: 14px; font-weight: 500; color: var(--muted); }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div + div { border-left: none; border-top: 1px solid var(--border); }
}

/* ============ Widget mock ============ */
.km-button {
  cursor: default;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px; border-radius: 21px;
  font-size: 14px; font-weight: 600;
}
.km-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* Brand accent — фирменный синий для ключевых слов в заголовках */
.brand-accent { color: var(--accent); }

/* ============ Smart sampling (anti-conkurrent) ============ */
.smart-section { padding: 64px 0 32px; }
.smart-card {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  align-items: center;
}
@media (max-width: 920px) { .smart-card { grid-template-columns: 1fr; gap: 24px; padding: 26px; } }
.smart-text .eyebrow { margin-bottom: 12px; }
.smart-text .section-title { margin-bottom: 12px; }
.smart-text .lede { margin: 0 0 12px; }
.smart-foot {
  font-size: 14.5px; font-style: italic; color: var(--muted);
  margin: 0;
}

.smart-vs {
  background: var(--bg-warm);
  border: 1px dashed var(--border-strong, var(--border));
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.vs-row {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 14px; border-radius: 10px;
}
.vs-them { background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.28); }
.vs-us { background: var(--success-soft); border: 1px solid var(--success); }
.vs-label { font-size: 13px; color: var(--muted); }
.vs-them .vs-label { color: #b91c1c; font-weight: 600; }
.vs-us .vs-label { color: var(--success); font-weight: 600; }
.vs-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vs-strike {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700;
  text-decoration: line-through; color: #b91c1c;
  letter-spacing: -0.01em;
}
.vs-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 800;
  color: var(--success);
  letter-spacing: -0.02em;
}
.vs-per { font-size: 12.5px; color: var(--muted); }
.vs-extra {
  text-align: center;
  padding: 12px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
}
.vs-extra-num {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1;
}
.vs-extra-label { font-size: 12.5px; margin-top: 4px; opacity: 0.92; }

@media (prefers-color-scheme: dark) {
  .smart-card { border-color: var(--fg); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); }
  .vs-them { background: rgba(248, 113, 113, 0.10); border-color: rgba(248, 113, 113, 0.35); }
  .vs-them .vs-label, .vs-strike { color: #f87171; }
}

/* ============ Try (no-signup uploader) ============ */
.try-section { padding: 32px 0 64px; }
.try-card {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 36px 36px 30px;
  box-shadow: 0 8px 32px rgba(58, 141, 255, 0.10);
  position: relative;
}
.try-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 6px 12px; border-radius: 100px;
  background: var(--accent-soft);
  margin-bottom: 14px;
}
.try-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 10px;
}
.try-lede {
  color: var(--muted); font-size: 16px; line-height: 1.55;
  max-width: 640px; margin-bottom: 24px;
}
.try-dropzone {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 24px 28px;
  background: var(--bg-warm);
  border: 2px dashed var(--accent);
  border-radius: 14px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.try-dropzone:hover { background: color-mix(in srgb, var(--accent-soft) 50%, var(--bg-warm)); }
.try-dropzone-text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.try-dropzone-text strong { font-size: 17px; font-weight: 700; color: var(--fg); }
.try-dropzone-text span { font-size: 14px; color: var(--muted); }
.try-btn { white-space: nowrap; }
.try-foot {
  margin-top: 16px; font-size: 13px; color: var(--muted);
  display: flex; gap: 18px; flex-wrap: wrap;
}

@media (max-width: 720px) {
  .try-card { padding: 26px 22px 22px; }
  .try-title { font-size: 26px; }
  .try-dropzone { flex-direction: column; align-items: stretch; text-align: center; }
  .try-dropzone-text { align-items: center; }
  .try-btn { width: 100%; }
}

@media (prefers-color-scheme: dark) {
  .try-card { box-shadow: 0 8px 32px rgba(91, 163, 255, 0.18); }
}

/* ============ Lost revenue cases ============ */
.cases-section { background: var(--bg-warm); }
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.case-tag {
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 10px;
}
.case-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.case-body { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.case-loss {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}
.case-loss-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.case-loss-num { font-size: 24px; font-weight: 700; color: var(--accent); margin-top: 4px; letter-spacing: -0.02em; }
.case-result { font-size: 13.5px; color: var(--fg); line-height: 1.55; padding-top: 14px; border-top: 1px dashed var(--border); }
.case-result strong { color: var(--success); }

/* ============ Steps ============ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 28px;
  background: var(--bg);
  position: relative;
  box-shadow: var(--shadow-card);
}
.step-illu {
  height: 140px; margin: -8px -8px 20px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.step-illu svg { width: 100%; height: 100%; }
.step-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ============ Report (короткое письмо) ============ */
.report-letters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 48px;
}
@media (max-width: 860px) { .report-letters { grid-template-columns: 1fr; } }
.letter {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex; flex-direction: column;
}
.letter-meta {
  font-size: 12px; color: var(--muted);
  margin-bottom: 18px;
  display: flex; gap: 12px; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.letter-meta .from { font-weight: 600; color: var(--fg); }
.letter-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-body strong { font-weight: 700; color: var(--fg); }
.letter-body .praise { background: var(--success-soft); color: var(--success); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.letter-body .money { background: var(--accent-soft); color: var(--accent); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.letter-body .warn { background: var(--warn-soft); color: var(--warn); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.letter-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 13px; color: var(--muted);
  display: flex; gap: 8px; align-items: center;
}
.letter-foot a { color: var(--accent); font-weight: 600; }

.report-detail-row {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
@media (max-width: 860px) { .report-detail-row { grid-template-columns: 1fr; gap: 36px; } }
.report-detail-text h3 { font-size: 22px; margin-bottom: 12px; }
.report-detail-text p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 12px; }

.prompt-examples {
  margin: 18px 0;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.prompt-eyebrow {
  font-size: 12px; font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.prompt-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.prompt-list li {
  font-size: 15px; line-height: 1.45; color: var(--fg);
  padding-left: 22px; position: relative;
}
.prompt-list li::before {
  content: '›'; position: absolute; left: 4px; top: 0;
  color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.2;
}
.prompt-foot {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 14.5px;
  font-style: italic;
}

/* ============ PDF mock ============ */
.pdf-mock {
  background: #ffffff;
  color: #1f2328;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform 200ms ease;
}
.pdf-mock:hover { transform: rotate(0) scale(1.01); }
@media (prefers-color-scheme: dark) {
  .pdf-mock { box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
}
.pdf-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pdf-title { font-size: 14px; font-weight: 700; color: #1f2328; }
.pdf-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(31,35,40,0.5); margin-top: 3px; }
.pdf-score { text-align: right; }
.pdf-score-num { font-size: 26px; font-weight: 700; color: #3a8dff; line-height: 1; letter-spacing: -0.02em; }
.pdf-score-label { font-size: 9.5px; color: rgba(31,35,40,0.55); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.pdf-section-title { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #1f2328; margin: 14px 0 8px; }
.pdf-narrative { font-size: 11px; color: #1f2328; line-height: 1.55; }
.pdf-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 11px; }
.pdf-bar-label { width: 130px; font-weight: 500; color: #1f2328; }
.pdf-bar-track { flex: 1; height: 6px; background: rgba(0,0,0,0.06); border-radius: 3px; overflow: hidden; }
.pdf-bar-fill { height: 100%; background: #3a8dff; border-radius: 3px; }
.pdf-bar-fill.low { background: #d97706; }
.pdf-bar-val { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(31,35,40,0.6); width: 28px; text-align: right; }
.pdf-action {
  display: flex; gap: 10px; margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 5px;
}
.pdf-action-rank { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #3a8dff; font-weight: 700; padding-top: 1px; }
.pdf-action-text { font-size: 11px; color: #1f2328; line-height: 1.45; flex: 1; }
.pdf-money-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; background: rgba(58, 141, 255, 0.10); color: #3a8dff;
  border-radius: 10px; font-size: 10px; font-weight: 700; margin-left: 6px;
}

/* ============ Sectors ============ */
.sectors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 48px;
}
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sectors { grid-template-columns: 1fr; } }
.sectors-note {
  margin-top: 24px;
  text-align: center;
  font-size: 14.5px; color: var(--muted);
  font-style: italic;
}
.sector {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 200ms, box-shadow 200ms;
}
.sector:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.sector-illu {
  width: 80px; height: 80px;
  background: var(--pastel-blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.sector:nth-child(2) .sector-illu { background: var(--pastel-peach); }
.sector:nth-child(3) .sector-illu { background: var(--pastel-mint); }
.sector:nth-child(4) .sector-illu { background: var(--pastel-yellow); }
.sector-illu svg { width: 60px; height: 60px; }
.sector-body h3 { margin-bottom: 8px; }
.sector-body p { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.sector-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.sector-checks span {
  font-size: 12px; padding: 4px 10px; border-radius: 100px;
  background: var(--soft); color: var(--fg);
}

/* ============ Testimonials ============ */
.testimonials-section { background: var(--bg-warm); }
.testimonials {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.testimonial.tone-mint { background: color-mix(in srgb, var(--pastel-mint) 50%, var(--bg)); }
.testimonial.tone-peach { background: color-mix(in srgb, var(--pastel-peach) 50%, var(--bg)); }
.testimonial.tone-blue { background: color-mix(in srgb, var(--pastel-blue) 60%, var(--bg)); }
.testimonial.tone-cream { background: color-mix(in srgb, var(--pastel-cream) 60%, var(--bg)); }
@media (prefers-color-scheme: dark) {
  .testimonial.tone-mint, .testimonial.tone-peach, .testimonial.tone-blue, .testimonial.tone-cream {
    background: var(--bg-elev);
  }
}
.testimonial-quote { font-size: 16px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.testimonial-quote::before { content: '«'; color: var(--accent); font-weight: 700; margin-right: 2px; font-size: 22px; vertical-align: -2px; }
.testimonial-quote::after { content: '»'; color: var(--accent); font-weight: 700; margin-left: 2px; font-size: 22px; vertical-align: -2px; }
.testimonial-author {
  display: flex; gap: 14px; align-items: center;
  padding-top: 16px; border-top: 1px dashed rgba(0,0,0,0.12);
}
@media (prefers-color-scheme: dark) { .testimonial-author { border-top-color: rgba(255,255,255,0.10); } }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  flex: none; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
}
.testimonial-avatar svg { width: 30px; height: 30px; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.testimonials-disclaimer {
  margin-top: 28px; font-size: 13px; color: var(--muted); text-align: center;
  font-style: italic;
}

/* ============ Pricing ============ */
.welcome-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--success-soft); color: var(--success);
  padding: 8px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
}
.welcome-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* New 2-column layout: free + paid (with pack-options inside paid) */
.pricing-row {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px;
  margin-top: 32px; align-items: stretch;
}
@media (max-width: 920px) { .pricing-row { grid-template-columns: 1fr; } }
.tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 200ms, box-shadow 200ms;
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tier.featured { border: 2px solid var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-idle); }
.tier.tier-free {
  background: var(--success-soft);
  border: 2px solid var(--success);
  box-shadow: 0 0 0 1px var(--success), var(--shadow-idle);
}
.tier.tier-free .tier-pop {
  background: var(--success); color: #fff;
}
.tier.tier-free .tier-price { color: var(--success); }
.tier.tier-free .btn-primary {
  background: var(--success); border-color: var(--success);
}
.tier.tier-free .btn-primary:hover {
  background: #138a3e; border-color: #138a3e;
}
.tier-pop {
  position: absolute; top: -14px; left: 24px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}
.tier-name { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tier-vol { font-size: 30px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.tier-vol .unit { font-size: 14px; color: var(--muted); font-weight: 500; }
.tier-price { font-size: 22px; font-weight: 700; margin-top: 4px; font-family: 'JetBrains Mono', monospace; }
.tier-price .per { font-size: 12px; color: var(--muted); font-weight: 500; font-family: 'Inter', sans-serif; }
.tier-desc { color: var(--muted); font-size: 14px; margin: 16px 0 24px; line-height: 1.5; flex: 1; }
.tier .btn { width: 100%; }
/* Paid tier: single card with selectable pack options */
.tier.tier-paid {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-idle);
}
.tier-paid-lede {
  color: var(--muted); font-size: 14.5px; line-height: 1.55;
  margin: 14px 0 18px;
}
.pack-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 22px; flex: 1;
}
@media (max-width: 540px) { .pack-options { grid-template-columns: 1fr; } }
.pack-option {
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 150ms, transform 150ms;
}
.pack-option:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.pack-option-popular {
  border: 2px solid var(--accent);
  background: var(--accent-soft);
}
.pack-option-badge {
  position: absolute; top: -10px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pack-option-vol {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--fg);
}
.pack-option-vol .unit {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--muted);
  letter-spacing: 0;
}
.pack-option-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 700; color: var(--accent-strong);
  letter-spacing: -0.01em;
}
.pack-option-price .per {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; font-weight: 500; color: var(--muted);
}
.pack-option-tag {
  font-size: 12px; color: var(--muted); line-height: 1.4;
  margin-top: 2px;
}

/* Two-variant pricing layout */
.pricing-variants {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 32px; align-items: stretch;
}
@media (max-width: 980px) { .pricing-variants { grid-template-columns: 1fr; } }
.variant {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}
.variant.variant-packs { border: 2px solid var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-idle); }
.variant.variant-sub { border: 2px solid var(--success); box-shadow: 0 0 0 1px var(--success), var(--shadow-idle); }
.variant-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 5px 11px; border-radius: 100px;
  margin-bottom: 12px;
}
.variant-packs .variant-tag { background: var(--accent-soft); color: var(--accent-strong); }
.variant-sub .variant-tag { background: var(--success-soft); color: var(--success); }
.variant-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.015em;
  line-height: 1.2; margin-bottom: 8px;
}
.variant-lede {
  color: var(--muted); font-size: 14.5px; line-height: 1.55;
  margin: 0 0 18px;
}
.variant-btn { width: 100%; margin-top: 8px; }

.sub-tiers {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 18px; flex: 1;
}
.sub-tier {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bg-warm);
}
.sub-tier-free { border: 2px solid var(--success); background: var(--success-soft); }
.sub-tier-ambassador { border: 2px solid var(--warn); background: var(--warn-soft); }
.sub-tier-paid { border: 2px solid var(--accent); background: var(--accent-soft); }
.sub-tier-badge {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  display: inline-block; margin-bottom: 6px;
}
.sub-tier-free .sub-tier-badge { color: var(--success); }
.sub-tier-ambassador .sub-tier-badge { color: var(--warn); }
.sub-tier-paid .sub-tier-badge { color: var(--accent-strong); }
.sub-tier-vol {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 19px; font-weight: 800; letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.sub-tier-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.sub-tier-free .sub-tier-price { color: var(--success); }
.sub-tier-ambassador .sub-tier-price { color: var(--warn); }
.sub-tier-paid .sub-tier-price { color: var(--accent-strong); }
.sub-tier-price .per {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; color: var(--muted);
}
.sub-tier-tag { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.sub-perks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
  margin: 4px 0 18px;
  padding: 14px 0; border-top: 1px dashed var(--border);
}
@media (max-width: 540px) { .sub-perks { grid-template-columns: 1fr; } }
.sub-perk { font-size: 13px; color: var(--fg); line-height: 1.4; }

.pricing-foot {
  margin-top: 20px; font-size: 13.5px; color: var(--muted);
  display: flex; gap: 22px; flex-wrap: wrap;
}
.pricing-foot span::before {
  content: '✓ '; color: var(--success); font-weight: 700; margin-right: 2px;
}

/* ============ Integrations ============ */
.integrations-section { background: var(--bg-elev); }
.integrations-flow {
  margin-top: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}
.integrations-flow svg { max-width: 100%; height: auto; }

.integrations-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 48px;
}
@media (max-width: 860px) { .integrations-grid { grid-template-columns: 1fr; } }
.integrations-col h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.integrations-col h3 .badge {
  font-size: 10px; padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
  background: var(--success-soft); color: var(--success);
}
.integrations-col h3 .badge.soon { background: var(--soft); color: var(--muted); }
.integrations-list { display: flex; flex-direction: column; gap: 8px; }
.integration {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 150ms;
}
.integration:hover { border-color: var(--border-strong); }
.integration-logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex: none;
}
.integration-name { font-weight: 600; font-size: 14.5px; }
.integration-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.integration.soon { opacity: 0.7; }

.delivery-channels {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.delivery-channels h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.delivery-channels ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.delivery-channels li { font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.delivery-channels li::before { content: '→'; color: var(--accent); font-weight: 700; }

.compliance-bar {
  margin-top: 28px;
  padding: 16px 22px;
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 14px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.compliance-bar strong { color: var(--accent); }

/* ============ FAQ ============ */
.faq { margin-top: 36px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 17px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 22px; font-weight: 400;
  color: var(--muted);
  transition: transform 200ms;
  width: 24px; text-align: center;
}
details[open] .faq-q::after { content: '−'; }
.faq-a {
  margin-top: 14px; color: var(--muted);
  font-size: 15px; line-height: 1.6;
}
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ Final CTA ============ */
.final-cta-section { padding: 72px 0; }
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-radius: 24px;
  padding: 64px 56px;
  overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  color: #fff;
}
@media (max-width: 760px) {
  .final-cta { grid-template-columns: 1fr; padding: 48px 32px; text-align: center; }
}
.final-cta h2 {
  font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
}
@media (max-width: 720px) { .final-cta h2 { font-size: 26px; } }
.final-cta p { color: rgba(255,255,255,0.86); font-size: 17px; margin-bottom: 28px; max-width: 540px; }
@media (max-width: 760px) { .final-cta p { margin: 0 auto 28px; } }
.final-cta .btn-primary {
  background: #fff; color: var(--accent-strong);
}
.final-cta .btn-primary:hover { background: #fff; color: var(--accent-strong); transform: scale(1.04); }
.final-cta-art {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.final-cta-art svg { width: 100%; max-width: 280px; height: auto; }

/* ============ Footer ============ */
footer.site {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand-col p { color: var(--muted); margin: 14px 0 8px; max-width: 260px; line-height: 1.55; }
.footer-legal { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 8px !important; }
.footer-col h5 { font-size: 13px; font-weight: 600; margin: 0 0 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--fg); transition: color 150ms; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.ru-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 12px;
}

/* ============ Section heads ============ */
.sec-head { max-width: 720px; }
.sec-head .lede { margin-top: 8px; }

/* ============ Tweaks panel chrome (host) ============ */
[data-tweaks-on] .tweaks-only { display: block; }
.tweaks-only { display: none; }
