/* ============================================================
   premium.css — overrides for editorial/premium feel.
   Loaded LAST so it wins specificity over styles.css and module-page.css.
   Brand DNA preserved: green bubble, section colors, purple CTA, badge.
   ============================================================ */

/* ---------- 1. Typography + warm palette ---------- */
:root {
  /* Display + body — Inter (back per user preference) */
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Mono — for editorial micro-details (version, metrics) */
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Light-gray background — synced with Figma mobile mockups */
  --bg:       #F3F4F6;
  --bg-elev:  #FFFFFF;
  --bg-muted: #E6E8EC;

  /* Brand colour-block surfaces (from mobile mockups) */
  --surface-lavender: #D288E4;
  --surface-mint:     #79F395;

  /* Editorial ink — uses your own brand-dark-green for body text */
  --ink:        #0D3947;
  --ink-muted:  #5B6573;
  --ink-subtle: #8A93A1;

  /* Slightly desaturated green for large fills (bubble), brand stays same */
  --brand-green-soft: #8AEFA0;
}

html, body { background: var(--bg); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11", "cv05";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headline — editorial weight, tighter tracking, display font */
.mpage-hero__headline,
.global-stage .mpage-hero__headline {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  font-size: clamp(26px, 2.9vw, 42px);
  max-width: 620px;
}

/* Pretitle — clean Inter, no caps, no mono */
.global-stage .mpage-hero__pretitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-subtle);
  margin-bottom: 18px;
}

/* Body / sub */
.global-stage .agg-slide__details .mpage-hero__sub,
.global-stage .agg-slide__details .feature-block__bullets li {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
}

/* ---------- 2. Selection, focus, scrollbar ---------- */
::selection {
  background: var(--brand-green);
  color: var(--brand-dark-green);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scrollbar-width: thin; scrollbar-color: rgba(13,57,71,0.25) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(13,57,71,0.25); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(13,57,71,0.45); }

/* ---------- 3. Bubble — breathing + softer green tone ---------- */
.agg-slide__bubble {
  background-color: var(--brand-green-soft);
  will-change: transform, opacity;
}
@media (min-width: 769px) {
  .agg-slide__bubble.is-visible {
    animation: bubbleBreathe 9s ease-in-out infinite;
  }
  @keyframes bubbleBreathe {
    0%, 100% { transform: translateY(-50%) scaleX(-1) scale(1); }
    50%      { transform: translateY(-50%) scaleX(-1) scale(1.018); }
  }
}

/* Section-color override for bubble (CRM=blue, etc.) — colors stay as in JS */
.agg-slide__bubble[data-slide="2"] { background-color: var(--brand-green-soft); }

/* ---------- 4. CTA polish — hover lift + glow + arrow translate ---------- */
.mpage-btn.mpage-btn--purple,
.mpage-btn--primary.mpage-btn--purple {
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition:
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
    background 200ms ease;
  box-shadow: 0 1px 0 rgba(13,57,71,0.04);
}
.mpage-btn.mpage-btn--purple:hover,
.mpage-btn--primary.mpage-btn--purple:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 32px -8px rgba(90, 39, 118, 0.45),
    0 2px 0 rgba(13,57,71,0.06);
  background: var(--brand-purple);
}
.mpage-btn.mpage-btn--purple:active,
.mpage-btn--primary.mpage-btn--purple:active {
  transform: translateY(0);
  transition-duration: 80ms;
}
.mpage-btn.mpage-btn--purple .mpage-btn__arrow,
.mpage-btn--primary.mpage-btn--purple .mpage-btn__arrow {
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mpage-btn.mpage-btn--purple:hover .mpage-btn__arrow,
.mpage-btn--primary.mpage-btn--purple:hover .mpage-btn__arrow {
  transform: translateX(3px);
}

/* ---------- 5. Dots → vertical progress-line with section color ---------- */
.agg-dots {
  right: 32px;
  gap: 0;
  padding: 8px 0;
  /* Thin guide line behind dots */
}
.agg-dots::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(13,57,71,0.12);
  transform: translateX(-50%);
}
.agg-dot {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 0;
  transform: none !important;
  transition: none;
}
.agg-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(13,57,71,0.28);
  transition:
    width 280ms cubic-bezier(0.16, 1, 0.3, 1),
    height 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background 280ms ease;
}
.agg-dot:hover::after { background: rgba(13,57,71,0.6); }
.agg-dot.is-active::after {
  width: 10px;
  height: 10px;
  background: var(--section-current, var(--brand-purple));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--section-current, var(--brand-purple)) 18%, transparent);
}

