/*
  Styles specific to /lp/engine-x — sections that exist on the LP but not on /x:
  bento cards, sticky CTA bar, mid-page wordmark logo, hero fine-print spacing.
  Loaded alongside webflow-v2/x.css so the page picks up the engine-x design
  system (colors, fonts, donut counter, legal section) from x.css.
*/

/* Sticky CTA bar pinned to top of viewport */
.engine-x-sticky-cta {
  z-index: 100;
  background-color: #ffffff;
  border-top: 1px solid var(--base-color-neutral--100, #e8e8e8);
  border-bottom: 1px solid var(--base-color-neutral--100, #e8e8e8);
  display: block;
  position: sticky;
  top: 0;
}

.engine-x-sticky-cta .engine-x-small-text {
  color: var(--base-color-neutral--950, #10121a) !important;
}

.engine-x-sticky-cta .text-style-superscript {
  color: var(--base-color-neutral--950, #10121a) !important;
}

.sticky-cta-content {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.engine-x-small-text {
  letter-spacing: 0;
}

/* Hero superscript sizing — smaller than default and pulled up */
.hero-dream_heading sup {
  font-size: 15px;
  top: -2.5em;
  position: relative;
  vertical-align: baseline;
}

/* container-xsmall — used by the mid-page CTA wrapper. Not defined in
   webflow-v2/x.css, so without this the form has no max-width and the
   section reads as broken. */
.container-xsmall {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Mid-page CTA section */
.engine-x_mid-cta {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media screen and (max-width: 767px) {
  .engine-x_mid-cta {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Match non-hero section headings to the hero subhead ("Get started for
   nothing…") on mobile: default h2 at ≤479px is 1.75rem, and the reference
   h2 carries .line-height-90 (0.9). */
@media screen and (max-width: 479px) {
  .savings-calculator_heading,
  .heading-style-h1 {
    font-size: 1.75rem;
    line-height: 0.9;
  }
}

.engine-x_mid-cta h2 {
  color: var(--text-color--text-white, #fff);
}

@media screen and (min-width: 992px) {
  .engine-x_title-wrapper h2 {
    font-size: 3.5rem;
  }
}

/* Mid-page wordmark logo */
.engine-x-plp-logo {
  width: 100px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Hero fine-print spacing */
.engine-x-hero-fine-print {
  font-size: 0.75rem;
  opacity: 0.8;
}
