/* style.css — Пульс Retail landing, Imredi brand */

/* ====== GENERIC ====== */
.serif-italic, .accent { color: var(--accent); font-weight: 700; font-style: normal; }
.section { padding: var(--sp-9) 0; }
@media (max-width: 720px) { .section { padding: var(--sp-8) 0; } }

.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.eyebrow-dot {
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-head { margin-bottom: var(--sp-8); max-width: 920px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}
.section-title .accent { color: var(--accent); }

.section-sub {
  margin-top: var(--sp-4);
  color: var(--text-dim);
  font-size: var(--text-lg);
  max-width: 720px;
  line-height: 1.55;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 16px 28px;
  border-radius: var(--r-lg);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .15s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
}
.btn-primary .arrow { transition: transform .2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--text);
}

.btn-lg { padding: 20px 36px; font-size: var(--text-lg); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-svg { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 36px;
  line-height: 1;
  font-size: 18px;
  font-weight: 800;
}
.logo-sub {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 3px;
  margin-left: 0;
  display: block;
}
.nav-links {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  margin-left: var(--sp-4);
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  color: var(--text-dim);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ====== HERO ====== */
.hero {
  padding: var(--sp-8) 0 var(--sp-9);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(232, 95, 60, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

/* Hero-scoped eyebrow override (HoReCa style) — НЕ ломает другие секции */
.hero .eyebrow { color: var(--text-dim); font-weight: 500; letter-spacing: 0.12em; }
.hero .eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-5);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: var(--sp-6);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-bottom: var(--sp-8);
}

.hero-proof {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5) var(--sp-6);
  align-items: start;
}
.proof-item { min-width: 0; }
.proof-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 28px);
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.proof-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}
.proof-div { display: none; }

.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3CB371;
  box-shadow: 0 0 0 4px rgba(60, 179, 113, 0.2);
  animation: hb-pulse 2s ease-in-out infinite;
}
@keyframes hb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.badge-delta {
  color: var(--accent);
  font-weight: 600;
  margin-left: 4px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero-media { aspect-ratio: 16 / 10; order: -1; }
  .hero-proof { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .proof-num { font-size: var(--text-xl); }
}

/* ====== STRIP ====== */
.strip {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-6);
}
.strip-block {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.strip-soon { opacity: 0.65; }
.strip-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 700;
}
.strip-logos {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-dim);
  font-weight: 600;
}
.strip-logos span { opacity: 0.85; }

/* ====== PROBLEM ====== */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (max-width: 900px) { .problem-layout { grid-template-columns: 1fr; } }
.problem-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
}
.problem-img img { width: 100%; height: 100%; object-fit: cover; }

.stat-cards {
  display: grid;
  gap: var(--sp-4);
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.stat-card-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card-text {
  margin-top: var(--sp-4);
  color: var(--text-dim);
  line-height: 1.5;
}
.stat-card-src {
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.stat-card-src a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.stat-card-src a:hover { border-bottom-color: var(--accent); }

.pain-list { margin-top: var(--sp-7); display: grid; gap: 0; }
.pain-item {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: start;
}
.pain-item:last-child { border-bottom: 1px solid var(--border); }
.pain-marker {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 6px;
  flex-shrink: 0;
}
.pain-item strong {
  color: var(--text);
  font-weight: 700;
}
.pain-item p {
  color: var(--text-dim);
  line-height: 1.55;
}

/* ====== HOW IT WORKS ====== */
.how-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 960px) { .how-layout { grid-template-columns: 1fr; } }

.steps {
  display: grid;
  gap: var(--sp-4);
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: start;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--accent);
  line-height: 1;
  min-width: 48px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.step-text { color: var(--text-dim); line-height: 1.55; font-size: var(--text-base); }

.how-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 3/4;
}
.how-img img { width: 100%; height: 100%; object-fit: cover; }

