.home-hub-body {
  background: var(--bg);
}

/* The white header continues straight into the hero, without a capsule or gap. */
.home-hub-body .header.header--minimal {
  background: #fff;
  border-bottom: 0;
}

.home-hub section[id] {
  scroll-margin-top: 104px;
}

.home-hub__hero {
  padding: 0 0 72px;
  background: linear-gradient(180deg, #fff, var(--bg));
}

/* Home-only hero: centered offer and a light blue CSS grid, no new assets. */
.home-hub__hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 2 * var(--public-gutter, 20px)), 1280px);
  margin-inline: auto;
  padding: 64px clamp(24px, 5.5vw, 80px) 64px;
  border-radius: 0 0 32px 32px;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(255, 255, 255, .44), transparent 65%),
    linear-gradient(180deg, #fff 0%, #fff 48%, #f3f7ff 62%, #bed4ff 82%, #7da9ff 100%);
  text-align: center;
}

.home-hub__hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 40% 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .32) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 65%);
  mask-image: linear-gradient(transparent, #000 65%);
  pointer-events: none;
}

.home-hub__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  color: #737b8a;
  font-size: 14px;
  font-weight: 500;
}

.home-hub__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.home-hub__title {
  max-width: 1120px;
  margin: 0 auto;
  color: #0a1028;
  font-size: clamp(40px, 6.5vw, 86px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hub__title-line {
  display: block;
}

.home-hub__accent {
  color: var(--primary);
}

.home-hub__intro {
  max-width: 640px;
  margin: 28px auto 0;
  color: #505a6d;
  font-size: 20px;
  line-height: 1.5;
  text-wrap: balance;
}

.home-hub__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.home-hub__demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 64px;
  padding: 18px 32px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 55%, #f3f7ff);
  box-shadow: 0 10px 18px rgba(28, 73, 143, .14), inset 0 -3px 5px rgba(39, 90, 163, .08);
  color: #0757c4;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-hub__demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(28, 73, 143, .2), inset 0 -3px 5px rgba(39, 90, 163, .08);
}

.home-hub__demo:active {
  transform: translateY(0);
}

.home-hub__products {
  padding: 24px 0 56px;
}

.home-hub__section-title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.home-hub__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-hub__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
}

.home-hub__kicker {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.home-hub__card-title {
  min-height: 2.3em;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.home-hub__card-description {
  margin: 16px 0 26px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.home-hub__card-link {
  width: 100%;
  margin-top: auto;
  justify-content: space-between;
  gap: 12px;
}

.home-hub__services {
  padding-bottom: 30px;
}

.home-hub__services-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-hub__services-row > div {
  max-width: 820px;
}

.home-hub__services-row p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 17px;
}

.home-hub__text-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 44px;
  color: var(--primary);
  font-weight: 500;
}

.home-hub a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Preserve the original shared contact design, including its large PNG figure. */
.home-hub .cta-box--lead-form .cta-box__form,
.home-hub .cta-box__widget {
  display: block;
  max-width: none;
}

.home-hub .field__input {
  font-size: 16px;
}

@media (max-width: 1024px) {
  .home-hub__hero-panel {
    padding-top: 56px;
  }

  .home-hub__grid {
    gap: 14px;
  }

  .home-hub__card {
    padding: 24px;
  }
}

@media (max-width: 800px) {
  .home-hub__hero {
    padding: 0 0 48px;
  }

  .home-hub__hero-panel {
    padding-inline: 28px;
  }

  .home-hub__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home-hub__card-title {
    min-height: 0;
    font-size: 28px;
  }

  .home-hub__icon {
    margin-bottom: 20px;
  }

  .home-hub__services-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .home-hub__hero-panel {
    padding: 40px 22px 40px;
    border-radius: 0 0 24px 24px;
  }

  .home-hub__eyebrow {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .home-hub__title {
    font-size: clamp(36px, 9.5vw, 48px);
    letter-spacing: -0.045em;
  }

  .home-hub__intro {
    margin-top: 20px;
    font-size: 17px;
  }

  .home-hub__actions {
    margin-top: 32px;
    gap: 8px;
  }

  .home-hub__demo {
    min-height: 58px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .home-hub__products {
    padding-top: 12px;
    padding-bottom: 36px;
  }

  .home-hub__card {
    padding: 26px;
    border-radius: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-hub__demo {
    transition: none;
  }

  .home-hub__demo:hover {
    transform: none;
  }
}
