/* Локальные шрифты: без обращения браузера к Google Fonts */
@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/Onest-VF.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-VF.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ============================================================================
   evosync.pro — Design System & Stylesheet
   ООО «ХАУНД-СОФТ» · Экосистема продуктов X
   Шрифты: Onest (UI/тексты) + JetBrains Mono (API/данные/коды)
   ============================================================================ */

:root {
  /* Фирменный акцент ООО «ХАУНД-СОФТ» / EvoSync 1С */
  --brand: #3366ff;
  --brand-hover: #224ce0;
  --brand-soft: #eef3ff;
  --brand-mid: #6e95ff;
  --brand-light: #bfd0ff;

  /* Тёмные инженерные секции (Hero, Архитектура, Контакты, Футер) */
  --d-bg: #0b1120;
  --d-bg-deep: #070b14;
  --d-surface: #111827;
  --d-surface-2: #172033;
  --d-border: rgba(255, 255, 255, 0.1);
  --d-border-hi: rgba(255, 255, 255, 0.18);
  --d-text: #f8fafc;
  --d-body: #cbd5e1;
  --d-muted: #94a3b8;

  /* Светлые рабочие секции */
  --l-bg: #f8fafc;
  --l-surface: #ffffff;
  --l-surface-2: #f1f5f9;
  --l-border: #e2e8f0;
  --l-border-hi: #cbd5e1;
  --l-text: #12141a;
  --l-body: #1e293b;
  --l-muted: #475569;

  /* Нативная палитра 1С:Предприятие 8.3 («Такси») */
  --erp-bg: #ffffff;
  --erp-chrome: #f3f4f6;
  --erp-subbar: #f8fafc;
  --erp-yellow: #ffcc00;
  --erp-yellow-hover: #f0be00;
  --erp-yellow-border: #d9ab00;
  --erp-border: #d0d7de;

  /* Семантика (всегда в паре с текстовой подписью) */
  --evotor: #f97316;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --err: #dc2626;
  --err-soft: #fef2f2;

  /* Геометрия и движение */
  --container: 1200px;
  --gutter: clamp(16px, 3.6vw, 40px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-med: 220ms;

  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--l-body);
  background: var(--l-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link (WCAG) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================================
   Ecosystem Top Bar (ООО «ХАУНД-СОФТ»)
   ============================================================================ */
.eco-bar {
  background: var(--d-bg-deep);
  border-bottom: 1px solid var(--d-border);
  color: var(--d-muted);
  font-size: 12px;
  line-height: 1;
}

.eco-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eco-bar__links {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.eco-bar__links::-webkit-scrollbar {
  display: none;
}

.eco-bar__link {
  color: var(--d-muted);
  white-space: nowrap;
  padding-block: 10px;
  transition: color var(--t-fast) var(--ease);
}

.eco-bar__link:hover {
  color: var(--d-text);
}

.eco-bar__link--active {
  color: var(--d-text);
  font-weight: 600;
}

.eco-bar__all {
  color: var(--brand-light);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--t-fast) var(--ease);
}

.eco-bar__all:hover {
  color: #ffffff;
}

/* ============================================================================
   Sticky Header (Strict 3-Zone Top Bar Contract)
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--d-border);
}

.site-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Zone 1: Single-line Brand Wordmark */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--d-text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-link__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Ecosystem X app-launcher — эталон x-portal.pro/x-vault.pro в тёмной шапке */
.brand-cluster {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.eco-launcher {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.eco-launcher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--d-body);
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.eco-launcher-button:hover,
.eco-launcher-button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--d-text);
}

.eco-dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 3px;
  width: 18px;
  height: 18px;
  place-content: center;
}

.eco-dots i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.82;
}

.brand-separator {
  display: block;
  width: 1px;
  height: 20px;
  margin: 0 10px 0 8px;
  background: var(--d-border-hi);
}

.eco-menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--d-border-hi);
  border-radius: 12px;
  background: var(--d-surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  color: var(--d-text);
}