/* ====== VALUE ====== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 720px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.value-icon svg { width: 24px; height: 24px; }
.value-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.value-text { color: var(--text-dim); line-height: 1.55; }

/* ====== COMPARE (унифицировано с HoReCa) ====== */
.compare-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  align-items: center;
}
.compare-row:first-child { border-top: 0; }
.compare-head {
  background: var(--surface-2);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.compare-head .col-own { color: var(--accent); }
.row-label { color: var(--text); font-weight: 500; }
.compare-row > div:not(.row-label):not(.col-own) { color: var(--text-dim); }
.col-own {
  color: var(--text);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-left: -12px;
}
.compare-head .col-own { padding-left: 12px; }
.compare-note {
  margin-top: var(--sp-5);
  color: var(--text-dim);
  font-size: var(--text-sm);
  text-align: center;
}
.compare-note strong { color: var(--text); }

@media (max-width: 820px) {
  .compare-row {
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: var(--sp-3);
    padding: var(--sp-4);
    align-items: start;
  }
  .compare-head { display: none; }
  .compare-row > div:not(.row-label)::before {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
  }
  .row-label {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--text);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-2);
  }
  .col-own {
    padding-left: 10px;
    border-left: 3px solid var(--accent);
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
  .compare-row > div:not(.row-label) {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: var(--sp-3);
    padding: 6px 0;
    align-items: baseline;
  }
  .compare-row > div:not(.row-label)::before {
    margin-bottom: 0;
    font-size: 11px;
    text-align: left;
  }
  .col-own {
    border-left: 0;
    padding: 10px 12px;
    background: var(--accent-soft);
    border-radius: 6px;
    margin-top: 6px;
    margin-left: 0;
  }
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 820px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: 4px 0;
  transition: color .2s var(--ease);
  line-height: 1.3;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 28px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item p {
  padding-top: var(--sp-4);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 720px;
  font-size: var(--text-base);
}

/* ====== CTA / DEMO FORM ====== */
.cta {
  background: var(--bg-alt);
  border-radius: var(--r-2xl);
  padding: clamp(32px, 5vw, 64px);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-list {
  margin-top: var(--sp-6);
  display: grid;
  gap: var(--sp-3);
}
.cta-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  color: var(--text-dim);
  line-height: 1.5;
}
.cta-list-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}

.form {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.01em;
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.field input, .field select {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--text);
  font-size: var(--text-base);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.field input::placeholder { color: var(--text-muted); }
.form .btn { width: 100%; margin-top: var(--sp-3); }
.form-note {
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-success {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--accent-soft);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: var(--text-sm);
  text-align: center;
  display: none;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ====== EARLY ACCESS ====== */
.early {
  margin-top: var(--sp-8);
  padding: var(--sp-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
}
@media (max-width: 720px) { .early { grid-template-columns: 1fr; } }
.early-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text);
  letter-spacing: -0.01em;
}
.early-text { color: var(--text-dim); margin-top: 4px; font-size: var(--text-sm); }
.early-form {
  display: flex;
  gap: var(--sp-2);
}
.early-form input {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--text);
  min-width: 220px;
}
.early-form input:focus { outline: none; border-color: var(--accent); }
.early-form .btn { padding: 12px 20px; font-size: var(--text-sm); }

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-7) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-5);
  align-items: center;
}
.footer a { color: var(--text-dim); transition: color .15s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  padding-top: var(--sp-2);
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}
.footer-legal a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  padding-top: var(--sp-2);
}

/* ============================================================
   PAIN-ITEM ACCENT (last pain, benchmark hook)
   ============================================================ */
.pain-item-accent {
  background: var(--accent-soft);
  padding: var(--sp-5) var(--sp-5);
  border-radius: var(--r-md);
  border-top: 1px solid transparent !important;
  margin-top: var(--sp-4);
}
.pain-item-accent + .pain-item,
.pain-list .pain-item-accent {
  border-top: 1px solid transparent;
}
.pain-item-accent .pain-marker { background: var(--accent); }
[data-theme="dark"] .pain-item-accent {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* ============================================================
   BENCHMARK SECTION
   ============================================================ */
.benchmark-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
  margin-top: var(--sp-5);
}

.benchmark-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-6);
}
.benchmark-store-name {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text);
  letter-spacing: -0.01em;
}
.benchmark-store-sub {
  margin-top: 4px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.benchmark-legend {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}
.bm-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.bm-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.bm-dot-you { background: var(--accent); }
.bm-dot-avg { background: var(--text-muted); }
.bm-dot-top {
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--success) 55%, transparent);
}