/* Module label that appears on dot hover (editorial) */
.agg-dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.agg-dot:hover::before,
.agg-dot.is-active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- 6. Supertitle dyhanie ---------- */
.global-stage .badge__dots {
  animation: badgeRotate 1.4s linear infinite paused;
}
/* JS already triggers rotation on slide change; we just ensure smooth fps */
.mpage-hero__badge { will-change: transform; }

/* ---------- 7. Layout breathing ---------- */
.global-stage .agg-stage__layout { padding-top: 4vh; }

/* Reading-width sub text */
.global-stage .agg-slide__details .mpage-hero__sub {
  max-width: 56ch;
}

/* ---------- 8. Editorial hero detail (slot under CTA, slide 0 only) ---------- */
.hero-editorial {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
}
.hero-editorial__line {
  width: 32px;
  height: 1px;
  background: rgba(13,57,71,0.25);
}
.hero-editorial__star {
  color: var(--brand-yellow, #F4C201);
  font-size: 16px;
  line-height: 1;
}
.hero-editorial__star--purple { color: var(--brand-purple, #5A2776); }
.hero-editorial__count {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

/* Year mark in top-right corner of stage */
.stage-versionmark {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-subtle);
  z-index: 5;
  pointer-events: none;
}
.stage-versionmark::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .stage-versionmark { display: none; }
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 10. Slide 0 — only show editorial detail on slide 0 ---------- */
.agg-slide__text:not(.is-visible) .hero-editorial { opacity: 0; }

/* ============================================================
   INSIGHTS SECTION  (e.g. CRM page — «Всё как на ладони»)
   ============================================================ */
.crm-insights {
  background: var(--bg);
  padding: clamp(72px, 9vw, 140px) 6vw clamp(72px, 9vw, 140px);
}
.crm-insights__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.crm-insights__head {
  max-width: 720px;
  margin: 0 0 clamp(40px, 4vw, 64px);
}
.crm-insights__title {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 48px);
}
.crm-insights__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--ink);
}
.insights-ink {
  position: absolute;
  left: -10%;
  top: -28%;
  width: 120%;
  height: 156%;
  pointer-events: none;
  transform: rotate(-1deg);
  overflow: visible;
  z-index: -1;
}
.crm-insights__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* Bento grid: 12-col on desktop, 1-col on mobile */
.crm-insights__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.insight-card { grid-column: span 3; }
.insight-card--full { grid-column: span 12; }
.insight-card--half { grid-column: span 6; }
.insight-card--third { grid-column: span 4; }
.insight-card--quarter { grid-column: span 3; }
@media (max-width: 1100px) {
  .insight-card,
  .insight-card--quarter,
  .insight-card--third { grid-column: span 6; }
}

@media (max-width: 900px) {
  .insight-card,
  .insight-card--wide,
  .insight-card--narrow,
  .insight-card--full { grid-column: span 12; }
  .crm-insights__grid { gap: 14px; }
}

.insight-card {
  --card-bg: #FFFFFF;
  --card-ink: #0D3947;
  --card-muted: rgba(13, 57, 71, 0.55);
  --card-border: rgba(13, 57, 71, 0.08);
  --card-grid: rgba(13, 57, 71, 0.10);
  --card-chart-a: #79F395;
  --card-chart-b: #5A2776;
  --card-delta-bg: rgba(121, 243, 149, 0.22);
  --card-leaf: #79F395;

  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--card-ink);
  border-radius: 24px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.insight-card > * {
  position: relative;
  z-index: 1;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 40px -22px rgba(13, 57, 71, 0.20),
    0 2px 6px -2px rgba(13, 57, 71, 0.06);
}

/* Leaf decoration removed per spec */
.insight-card__leaf { display: none; }

