/* Focused presentation corrections layered after the main RelaunchPilot stylesheet. */

@media (min-width: 901px) {
  .hero:not(.offer-hero) .hero__inner {
    grid-template-columns: minmax(0, 560px) minmax(380px, 520px);
    width: 100%;
    max-width: 1180px;
    gap: clamp(40px, 6vw, 80px);
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    justify-items: stretch;
  }

  .hero:not(.offer-hero) .hero__content {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    align-self: center;
  }

  .hero:not(.offer-hero) .hero__visual {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .hero:not(.offer-hero) .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin-inline: auto;
    justify-items: center;
  }
}

.footer__inner {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(180px, 240px));
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
  text-align: center;
}

.footer__brand,
.footer__links,
.footer__contact {
  width: 100%;
  max-width: 260px;
  text-align: center;
}

.footer__links ul,
.footer__contact ul {
  justify-items: center;
}

.footer__contact a {
  overflow-wrap: anywhere;
}

.offer-hosting-heading {
  margin: 8px auto 0;
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.offer-hosting-intro {
  max-width: 560px;
  margin: 0 auto 4px;
  text-align: center;
}

.offer-hosting-primary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  gap: 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  box-shadow: var(--shadow-soft);
}

.offer-hosting-plan-button {
  display: flex !important;
  width: 100%;
  min-height: 72px;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.offer-plan-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.offer-plan-price {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1;
}

.offer-plan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.offer-plan-meta .plan-badge,
.offer-plan-meta .offer-plan-credit {
  margin: 0;
}

.offer-plan-credit {
  font-weight: 600;
}

.offer-yearly-trigger {
  justify-self: center;
  width: fit-content !important;
  margin-top: 2px;
}

.offer-hosting-yearly {
  width: 100%;
  max-width: 640px;
  margin: 12px auto 0;
}

.offer-hosting-yearly .yearly-reveal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  padding: 22px 24px;
  gap: 14px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.offer-hosting-yearly .yearly-copy {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.offer-hosting-yearly .offer-hosting-plan-button {
  border-color: var(--blue-300);
  background: var(--blue-50);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    gap: 32px;
  }

  .offer-hosting-primary,
  .offer-hosting-yearly .yearly-reveal-card {
    padding: 20px;
  }

  .offer-hosting-plan-button {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
