/* Thrive (coded) */

.thrive-hero {
  padding-top: calc(var(--header-bottom) + clamp(28px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 86px);
  overflow: hidden;
  background: #fff;
}

.thrive-hero__inner {
  min-height: min(78dvh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.thrive-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: thriveHeroCopyIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.thrive-hero__title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.thrive-hero__body {
  margin: 0;
  max-width: 35ch;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.thrive-hero__notice {
  margin: 6px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #e64040;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.15;
}

.thrive-hero__cta {
  margin-top: 10px;
}

.thrive-hero__art {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: thriveHeroArtIn 880ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 120ms;
}

.thrive-hero__art img {
  display: block;
  width: min(100%, 760px);
  aspect-ratio: 3835 / 2462;
  height: auto;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 840ms cubic-bezier(0.22, 1, 0.36, 1), transform 840ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up.is-in {
  opacity: 1;
  transform: none;
}

.thrive-intro {
  padding: clamp(44px, 8vw, 92px) 0;
  background: #f7f7f7;
}

.thrive-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.thrive-section-title,
.thrive-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw + 9px, 31px);
  line-height: 1.12;
  letter-spacing: 0;
}

.thrive-intro__body {
  margin: 24px 0 0;
  max-width: 52ch;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.58;
}

.thrive-intro__lockup {
  margin: 0;
  display: flex;
  justify-content: center;
}

.thrive-intro__lockup img {
  display: block;
  width: min(100%, 470px);
  height: auto;
}

.thrive-panel {
  padding: clamp(56px, 8vw, 108px) 0;
  background: #fff;
}

.thrive-panel__inner,
.thrive-step__inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.thrive-panel__title {
  max-width: none;
}

.thrive-panel__figure {
  margin: 0;
  width: min(100%, 980px);
}

.thrive-panel__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.thrive-panel__caption {
  margin: 0;
  max-width: 64ch;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.55;
}

.thrive-steps {
  padding: clamp(54px, 7vw, 92px) 0;
  background: #f7f7f7;
}

.thrive-steps__inner {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.thrive-step {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.thrive-step__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
}

.thrive-step__note {
  margin: 0;
  max-width: 72ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.thrive-closing__text {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

@keyframes thriveHeroCopyIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes thriveHeroArtIn {
  from { opacity: 0; transform: translate3d(24px, 18px, 0) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .thrive-hero__inner,
  .thrive-intro__inner {
    grid-template-columns: 1fr;
  }

  .thrive-hero__copy {
    align-items: center;
    text-align: center;
  }

  .thrive-hero__title,
  .thrive-hero__body {
    max-width: none;
  }

  .thrive-hero__art img {
    width: min(100%, 620px);
  }
}

@media (max-width: 980px) {
  .thrive-standalone .container {
    padding-inline: 32px;
  }

  .thrive-hero {
    padding-top: calc(var(--header-bottom) + 18px);
    padding-bottom: 34px;
    background: #fff;
  }

  .thrive-hero__inner {
    min-height: 0;
  }

  .thrive-hero__copy {
    gap: 16px;
  }

  .thrive-hero__title {
    font-size: clamp(20px, 1.6vw + 9px, 31px);
    line-height: 1.12;
  }

  .thrive-hero__body {
    max-width: 30ch;
    font-size: 15px;
  }

  .thrive-hero__notice {
    min-height: 0;
    padding: 12px 18px;
    font-size: 14px;
  }

  .thrive-hero__art {
    display: flex;
    justify-content: center;
    order: -1;
    margin: 36px 0 2px;
  }

  .thrive-hero__art img {
    width: min(100%, 300px);
  }

  .thrive-intro {
    padding: 44px 0;
  }

  .thrive-intro__copy,
  .thrive-intro__inner,
  .thrive-panel__inner,
  .thrive-step {
    text-align: center;
  }

  .thrive-intro__body {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .thrive-intro__lockup img {
    width: min(100%, 235px);
  }

  .thrive-section-title,
  .thrive-panel__title {
    font-size: clamp(20px, 1.6vw + 9px, 31px);
    line-height: 1.12;
  }

  .thrive-step__eyebrow {
    min-height: 46px;
    padding: 10px 22px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .thrive-standalone .container {
    padding-inline: 30px;
  }

  .thrive-hero {
    padding-bottom: 28px;
  }

  .thrive-hero__body {
    max-width: 27ch;
  }

  .thrive-hero__art img {
    width: min(100%, 210px);
  }

  .thrive-panel,
  .thrive-steps {
    padding: 44px 0;
  }

  .thrive-panel__figure,
  .thrive-panel__figure img {
    width: 100%;
  }

  .thrive-panel__title {
    max-width: none;
  }

  .thrive-step__note {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thrive-hero__copy,
  .thrive-hero__art {
    animation: none !important;
  }

  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