/* Color-block variants (brand identity card pairings) */
.insight-card--mint {
  --card-bg: #79F395;
  --card-ink: #0D3947;
  --card-muted: rgba(13, 57, 71, 0.65);
  --card-border: transparent;
  --card-grid: rgba(13, 57, 71, 0.20);
  --card-chart-a: #0D3947;
  --card-chart-b: #5A2776;
  --card-delta-bg: rgba(13, 57, 71, 0.14);
  --card-leaf: #5A2776;
}
.insight-card--lavender {
  --card-bg: #D288E4;
  --card-ink: #5A2776;
  --card-muted: rgba(90, 39, 118, 0.72);
  --card-border: transparent;
  --card-grid: rgba(90, 39, 118, 0.20);
  --card-chart-a: #5A2776;
  --card-chart-b: #79F395;
  --card-delta-bg: rgba(90, 39, 118, 0.16);
  --card-leaf: #79F395;
}
.insight-card--yellow {
  --card-bg: #F4C201;
  --card-ink: #3E3100;
  --card-muted: rgba(62, 49, 0, 0.72);
  --card-border: transparent;
  --card-grid: rgba(62, 49, 0, 0.20);
  --card-chart-a: #3FBAE2;
  --card-chart-b: #79F395;
  --card-delta-bg: rgba(62, 49, 0, 0.16);
  --card-leaf: #0D3947;
}
.insight-card--blue {
  --card-bg: #3FBAE2;
  --card-ink: #0D3947;
  --card-muted: rgba(13, 57, 71, 0.72);
  --card-border: transparent;
  --card-grid: rgba(13, 57, 71, 0.20);
  --card-chart-a: #0D3947;
  --card-chart-b: #F4C201;
  --card-delta-bg: rgba(13, 57, 71, 0.16);
  --card-leaf: #F4C201;
}
.insight-card--dark {
  --card-bg: #0D3947;
  --card-ink: #FFFFFF;
  --card-muted: rgba(255, 255, 255, 0.72);
  --card-border: transparent;
  --card-grid: rgba(255, 255, 255, 0.16);
  --card-chart-a: #79F395;
  --card-chart-b: #F4C201;
  --card-delta-bg: rgba(121, 243, 149, 0.22);
  --card-leaf: #F4C201;
}
.insight-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.insight-card__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--card-muted);
  letter-spacing: -0.005em;
}
.insight-card__delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: var(--card-delta-bg);
  color: var(--card-ink);
}
.insight-card__delta::before {
  content: "↗";
  font-size: 9px;
  font-weight: 700;
}
.insight-card__delta--down::before { content: "↘"; }
.insight-card__value {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--card-ink);
  line-height: 1.1;
  margin-bottom: 10px;
}
.insight-card__chart {
  margin-top: auto;
  width: 100%;
}
.insight-card__chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.insight-card__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--card-muted);
}
.insight-card__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insight-card__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

/* Scroll-reveal animation — IntersectionObserver adds .is-visible.
   Default state: hidden, slightly offset. Staggered via nth-child delay. */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.crm-insights__grid > [data-reveal]:nth-child(1) { transition-delay: 60ms; }
