/* Top page typography balance overrides. Loaded after site-completion.css. */

.home-redesign-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  min-height: 410px;
}

.home-redesign-hero__copy {
  padding: clamp(34px, 4.4vw, 52px) clamp(32px, 4.6vw, 54px);
}

.home-redesign-hero__eyebrow {
  margin: 0;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.6;
}

.home-redesign-hero h1 {
  max-width: 560px;
  margin-top: 14px;
  font-size: clamp(2.55rem, 4.35vw, 4.15rem);
  line-height: 1.14;
  letter-spacing: -0.055em !important;
}

.home-redesign-hero__lead {
  max-width: 520px;
  margin-top: 18px;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.88;
}

.home-redesign-hero__actions {
  margin-top: 24px;
}

.home-redesign-hero__actions .button {
  min-width: 292px;
  min-height: 52px;
  padding-inline: 20px;
  font-size: 0.92rem;
}

.home-redesign-hero__visual img {
  width: min(100%, 620px);
  max-height: 390px;
}

.home-redesign-feature-strip {
  margin-top: 12px;
  padding: 16px 18px;
}

.home-redesign-feature-strip article {
  column-gap: 12px;
  padding: 12px 10px;
}

.home-redesign-feature-strip h2 {
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-redesign-feature-strip p {
  font-size: 0.78rem;
  line-height: 1.72;
}

/* Lower home page sections. */
.home-redesign-section {
  margin-top: clamp(48px, 7vw, 84px);
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #d6e5ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(23, 59, 175, 0.08);
}

.home-redesign-section__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 12px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eff5ff;
  color: var(--home-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-redesign-section > h2 {
  max-width: 760px;
  margin: 0;
  color: #172033;
  font-size: clamp(1.72rem, 3.5vw, 2.55rem);
  line-height: 1.35;
  letter-spacing: -0.045em !important;
}

.home-redesign-section > p {
  max-width: 760px;
  margin-top: 16px;
  color: #526173;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.9;
}

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

.home-redesign-steps article {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(23, 59, 175, 0.06);
}

.home-redesign-steps span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--home-blue), #4869f4);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.86rem;
}

.home-redesign-steps h3 {
  margin-top: 18px;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.5;
}

.home-redesign-steps p {
  margin-top: 10px;
  color: #526173;
  font-size: 0.92rem;
  line-height: 1.78;
}

.home-redesign-cta-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(35, 87, 229, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eff5ff 100%);
}

.home-redesign-cta-panel .button {
  margin-top: 22px;
  min-width: min(100%, 260px);
  justify-content: center;
}

.home-redesign-faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.home-redesign-faq details {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 59, 175, 0.05);
}

.home-redesign-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #172033;
  font-weight: 900;
  line-height: 1.6;
}

.home-redesign-faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: #526173;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .home-redesign-hero {
    min-height: 0;
  }

  .home-redesign-hero__copy {
    padding: 34px 28px;
  }

  .home-redesign-hero h1 {
    max-width: 640px;
    font-size: clamp(2.45rem, 8vw, 4rem);
  }

  .home-redesign-hero__lead {
    max-width: 640px;
  }

  .home-redesign-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-redesign-hero__copy {
    padding: 28px 20px 24px;
  }

  .home-redesign-hero__eyebrow {
    font-size: 0.78rem;
  }

  .home-redesign-hero h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.16;
    letter-spacing: -0.045em !important;
  }

  .home-redesign-hero__lead {
    margin-top: 14px;
    font-size: 0.84rem;
    line-height: 1.82;
  }

  .home-redesign-hero__actions {
    margin-top: 20px;
    gap: 10px;
  }

  .home-redesign-hero__actions .button {
    min-height: 48px;
    font-size: 0.86rem;
  }

  .home-redesign-hero__visual {
    min-height: 235px;
  }

  .home-redesign-hero__image-slot {
    min-height: 235px;
    padding: 12px;
  }

  .home-redesign-hero__visual img {
    width: 100%;
    max-height: 230px;
  }

  .home-redesign-feature-strip article {
    grid-template-columns: 38px 1fr;
    padding: 10px 8px;
  }

  .home-redesign-feature-strip h2 {
    font-size: 0.88rem;
  }

  .home-redesign-feature-strip p {
    font-size: 0.76rem;
  }

  .home-redesign-section {
    margin-top: 38px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .home-redesign-section > h2 {
    font-size: clamp(1.48rem, 7vw, 2rem);
  }

  .home-redesign-steps article {
    padding: 20px;
  }

  .home-redesign-faq summary {
    padding: 16px 18px;
  }

  .home-redesign-faq p {
    padding: 0 18px 16px;
  }
}
