/* CRM product page */
.crm-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 86px;
}

.crm-hero::before {
  content: "";
  position: absolute;
  top: -340px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(0, 167, 167, 0.15), rgba(0, 167, 167, 0) 68%);
  pointer-events: none;
}

.crm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.crm-hero-copy h1 {
  max-width: 16ch;
  margin-top: 23px;
  font-size: clamp(2.75rem, 5.3vw, 5.15rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.crm-hero-copy .lead {
  max-width: 64ch;
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.crm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.crm-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.crm-hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.crm-hero-notes li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--teal-bright);
  border-radius: 50%;
}

.crm-system-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  padding: 76px 32px 29px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(0, 167, 167, 0.22), transparent 42%),
    var(--night);
  background-size: 54px 54px, 54px 54px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 90px rgba(7, 19, 31, 0.24);
}

.crm-system-visual::after {
  content: "";
  position: absolute;
  inset: 70px 34px 80px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 200px;
  pointer-events: none;
}

.crm-visual-label,
.crm-visual-status {
  position: absolute;
  top: 27px;
  z-index: 2;
  color: #aebbc7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crm-visual-label {
  left: 30px;
}

.crm-visual-status {
  right: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
  text-transform: none;
}

.crm-visual-status span {
  width: 7px;
  height: 7px;
  background: #61d6b6;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(97, 214, 182, 0.12);
}

.crm-journey {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 380px;
}