.crm-insights__grid > [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.crm-insights__grid > [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.crm-insights__grid > [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.crm-insights__grid > [data-reveal]:nth-child(5) { transition-delay: 300ms; }

/* Animate chart paths drawing on reveal */
.insight-card__chart path[data-line] {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1200ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}
[data-reveal].is-visible .insight-card__chart path[data-line] {
  stroke-dashoffset: 0;
}
.insight-card__chart rect[data-bar] {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.insight-card__chart rect[data-bar-h] {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible .insight-card__chart rect[data-bar] { transform: scaleY(1); }
[data-reveal].is-visible .insight-card__chart rect[data-bar-h] { transform: scaleX(1); }
.insight-card__chart [data-bar]:nth-child(2) { transition-delay: 240ms; }
.insight-card__chart [data-bar]:nth-child(3) { transition-delay: 300ms; }
.insight-card__chart [data-bar]:nth-child(4) { transition-delay: 360ms; }
.insight-card__chart [data-bar]:nth-child(5) { transition-delay: 420ms; }
.insight-card__chart [data-bar]:nth-child(6) { transition-delay: 480ms; }
.insight-card__chart [data-bar-h]:nth-child(2) { transition-delay: 240ms; }
.insight-card__chart [data-bar-h]:nth-child(3) { transition-delay: 300ms; }
.insight-card__chart [data-bar-h]:nth-child(4) { transition-delay: 360ms; }
.insight-card__chart [data-bar-h]:nth-child(5) { transition-delay: 420ms; }

/* ============================================================
   AI-CALL-CONTROL SECTION  (CRM page — section 3)
   Light page bg + dark-teal bars container on the left
   ============================================================ */
.crm-ai {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(72px, 9vw, 140px) 6vw;
  overflow: hidden;
}
.crm-ai__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .crm-ai__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Left column — dark-teal container wrapping the bars */
.crm-ai__bars {
  background: #0D3947;
  border-radius: 24px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px 22px;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 240ms ease,
    border-color 240ms ease;
}
.ai-bar:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(121, 243, 149, 0.35);
}
.ai-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.ai-bar__label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.005em;
}
.ai-bar__value {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #79F395;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ai-bar__track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  overflow: hidden;
}
.ai-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  background: #79F395;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}
[data-reveal].is-visible .ai-bar__fill {
  transform: scaleX(1);
}
.crm-ai__bars > [data-reveal]:nth-child(1) .ai-bar__fill { transition-delay: 100ms; }
.crm-ai__bars > [data-reveal]:nth-child(2) .ai-bar__fill { transition-delay: 200ms; }
.crm-ai__bars > [data-reveal]:nth-child(3) .ai-bar__fill { transition-delay: 300ms; }
.crm-ai__bars > [data-reveal]:nth-child(4) .ai-bar__fill { transition-delay: 400ms; }
.crm-ai__bars > [data-reveal]:nth-child(5) .ai-bar__fill { transition-delay: 500ms; }

/* Right column — copy on light section bg (same as other sections) */
.crm-ai__copy { max-width: 540px; }
.crm-ai__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.crm-ai__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-muted);
  opacity: 0.5;
}
.crm-ai__title {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
}
.crm-ai__title em {
  font-style: normal;
  color: var(--ink);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
/* Hand-drawn marker oval with crossing ends — vertical teardrop with
   upward starter flick (cite from brand creative «про вас») */
.ai-ink {
  position: absolute;
  left: -7%;
  top: -22%;
  width: 114%;
  height: 144%;
  pointer-events: none;
  transform: rotate(-1.5deg);
  overflow: visible;
  z-index: -1;
}
.crm-ai__desc {
  margin: 0 0 32px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--ink-muted);
}
.crm-ai__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.crm-ai__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.crm-ai__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1F7A3A;
  box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.18);
}
.crm-ai__list strong {
  font-weight: 600;
  color: var(--ink);
}


/* ============================================================
   MODULE PAGE — hero bubble color override per module
   ============================================================ */