.eco-menu-title {
  padding: 8px 10px 7px;
  color: var(--d-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eco-menu-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.eco-menu-item img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.eco-menu-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.eco-menu-item small {
  display: block;
  margin-top: 2px;
  color: var(--d-muted);
  font-size: 12px;
  line-height: 1.3;
}

a.eco-menu-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.eco-menu-item.is-current {
  background: rgba(51, 102, 255, 0.13);
  cursor: default;
}

.eco-current-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-mid);
}

.eco-menu-hub {
  display: block;
  margin-top: 5px;
  padding: 10px;
  border-top: 1px solid var(--d-border);
  border-radius: 0 0 8px 8px;
  color: var(--d-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.eco-menu-hub:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

/* Zone 2: 5 concise single-line text nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--d-body);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  padding-block: 4px;
  transition: color var(--t-fast) var(--ease);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--brand-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}

.main-nav__link:hover {
  color: #ffffff;
}

.main-nav__link:hover::after {
  transform: scaleX(1);
}

/* Zone 3: 1 Primary CTA + mobile toggle */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--d-border-hi);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--d-text);
}

.mobile-drawer {
  display: none;
  background: var(--d-bg);
  border-bottom: 1px solid var(--d-border);
  padding: 16px var(--gutter) 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-drawer__link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--d-text);
  border-bottom: 1px solid var(--d-border);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--brand-hover);
}

.btn--lg {
  padding: 13px 24px;
  min-height: 48px;
  font-size: 15px;
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--d-border-hi);
  color: var(--d-text);
}

.btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost-light {
  background: var(--l-surface);
  border-color: var(--l-border-hi);
  color: var(--l-text);
}

.btn--ghost-light:hover {
  border-color: var(--l-text);
  background: var(--l-surface-2);
}

.btn--sm {
  padding: 7px 14px;
  min-height: 36px;
  font-size: 13px;
}

/* ============================================================================
   Sections & Editorial Typography
   ============================================================================ */
.section {
  padding-block: clamp(64px, 7.5vw, 104px);
}

.section--white {
  background: var(--l-surface);
  color: var(--l-body);
}

.section--light {
  background: var(--l-bg);
  color: var(--l-body);
  border-top: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
}

.section--dark {
  background: var(--d-bg);
  color: var(--d-body);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.section--dark .section-kicker {
  color: var(--brand-light);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--l-text);
  text-wrap: balance;
}

.section--dark .section-title {
  color: var(--d-text);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--l-muted);
  max-width: 66ch;
}

.section--dark .section-lead {
  color: var(--d-muted);
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero {
  background: var(--d-bg);
  color: var(--d-body);
  padding-block: clamp(48px, 6vw, 84px) clamp(48px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--d-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(51, 102, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 102, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 25%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 25%, #000 10%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-light);
  margin: 0 0 18px;
}

.hero__sep {
  color: rgba(191, 208, 255, 0.4);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.1vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--d-body);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-light);
  padding: 6px 4px;
  transition: color var(--t-fast) var(--ease);
}

.hero__text-link:hover {
  color: #ffffff;
}

/* Signature Houndsoft 3-bar fading motif */
.brand-motif {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 32px;
  max-width: 340px;
}

.brand-motif span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-mid) 55%, transparent 100%);
}

.brand-motif span:nth-child(2) {
  width: 72%;
  opacity: 0.72;
}

.brand-motif span:nth-child(3) {
  width: 44%;
  opacity: 0.46;
}

/* Hero Right Panel: Live Interactive API v2 Architecture Diagram */
.sync-panel {
  background: var(--d-surface);
  border: 1px solid var(--d-border-hi);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.sync-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--d-border);
}

.sync-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--d-text);
}

.sync-panel__proto {
  font-size: 12px;
  color: var(--d-muted);
}

/* Functional mode selector */
.sync-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--d-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--d-border);
}

