/* DiraChart homepage AI Consultant banner. */

.dc-home-ai-banner {
  position: relative;

  width: min(1180px, calc(100% - 40px));
  margin:
    clamp(42px, 5vw, 68px)
    auto
    clamp(64px, 7vw, 94px);

  overflow: hidden;

  border: 1px solid rgba(40, 108, 98, .24);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(91, 180, 171, .26),
      transparent 34%
    ),
    radial-gradient(
      circle at 8% 100%,
      rgba(31, 64, 101, .18),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #0c302f,
      #123e3b 55%,
      #172f49
    );

  box-shadow:
    0 24px 60px rgba(14, 44, 48, .18);
}

.dc-home-ai-banner__inner {
  min-height: 238px;
  padding:
    clamp(30px, 5vw, 56px)
    clamp(26px, 6vw, 70px);

  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(220px, .5fr);
  gap: 36px;
  align-items: center;
}

.dc-home-ai-banner__eyebrow {
  display: inline-block;
  margin-bottom: 10px;

  color: #9de9dc;
  font-family: var(--ui);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.dc-home-ai-banner h2 {
  max-width: 720px;
  margin: 0 0 14px;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  font-family: var(--ui);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 790;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.dc-home-ai-banner p {
  max-width: 720px;
  margin: 0;

  color: #d8e9e8 !important;
  -webkit-text-fill-color: #d8e9e8 !important;

  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
}

.dc-home-ai-banner__actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.dc-home-ai-banner__button {
  min-height: 52px;
  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #a9eee4;
  border-radius: 999px;

  background: #ecfffb;

  color: #0d403a !important;
  -webkit-text-fill-color: #0d403a !important;

  text-decoration: none !important;
  font-family: var(--ui);
  font-size: .96rem;
  font-weight: 800;

  box-shadow:
    0 12px 30px rgba(1, 13, 18, .25);

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.dc-home-ai-banner__button:hover,
.dc-home-ai-banner__button:focus-visible {
  transform: translateY(-2px);

  box-shadow:
    0 16px 36px rgba(1, 13, 18, .34);
}

.dc-home-ai-banner__actions span {
  color: #b9d3d1;
  font-size: .8rem;
  font-weight: 650;
}

@media (max-width: 820px) {
  .dc-home-ai-banner__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .dc-home-ai-banner {
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  .dc-home-ai-banner__inner {
    min-height: 0;
    padding: 30px 22px;
  }

  .dc-home-ai-banner__button {
    width: 100%;
  }
}