body[data-page="aggregator"] { --module-color: #79F395; --module-dark: #1F7A3A; }
body[data-page="safety"]     { --module-color: #F4C201; --module-dark: #3E3100; }
body[data-page="insurance"]  { --module-color: #5A2776; --module-dark: #350572; }
body[data-page="academy"]    { --module-color: #D288E4; --module-dark: #5A2776; }
body[data-page="club"]       { --module-color: #FF7B3D; --module-dark: #5C2F18; }
body[data-page="crm"]        { --module-color: #3FBAE2; --module-dark: #2B5B6A; }
body[data-page^="aggregator"] .agg-slide__bubble,
body[data-page^="safety"] .agg-slide__bubble,
body[data-page^="insurance"] .agg-slide__bubble,
body[data-page^="academy"] .agg-slide__bubble,
body[data-page^="club"] .agg-slide__bubble,
body[data-page^="crm"] .agg-slide__bubble {
  background-color: var(--module-color);
}

/* Single-hero module pages: force 100vh, override the 200vh scroll-carousel
   rule that body[data-page="aggregator"] .agg-stage inherits from index.html. */
body[data-page="aggregator"] .agg-stage.module-hero,
body[data-page="safety"]     .agg-stage.module-hero,
body[data-page="insurance"]  .agg-stage.module-hero,
body[data-page="academy"]    .agg-stage.module-hero,
body[data-page="club"]       .agg-stage.module-hero {
  height: 100vh;
}
.module-hero .agg-stage__pin { position: relative; }

/* Mock KPI cards in module heroes: replace pale mint --section-current
   with the dark counterpart so delta text reads on white mock surface. */
.module-hero .crm-mock__kpi-card-delta {
  color: var(--module-dark, var(--ink-muted)) !important;
  font-weight: 600;
}

/* List-style mock — clean booking/feed/alert rows.
   Used in module-page heros (aggregator, safety, insurance, academy, club). */
.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-list__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(13, 57, 71, 0.04);
  border-radius: 12px;
}
.mock-list__primary {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.mock-list__meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.mock-list__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--module-color, #79F395);
  color: var(--module-dark, #0D3947);
  white-space: nowrap;
}
.mock-list__tag--neutral {
  background: rgba(13, 57, 71, 0.08);
  color: var(--ink-muted);
}
.mock-list__tag--success {
  background: rgba(31, 122, 58, 0.14);
  color: #1F7A3A;
}
.mock-list__tag--warn {
  background: rgba(244, 194, 1, 0.20);
  color: #3E3100;
}

/* Generic "mock card" for module pages — same look as aggregator mock */
.module-mock {
  background: var(--module-color, #79F395);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  color: #0D3947;
  position: relative;
  overflow: hidden;
}
.module-mock--lavender { color: #5A2776; }
.module-mock--purple { color: #FFFFFF; background: #5A2776; }
.module-mock--purple .module-mock__eyebrow { color: rgba(255,255,255,0.7); }
.module-mock--purple .module-mock__big { color: #FFFFFF; }
.module-mock--purple .module-mock__sub { color: rgba(255,255,255,0.75); }
.module-mock--purple .module-mock__row { color: #FFFFFF; border-color: rgba(255,255,255,0.2); }
.module-mock__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 57, 71, 0.65);
  margin: 0 0 10px;
}
.module-mock__big {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
}
.module-mock__sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 18px);
  margin: 0 0 24px;
  opacity: 0.78;
}
.module-mock__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(13, 57, 71, 0.18);
}
.module-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
}
.module-mock__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(13, 57, 71, 0.85);
  color: var(--module-color, #79F395);
}

/* Ecosystem cards — links to other modules */
.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) {
  .ecosystem__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .ecosystem__grid { grid-template-columns: repeat(2, 1fr); }
}
.eco-card {
  background: var(--eco, #79F395);
  color: var(--eco-ink, #0D3947);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 20px 20px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms;
  position: relative;
  overflow: hidden;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--eco, #79F395) 70%, transparent);
}
.eco-card--ink-light { --eco-ink: #FFFFFF; }

.eco-card__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--eco-ink, #0D3947) 14%, transparent);
  color: var(--eco-ink, #0D3947);
  margin-bottom: 4px;
}
.eco-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.eco-card__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--eco-ink, #0D3947);
  letter-spacing: -0.015em;
  margin: 0;
}
.eco-card__desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--eco-ink, #0D3947) 78%, transparent);
  margin: 0;
}

/* Legacy support — keep old dot in case any page still uses it */
.eco-card__dot {
  display: none;
}

/* Problem/Solution duo cards (used in aggregator, insurance, etc.) */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.duo-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 20px;
  padding: 24px 24px 22px;
}
.duo-card--bad { background: rgba(255, 123, 61, 0.08); border-color: rgba(255, 123, 61, 0.2); }
.duo-card__title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.duo-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.duo-card__list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.duo-card__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-subtle);
}
.duo-card--bad .duo-card__list li::before { color: #FF7B3D; content: "×"; font-weight: 700; }

/* Metric strip — big numbers */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 clamp(40px, 4vw, 64px);
}
@media (max-width: 700px) { .metric-strip { grid-template-columns: 1fr; } }
.metric-strip__item {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 18px;
  padding: 22px 24px;
}
.metric-strip__num {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.metric-strip__label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Compare grid — было/стало, менеджер/автоматизация */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 clamp(40px, 4vw, 64px);
}
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  border-radius: 20px;
  padding: 28px 28px 32px;
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  position: relative;
}
.compare-col--before {
  background: rgba(13, 57, 71, 0.04);
}
.compare-col--after {
  background: linear-gradient(160deg, rgba(121, 243, 149, 0.18), rgba(63, 186, 226, 0.10));
  border-color: rgba(121, 243, 149, 0.45);
}
.compare-col__title {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.compare-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-col__list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.compare-col--before .compare-col__list li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: -3px;
  color: var(--ink-subtle);
  font-size: 22px;
}
.compare-col--after .compare-col__list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 1px;
  color: #2A9D5A;
  font-weight: 700;
  font-size: 13px;
}
.compare-col__total {
  margin-top: 14px !important;
  padding-top: 14px !important;
  padding-left: 0 !important;
  border-top: 1px solid rgba(13, 57, 71, 0.12);
  font-weight: 700;
  font-size: 15px !important;
  color: var(--ink) !important;
}
.compare-col__total::before { display: none !important; }