.sync-mode-btn {
  padding: 8px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--d-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.sync-mode-btn:hover {
  color: var(--d-text);
}

.sync-mode-btn.is-active {
  background: var(--brand);
  color: #ffffff;
}

.sync-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sync-node {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--d-surface-2);
  border: 1px solid var(--d-border);
}

.sync-node__eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--d-muted);
  margin-bottom: 4px;
}

.sync-node__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--d-text);
  margin-bottom: 6px;
}

.sync-node__detail {
  font-size: 12px;
  color: var(--d-muted);
  line-height: 1.45;
}

.sync-node--1c .sync-node__eyebrow {
  color: var(--erp-yellow);
}

.sync-node--evotor .sync-node__eyebrow {
  color: #fb923c;
}

.sync-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-inline: 4px;
}

.sync-bridge__arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-mid);
  line-height: 1;
}

.sync-bridge__label {
  font-size: 11px;
  color: var(--d-muted);
  white-space: nowrap;
}

.sync-payload {
  background: var(--d-bg);
  border: 1px solid var(--d-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.sync-payload__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.sync-payload__endpoint {
  color: var(--brand-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-payload__code {
  color: #34d399;
  font-weight: 500;
  white-space: nowrap;
}

.sync-payload__pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--d-body);
  white-space: pre-wrap;
  word-break: break-word;
}

.sync-panel__foot {
  font-size: 12.5px;
  color: var(--d-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--d-border);
}

/* Full-width 4-column Engineering Facts Strip below Hero split */
.hero-metrics {
  position: relative;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--d-border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.hero-metric__val {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.hero-metric__label {
  font-size: 13.5px;
  color: var(--d-muted);
  line-height: 1.45;
}

/* ============================================================================
   Asymmetric Bento Grid — Retail Verticals
   ============================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.bento-card--wide {
  grid-column: span 7;
}

.bento-card--narrow {
  grid-column: span 5;
}

.bento-card--tint {
  background: var(--l-bg);
}

.bento-card__index {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}

.bento-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--l-text);
}

.bento-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--l-muted);
}

.bento-card__meta {
  padding-top: 14px;
  border-top: 1px solid var(--l-border);
  font-size: 13px;
  color: var(--l-body);
  line-height: 1.5;
}

/* ============================================================================
   Interactive 1C «Taxi» Workspace Showcase
   ============================================================================ */
.erp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--l-surface-2);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.erp-tab {
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--l-muted);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.erp-tab:hover {
  color: var(--l-text);
}

.erp-tab.is-active {
  background: var(--l-surface);
  color: var(--l-text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.erp-window {
  background: var(--erp-bg);
  border: 1px solid var(--erp-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
}

/* Native 1C Taxi Yellow Top Bar */
.erp-titlebar {
  background: var(--erp-yellow);
  border-bottom: 1px solid var(--erp-yellow-border);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.erp-titlebar__sub {
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
}

.erp-chrome {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 410px;
}

.erp-sidebar {
  background: var(--erp-chrome);
  border-right: 1px solid var(--erp-border);
  padding: 14px 12px;
  font-size: 12.5px;
}

.erp-sidebar__head {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--l-muted);
  margin: 0 0 10px 8px;
}

.erp-cmd {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--l-body);
  font-size: 12.5px;
  margin-bottom: 2px;
  transition: background-color var(--t-fast) var(--ease);
}

.erp-cmd:hover {
  background: #e5e7eb;
}

.erp-cmd.is-current {
  background: #ffffff;
  color: var(--l-text);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--erp-border);
}

.erp-workspace {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.erp-panel {
  display: none;
}

.erp-panel.is-active {
  display: block;
}

.erp-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.erp-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--l-text);
}

.erp-panel__hint {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--l-muted);
}

.erp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  min-height: 32px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--erp-border);
  background: var(--erp-chrome);
  color: var(--l-text);
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease);
}

.erp-btn:hover {
  background: #e5e7eb;
}

