/*
 * Reference-faithful homepage layout
 * Desktop measurements are normalized to the supplied 930 × 1692 target.
 */

.homepage-redesign {
  overflow: clip;
}

.home-hero.container-wide {
  max-width: 46rem;
  padding-top: 3.5rem !important;
  padding-bottom: 0 !important;
}

.home-hero > .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem !important;
}

.home-hero .md\:col-span-5,
.home-hero .md\:col-span-7 {
  grid-column: auto !important;
  min-width: 0;
}

.home-hero > .grid > .reveal-stagger {
  position: relative;
  z-index: 4;
  padding-top: 0;
}

.home-hero .reveal-item > .text-sm {
  display: none;
}

.home-hero h1 {
  max-width: 8.4ch;
  margin-top: 1.15rem !important;
  font-size: clamp(2.75rem, 10vw, 4.1rem) !important;
  letter-spacing: -.045em;
  line-height: 1 !important;
}

.home-hero .hero-off {
  padding-inline: .14em;
}

.home-hero .lede {
  max-width: 29rem;
  margin-top: 1.7rem !important;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.home-hero .btn-primary {
  min-height: 3.35rem;
  padding-inline: 1.45rem;
  box-shadow: 0 10px 24px -14px rgba(51, 37, 171, .8);
}

.home-hero .btn-primary .bi,
.home-offer-card .bi-arrow-right,
.home-closing .bi-arrow-right {
  font-size: 1rem;
  transition: transform var(--dur-fast) var(--ease-standard);
}

.home-hero .btn-primary:hover .bi,
.home-offer-card a:hover .bi-arrow-right,
.home-closing a:hover .bi-arrow-right {
  transform: translateX(2px);
}

.home-proof-stage {
  position: relative;
}

.home-proof-browser {
  display: block;
  overflow: hidden;
  width: min(100%, 34.6875rem);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-proof-browser:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 4px;
}

.home-proof-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .18rem .35rem;
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition: color var(--dur-fast) var(--ease-standard);
}

.home-proof-caption-action {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.home-proof-caption:hover {
  color: var(--color-primary);
}

.home-proof-browser img,
.home-review-pages img,
.home-review-pages-responsive img {
  display: block;
  width: 100%;
  height: auto;
}

.home-review-pages {
  display: none;
}

.home-review-pages-responsive {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100%, 34rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  margin: -2.75rem auto 0;
  padding-inline: 1rem;
}

.home-review-pages-responsive figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1020 / 1320;
  border: 1px solid rgba(30, 29, 30, .1);
  border-radius: .2rem;
  background: #fff;
  box-shadow: 0 20px 34px -22px rgba(30, 29, 30, .42);
}

.home-review-pages-responsive figure + figure {
  margin-left: -.6rem;
}

.home-review-pages-responsive figure:first-child {
  transform: rotate(-3deg);
}

.home-review-pages-responsive figure:nth-child(2) {
  z-index: 2;
  transform: rotate(1deg) translateY(1rem);
}

.home-review-pages-responsive figure:nth-child(3) {
  z-index: 3;
  transform: rotate(-1deg) translateY(1.8rem);
}

.home-outcomes {
  position: relative;
  z-index: 5;
  border-block: 1px solid rgba(51, 37, 171, .08);
  background: #fbf8fd;
}

.home-outcome-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 1rem;
}

.home-outcome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .8rem;
  padding-block: 1.2rem;
}

.home-outcome + .home-outcome {
  border-top: 1px solid rgba(30, 29, 30, .12);
}

.home-outcome .bi {
  margin-top: .12rem;
  color: var(--color-primary);
  font-size: 1.35rem;
  line-height: 1;
}

.home-outcome h2 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.home-outcome p {
  max-width: 18rem;
  margin-top: .3rem;
  color: var(--color-text-muted);
  font-size: .875rem;
  line-height: 1.5;
}

.home-offers {
  border: 0 !important;
  background: #f7ecfc !important;
}

.home-offers > .container-wide {
  max-width: 44rem;
  padding-block: 3rem !important;
}

.home-offers > .container-wide > .eyebrow,
.home-offers > .container-wide > .eyebrow + h2 {
  display: none;
}

.home-offers > .container-wide > .grid {
  margin-top: 0 !important;
  gap: 0 !important;
}