/* ============================================================
   GENERIC SECTION SCAFFOLD (used by sections 4–13)
   ============================================================ */
.sec {
  background: var(--bg);
  padding: clamp(72px, 9vw, 140px) 6vw;
}
.sec--alt { background: var(--bg-elev, #FFFFFF); }

/* Tinted section using current module color (used on module pages
   to break the monochrome rhythm — same trick the CRM page uses). */
.sec--tint {
  background: color-mix(in srgb, var(--section-current, #79F395) 10%, #FFFFFF 90%);
}
.sec--tint-deep {
  background: color-mix(in srgb, var(--section-current, #79F395) 18%, #FFFFFF 82%);
}
.sec--ink {
  background: #0D3947;
  color: #FFFFFF;
}
.sec--ink .sec__title { color: #FFFFFF; }
.sec--ink .sec__desc { color: rgba(255,255,255,0.78); }

/* See solid/accent feature card definitions at the end of file
   (placed after .feature-card to win the cascade). */
.sec__inner { max-width: 1280px; margin: 0 auto; }
.sec__head { max-width: 720px; margin: 0 0 clamp(40px, 4vw, 64px); }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__title {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 48px);
}
.sec__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--ink);
}
.sec__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* ============================================================
   SECTION 4 — AGGREGATOR (Получайте больше клиентов)
   ============================================================ */
.aggregator__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .aggregator__inner { grid-template-columns: 1fr; gap: 32px; }
}
.aggregator__copy { max-width: 540px; }
.aggregator__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aggregator__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.aggregator__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1F7A3A;
  box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.18);
}
.aggregator__cta { font-weight: 600; color: var(--ink); }
.aggregator__mock {
  background: #79F395;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  color: #0D3947;
  position: relative;
  overflow: hidden;
}
.aggregator__mock-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 57, 71, 0.65);
  margin: 0 0 10px;
}
.aggregator__mock-big {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0D3947;
  margin: 0 0 6px;
}
.aggregator__mock-sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 18px);
  color: rgba(13, 57, 71, 0.75);
  margin: 0 0 28px;
}
.aggregator__mock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(13, 57, 71, 0.18);
}
.aggregator__mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #0D3947;
}
.aggregator__mock-row b { font-weight: 600; }
.aggregator__mock-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #0D3947;
  color: #79F395;
}

/* ============================================================
   SECTION 5 — INTEGRATIONS (30+ готовых)
   ============================================================ */
.integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .integrations__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .integrations__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.integration-card {
  --acc: #79F395;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(13, 57, 71, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 130px;
  position: relative;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms;
}
.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(13, 57, 71, 0.20);
}
.integration-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent);
}
.integration-card__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--acc) 18%, transparent);
  color: color-mix(in srgb, var(--acc) 100%, #0D3947 35%);
  margin-bottom: 4px;
}
.integration-card__icon svg { width: 20px; height: 20px; display: block; }
.integration-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.integration-card__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ============================================================
   SECTION 6 — FEATURES (Все что нужно)
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 20px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(13, 57, 71, 0.18);
}
.feature-card__num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-subtle);
}
.feature-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.feature-card__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ============================================================
   SECTION 7 — COMPARISON (FleetX vs competitors)
   ============================================================ */