.erp-btn--yellow {
  background: var(--erp-yellow);
  border-color: var(--erp-yellow-border);
  color: #111827;
}

.erp-btn--yellow:hover {
  background: var(--erp-yellow-hover);
}

.erp-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.erp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--erp-border);
  border-radius: 4px;
}

.erp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.erp-table th,
.erp-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--l-border);
  vertical-align: middle;
}

.erp-table th {
  background: var(--erp-subbar);
  font-weight: 600;
  font-size: 12px;
  color: var(--l-muted);
  white-space: nowrap;
}

.erp-table tbody tr:last-child td {
  border-bottom: 0;
}

.status-text {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-text--ok {
  color: var(--ok);
}

.status-text--warn {
  color: var(--warn);
}

.status-text--err {
  color: var(--err);
}

/* Wizard steps preview inside 1C screen */
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.wizard-step {
  padding: 10px;
  border: 1px solid var(--l-border);
  border-radius: 4px;
  background: var(--erp-subbar);
  font-size: 12px;
}

.wizard-step--done {
  border-color: #a7f3d0;
  background: var(--ok-soft);
}

.wizard-step--active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.wizard-step__num {
  font-weight: 700;
  color: var(--l-text);
  margin-bottom: 2px;
}

.wizard-step__lbl {
  color: var(--l-muted);
  line-height: 1.3;
}

.erp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.erp-field {
  border: 1px solid var(--l-border);
  border-radius: 4px;
  padding: 10px 12px;
  background: #ffffff;
}

.erp-field__label {
  font-size: 11.5px;
  color: var(--l-muted);
  margin-bottom: 3px;
}

.erp-field__val {
  font-size: 13px;
  font-weight: 600;
  color: var(--l-text);
}

/* Telegram & API log split inside tab 6 */
.log-tg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.api-log-box {
  background: var(--d-bg);
  color: var(--d-body);
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  overflow-x: auto;
}

.tg-card {
  border: 1px solid var(--l-border);
  border-radius: 6px;
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.tg-card__sender {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
  font-size: 12.5px;
}

.tg-card__time {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--l-muted);
  text-align: right;
}

/* ============================================================================
   Architecture Grid (Dark Section)
   ============================================================================ */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.arch-card {
  background: var(--d-surface);
  border: 1px solid var(--d-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.arch-card__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 10px;
}

.arch-card__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--d-text);
  line-height: 1.3;
}

.arch-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--d-muted);
}

.arch-card__code {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--d-border);
  font-size: 12.5px;
  color: var(--d-body);
}

/* ============================================================================
   Capabilities 3-Column Structured Lists (Whitespace + Hairline Dividers)
   ============================================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.cap-col {
  padding-top: 18px;
  border-top: 2px solid var(--l-text);
}

.cap-col--accent {
  border-top-color: var(--brand);
}

.cap-col__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--l-text);
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--l-border);
  font-size: 14.5px;
  color: var(--l-body);
  line-height: 1.5;
}

.cap-list li:last-child {
  border-bottom: 0;
}

/* ============================================================================
   Compatibility Filter & Booktabs Tables
   ============================================================================ */
.compat-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.compat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--l-surface-2);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-sm);
}

.filter-btn {
  padding: 7px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--l-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.filter-btn:hover {
  color: var(--l-text);
}

.filter-btn.is-active {
  background: var(--l-surface);
  color: var(--l-text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.compat-search {
  min-width: 260px;
  flex: 0 1 320px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--l-border-hi);
  border-radius: var(--radius-sm);
  background: var(--l-surface);
  font-size: 14px;
  color: var(--l-text);
}

.compat-search::placeholder {
  color: #64748b;
}

.data-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.booktabs {
  width: 100%;
  border-collapse: collapse;
  border-top: 1.5px solid var(--l-text);
  border-bottom: 1.5px solid var(--l-text);
  font-size: 14px;
}

.booktabs th,
.booktabs td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--l-border);
  vertical-align: top;
}