.crm-stage {
  display: grid;
  width: 100%;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(13, 28, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.crm-stage--review {
  width: 86%;
  margin-inline: auto;
}

.crm-stage--outcome {
  width: 72%;
  margin-inline: auto;
}

.crm-stage-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #61d6b6;
  background: rgba(97, 214, 182, 0.1);
  border: 1px solid rgba(97, 214, 182, 0.18);
  border-radius: 12px;
}

.crm-stage-icon svg {
  width: 23px;
  height: 23px;
}

.crm-stage small,
.crm-stage strong,
.crm-stage em {
  display: block;
}

.crm-stage small {
  color: #61d6b6;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.crm-stage strong {
  margin-top: 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
}

.crm-stage em {
  margin-top: 2px;
  color: #aebbc7;
  font-size: 0.69rem;
  font-style: normal;
}

.crm-journey-line {
  width: 1px;
  height: 26px;
  margin-inline: auto;
  background: linear-gradient(#61d6b6, rgba(97, 214, 182, 0.2));
}

.crm-visual-footer {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.crm-visual-footer span {
  padding: 5px 9px;
  color: #c5d0d9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
}

.crm-content-section {
  padding: 106px 0;
}

.crm-content-section--white {
  background: #fff;
  border-block: 1px solid var(--line);
}

.crm-feature-grid,
.crm-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.crm-feature-card,
.crm-platform-card {
  position: relative;
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.crm-feature-card {
  min-height: 292px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.crm-feature-card:hover {
  border-color: rgba(16, 24, 32, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.crm-feature-card--accent {
  background: #dff5f1;
  border-color: rgba(8, 127, 131, 0.18);
}

.crm-feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--teal);
  background: #edf8f6;
  border: 1px solid rgba(8, 127, 131, 0.12);
  border-radius: 14px;
}

.crm-feature-card:nth-child(2) .crm-feature-icon,
.crm-feature-card:nth-child(5) .crm-feature-icon {
  color: var(--violet);
  background: #f1efff;
  border-color: rgba(90, 71, 220, 0.12);
}

.crm-feature-card:nth-child(3) .crm-feature-icon {
  color: #b17a00;
  background: #fff7da;
  border-color: rgba(177, 122, 0, 0.12);
}

.crm-feature-card:nth-child(4) .crm-feature-icon {
  color: var(--coral);
  background: #fff0ec;
  border-color: rgba(233, 94, 67, 0.12);
}

.crm-feature-icon svg {
  width: 24px;
  height: 24px;
}

.crm-feature-card h3,
.crm-platform-card h3 {
  margin-top: 27px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.crm-feature-card p,
.crm-platform-card p {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.crm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.crm-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.crm-card-link:hover svg {
  transform: translateX(3px);
}

.crm-ads-section {
  padding: 108px 0;
  color: #fff;
  background: var(--night);
}

.crm-section-heading--dark {
  max-width: 850px;
}

.crm-section-heading--dark .kicker {
  color: #61d6b6;
}

.crm-section-heading--dark p {
  max-width: 78ch;
  color: #b8c5d1;
}

.crm-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.crm-step {
  min-height: 218px;
  padding: 28px;
  background: var(--night);
}

.crm-step span {
  display: inline-flex;
  padding: 5px 9px;
  color: #61d6b6;
  background: rgba(97, 214, 182, 0.1);
  border: 1px solid rgba(97, 214, 182, 0.17);
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.crm-step h3 {
  margin-top: 35px;
  font-size: 1.13rem;
}

.crm-step p {
  margin-top: 9px;
  color: #aebbc7;
  font-size: 0.86rem;
}

.crm-ad-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  align-items: start;
  gap: clamp(38px, 7vw, 78px);
  margin-top: 74px;
}

.crm-detail-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crm-detail-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #61d6b6;
  background: rgba(97, 214, 182, 0.1);
  border: 1px solid rgba(97, 214, 182, 0.18);
  border-radius: 12px;
}

.crm-detail-icon svg {
  width: 22px;
  height: 22px;
}

.crm-detail-heading h3,
.crm-guardrail-panel h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.crm-checklist {
  display: grid;
  gap: 19px;
  margin-top: 29px;
  list-style: none;
}

.crm-checklist li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 12px;
  color: #b8c5d1;
  font-size: 0.91rem;
}

.crm-checklist strong {
  color: #fff;
}

.crm-check {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--night);
  background: #61d6b6;
  border-radius: 8px;
}

.crm-check svg {
  width: 17px;
  height: 17px;
}

.crm-guardrail-panel {
  padding: 31px;
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.17);
}

.crm-panel-label {
  display: block;
  margin-bottom: 13px;
  color: #61d6b6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.crm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
  list-style: none;
}

.crm-tags li {
  padding: 7px 10px;
  color: #dce5eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-guardrail-panel p {
  margin-top: 23px;
  color: #b8c5d1;
  font-size: 0.87rem;
}

.crm-note {
  max-width: 88ch;
  margin-top: 52px;
  padding: 18px 20px;
  color: #aebbc7;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #61d6b6;
  border-radius: 0 12px 12px 0;
  font-size: 0.8rem;
}

.crm-platform-card {
  min-height: 262px;
  background: rgba(255, 255, 255, 0.68);
}

.crm-platform-card:nth-child(2) .crm-feature-icon {
  color: var(--violet);
  background: #f1efff;
  border-color: rgba(90, 71, 220, 0.12);
}

.crm-platform-card:nth-child(3) .crm-feature-icon {
  color: var(--coral);
  background: #fff0ec;
  border-color: rgba(233, 94, 67, 0.12);
}

@media (max-width: 1020px) {
  .crm-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 42px;
  }

  .crm-system-visual {
    min-height: 500px;
    padding-inline: 24px;
  }

  .crm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .crm-hero {
    padding: 62px 0 72px;
  }

  .crm-hero-grid,
  .crm-ad-detail {
    grid-template-columns: 1fr;
  }

  .crm-hero-copy h1 {
    max-width: 18ch;
  }

  .crm-system-visual {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .crm-ad-detail {
    gap: 48px;
  }

  .crm-platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .crm-hero {
    padding: 46px 0 60px;
  }

  .crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
  }

  .crm-hero-copy h1 {
    margin-top: 20px;
    font-size: clamp(2.45rem, 13vw, 3.55rem);
  }

  .crm-hero-copy .lead {
    margin-top: 21px;
    font-size: 1rem;
  }

  .crm-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .crm-hero-actions .button {
    width: 100%;
  }

  .crm-system-visual {
    min-height: 455px;
    padding: 70px 18px 26px;
    border-radius: 24px;
  }

  .crm-system-visual::after {
    inset: 64px 16px 72px;
  }

  .crm-visual-label {
    top: 22px;
    left: 20px;
  }

  .crm-visual-status {
    top: 22px;
    right: 20px;
    font-size: 0.62rem;
  }

  .crm-journey {
    min-height: 338px;
  }

  .crm-stage {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 14px;
  }

  .crm-stage--review {
    width: 92%;
  }

  .crm-stage--outcome {
    width: 84%;
  }

  .crm-stage-icon {
    width: 39px;
    height: 39px;
  }

  .crm-stage strong {
    font-size: 0.82rem;
  }

  .crm-visual-footer {
    right: 14px;
    bottom: 20px;
    left: 14px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .crm-content-section,
  .crm-ads-section {
    padding: 76px 0;
  }

  .crm-feature-grid,
  .crm-platform-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }

  .crm-feature-card,
  .crm-platform-card {
    min-height: 0;
    padding: 24px;
  }

  .crm-flow {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .crm-step {
    min-height: 0;
    padding: 24px;
  }

  .crm-step h3 {
    margin-top: 25px;
  }

  .crm-ad-detail {
    margin-top: 55px;
  }

  .crm-detail-heading {
    align-items: flex-start;
  }

  .crm-guardrail-panel {
    padding: 25px;
  }

  .crm-note {
    margin-top: 40px;
    padding: 16px;
  }
}