.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px -12px rgba(13, 57, 71, 0.12);
}
.comparison__table th,
.comparison__table td {
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(13, 57, 71, 0.06);
}
.comparison__table thead th {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-muted);
  background: rgba(13, 57, 71, 0.03);
}
.comparison__table th.is-us,
.comparison__table td.is-us {
  background: rgba(121, 243, 149, 0.14);
  color: #0D3947;
  font-weight: 600;
}
.comparison__table thead th.is-us { background: #0D3947; color: #79F395; }
.comparison__table tbody td { color: var(--ink); }
.comparison__table tbody td.no { color: var(--ink-subtle); }
.comparison__table tr:last-child td { border-bottom: 0; }
.comparison__cat {
  font-weight: 600;
  color: var(--ink);
  background: rgba(13, 57, 71, 0.02);
}
.comparison__check { color: #1F7A3A; font-weight: 700; }
.comparison__cross { color: rgba(13, 57, 71, 0.35); }
@media (max-width: 800px) {
  .comparison__wrap { overflow-x: auto; }
  .comparison__table th, .comparison__table td { white-space: nowrap; padding: 12px 14px; font-size: 13px; }
}

/* ============================================================
   SECTION 8 — PRICING (Сколько стоит)
   ============================================================ */
.pricing__card {
  background: #F4C201;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 800px) {
  .pricing__card { grid-template-columns: 1fr; }
}
.pricing__eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(62, 49, 0, 0.7);
  margin: 0 0 12px;
}
.pricing__title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #3E3100;
}
.pricing__amount {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #3E3100;
  line-height: 1;
}
.pricing__amount sub {
  display: block;
  vertical-align: baseline;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(62, 49, 0, 0.65);
  margin-top: 12px;
  margin-left: 0;
}
.pricing__promo {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(62, 49, 0, 0.12);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #3E3100;
}
.pricing__note {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(62, 49, 0, 0.78);
  max-width: 38ch;
}
.pricing__cta-wrap { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ============================================================
   SECTION 9 — IMPLEMENTATION (Интеграция — не ваша забота)
   ============================================================ */
.implementation { background: #0D3947; color: #FFFFFF; }
.implementation .sec__title { color: #FFFFFF; }
.implementation .sec__desc { color: rgba(255, 255, 255, 0.72); }
.implementation__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 700px) { .implementation__list { grid-template-columns: 1fr; } }
.implementation__list li {
  position: relative;
  padding: 18px 20px 18px 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.implementation__list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #79F395;
  color: #0D3947;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.implementation__deadline {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #79F395;
  color: #0D3947;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   SECTION 10 — ACADEMY (Развивайте бизнес с Академией)
   ============================================================ */
.academy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .academy__grid { grid-template-columns: 1fr; } }
.academy-card {
  border-radius: 24px;
  padding: clamp(28px, 3vw, 40px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.academy-card--lavender { background: #D288E4; color: #5A2776; }
.academy-card--blue { background: #3FBAE2; color: #0D3947; }
.academy-card--yellow { background: #F4C201; color: #3E3100; }
.academy-card__num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 24px;
}
.academy-card__title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.academy-card__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.85;
}

/* ============================================================
   SECTION 11 — COMMUNITY (Это не CRM, это сообщество)
   ============================================================ */
.community__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .community__inner { grid-template-columns: 1fr; } }
.community__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 32px;
}
@media (max-width: 600px) { .community__stats { grid-template-columns: 1fr; } }
.community__stat {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 16px;
  padding: 20px;
}
.community__stat-num {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.community__stat-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}
.community__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.community__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.community__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5A2776;
  box-shadow: 0 0 0 3px rgba(90, 39, 118, 0.18);
}
.community__quote {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 36px);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.community__quote strong { color: var(--ink); font-weight: 600; }

/* Mission strip */
.mission {
  background: #5A2776;
  color: #FFFFFF;
  padding: clamp(56px, 7vw, 88px) 6vw;
}
.mission__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (max-width: 700px) { .mission__inner { grid-template-columns: 1fr; } }
.mission__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D288E4;
  white-space: nowrap;
}
.mission__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #FFFFFF;
}
.mission__text em { font-style: normal; color: #79F395; }

/* ============================================================
   SECTION 12 — FAQ
   ============================================================ */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms;
}
.faq__item[open] { border-color: rgba(13, 57, 71, 0.20); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 250ms;
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding: 0 24px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0D3947;
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(48px, 5vw, 72px) 6vw clamp(24px, 3vw, 36px);
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }
.site-footer__wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.site-footer__wordmark span { color: #79F395; }
.site-footer__tag {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 38ch;
  margin: 0;
}
.site-footer__col-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__list li {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__list a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 180ms;
}
.site-footer__list a:hover { color: #79F395; }
.site-footer__bottom {
  max-width: 1280px;
  margin: clamp(32px, 4vw, 56px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__bottom a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 180ms; }
.site-footer__bottom a:hover { color: #79F395; }


/* ============================================================
   COLOUR-BLOCK CTA  (CRM page — final section, lavender block)
   Direct cite from the «Параметры поиска» Figma mockup
   ============================================================ */
.crm-cta {
  background: var(--surface-lavender);
  padding: clamp(56px, 7vw, 110px) 6vw;
}
.crm-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .crm-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
}
.crm-cta__title {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 52px);
}
.crm-cta__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: #0D3947;
  max-width: 48ch;
  opacity: 0.85;
}
.crm-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.crm-cta__meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.crm-cta__meta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

/* Lavender accent strip — thin divider between sections */
.section-divider {
  height: 1px;
  background: var(--surface-lavender);
  opacity: 0.45;
  max-width: 1280px;
  margin: 0 auto;
}

/* ============================================================
   COLORED CARD VARIANTS (placed at end to override .feature-card)
   ============================================================ */
.feature-card--solid {
  background: var(--section-current, #79F395) !important;
  border-color: transparent !important;
  color: var(--solid-ink, #0D3947);
}
.feature-card--solid .feature-card__num {
  color: color-mix(in srgb, var(--solid-ink, #0D3947) 60%, transparent);
}
.feature-card--solid .feature-card__title { color: var(--solid-ink, #0D3947); }
.feature-card--solid .feature-card__desc {
  color: color-mix(in srgb, var(--solid-ink, #0D3947) 78%, transparent);
}
body[data-page="insurance"] .feature-card--solid,
body[data-page="club"] .feature-card--solid { --solid-ink: #FFFFFF; }

.feature-card--accent {
  background: color-mix(in srgb, var(--section-current, #79F395) 14%, #FFFFFF 86%) !important;
  border-color: color-mix(in srgb, var(--section-current, #79F395) 35%, transparent) !important;
}

/* ============================================================
   Prevent-grid — «Каждый месяц предотвращаем» на странице Safety
   ============================================================ */
.prevent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .prevent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .prevent-grid { grid-template-columns: 1fr; } }
.prevent-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prevent-card__num {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #F4C201;
}
.prevent-card__label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   SECTION — COMPARISON (FleetX vs. competitors)
   Раскрывающиеся блоки с таблицами. Названия конкурентов blur.
   ============================================================ */
.comparison-list {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin: 40px auto 0;
}
.comparison-item {
  background: #FFFFFF;
  border: 1px solid rgba(13, 57, 71, 0.10);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comparison-item.is-open {
  border-color: var(--section-current, #3FBAE2);
  box-shadow: 0 8px 28px rgba(63, 186, 226, 0.10);
}
.comparison-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.comparison-question p {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink, #0D3947);
}
.comparison-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(13, 57, 71, 0.06);
  border: 0;
  border-radius: 50%;
  color: var(--ink, #0D3947);
  cursor: pointer;
  transition: background 0.2s ease;
}
.comparison-question:hover .comparison-toggle {
  background: rgba(63, 186, 226, 0.18);
}
.comparison-arrow {
  transition: transform 0.25s ease;
}
.comparison-item.is-open .comparison-arrow {
  transform: rotate(180deg);
}
.comparison-answer {
  display: none;
  padding: 0 12px 16px;
}
.comparison-item.is-open .comparison-answer {
  display: block;
}
.comparison-table {
  display: grid;
  grid-template-columns: minmax(220px, 2.4fr) repeat(5, minmax(96px, 1fr));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 57, 71, 0.08);
}
.comparison-header-row,
.comparison-row {
  display: contents;
}
.comparison-feature-header,
.comparison-cell-header {
  padding: 14px 12px;
  background: var(--ink, #0D3947);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.comparison-cell-header {
  background: var(--section-current, #3FBAE2);
  color: #0D3947;
}
.comparison-cell-header.blur {
  background: rgba(13, 57, 71, 0.55);
  color: #FFFFFF;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.comparison-feature {
  padding: 14px 16px;
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink, #0D3947);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(13, 57, 71, 0.06);
}
.comparison-cell {
  padding: 14px 8px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(13, 57, 71, 0.06);
  border-left: 1px solid rgba(13, 57, 71, 0.04);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-current, #3FBAE2) 18%, #FFFFFF 82%);
  color: var(--section-current, #3FBAE2);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 57, 71, 0.06);
  color: rgba(13, 57, 71, 0.42);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 760px) {
  .comparison-answer {
    padding: 0 8px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table {
    min-width: 640px;
  }
  .comparison-question {
    padding: 16px 18px;
  }
}