.booktabs th {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--l-text);
  border-bottom: 1px solid var(--l-text);
  white-space: nowrap;
}

.booktabs tbody tr:last-child td {
  border-bottom: 0;
}

.booktabs td strong {
  color: var(--l-text);
}

.col-evosync {
  background: var(--brand-soft);
  color: var(--l-text);
  font-weight: 600;
}

th.col-evosync {
  color: var(--brand-hover);
}

.compat-empty {
  display: none;
  padding: 28px 16px;
  text-align: center;
  color: var(--l-muted);
  font-size: 14.5px;
}

.compat-empty.is-visible {
  display: block;
}

/* ============================================================================
   4-Step Launch Timeline
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.step-item {
  padding-top: 16px;
  border-top: 2px solid var(--l-border-hi);
}

.step-item__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.step-item__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--l-text);
}

.step-item__text {
  margin: 0;
  font-size: 14px;
  color: var(--l-muted);
  line-height: 1.55;
}

/* ============================================================================
   ROI Calculator + Pricing Cards
   ============================================================================ */
.calc-box {
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 18px;
}

.calc-slider-group:last-child {
  margin-bottom: 0;
}

.calc-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 14px;
}

.calc-slider-head label {
  font-weight: 600;
  color: var(--l-text);
}

.calc-slider-val {
  font-weight: 700;
  color: var(--brand);
}

.calc-range {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
}

.calc-result {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.calc-result__kpi {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--l-text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.calc-result__sub {
  font-size: 14px;
  color: var(--l-muted);
  margin: 0 0 12px;
}

.calc-result__note {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--l-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.price-card--featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.price-card__kicker {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}

.price-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--l-text);
}

.price-card__desc {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--l-muted);
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  padding: 8px 0;
  border-top: 1px solid var(--l-border);
  font-size: 14.5px;
  color: var(--l-body);
}

/* ============================================================================
   Downloads & SHA-256 Verification Hub
   ============================================================================ */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dl-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.dl-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--l-text);
}

.dl-card__meta {
  font-size: 13px;
  color: var(--l-muted);
  margin-bottom: 8px;
}

.dl-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--l-body);
}

.hash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  border-radius: 4px;
  font-size: 11.5px;
  color: var(--l-muted);
}

.hash-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================================
   FAQ Accordion
   ============================================================================ */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--l-border);
}

.faq-item {
  border-bottom: 1px solid var(--l-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--l-text);
  line-height: 1.4;
}

.faq-trigger:hover {
  color: var(--brand);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--l-muted);
  transition: transform var(--t-fast) var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq-answer {
  display: none;
  padding: 0 32px 20px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--l-muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ============================================================================
   Contact & Lead Form (Dark Section)
   ============================================================================ */
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  padding-top: 14px;
  border-top: 1px solid var(--d-border);
}

.contact-row__label {
  font-size: 12px;
  color: var(--d-muted);
  margin-bottom: 3px;
}

.contact-row__val {
  font-size: 16px;
  font-weight: 600;
  color: var(--d-text);
}

.contact-row__val a:hover {
  color: var(--brand-light);
}

.lead-form {
  background: var(--d-surface);
  border: 1px solid var(--d-border-hi);
  border-radius: var(--radius-md);
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--d-body);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--d-bg);
  border: 1px solid var(--d-border-hi);
  border-radius: var(--radius-sm);
  color: var(--d-text);
  font-size: 14.5px;
  transition: border-color var(--t-fast) var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-mid);
  outline: none;
}

.form-textarea {
  min-height: 86px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 20px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--d-muted);
  cursor: pointer;
}

.form-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.form-consent a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.form-status.is-ok {
  display: block;
  background: rgba(5, 150, 105, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.form-status.is-err {
  display: block;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ============================================================================
   Ecosystem X Strip & Footer
   ============================================================================ */
.eco-section {
  background: var(--d-bg-deep);
  border-top: 1px solid var(--d-border);
  padding-block: 48px;
  color: var(--d-body);
}

.eco-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.eco-head__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--d-text);
}

.eco-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.eco-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  border: 1px solid var(--d-border);
  transition: border-color var(--t-fast) var(--ease);
}