.home-offer-card {
  min-height: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.home-offer-card .pill {
  min-height: 1.55rem;
  align-items: center;
  padding: .28rem .65rem;
  font-size: .6875rem !important;
  letter-spacing: .045em;
  line-height: 1.2;
}

.home-offer-card h2 {
  margin-top: 1.05rem !important;
  font-size: clamp(2rem, 4.5vw, 2.35rem) !important;
  line-height: 1.05 !important;
}

.home-price-mark {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: .09em;
  text-underline-offset: .14em;
}

.home-offer-card > p.flex-1 {
  flex: none;
  max-width: 18rem;
  margin-top: 1rem !important;
  color: var(--color-text-muted);
  font-size: .98rem;
  line-height: 1.5;
}

.home-offer-list {
  display: grid;
  gap: .65rem;
  margin-top: 1.15rem;
  color: var(--color-text-muted);
  font-size: .8125rem;
  line-height: 1.42;
}

.home-offer-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .6rem;
}

.home-offer-list .bi {
  margin-top: .03rem;
  color: var(--color-primary);
  font-size: .875rem;
  line-height: 1.35;
}

.home-offer-list-free .bi {
  color: #a66012;
}

.home-offer-card > a {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 2rem !important;
}

.home-closing .closing-cta-content {
  max-width: none;
}

.home-closing .closing-cta-heading {
  font-size: clamp(1.65rem, 4vw, 2rem);
}

.home-closing .closing-cta-copy {
  max-width: 38rem;
}

@media (min-width: 640px) {
  .home-hero h1 {
    max-width: none;
  }

  .home-hero-last-line {
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 879px) {
  .home-proof-browser {
    aspect-ratio: 555 / 640;
  }

  .home-offers > .container-wide > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-offer-card {
    padding: 2rem !important;
  }

  .home-offer-paid {
    border-right: 1px solid rgba(30, 29, 30, .16);
  }
}

@media (max-width: 767px) {
  .home-proof-browser {
    aspect-ratio: 555 / 640;
  }

  .home-offers > .container-wide > .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-offer-card {
    padding: 2.5rem 0 !important;
  }

  .home-offer-paid {
    border-bottom: 1px solid rgba(30, 29, 30, .16);
  }

  .home-offer-card > a {
    max-width: 100%;
  }
}

@media (max-width: 639px) {
  .home-hero.container-wide {
    padding-top: 3.25rem !important;
    padding-inline: 1.25rem;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 3.45rem) !important;
  }

  .home-review-pages-responsive {
    width: calc(100% + 1rem);
    margin-left: -.5rem;
    padding-inline: .35rem;
  }

  .home-outcomes .container-wide,
  .home-offers > .container-wide {
    padding-inline: 1.25rem;
  }

  .home-offers > .container-wide {
    padding-block: 2.75rem !important;
  }

  .home-offer-card h2 {
    font-size: 2.15rem !important;
  }
}

