/* CRM / ERP enterprise landing — premium B2B, RTL-first */

.sol-layout--crm-enterprise {
  --crm-accent: #0d9488;
  --crm-accent-soft: rgb(13 148 136 / 0.1);
  --crm-accent-muted: rgb(13 148 136 / 0.55);
  --crm-ink: #0f172a;
  --crm-ink-muted: #475569;
  --crm-surface: #f8fafc;
  --crm-border: rgb(15 23 42 / 0.08);
  --crm-section-y: clamp(3.5rem, 7.5vw, 6.25rem);
  --crm-shadow-sm: 0 8px 24px rgb(15 23 42 / 0.05);
  --crm-shadow-md: 0 16px 40px rgb(15 23 42 / 0.07);
  --sol-scroll-offset: calc(var(--header-height, 64px) + 3.25rem);
  --crm-radius: 14px;
  --crm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] .sol-layout--crm-enterprise {
  --crm-accent: #2dd4bf;
  --crm-accent-soft: rgb(45 212 191 / 0.12);
  --crm-ink: #f1f5f9;
  --crm-ink-muted: #94a3b8;
  --crm-surface: rgb(15 23 42 / 0.45);
  --crm-border: rgb(148 163 184 / 0.18);
}

.sol-layout--crm-enterprise.sol-theme-crm {
  --sol-accent: var(--crm-accent);
  --sol-accent-soft: var(--crm-accent-soft);
}

.crm-landing-main.container {
  max-width: 1140px;
}

.crm-landing {
  position: relative;
  color: var(--crm-ink);
  padding-bottom: var(--crm-section-y);
  overflow-x: clip;
}

.crm-landing [id^="sol-"],
.crm-landing .crm-cta {
  scroll-margin-top: var(--sol-scroll-offset);
}

.crm-landing::before {
  content: "";
  position: absolute;
  inset: -4rem 0 auto;
  height: min(70vh, 520px);
  background: radial-gradient(ellipse 80% 60% at 70% 0%, var(--crm-accent-soft), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.crm-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--crm-accent);
}

.crm-section {
  padding-block: var(--crm-section-y);
  border-block-start: 1px solid var(--crm-border);
}

.crm-section:first-of-type {
  border-block-start: none;
}

.crm-section__head {
  max-width: 38rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.crm-section__head--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.crm-section__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.crm-section__lead {
  margin: 0.75rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--crm-ink-muted);
}

/* —— Hero —— */

.crm-hero {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding-block: 0 clamp(1.5rem, 4vw, 2.25rem);
  min-height: 0;
  align-content: start;
}

@media (min-width: 960px) {
  .crm-hero--rtl {
    direction: rtl;
  }
}

.crm-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
}

.crm-hero__accent {
  display: block;
  color: var(--crm-accent);
}

.crm-hero__lead {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--crm-ink-muted);
}

.crm-hero__flow {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.85rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crm-ink-muted);
  border-radius: 999px;
  border: 1px solid var(--crm-border);
  background: var(--crm-surface);
}

.crm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.crm-btn {
  min-height: 44px;
  padding-inline: 1.25rem;
  transition:
    transform 0.25s var(--crm-ease),
    box-shadow 0.25s var(--crm-ease),
    background 0.25s var(--crm-ease);
}

.crm-btn:hover {
  transform: translateY(-1px);
}

.crm-btn:active {
  transform: translateY(0);
}

.crm-btn:focus-visible {
  outline: 2px solid var(--crm-accent);
  outline-offset: 3px;
}

.crm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.crm-chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--crm-border);
  color: var(--crm-ink-muted);
  background: transparent;
  transition:
    border-color 0.25s var(--crm-ease),
    color 0.25s var(--crm-ease),
    background 0.25s var(--crm-ease);
}

.crm-chips li:hover {
  border-color: rgb(13 148 136 / 0.28);
  color: var(--crm-ink);
  background: var(--crm-accent-soft);
}