.benchmark-metrics {
  display: grid;
  gap: var(--sp-6);
}

.bm-metric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.bm-metric-title {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text);
  letter-spacing: -0.01em;
}
.bm-metric-unit {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* The bar: 38px tall to fit markers w/ labels above */
.bm-bar {
  position: relative;
  height: 58px;
  padding-top: 26px; /* space for value labels sitting above markers */
  margin-bottom: var(--sp-5);
}
.bm-scale {
  position: absolute;
  left: 0; right: 0;
  top: 34px;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-3);
}
.bm-top-range {
  position: absolute;
  top: 34px;
  height: 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--success) 35%, transparent);
}
.bm-marker {
  position: absolute;
  top: 30px;
  width: 14px; height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border-strong);
  transition: left .18s var(--ease);
  will-change: left;
}
.bm-top-range { transition: left .18s var(--ease), width .18s var(--ease); }
.bm-marker-you {
  background: var(--accent);
  width: 18px; height: 18px;
  top: 28px;
  box-shadow: 0 0 0 1px var(--accent), 0 4px 10px color-mix(in srgb, var(--accent) 35%, transparent);
}
.bm-marker-avg {
  background: var(--text-dim);
}
.bm-marker-val {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.bm-marker-you .bm-marker-val { color: var(--accent); }

.bm-axis {
  position: absolute;
  left: 0; right: 0;
  top: 48px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  padding-top: 10px;
}

.bm-verdict {
  font-size: var(--text-sm);
  line-height: 1.5;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text-dim);
  border-left: 3px solid var(--border-strong);
}
.bm-verdict-bad {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: var(--text);
}
[data-theme="dark"] .bm-verdict-bad {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.bm-verdict-good {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  border-left-color: var(--success);
  color: var(--text);
}
.bm-verdict-neutral {
  background: var(--surface-2);
  border-left-color: var(--border-strong);
  color: var(--text-dim);
}
.bm-verdict strong { font-weight: 700; color: var(--text); }

/* ============================================================
   Interactive sliders (per-metric + revenue)
   ============================================================ */
/* Slider overlaid on the bar itself: thumb sits exactly on the scale line */
.bm-metric { position: relative; }
.bm-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  /* position the slider track to overlap the bm-scale line exactly */
  position: absolute;
  left: 0; right: 0;
  top: 34px; /* matches .bm-scale top in .bm-bar */
  transform: translateY(-7px);
  z-index: 3;
}
.bm-slider:focus { outline: none; }
.bm-slider::-webkit-slider-runnable-track {
  height: 20px;
  background: transparent;
  border-radius: 0;
}
.bm-slider::-moz-range-track {
  height: 20px;
  background: transparent;
  border-radius: 0;
}
.bm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;  /* we already render the you-marker; thumb acts as hit-target */
  border: none;
  cursor: grab;
}
.bm-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.bm-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: grab;
}
.bm-slider:focus-visible + .bm-verdict,
.bm-slider:hover ~ .bm-bar .bm-marker-you,
.bm-bar + .bm-slider:focus-visible {
  /* no-op placeholders, kept so browsers don't complain about unknown selectors */
}
/* Hover/focus feedback on the you-marker while dragging slider */
.bm-metric:hover .bm-marker-you,
.bm-metric:focus-within .bm-marker-you {
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent), 0 6px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.bm-marker-you { cursor: grab; }

/* Revenue input strip */
.benchmark-revenue {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
  background: var(--surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.benchmark-revenue > label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.bm-revenue-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-4);
  align-items: center;
}
.bm-revenue-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  cursor: pointer;
}
.bm-revenue-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.bm-revenue-control input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.bm-revenue-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.bm-summary-neutral { color: var(--success) !important; font-size: var(--text-xl) !important; }

@media (max-width: 640px) {
  .benchmark-revenue { grid-template-columns: 1fr; gap: var(--sp-3); }
}

