/* DN-CRM additions on top of the shared DN website visual system. */

.brand img {
  width: 144px;
  height: auto;
}

.footer-brand img {
  width: 154px;
}

html[data-theme="dark"] .brand img {
  filter: brightness(0) invert(1);
}

.hero-showcase img,
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.crm-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.crm-stat-strip article {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.crm-stat-strip article:last-child {
  border-right: 0;
}

.crm-stat-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(1.55rem, 2.3vw, 2.45rem);
}

.crm-stat-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

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

.workflow-line article {
  min-height: 190px;
  padding: 28px 24px;
  background: rgba(5, 10, 19, 0.76);
}

.workflow-line span {
  color: var(--mint-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.workflow-line h3 {
  margin: 24px 0 12px;
  font-size: 1.05rem;
}

.workflow-line p {
  color: #a9bacb;
  font-size: 0.8rem;
}

.demo-credentials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--muted);
  font-size: 0.76rem;
}

.demo-credentials code {
  color: var(--green);
  font: inherit;
  font-weight: 700;
}

.simple-page .section:first-child {
  padding-top: 96px;
}

@media (max-width: 950px) {
  .crm-stat-strip,
  .workflow-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-stat-strip article:nth-child(2) {
    border-right: 0;
  }

  .crm-stat-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .brand img,
  .footer-brand img {
    width: 124px;
  }

  .crm-stat-strip,
  .workflow-line {
    grid-template-columns: 1fr;
  }

  .crm-stat-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .crm-stat-strip article:last-child {
    border-bottom: 0;
  }
}