/* Hero image — بدون کادر؛ انیمیشن نرم */

.crm-hero__visual {
  perspective: 900px;
}

.crm-hero__media {
  position: relative;
  max-width: min(100%, 480px);
  margin-inline: auto;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--crm-ease);
}

.crm-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  background: transparent;
  transform: translate3d(0, 0, 0);
  animation: crm-hero-float 5.5s var(--crm-ease) infinite;
  transition:
    transform 0.5s var(--crm-ease),
    filter 0.5s var(--crm-ease);
  will-change: transform;
}

.crm-hero__visual.is-hover .crm-hero__img,
.crm-hero__visual:hover .crm-hero__img,
.crm-hero__visual:focus-within .crm-hero__img {
  animation-play-state: paused;
  filter: drop-shadow(0 28px 48px rgb(15 23 42 / 0.16));
}

@keyframes crm-hero-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -18px, 0) scale(1.025);
  }
}

@media (min-width: 960px) {
  .crm-hero__media {
    max-width: none;
  }

  .crm-hero__img {
    max-height: min(58vh, 480px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-hero__img {
    animation: none;
  }

  .crm-hero__visual:hover .crm-hero__img,
  .crm-hero__visual:focus-within .crm-hero__img {
    transform: none;
    filter: none;
  }
}

/* —— Subnav —— */

.crm-subnav-sentinel {
  height: 1px;
}

.crm-subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 0.5rem;
  background: color-mix(in srgb, var(--page-bg, #fff) 88%, transparent);
  border-block-end: 1px solid transparent;
  transition:
    border-color 0.25s var(--crm-ease),
    box-shadow 0.25s var(--crm-ease),
    background 0.25s var(--crm-ease);
}

.crm-subnav.is-pinned {
  border-color: var(--crm-border);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.05);
  background: color-mix(in srgb, var(--page-bg, #fff) 94%, transparent);
}

.crm-subnav__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-block: 0.65rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(
    to left,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.crm-subnav__inner a {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--crm-ink-muted);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.crm-subnav__inner a:hover {
  color: var(--crm-ink);
  background: var(--crm-surface);
}

.crm-subnav__inner a.is-active {
  color: var(--crm-accent);
  border-color: rgb(13 148 136 / 0.25);
  background: var(--crm-accent-soft);
}

.crm-subnav__inner a:focus-visible {
  outline: 2px solid var(--crm-accent);
  outline-offset: 2px;
}

/* —— Summary strip —— */

.crm-strip {
  padding-block: 1.25rem 0;
}

.crm-strip__list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1.1rem 1.2rem;
  list-style: none;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: color-mix(in srgb, var(--crm-surface) 88%, var(--page-bg, #fff));
  counter-reset: crm-strip;
}

@media (min-width: 720px) {
  .crm-strip__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crm-strip__list li {
  position: relative;
  padding-inline-start: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--crm-ink-muted);
  counter-increment: crm-strip;
}

.crm-strip__list li::before {
  content: counter(crm-strip, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 0.1em;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--crm-accent);
}

/* —— Problems —— */

.crm-problems {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .crm-problems {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .crm-problems {
    grid-template-columns: repeat(3, 1fr);
  }

  .crm-problems li:last-child {
    grid-column: span 1;
  }
}

.crm-problem {
  padding: 1.15rem 1.2rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.3s var(--crm-ease),
    transform 0.35s var(--crm-ease),
    box-shadow 0.35s var(--crm-ease);
}

.crm-problem:hover {
  border-color: rgb(13 148 136 / 0.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.06);
}

.crm-problem h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.crm-problem p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--crm-ink-muted);
}

/* Icons */

.crm-ico {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  border: 1px solid var(--crm-border);
  background: var(--crm-accent-soft);
  position: relative;
}

.crm-ico::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 3px;
  background: var(--crm-accent);
  opacity: 0.85;
}

.crm-ico--split::after {
  clip-path: polygon(0 0, 45% 0, 45% 100%, 0 100%, 0 0, 55% 0, 100% 0, 100% 100%, 55% 100%, 55% 0);
  inset: 28% 22%;
  opacity: 0.5;
}

/* —— Compare —— */

.crm-section--compare {
  background: linear-gradient(180deg, var(--crm-surface), transparent 85%);
  border-radius: 20px;
  border: 1px solid var(--crm-border);
  padding-inline: clamp(1rem, 3vw, 2rem);
  margin-block: 0.5rem;
}

.crm-compare {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .crm-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
  }
}

.crm-compare__col {
  padding: 1.25rem 1.35rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
}

.crm-compare__col--before {
  opacity: 0.92;
}

.crm-compare__col--after {
  border-color: rgb(13 148 136 / 0.22);
  box-shadow: 0 0 0 1px rgb(13 148 136 / 0.06);
}

.crm-compare__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--crm-ink-muted);
}

.crm-compare__badge--after {
  color: var(--crm-accent);
}

.crm-compare__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: crm-step;
}