.benchmark-foot {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.benchmark-summary-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.benchmark-summary-text {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.benchmark-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--border);
}
.bm-summary-brk-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  grid-template-areas:
    "dot label  value"
    ".   module module";
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.bm-summary-brk-row.is-loss {
  background: rgba(188, 10, 41, 0.04);
  border-color: rgba(188, 10, 41, 0.20);
}
.bm-summary-brk-dot {
  grid-area: dot;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  align-self: center;
}
.bm-summary-brk-row.is-loss .bm-summary-brk-dot { background: var(--accent); }
.bm-summary-brk-row.is-ok .bm-summary-brk-dot   { background: #22a06b; }
.bm-summary-brk-label {
  grid-area: label;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #111);
  line-height: 1.3;
}
.bm-summary-brk-value {
  grid-area: value;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.bm-summary-brk-row.is-loss .bm-summary-brk-value { color: var(--accent); }
.bm-summary-brk-module {
  grid-area: module;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.bm-summary-brk-module strong {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.bm-summary-brk-row.is-loss .bm-summary-brk-module strong { color: var(--accent); }
@media (max-width: 720px) {
  .bm-summary-brk-row { padding: 10px; }
  .bm-summary-brk-label { font-size: 13.5px; }
  .bm-summary-brk-value { font-size: 14px; }
}
.benchmark-sources {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}
.benchmark-sources a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.benchmark-sources a:hover { border-bottom-color: var(--accent); }

/* Mobile */
@media (max-width: 720px) {
  .benchmark-card { padding: var(--sp-5); }
  .benchmark-head { flex-direction: column; align-items: stretch; gap: var(--sp-4); }
  .benchmark-legend { gap: var(--sp-3); }
  .benchmark-foot {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .bm-bar { height: 62px; padding-top: 28px; }
  .bm-marker-val { font-size: var(--text-xs); }
  .bm-axis { font-size: 10px; }
  .pain-item-accent { padding: var(--sp-4); }
}

/* ============================================================
   PAIN CTA — мини-призыв после списка болей
   ============================================================ */
.pain-cta {
  margin-top: var(--sp-6);
  padding: var(--sp-6) var(--sp-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--sp-6);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pain-cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.pain-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pain-cta-sub {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.pain-cta-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 820px) {
  .pain-cta {
    grid-template-columns: 1fr;
    padding: var(--sp-5);
    gap: var(--sp-4);
  }
  .pain-cta-title { font-size: var(--text-lg); }
  .pain-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   BENCHMARK CTA + REPORT MODAL
   ============================================================ */
.benchmark-cta-wrap {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--border);
}
.benchmark-cta-wrap .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: var(--text-base);
  font-weight: 700;
}
.benchmark-cta-wrap .btn-arrow {
  width: 18px; height: 18px;
  transition: transform .2s var(--ease);
}
.benchmark-cta-wrap .btn-primary:hover .btn-arrow { transform: translateX(3px); }
.benchmark-cta-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Modal shell */
.bm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--sp-6) var(--sp-4);
  overflow-y: auto;
}
.bm-modal.is-open { display: flex; animation: bmFadeIn .22s var(--ease); }
.bm-modal-backdrop {
  position: fixed; inset: 0;
  background: color-mix(in srgb, #0b0b0c 55%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.bm-modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--sp-6) var(--sp-6);
  box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.08);
  animation: bmSlideUp .26s var(--ease);
}
@keyframes bmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bmSlideUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bm-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.bm-modal-close:hover { color: var(--accent); border-color: var(--accent); }
.bm-modal-close svg { width: 16px; height: 16px; }

.bm-modal-head { margin-bottom: var(--sp-5); }
.bm-modal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.bm-modal-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--text);
}
.bm-modal-title .accent { color: var(--accent); }
.bm-modal-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Breakdown rows */
.bm-report-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.bm-brk-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.bm-brk-row + .bm-brk-row { border-top: 1px dashed var(--border); padding-top: 12px; }
.bm-brk-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.bm-brk-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.bm-brk-label {
  font-size: var(--text-sm);
  color: var(--text);
  font-weight: 600;
}
.bm-brk-gap {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}
.bm-brk-value {
  font-size: var(--text-base);
  font-weight: 700;
  font-family: var(--font-num, inherit);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
}
.bm-brk-value.is-good { color: var(--success, #1B8A4F); }
.bm-brk-value.is-neutral { color: var(--text-muted); }

/* Recommendation card */
.bm-report-reco { margin-bottom: var(--sp-5); }
.bm-reco-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.bm-reco-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: var(--sp-4);
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  box-shadow: inset 3px 0 0 var(--accent);
}
.bm-reco-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.bm-reco-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.bm-reco-title {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.bm-reco-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}
.bm-reco-effect {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Form */
.bm-report-form { }
.bm-form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.bm-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.bm-form-row input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: var(--text-base);
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.bm-form-row input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.bm-form-row input[type="email"].is-invalid {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.bm-form-row .btn-primary { padding: 12px 20px; font-weight: 700; }
.bm-form-note {
  margin-top: 10px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Success state */
.bm-report-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.bm-success-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success, #1B8A4F) 14%, transparent);
  color: var(--success, #1B8A4F);
  display: inline-flex; align-items: center; justify-content: center;
}
.bm-success-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.bm-success-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text);
}
.bm-success-title span { color: var(--accent); }
.bm-success-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.bm-success-actions {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-2);
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 640px) {
  .bm-modal { padding: var(--sp-3) var(--sp-3); }
  .bm-modal-panel { padding: var(--sp-5) var(--sp-4); border-radius: 14px; }
  .bm-modal-title { font-size: var(--text-xl); }
  .bm-form-row { grid-template-columns: 1fr; }
  .bm-form-row .btn-primary { width: 100%; justify-content: center; }
  .bm-brk-row { grid-template-columns: 24px 1fr auto; gap: 10px; }
  .bm-brk-label { font-size: var(--text-xs); }
  .bm-brk-value { font-size: var(--text-sm); }
  .bm-reco-card { grid-template-columns: 40px 1fr; gap: 12px; padding: var(--sp-3); }
  .bm-reco-icon { width: 40px; height: 40px; }
  .bm-success-actions { width: 100%; }
  .bm-success-actions .btn { flex: 1; justify-content: center; }
}

/* Body lock when modal is open */
body.bm-modal-open { overflow: hidden; }
.bm-report-form[hidden], .bm-report-success[hidden] { display: none !important; }


/* ============================================================
   SPRINT 1-3 ADDITIONS (Retail landing audit)
   ============================================================ */

/* STRIP — две группы */
.strip-inner { flex-direction: column; gap: 18px; align-items: stretch; }
.strip-block { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.strip-block .strip-label { white-space: nowrap; }
.strip-block.strip-soon .strip-logos span { opacity: 0.55; font-style: normal; }
.strip-block.strip-soon .strip-label { color: var(--muted); }

/* BENCHMARK segment selectors */
.bm-segment {
  margin: 18px 0 22px;
  padding: 18px 22px;
  background: var(--surface-2, #f7f7f9);
  border: 1px solid var(--border, #ececef);
  border-radius: 14px;
}
.bm-seg-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.bm-seg-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bm-seg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.bm-seg-field span {
  font-weight: 600;
  color: var(--muted);
}
.bm-seg-field select {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--border, #ececef);
  background: var(--surface, #fff);
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.bm-seg-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 760px) {
  .bm-seg-controls { grid-template-columns: repeat(2, 1fr); }
}

/* BENCHMARK privacy block */
.bm-privacy {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--border, #ececef);
  border-radius: 18px;
  background: var(--surface, #fff);
}
.bm-privacy-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.bm-privacy-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.bm-privacy-icon { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.bm-privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bm-privacy-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bm-privacy-title { font-weight: 700; font-size: 14px; color: var(--accent); }
.bm-privacy-text { margin: 0; font-size: var(--text-md); color: var(--text-dim); line-height: 1.55; }
.bm-privacy-text strong { color: var(--text); font-weight: 700; }
@media (max-width: 880px) { .bm-privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .bm-privacy-grid { grid-template-columns: 1fr; } }

/* ===== AI MODULES (унифицировано с HoReCa) ===== */
.section.modules { background: var(--bg-alt); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.module-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-icon svg { width: 24px; height: 24px; }
.module-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.module-target {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
}
.module-card > p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.module-price {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.module-price .num { font-weight: 700; }
.modules-note {
  margin-top: 24px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.modules-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* PRICING grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border, #ececef);
  border-radius: 20px;
  background: var(--surface, #fff);
}
.pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 16px 40px -20px rgba(188, 10, 41, 0.35);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 28px;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pricing-tier { font-size: 15px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.pricing-price .num { font-size: 44px; }
.pricing-per { font-size: 14px; font-weight: 500; color: var(--muted); }
.pricing-target { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pricing-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.5;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(188, 10, 41, 0.12);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-cta { margin-top: auto; align-self: stretch; text-align: center; justify-content: center; }
.pricing-note {
  margin-top: 24px;
  padding: 16px 22px;
  background: var(--surface, #fff);
  border: 1px dashed var(--border, #ececef);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 920px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
}

/* GUARANTEE */
.guarantee-card {
  padding: 44px 48px;
  background: linear-gradient(135deg, rgba(188, 10, 41, 0.04), rgba(188, 10, 41, 0.10));
  border: 1px solid rgba(188, 10, 41, 0.22);
  border-radius: 22px;
  text-align: center;
}
.guarantee-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}
.guarantee-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.guarantee-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.guarantee-item {
  padding: 22px 18px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ececef);
  border-radius: 14px;
}
.guarantee-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.guarantee-text { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.guarantee-foot {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.55;
}
.guarantee-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .guarantee-card { padding: 32px 22px; }
  .guarantee-title { font-size: 26px; }
  .guarantee-list { grid-template-columns: 1fr; }
}

/* ====== GUARANTEE: МЕХАНИКА ВОЗВРАТА ====== */
.guarantee-mechanics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 18px;
  text-align: left;
}
.guarantee-mech-item {
  position: relative;
  padding: 22px 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ececef);
  border-radius: 14px;
}
.guarantee-mech-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.guarantee-mech-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.guarantee-mech-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.guarantee-mech-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(188, 10, 41, 0.3);
}
.guarantee-mech-text a:hover { border-bottom-color: var(--accent); }
.guarantee-fineprint {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
  background: rgba(0, 0, 0, 0.025);
  border-radius: 10px;
}
@media (max-width: 720px) {
  .guarantee-mechanics { grid-template-columns: 1fr; }
}

/* ====== TEAM / FOUNDERS ====== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 28px;
}
.team-stat {
  padding: 28px 24px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ececef);
  border-radius: 16px;
  text-align: left;
}
.team-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.team-stat-label {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.team-clients {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ececef);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 22px;
}
.team-clients-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}
.team-clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-client-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(188, 10, 41, 0.06);
  border: 1px solid rgba(188, 10, 41, 0.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #111);
  white-space: nowrap;
}
.team-client-chip.team-client-more {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-weight: 500;
}
.team-promise {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(188, 10, 41, 0.04), rgba(188, 10, 41, 0.08));
  border: 1px solid rgba(188, 10, 41, 0.18);
  border-radius: 16px;
}
.team-promise-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.team-promise-icon svg { width: 28px; height: 28px; }
.team-promise-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text, #111);
}
.team-promise-text strong { display: block; margin-bottom: 4px; font-size: 16px; }
@media (max-width: 920px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .team-stat { padding: 22px 20px; }
  .team-stat-val { font-size: 24px; }
  .team-promise { flex-direction: column; gap: 12px; padding: 20px; }
}

/* ====== ROADMAP (унифицировано с HoReCa) ====== */
.section.roadmap { background: var(--bg); }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.roadmap-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
}
.roadmap-quarter {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roadmap-list li {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  position: static;
}
.roadmap-list li::before { display: none; }
.rm-status {
  display: inline-block;
  width: fit-content;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.rm-done { background: rgba(34, 161, 88, 0.12); color: #1F8449; }
.rm-now { background: var(--accent-soft); color: var(--accent); }
.rm-plan { background: var(--surface-3, var(--bg-alt)); color: var(--text-muted); }
.roadmap-note {
  margin-top: 22px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.roadmap-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}
[data-theme="dark"] .rm-done { background: rgba(34, 197, 94, 0.18); color: #4ADE80; }

/* COMPARE 4 columns */
.compare-table-4 .compare-row {
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr;
}
@media (max-width: 980px) {
  .compare-table-4 .compare-row {
    grid-template-columns: 1fr;
    border-bottom: none;
  }
  .compare-table-4 .compare-head { display: none; }
  .compare-table-4 .compare-row > div { padding: 8px 0; }
  .compare-table-4 .compare-row .row-label {
    font-weight: 700;
    color: var(--accent);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 6px;
  }
  .compare-table-4 .compare-row > div:nth-child(2)::before { content: '1С / МойСклад: '; color: var(--text-dim); font-weight: 600; }
  .compare-table-4 .compare-row > div:nth-child(3)::before { content: 'BI: Datawiz, Маяк, PIX: '; color: var(--text-dim); font-weight: 600; }
  .compare-table-4 .compare-row > div:nth-child(4)::before { content: 'AI-сервисы: '; color: var(--text-dim); font-weight: 600; }
  .compare-table-4 .compare-row > div.col-own::before { content: 'Imredi · Пульс: '; color: var(--accent); font-weight: 700; }
}

/* VALUE 5th card accent */
.value-card-accent {
  background: linear-gradient(180deg, var(--surface, #fff), rgba(188, 10, 41, 0.05));
  border-color: rgba(188, 10, 41, 0.25);
}

/* CONSENT CHECKBOX */
.field-consent { margin: 6px 0 4px; }
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}
.consent-label input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label span { flex: 1; }

/* SKOLKOVO BADGE */
.skolkovo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.skolkovo-badge img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ============== WHO IT FITS ============== */
.fits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.fits-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fits-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.fits-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.fits-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text);
}
.fits-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}
@media (max-width: 980px) { .fits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fits-grid { grid-template-columns: 1fr; } }

/* ============== INTEGRATIONS ============== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.integration-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
  color: inherit;
}
.integration-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.integration-logo {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #FFB800, #FF8A00);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: var(--sp-4);
}
.integration-logo--1c { background: linear-gradient(135deg, #E60012, #B00010); font-size: 18px; }
.integration-logo--ms { background: linear-gradient(135deg, #1976FF, #0F4FB3); font-size: 18px; }
.integration-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text);
}
.integration-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: var(--sp-4);
}
.integration-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
}
.integrations-note {
  margin-top: var(--sp-6);
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}
.integrations-note a { color: var(--accent); }
@media (max-width: 880px) { .integrations-grid { grid-template-columns: 1fr; } }

/* ============== FOOTER BRAND GROUP ============== */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-text { height: 32px; font-size: 17px; }
.footer-brand .logo-sub { font-size: 11px; margin-top: 2px; }
.footer-brand .skolkovo-badge img {
  height: 32px;
  display: block;
}

/* ============== BLOG ============== */
.blog-hero { padding: var(--sp-6) 0 var(--sp-4); }
.blog-hero .section-head { margin-bottom: var(--sp-3); }
.blog-hero .breadcrumbs { margin-bottom: var(--sp-3); }
.blog-hero .eyebrow { margin-bottom: var(--sp-2); }
.blog-hero .section-title { margin-bottom: var(--sp-3); font-size: clamp(28px, 4vw, 40px); }
.blog-hero .section-sub { font-size: 16px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 32px -16px color-mix(in oklab, var(--accent) 40%, transparent); }
.blog-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: var(--surface-2, var(--bg));
}
@media (max-width: 720px) {
  .blog-card-img { aspect-ratio: 16 / 9; }
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex; flex-direction: column; flex: 1;
}
.blog-card .blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}
.blog-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 var(--sp-4);
}
.blog-card .blog-read { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; margin-top: auto; }

/* Blog search */
.blog-search-wrap {
  position: relative;
  margin-bottom: var(--sp-4);
  max-width: 560px;
}
.blog-search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.blog-search {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 44px 12px 44px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.blog-search::placeholder { color: var(--text-muted); }
.blog-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
.blog-search::-webkit-search-cancel-button { display: none; }
.blog-search-clear {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--border);
  color: var(--text);
  border: none;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.blog-search-clear:hover { background: var(--accent); color: #fff; }
.blog-search-clear[hidden] { display: none; }
.blog-empty {
  padding: var(--sp-6);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-muted);
  margin-top: var(--sp-4);
}

/* Blog category filters */
.blog-filters {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.blog-filter {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.blog-filter:hover { color: var(--text); border-color: var(--accent); }
.blog-filter.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Article hero cover */
.post-cover {
  margin: var(--sp-6) 0 var(--sp-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-cover img { width: 100%; height: auto; display: block; aspect-ratio: 21/9; object-fit: cover; }

/* Post category chip */
.post-category {
  margin-bottom: var(--sp-3);
}
.post-category a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  transition: background .2s var(--ease);
}
.post-category a:hover { background: color-mix(in oklab, var(--accent) 22%, transparent); }

/* Post byline (author + date) */
.post-byline {
  display: flex; align-items: center; gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-3);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-author { display: flex; align-items: center; gap: var(--sp-3); }
.post-author-avatar {
  width: 44px; height: 44px;
  color: var(--accent);
  flex-shrink: 0;
}
.post-author-avatar svg { width: 100%; height: 100%; display: block; }
.post-author-name { font-weight: 600; font-size: 15px; color: var(--text); }
.post-author-sub { font-size: 13px; color: var(--text-muted); }

/* Article (post) */
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--sp-8) 0 var(--sp-9);
}
.post-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  display: flex; gap: var(--sp-4); flex-wrap: wrap;
}
.post h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.post .post-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: var(--sp-7);
}
.post h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: var(--sp-7) 0 var(--sp-4);
}
.post h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  margin: var(--sp-5) 0 var(--sp-3);
}
.post p, .post ul, .post ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.post ul, .post ol { padding-left: var(--sp-5); }
.post li { margin-bottom: var(--sp-2); }
.post a:not(.btn):not(.blog-card) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post a:not(.btn):not(.blog-card):hover { text-decoration: none; }
.post a.btn-primary { color: var(--accent-ink); }
.post a.blog-card, .post a.blog-card:hover, .post a.blog-card * { text-decoration: none; }
.post strong { font-weight: 700; }
.post blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0;
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-dim);
}
.post table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-5) 0;
  font-size: 15px;
}
.post th, .post td {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3);
  text-align: left;
}
.post th { font-weight: 700; background: var(--surface); }

/* TOC (table of contents) */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.toc-title { font-weight: 700; margin-bottom: var(--sp-3); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.toc ol { padding-left: 20px; margin: 0; font-size: 15px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* Article CTA box */
.post-cta {
  margin: var(--sp-7) 0;
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in oklab, var(--accent) 8%, var(--surface)) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.post-cta h3 {
  margin: 0 0 var(--sp-3);
  font-size: 22px;
}
.post-cta p { margin-bottom: var(--sp-4); }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Related posts */
.related {
  margin-top: var(--sp-9);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--border);
}
.related h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: var(--sp-5);
}

/* ============== PROCUREMENT ============== */
.procurement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.procurement-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.procurement-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.procurement-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-3);
}
.procurement-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  line-height: 1.25;
}
.procurement-card > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 var(--sp-4);
}
.procurement-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
}
.procurement-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.procurement-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.procurement-effect {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.procurement-cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-7);
}
@media (max-width: 760px) {
  .procurement-grid { grid-template-columns: 1fr; }
}

/* ============== CASES ============== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.case-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.case-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px color-mix(in oklab, var(--accent) 40%, transparent);
}
.case-head {
  padding: var(--sp-5) var(--sp-5) var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.case-tag {
  display: inline-block;
  padding: 4px 10px;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
}
.case-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.case-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.case-body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-stat {
  margin-bottom: var(--sp-4);
}
.case-stat-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
}
.case-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.case-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
  flex: 1;
}
.case-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.case-bullets li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.case-bullets strong {
  color: var(--text);
  font-weight: 700;
}
.case-foot {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: auto;
}
.cases-disclaimer {
  margin-top: var(--sp-6);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.cases-disclaimer a { color: var(--accent); }
@media (max-width: 1000px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cases-grid { grid-template-columns: 1fr; }
}