.eco-card:hover {
  border-color: var(--d-border-hi);
}

.eco-card--current {
  border-color: var(--brand);
}

.eco-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.eco-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--d-text);
}

.eco-card__state {
  font-size: 11px;
  color: var(--brand-light);
  white-space: nowrap;
}

.eco-card__desc {
  font-size: 12.5px;
  color: var(--d-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.eco-card__domain {
  font-size: 11.5px;
  color: var(--brand-light);
}

/* Ecosystem X footer — структура эталона x-portal.pro, тёмная тема x-vault.pro */
.x-eco {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--d-border);
}

.x-eco-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.x-eco-header h2 {
  margin: 0;
  color: var(--d-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.x-eco-header p {
  margin: 4px 0 0;
  color: var(--d-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.x-eco-hub {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--d-body);
  font-size: 12.5px;
  font-weight: 500;
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.x-eco-hub:hover {
  color: #ffffff;
  border-color: currentColor;
}

.x-eco-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.eco-evosync { --eco-accent: #3366ff; }
.eco-xpointer { --eco-accent: #0284c7; }
.eco-xportal { --eco-accent: #4f46e5; }
.eco-xvault { --eco-accent: #0f8667; }
.eco-xlogist { --eco-accent: #ea580c; }

.x-eco-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--d-border);
  border-radius: 8px;
  background: var(--d-surface);
  color: inherit;
  transition:
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

a.x-eco-card:hover {
  border-color: var(--eco-accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.x-eco-card.is-current {
  border-color: color-mix(in srgb, var(--eco-accent) 55%, transparent);
  background: color-mix(in srgb, var(--eco-accent) 10%, var(--d-surface));
}

.x-eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.x-eco-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.x-eco-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(51, 102, 255, 0.16);
  color: var(--brand-light);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.x-eco-arrow {
  color: var(--d-muted);
  font-size: 14px;
  transition:
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

a.x-eco-card:hover .x-eco-arrow {
  color: var(--eco-accent);
  transform: translate(2px, -2px);
}

.x-eco-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--d-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.x-eco-desc {
  display: block;
  flex-grow: 1;
  margin-bottom: 12px;
  color: var(--d-muted);
  font-size: 12px;
  line-height: 1.45;
}

.x-eco-domain {
  display: block;
  margin-top: auto;
  color: #718096;
  font-size: 11.5px;
  line-height: 1.3;
}

.site-footer {
  background: var(--d-bg-deep);
  border-top: 1px solid var(--d-border);
  padding-block: 44px 36px;
  color: var(--d-muted);
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--d-border);
}

.footer-col__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--d-text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--d-text);
}

.footer-req {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--d-muted);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
  color: #64748b;
}

/* Legal document standalone page (privacy.html) */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px var(--gutter) 72px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--l-text);
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--l-text);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--l-border);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--l-body);
}

/* ============================================================================
   Responsive Breakpoints
   ============================================================================ */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-card--wide,
  .bento-card--narrow {
    grid-column: span 6;
  }
  .erp-chrome {
    grid-template-columns: 1fr;
  }
  .erp-sidebar {
    display: none;
  }
  .eco-cards,
  .x-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .eco-bar__links {
    display: none;
  }
  .main-nav,
  .header-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-header__inner {
    height: 58px;
  }
  .bento-card--wide,
  .bento-card--narrow {
    grid-column: span 12;
  }
  .arch-grid,
  .cap-grid,
  .steps-grid,
  .calc-box,
  .pricing-grid,
  .dl-grid,
  .lead-grid,
  .log-tg-grid,
  .erp-form-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sync-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sync-diagram {
    grid-template-columns: 1fr;
  }
  .sync-bridge {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-metrics,
  .eco-cards,
  .x-eco-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .eco-menu {
    left: 0;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