.crm-compare__steps li {
  counter-increment: crm-step;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.crm-compare__steps li::before {
  content: counter(crm-step, decimal-leading-zero);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--crm-ink-muted);
  min-width: 1.25rem;
}

.crm-compare__steps--after li::before {
  color: var(--crm-accent);
}

.crm-compare__bridge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-compare__arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--crm-border);
  background: var(--crm-surface);
  position: relative;
}

.crm-compare__arrow::after {
  content: "";
  position: absolute;
  inset: 35%;
  border: solid var(--crm-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .crm-compare__bridge {
    padding-block: 0.25rem;
  }

  .crm-compare__arrow {
    transform: rotate(90deg);
  }
}

.crm-compare__result {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.75;
  color: var(--crm-ink);
}

/* —— Explainer —— */

.crm-explainer {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .crm-explainer {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crm-explainer__card {
  padding: 1.25rem 1.3rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.3s var(--crm-ease),
    transform 0.35s var(--crm-ease),
    box-shadow 0.35s var(--crm-ease);
}

.crm-explainer__card:hover {
  border-color: rgb(13 148 136 / 0.22);
  transform: translateY(-3px);
  box-shadow: var(--crm-shadow-sm);
}

.crm-explainer__card--together {
  border-color: rgb(13 148 136 / 0.25);
  background: linear-gradient(145deg, var(--crm-accent-soft), transparent);
}

.crm-explainer__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--crm-accent);
}

.crm-explainer__card h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.crm-explainer__card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--crm-ink-muted);
}

/* —— Modules —— */

.crm-modules {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .crm-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .crm-modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crm-module {
  padding: 1.2rem 1.25rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.25s var(--crm-ease),
    transform 0.35s var(--crm-ease),
    box-shadow 0.35s var(--crm-ease);
}

.crm-module:hover {
  border-color: rgb(13 148 136 / 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.05);
}

.crm-module h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.crm-module__outcome {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--crm-ink);
}

.crm-module__example {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--crm-ink-muted);
}

/* —— Scenarios —— */

.crm-scenarios {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .crm-scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crm-scenario {
  padding: 1.25rem 1.3rem;
  border-radius: calc(var(--crm-radius) + 2px);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    border-color 0.3s var(--crm-ease),
    box-shadow 0.35s var(--crm-ease),
    transform 0.35s var(--crm-ease);
}

.crm-scenario:hover {
  border-color: rgb(13 148 136 / 0.22);
  box-shadow: var(--crm-shadow-sm);
  transform: translateY(-2px);
}

.crm-scenario__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--crm-accent);
}

.crm-scenario h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
}

.crm-scenario__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--crm-ink-muted);
}

.crm-scenario__grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.crm-scenario__grid h4 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--crm-ink-muted);
}

.crm-scenario__grid ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: 0.8125rem;
  color: var(--crm-ink-muted);
}

.crm-scenario__flow {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--crm-surface);
  color: var(--crm-ink-muted);
}