@media (min-width: 880px) {
  .shared-site-header .shared-header-inner {
    width: 100%;
    max-width: 58.125rem;
    min-height: 4rem;
    padding: 0 3.125rem !important;
  }

  .shared-site-header .shared-brand {
    min-height: 2.75rem;
    font-size: 1.25rem !important;
  }

  .shared-site-header .shared-site-nav a {
    font-size: .75rem !important;
  }

  .home-hero.container-wide {
    position: relative;
    width: 100%;
    max-width: 58.125rem;
    height: 56.3125rem;
    padding: 0 !important;
  }

  .home-hero > .grid {
    display: block;
    height: 100%;
  }

  .home-hero > .grid > .reveal-stagger {
    position: absolute;
    z-index: 4;
    top: 5.4375rem;
    left: 3.125rem;
    width: 19.5rem;
    padding: 0;
  }

  .home-hero h1 {
    width: 19.5rem;
    margin-top: 1.5rem !important;
    font-size: 3.53125rem !important;
    line-height: .995 !important;
  }

  .home-hero-last-line {
    font-size: .79em;
  }

  .home-hero .lede {
    width: 19.25rem;
    margin-top: 2.15rem !important;
    font-size: 1.125rem;
    line-height: 1.62;
  }

  .home-hero .btn-primary {
    width: 13.75rem;
    min-height: 3.375rem;
    padding-inline: 1rem;
    white-space: nowrap;
  }

  .home-hero > .grid > .reveal-stagger > .reveal-item:last-child {
    margin-top: 1.3rem !important;
  }

  .home-proof-column,
  .home-proof-stage {
    position: static;
  }

  .home-proof-browser {
    position: absolute;
    z-index: 2;
    top: 1.625rem;
    left: 23.125rem;
    width: 34.6875rem;
    margin: 0;
  }

  .home-review-pages {
    position: absolute;
    z-index: 3;
    display: block;
    top: 32.25rem;
    left: 1rem;
    width: 34rem;
    margin: 0;
  }

  .home-review-pages-responsive {
    display: none;
  }

  .home-proof-caption {
    position: absolute;
    z-index: 4;
    top: 43.125rem;
    right: 3.125rem;
    justify-content: flex-end;
    margin: 0;
    font-size: .75rem;
    text-align: right;
  }

  .home-outcomes {
    height: 8.25rem;
  }

  .home-outcomes .container-wide {
    width: 100%;
    max-width: 51.875rem;
    height: 100%;
    padding: 0;
  }

  .home-outcome-list {
    grid-template-columns: 16.6875rem 18.0625rem 17.125rem;
    height: 100%;
    padding: 1.9rem 0;
  }

  .home-outcome {
    gap: 1.125rem;
    min-width: 0;
    padding: 0 1.95rem;
  }

  .home-outcome + .home-outcome {
    padding-left: 2.25rem;
  }

  .home-outcome + .home-outcome {
    border-top: 0;
    border-left: 1px solid rgba(30, 29, 30, .14);
  }

  .home-outcome .bi {
    font-size: 1.4rem;
  }

  .home-outcome h2 {
    font-size: .875rem;
  }

  .home-outcome p {
    margin-top: .45rem;
    font-size: .8125rem;
    line-height: 1.5;
  }

  .home-offers {
    height: 22.125rem;
  }

  .home-offers > .container-wide {
    width: 42.5rem;
    max-width: 42.5rem;
    height: 100%;
    padding: 1.75rem 0 1.9375rem !important;
  }

  .home-offers > .container-wide > .grid {
    display: grid;
    grid-template-columns: 21.625rem 20.875rem !important;
    height: 18.4375rem;
  }

  .home-offer-card {
    height: 18.4375rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .home-offer-paid {
    border-right: 1px solid rgba(30, 29, 30, .16);
    padding-right: 3.8125rem !important;
    padding-left: .75rem !important;
  }

  .home-offer-free {
    padding-right: 0 !important;
    padding-left: 4.875rem !important;
  }

  .home-offer-card h2 {
    font-size: 1.875rem !important;
  }

  .home-offer-paid h2 {
    font-size: 1.75rem !important;
    white-space: nowrap;
  }

  .home-offer-card > p.flex-1 {
    font-size: .9375rem;
  }

  .home-offer-list {
    gap: .55rem;
    margin-top: 1.05rem;
    font-size: .6875rem;
    line-height: 1.38;
  }

  .home-offer-list li {
    gap: .5rem;
  }

  .home-offer-list .bi {
    font-size: .8125rem;
  }

  .home-offer-paid > a {
    width: 16rem;
  }

  .home-offer-free > a {
    width: 13.5rem;
  }

  .home-offer-card > a {
    min-height: 2.75rem;
    margin-top: auto !important;
    padding-block: .65rem;
  }

  .home-closing {
    height: 10.8125rem;
  }

  .home-closing .closing-cta-inner {
    width: 47.75rem;
    max-width: 47.75rem;
    height: 100%;
    padding: 1.5rem 0 2rem !important;
  }

  .home-closing .closing-cta-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
  }

  .home-closing .closing-cta-heading {
    font-size: 1.45rem;
  }

  .home-closing .closing-cta-heading::before {
    width: 1.5rem;
    height: 2px;
    margin-bottom: .65rem;
  }

  .home-closing .closing-cta-copy {
    max-width: 28rem;
    margin-top: .35rem;
    font-size: .875rem;
    line-height: 1.45;
  }

  .home-closing .closing-cta-button {
    width: 13.25rem;
    min-height: 2.65rem;
    padding: .6rem 1rem;
    font-size: .875rem;
  }

  .home-closing .closing-cta-lower {
    gap: .65rem 3rem;
    margin-top: 1.1rem;
  }

  .home-closing .closing-cta-secondary,
  .home-closing .closing-cta-contact {
    font-size: .75rem;
  }

  .homepage-redesign + .shared-site-footer {
    height: 4.25rem;
  }

  .homepage-redesign + .shared-site-footer .shared-footer-inner {
    width: 47.75rem;
    max-width: 47.75rem;
    height: 100%;
    grid-template-columns: minmax(0, 1fr) 16.5625rem;
    align-items: center !important;
    gap: 2.25rem !important;
    padding: 0 !important;
  }

  .homepage-redesign + .shared-site-footer .shared-footer-nav {
    gap: 0 1.25rem !important;
    font-size: .6875rem !important;
  }

  .homepage-redesign + .shared-site-footer .shared-footer-nav a {
    min-height: 2rem;
  }

  .homepage-redesign + .shared-site-footer .shared-footer-nav {
    transform: translateY(-.1875rem);
  }

  .homepage-redesign + .shared-site-footer .shared-footer-owner {
    max-width: none !important;
    border-left: 1px solid #e4e2e2;
    padding: .25rem 0 .25rem 1.75rem;
    font-size: .6875rem !important;
    line-height: 1.45 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .btn-primary .bi,
  .home-offer-card .bi-arrow-right,
  .home-closing .bi-arrow-right {
    transition: none;
  }
}