.crm-scenario__note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--crm-ink-muted);
}

/* —— Custom vs —— */

.crm-section--callout {
  border-radius: 20px;
  border: 1px solid var(--crm-border);
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: var(--crm-surface);
}

.crm-vs {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .crm-vs {
    grid-template-columns: 1fr 1fr;
  }
}

.crm-vs__col {
  padding: 1.2rem 1.3rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
}

.crm-vs__col--accent {
  border-color: rgb(13 148 136 / 0.28);
}

.crm-vs__col h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.crm-vs__col p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--crm-ink-muted);
}

.crm-vs__note {
  margin: 1rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--crm-ink-muted);
}

/* —— Phased —— */

.crm-section--phased {
  text-align: center;
}

.crm-phased-road {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crm-phased-road li {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

.crm-phased-road li:not(:last-child)::after {
  content: "←";
  margin-inline: 0.5rem;
  color: var(--crm-accent-muted);
  font-weight: 400;
}

.crm-phased-road span {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
}

/* —— Ecosystem —— */

.crm-eco {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding: 2rem 1rem 1rem;
}

.crm-eco__core {
  width: fit-content;
  margin: 0 auto 1.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: 1px solid rgb(13 148 136 / 0.35);
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

.crm-eco__nodes {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .crm-eco__nodes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crm-eco__nodes li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.25s var(--crm-ease),
    transform 0.3s var(--crm-ease);
}

.crm-eco__nodes li:hover {
  border-color: rgb(13 148 136 / 0.25);
  transform: translateX(-2px);
}

.crm-eco__nodes strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.crm-eco__nodes span {
  font-size: 0.8125rem;
  color: var(--crm-ink-muted);
  line-height: 1.55;
}

/* —— Automation —— */

.crm-auto-flows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.crm-auto-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  font-size: 0.8125rem;
  transition:
    border-color 0.25s var(--crm-ease),
    box-shadow 0.3s var(--crm-ease);
}

.crm-auto-flow:hover {
  border-color: rgb(13 148 136 / 0.2);
  box-shadow: var(--crm-shadow-sm);
}

.crm-auto-flow__step {
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--crm-surface);
  color: var(--crm-ink-muted);
}

.crm-auto-flow__step--action {
  color: var(--crm-accent);
  font-weight: 600;
  background: var(--crm-accent-soft);
}

.crm-auto-flow__sep {
  color: var(--crm-accent-muted);
}

/* —— Outcomes —— */

.crm-outcomes {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .crm-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .crm-outcomes {
    grid-template-columns: repeat(3, 1fr);
  }

  .crm-outcomes li:nth-child(4),
  .crm-outcomes li:nth-child(5) {
    grid-column: span 1;
  }
}

.crm-outcomes li {
  padding: 1.1rem 1.2rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.25s var(--crm-ease),
    transform 0.3s var(--crm-ease);
}

.crm-outcomes li:hover {
  border-color: rgb(13 148 136 / 0.22);
  transform: translateY(-2px);
}

.crm-outcomes h3 {
  margin: 0 0 0.35rem;
  font-size: 0.975rem;
}

.crm-outcomes p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--crm-ink-muted);
}

/* —— Timeline —— */

.crm-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .crm-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .crm-timeline li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

.crm-timeline li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
  transition:
    border-color 0.25s var(--crm-ease),
    box-shadow 0.3s var(--crm-ease);
}

.crm-timeline li:hover {
  border-color: rgb(13 148 136 / 0.2);
  box-shadow: var(--crm-shadow-sm);
}

.crm-timeline__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: 50%;
  background: var(--crm-accent-soft);
  color: var(--crm-accent);
}

.crm-timeline strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.crm-timeline p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--crm-ink-muted);
}

/* —— Fit —— */

.crm-fit {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .crm-fit {
    grid-template-columns: 1.2fr 1fr;
  }
}

.crm-fit__col {
  padding: 1.2rem 1.3rem;
  border-radius: var(--crm-radius);
  border: 1px solid var(--crm-border);
  background: var(--surface-elevated, #fff);
}

.crm-fit__col--muted {
  opacity: 0.95;
  background: var(--crm-surface);
}

.crm-fit__col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.crm-fit__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.crm-fit__col li {
  position: relative;
  padding-inline-start: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--crm-ink-muted);
}

.crm-fit__col li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crm-accent);
}

/* —— FAQ —— */

.crm-faq__item {
  border-block-end: 1px solid var(--crm-border);
}

.crm-faq__item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.crm-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 44px;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  text-align: start;
  color: var(--crm-ink);
  cursor: pointer;
}

.crm-faq__trigger:focus-visible {
  outline: 2px solid var(--crm-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.crm-faq__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  position: relative;
}

.crm-faq__icon::before,
.crm-faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--crm-ink-muted);
  transition: transform 0.2s var(--crm-ease);
}

.crm-faq__icon::after {
  transform: rotate(90deg);
}

.crm-faq__item.is-open .crm-faq__icon::after {
  transform: rotate(0);
  opacity: 0;
}

.crm-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s var(--crm-ease),
    opacity 0.3s var(--crm-ease);
}

.crm-faq__item.is-open .crm-faq__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.crm-faq__panel-inner {
  overflow: hidden;
}

.crm-faq__panel p {
  margin: 0;
  padding-bottom: 1rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crm-ink-muted);
}

/* —— CTA —— */

.crm-cta {
  margin-top: var(--crm-section-y);
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgb(13 148 136 / 0.18);
  background: linear-gradient(165deg, var(--crm-accent-soft), transparent 55%);
}

.crm-cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  max-width: 28ch;
  margin-inline: auto;
}

.crm-cta > p {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--crm-ink-muted);
  line-height: 1.75;
}

.crm-cta .crm-hero__actions {
  justify-content: center;
}

.crm-related {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.875rem;
}

.crm-related ul {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.crm-related a {
  color: var(--crm-accent);
}

/* Reveal */

.crm-landing [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.crm-landing [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--crm-ease), transform 0.65s var(--crm-ease);
}

/* Hero copy entrance */

@keyframes crm-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.crm-hero.is-visible .crm-eyebrow {
  animation: crm-fade-up 0.65s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-hero__title {
  animation: crm-fade-up 0.7s 0.06s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-hero__lead {
  animation: crm-fade-up 0.7s 0.12s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-hero__flow {
  animation: crm-fade-up 0.65s 0.18s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-hero__actions {
  animation: crm-fade-up 0.7s 0.22s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-chips {
  animation: crm-fade-up 0.7s 0.28s var(--crm-ease) both;
}

.crm-hero.is-visible .crm-hero__visual {
  animation: crm-fade-up 0.85s 0.1s var(--crm-ease) both;
}

/* Stagger children */

[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s var(--crm-ease),
    transform 0.55s var(--crm-ease);
  transition-delay: calc(var(--stagger-index, 0) * 65ms);
}

.sol-layout--crm-enterprise .sol-reading-progress {
  height: 2px;
  opacity: 0.95;
}

@media (min-width: 900px) {
  .crm-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-landing [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .crm-hero.is-visible .crm-eyebrow,
  .crm-hero.is-visible .crm-hero__title,
  .crm-hero.is-visible .crm-hero__lead,
  .crm-hero.is-visible .crm-hero__flow,
  .crm-hero.is-visible .crm-hero__actions,
  .crm-hero.is-visible .crm-chips,
  .crm-hero.is-visible .crm-hero__visual {
    animation: none;
  }

  [data-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .crm-problem:hover,
  .crm-module:hover,
  .crm-scenario:hover,
  .crm-explainer__card:hover,
  .crm-btn:hover {
    transform: none;
  }

  .crm-faq__panel {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .crm-faq__item:not(.is-open) .crm-faq__panel {
    display: none;
  }
}
