:root {
  --home-cream: #f5f4d7;
  --home-orange: #ff5a0a;
  --home-pink: #d82868;
  --home-black: #111111;
  --home-white: #ffffff;
  --home-yellow: #f7b116;
  --home-purple: #4e357e;
  --home-green: #4d735f;
  --home-border: rgba(17, 17, 17, 0.35);
  --home-radius: 1.5rem;
  --home-container: 1440px;
  --home-section-space: clamp(4.5rem, 8vw, 9rem);
}

/* Base */

.home-page {
  overflow: hidden;
  background: var(--home-cream);
  color: var(--home-black);
  font-family: "Inter", sans-serif;
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-page p {
  line-height: 1.45;
}

.home-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(1.25rem, 4vw, 5rem);
}

.starts-section .home-container,
.cover-section .home-container,
.expect-section .home-container,
.potential-section .home-container,
.testimonial-section .home-container {
    padding-inline: clamp(3rem, 7vw, 10rem);
}

/* Keep long copy readable even though the section itself is full width. */
.starts-section p,
.expect-section p,
.potential-heading-row p,
.testimonial-section blockquote {
  max-width: 42rem;
}

/* Keep the video intentionally full-bleed. */
.change-section,
.change-video-wrapper,
.change-video {
  width: 100%;
}

.section-space {
  padding-block: var(--home-section-space);
}

.display-heading {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.section-heading {
  color: var(--home-orange);
  font-size: clamp(4rem, 8.2vw, 8.7rem);
}

.section-heading-wide {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  font-size: clamp(4rem, 9vw, 9.5rem);
}

/* Class name retained to avoid breaking existing HTML. */
.potentional-heading {
  color: var(--home-orange);
  font-size: clamp(3rem, 8.2vw, 8.7rem);
}

/* Buttons */

.home-btn {
  min-width: 12rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-btn:hover,
.home-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.home-btn-primary {
  background: var(--home-pink);
  color: var(--home-white);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
  background: var(--home-pink);
  color: var(--home-white);
}

.home-btn-orange {
  background: var(--home-orange);
  color: var(--home-white);
}

/* Hero */

.home-hero {
  position: relative;
  width: 100%;
  min-height: clamp(680px, 78vw, 980px);
  overflow: hidden;
  background-color: var(--home-cream);
  background-image: url("/static/images/home/hero-cart.605ec6322967.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(245, 244, 215, 0.98) 0%,
    rgba(245, 244, 215, 0.82) 28%,
    rgba(245, 244, 215, 0.18) 55%,
    rgba(245, 244, 215, 0) 75%
  );
}

.hero-content {
  position: relative;
  width: 100%;
}

/* Hero heading animation */

.hero-animated-heading {
  position: relative;
  width: min(100%, 48rem);
  margin: 0;
  color: var(--home-orange);
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-heading-line {
  display: block;
  width: 100%;
  font-size: clamp(5.5rem, 10vw, 11rem);
  line-height: 0.82;
  transform-origin: left center;
  will-change: opacity, transform;
}

.hero-heading-line {
    display: block;
    margin-bottom: 0.08em;
}

/* JavaScript updates these custom properties. */
.hero-heading-fit {
  transform:
    translateY(var(--hero-fit-y, 0))
    scale(var(--hero-fit-scale, 1));
}

.hero-heading-closes {
  opacity: var(--hero-closes-opacity, 0);
  transform: translateY(var(--hero-closes-y, 2.5rem));
}

.hero-heading-sale {
  opacity: var(--hero-sale-opacity, 0);
  transform: translateY(var(--hero-sale-y, 2.5rem));
}

.hero-supporting-content {
  margin-top: 1.75rem;
  opacity: var(--hero-support-opacity, 0);
  visibility: hidden;
  transform: translateY(var(--hero-support-y, 1.5rem));
  transition: visibility 0s linear 0.15s;
  will-change: opacity, transform;
}

.home-hero.hero-animation-complete .hero-supporting-content {
  visibility: visible;
  transition-delay: 0s;
}

.hero-intro {
  max-width: 34rem;
  margin: 2rem 0 2.25rem;
  color: var(--home-black);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

/* Trusted logos */

.trusted-section {
  padding-block: 3rem 2.25rem;
  overflow: hidden;
}

.trusted-label {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trusted-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.trusted-track {
  --logo-width: 10rem;
  --logo-gap: 5rem;

  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  animation: trusted-scroll 22s linear infinite;
  will-change: transform;
}

.trusted-track img {
  flex: 0 0 var(--logo-width);
  width: var(--logo-width);
  height: 4rem;
  object-fit: contain;
  filter: grayscale(1);
}

.trusted-marquee:hover .trusted-track {
  animation-play-state: paused;
}

/* One sequence: five 10rem logos and five 5rem gaps = 75rem. */
@keyframes trusted-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-75rem); }
}

/* Video */

.change-video-wrapper {
  position: relative;
  min-height: min(760px, 75vw);
  overflow: hidden;
  background: var(--home-orange);
}

.change-video {
  display: block;
  width: 100%;
  height: min(760px, 75vw);
  object-fit: cover;
}

.change-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem;
  border: 0;
  background:
    linear-gradient(rgba(247, 177, 22, 0.42), rgba(247, 177, 22, 0.42)),
    rgba(255, 90, 10, 0.12);
  color: var(--home-white);
  text-align: center;
  cursor: pointer;
}

.change-heading {
  color: var(--home-orange);
  font-size: clamp(4rem, 9.5vw, 10rem);
}

.change-subheading {
  margin-top: 0.4rem;
  font-size: clamp(4.3rem, 6.5vw, 7rem);
}

.change-play-icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 2rem 0 1.5rem;
  border: 4px solid var(--home-white);
  border-radius: 50%;
}

.change-play-icon::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 0.85rem solid transparent;
  border-bottom: 0.85rem solid transparent;
  border-left: 1.35rem solid var(--home-white);
}

.change-overlay.is-hidden {
  display: none;
}

/* Starts */

.starts-section p {
  max-width: 42rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.starts-visual {
  position: relative;
  min-height: 580px;
}

.starts-woman {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 580px;
  object-fit: contain;
}

/* Cover cards */

.cover-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cover-card-copy {
  margin-bottom: 1rem;
}

.cover-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-card p {
  margin: 0;
  font-size: 0.87rem;
}

.cover-card-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
}

.cover-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cover-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent);
  pointer-events: none;
}

.cover-card-image .home-btn {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  z-index: 2;
  white-space: nowrap;
  transform: translateX(-50%);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.cover-card-image:hover img {
  transform: scale(1.035);
}

.cover-card-image:hover .home-btn {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Expect */

.expect-intro {
  max-width: 40rem;
  margin: 1.6rem 0 2.5rem;
  font-size: 1rem;
}

.expect-list {
  margin: 0;
}

.expect-list > div {
  display: grid;
  grid-template-columns: minmax(9rem, 0.9fr) 1.8fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--home-border);
}

.expect-list dt {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: capitalize;
}

.expect-list dd {
  margin: 0;
  font-size: 0.85rem;
}

.rounded-media {
  border-radius: var(--home-radius);
}

.expect-image {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

/* Potential */

.potential-heading-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  margin-bottom: 3rem;
}

.potential-heading-row p {
  max-width: 38rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.22;
}

.impact-form {
  display: grid;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--home-pink);
  font-size: 0.76rem;
}

.impact-form .form-control,
.impact-form .form-select {
  min-height: 3rem;
  border: 1px solid rgba(216, 40, 104, 0.55);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  font-family: "Inter", sans-serif;
}

.impact-form .form-control:focus,
.impact-form .form-select:focus {
  border-color: var(--home-pink);
  box-shadow: 0 0 0 0.2rem rgba(216, 40, 104, 0.12);
}

.calculator-error {
  min-height: 1.25rem;
  margin: 0;
  color: #a21b46;
  font-size: 0.78rem;
}

/* Potential results */

.impact-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  height: 100%;
  padding: 1rem 0;
}

.impact-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.impact-icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--home-pink);
  font-size: clamp(2rem, 3vw, 3rem);
}

.impact-metric strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--home-orange);
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 4.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
}

.impact-metric span {
  display: block;
  max-width: 10rem;
  color: var(--home-black);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Testimonial */

.testimonial-section {
  background: #e9e3dc;
}

.testimonial-section blockquote {
  margin: 0;
  color: var(--home-orange);
  font-size: 18px;
  font-weight: 500;
}

.testimonial-logo {
  display: block;
  width: 9rem;
  max-height: 4.5rem;
  margin: 3rem auto 0;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-logo:hover {
  transform: scale(1.04);
}

/* =========================================================
   INSIGHTS
   ========================================================= */

.insights-section {
  background: var(--cream);
  border-bottom: 1px solid var(--home-orange);
}


/* =========================================================
   INTRO
   ========================================================= */

.insights-intro {
  padding-top: var(--home-section-space);
}

.insights-intro-text {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

/* =========================================================
   INSIGHTS ACTION MARQUEE
   ========================================================= */

.insights-action-marquee {
  width: 100vw;
  overflow: hidden;

  position: relative;
  left: 50%;
  margin-left: -50vw;

  padding-block: clamp(2rem, 5vw, 5rem);
}

.insights-action-track {
  display: flex;
  width: max-content;

  animation: insights-action-scroll 22s linear infinite;
}

.insights-action-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;

  gap: clamp(3rem, 6vw, 8rem);
  padding-right: clamp(3rem, 6vw, 8rem);
}

.insights-action-group span {
  flex-shrink: 0;
  white-space: nowrap;

  font-family: "Anton", sans-serif;
  font-size: 40px;
  line-height: 0.9;
  text-transform: uppercase;
}

@keyframes insights-action-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* MOBILE */

@media (max-width: 767.98px) {

  .insights-action-marquee {
    padding-block: 3rem;
  }

  .insights-action-track {
    animation-duration: 16s;
  }

  .insights-action-group {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }

  .insights-action-group span {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .insights-action-track {
    animation: none;
  }

}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.insights-hero-image {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--home-orange);
  border-bottom: 1px solid var(--home-orange);
}

.insights-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   INSIGHT STORIES
   ========================================================= */

.insights-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;

  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}


/* alternate direction */

.insights-story-reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.insights-story-reverse .insights-story-image {
  order: 2;
}

.insights-story-reverse .insights-story-copy {
  order: 1;
}


/* image */

.insights-story-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.insights-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.insights-customer-image img {
  object-position: center;
}

.insights-returns-image img {
  object-position: center;
}

.insights-product-image img {
  object-position: 55% center;
}

.insights-collection-image img {
  object-position: center;
}

@media (max-width: 767.98px) {

  .insights-story-image {
    aspect-ratio: 1 / 1;
  }

}

/* copy */

.insights-story-copy {
  max-width: 34rem;
}

.insights-story-number {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-orange);
}

.insights-story-heading {
  margin: 0 0 1.75rem;

  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
}

.insights-story-copy p:last-child {
  margin: 0;
  max-width: 30rem;

  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}


/* subtle separators between stories */

.insights-story + .insights-story {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}


/* =========================================================
   FROM INSIGHT TO ACTION
   ========================================================= */

.insights-action {
  padding-top: var(--home-section-space);

  background: #e9e3dc;
  border-top: 1px solid var(--home-orange);
}

.insights-action-heading {
  max-width: 58rem;
}

.insights-action-intro {
  max-width: 42rem;
  margin-top: 2rem;

  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}


/* =========================================================
   REPORT COLLAGE
   ========================================================= */

.insights-reports {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1rem, 2vw, 2rem);

  margin-top: clamp(4rem, 8vw, 8rem);
}

.insights-report {
  overflow: hidden;
}

.insights-report img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights-report-large {
  grid-row: span 2;
}


/* =========================================================
   ACTION STATEMENT
   ========================================================= */

.insights-action-footer {
  padding-top: clamp(5rem, 10vw, 10rem);
}

.insights-action-statement {
  margin: 0;

  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: 0.9;
  text-transform: uppercase;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  .insights-intro {
    padding-bottom: 4rem;
  }

  .insights-intro-text {
    margin-top: 1.5rem;
    font-size: 1rem;
  }


  /* hero crop */

  .insights-hero-image {
    height: clamp(15rem, 65vw, 22rem);
  }

  .insights-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


  /* stories */

  .insights-story,
  .insights-story-reverse {
    display: flex;
    flex-direction: column;

    gap: 2.5rem;

    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .insights-story-reverse .insights-story-image,
  .insights-story-reverse .insights-story-copy {
    order: initial;
  }

  .insights-story-image {
    width: 100%;
  }

  .insights-story-image img {
    width: 100%;
    height: auto;
  }

  .insights-story-copy {
    max-width: none;
  }

  .insights-story-number {
    margin-bottom: 1.2rem;
  }

  .insights-story-heading {
    font-size: clamp(3rem, 14vw, 4.8rem);
    margin-bottom: 1.4rem;
  }


  /* action */

  .insights-action-intro {
    font-size: 1rem;
  }


  /* reports */

  .insights-reports {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    margin-top: 4rem;
  }

  .insights-report-large {
    grid-row: auto;
  }

  .insights-report img {
    height: auto;
  }


  /* closing statement */

  .insights-action-footer {
    padding-top: 5rem;
  }

  .insights-action-statement {
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

}

/* Motion system */

.reveal {
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up { transform: translateY(2.25rem); }
.reveal-left { transform: translateX(-2.25rem); }
.reveal-right { transform: translateX(2.25rem); }
.reveal-scale { transform: scale(0.965); }
.reveal-fade { transform: none; }

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

.home-hero,
.hero-content {
  transition: transform 0.18s linear, background-position 0.18s linear;
}

.js-float-image {
  animation: report-float 12s ease-in-out infinite;
}

@keyframes report-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.impact-metric.is-calculating {
  opacity: 0.35;
  transform: translateY(0.35rem) scale(0.96);
}

.impact-metric.is-result-ready {
  animation: metric-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes metric-pop {
  0% { transform: translateY(0.4rem) scale(0.88); opacity: 0.35; }
  65% { transform: translateY(-0.15rem) scale(1.05); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

.impact-metric.is-result-ready .impact-icon {
  animation: icon-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes icon-pop {
  0% { transform: scale(0.6) rotate(-8deg); }
  70% { transform: scale(1.12) rotate(2deg); }
  100% { transform: none; }
}

.change-overlay .change-heading,
.change-overlay .change-subheading,
.change-overlay .change-play-icon,
.change-overlay .home-btn {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.change-overlay:hover .change-heading { transform: translateY(-4px); }
.change-overlay:hover .change-subheading { transform: translateY(-2px); }
.change-overlay:hover .change-play-icon { transform: scale(1.08); }

/* =========================
   FAQ
========================= */

.faq-section {
  background: var(--cream);
}

.faq-heading {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.faq-heading .section-heading {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.faq-accordion {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}

.faq-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  padding: 1.4rem 0;

  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 500;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-size: 1.1rem;
}

.faq-accordion .accordion-body {
  max-width: 850px;
  padding: 0 0 1.75rem;

  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

/* =========================
   PLATFORM
========================= */

.platform-section {
  background: #e9e3dc;
  color: #171411;
}


/* =========================
   PLATFORM INTRO
========================= */

.platform-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: end;

  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.platform-heading .section-eyebrow {
  grid-column: 1 / -1;
}

.platform-heading .section-eyebrow {
  margin: 0 0 0.8rem;

  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* IMPORTANT:
   Keeps this heading smaller than your other section headings
*/

.platform-heading .section-heading {
  margin: 0;

  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.92;
}

.platform-intro {
  max-width: 30rem;
  margin: 0;

  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

/*PLATFORM VIDEO */

.platform-video-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
}

.platform-video {
  display: block;
  width: 100%;
  height: auto;
}

.platform-video-desktop {
  display: block;
}

.platform-video-mobile {
  display: none;
}

@media (max-width: 767.98px) {

  .platform-video-desktop {
    display: none;
  }

  .platform-video-mobile {
    display: block;
  }

}

/* =========================
   PLATFORM MENU
========================= */

.platform-grid {
  border-top: 1px solid rgba(23, 20, 17, 0.2);
  padding-bottom: clamp(4.5rem, 8vw, 9rem);
}

.platform-feature {
  position: relative;

  display: block;
  width: 100%;

  padding: 0;

  border-bottom: 1px solid rgba(23, 20, 17, 0.2);
}


/* =========================
   MENU ROW
========================= */

.platform-feature-header {
  position: relative;
  z-index: 5;

  display: grid;

  grid-template-columns:
    60px
    minmax(0, 1fr)
    30px;

  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;

  width: 100%;

  padding: clamp(1.4rem, 2.5vw, 2.3rem) 0;

  border: 0;

  background: #e9e3dc;
  color: #171411;

  text-align: left;
  cursor: pointer;
}


/* =========================
   NUMBER
========================= */

.platform-feature-number {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1;

  color: var(--orange);

  transition: transform 0.25s ease;
}


/* =========================
   HEADING
========================= */

.platform-feature-heading {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  font-weight: 400;
  line-height: 1;

  text-transform: uppercase;

  transition: transform 0.25s ease;
}


/* =========================
   + / -
========================= */

.platform-feature-toggle {
  position: relative;

  width: 20px;
  height: 20px;

  justify-self: end;
}

.platform-feature-toggle::before,
.platform-feature-toggle::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 17px;
  height: 1.5px;

  background: #171411;

  transform: translate(-50%, -50%);

  transition: transform 0.25s ease;
}

.platform-feature-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);
}


/* + becomes - */

.platform-feature.is-open
.platform-feature-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


/* =========================
   HOVER ANIMATION
========================= */

@media (hover: hover) {

  .platform-feature-header {
    transition: background-color 0.25s ease;
  }

  .platform-feature-header:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .platform-feature-header:hover
  .platform-feature-heading {
    transform: translateX(0.5rem);
  }

  .platform-feature-header:hover
  .platform-feature-number {
    transform: translateX(0.2rem);
  }

}


/* =========================
   EXPANDED CONTENT
========================= */

.platform-feature-content {
  display: grid;

  width: 100%;

  grid-template-rows: 0fr;

  transition: grid-template-rows 0.45s ease;
}

.platform-feature.is-open
.platform-feature-content {
  grid-template-rows: 1fr;
}

.platform-feature-content-inner {
  width: 100%;

  overflow: hidden;
}


/* DESCRIPTION */

.platform-feature-content-inner p {
  max-width: 42rem;

  margin: 0;

  padding:
    0.5rem
    0
    clamp(2.5rem, 5vw, 4rem)
    calc(60px + clamp(1rem, 3vw, 3rem));

  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}


/* =========================
   STICKY OPEN HEADING
========================= */

.platform-feature.is-open
.platform-feature-header {
  position: sticky;

  top: 5rem;

  z-index: 10;

  background: #e9e3dc;
}

.platform-feature-header:focus {
  outline: none;
  box-shadow: none;
}

.platform-feature-header:focus-visible {
  outline: none;
  box-shadow: none;
  border-bottom: 1px solid var(--orange);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

  /* INTRO */

  .platform-heading {
    display: block;

    margin-bottom: 2.5rem;
  }

  .platform-heading .section-heading {
    margin-bottom: 1.5rem;

    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 0.95;
  }

  .platform-intro {
    max-width: 23rem;

    font-size: 0.9rem;
    line-height: 1.5;
  }


  /* MENU */

  .platform-feature-header {
    grid-template-columns:
      36px
      minmax(0, 1fr)
      22px;

    gap: 0.75rem;

    padding: 1.5rem 0;
  }

  .platform-feature-number {
    font-size: 1rem;
  }

  .platform-feature-heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }


  /* OPEN CONTENT */

  .platform-feature-content-inner p {
    max-width: 24rem;

    padding:
      0.35rem
      0
      2.5rem
      calc(36px + 0.75rem);

    font-size: 0.88rem;
    line-height: 1.5;
  }


  /* STICKY */

  .platform-feature.is-open
  .platform-feature-header {
    top: 4.5rem;
  }

}

/* =========================================================
   PLATFORM IMAGE
   ========================================================= */

.platform-image-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  border-bottom: 1px solid var(--home-orange);
}


.platform-image {
  display: block;
  width: 100%;
  height: auto;
}


/* MOBILE */
@media (max-width: 767.98px) {

  .platform-image-section {
    height: clamp(14rem, 55vw, 20rem);
  }

  .platform-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
     object-position: 20% center;
  }

}

@media (max-width: 767.98px) {
  .faq-heading {
    margin-bottom: 2rem;
  }

  .faq-heading .section-heading {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .faq-accordion .accordion-button {
    padding: 1.25rem 0;
    font-size: 1rem;
    line-height: 1.35;
  }

  .faq-accordion .accordion-body {
    padding-bottom: 1.4rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  :root {
    --home-radius: 1.2rem;
    --home-section-space: 4rem;
  }

  .home-container {
    padding-inline: 1.25rem;
  }

  .home-hero {
    min-height: 670px;
    background-position: 68% bottom;
    background-size: auto 58%;
  }

  .hero-overlay {
    align-items: flex-start;
    padding-top: 5.5rem;
    background: linear-gradient(
      180deg,
      rgba(245, 244, 215, 1) 0%,
      rgba(245, 244, 215, 1) 34%,
      rgba(245, 244, 215, 0.84) 43%,
      rgba(245, 244, 215, 0) 57%
    );
  }

  .hero-animated-heading {
    width: 100%;
  }

  .hero-heading-line {
    font-size: clamp(4rem, 18vw, 5.8rem);
    line-height: 0.88;
  }

  .hero-supporting-content {
    margin-top: 1.15rem;
  }

  .hero-intro {
    max-width: 19rem;
    margin: 1.15rem 0 1.35rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .trusted-track {
    --logo-width: 7rem;
    --logo-gap: 2.5rem;

    animation-name: trusted-scroll-mobile;
    animation-duration: 16s;
  }

  .change-video-wrapper,
  .change-video {
    min-height: 34rem;
    height: 34rem;
  }

  .change-overlay {
    justify-content: flex-start;
    padding-top: 4rem;
  }

  .change-heading {
    font-size: clamp(4rem, 17vw, 6.8rem);
    line-height: 0.9;
  }

  .change-subheading {
    font-size: clamp(3rem, 11vw, 4.5rem);
    line-height: 1;
  }

  .change-play-icon {
    width: 4rem;
    height: 4rem;
    margin: 1.25rem 0 1rem;
  }

  .section-heading,
  .section-heading-wide {
    font-size: clamp(4rem, 18vw, 6.8rem);
  }

  .starts-visual {
    min-height: 260px;
  }

  .cover-grid {
    --bs-gutter-y: 3rem;
  }

  .cover-card img {
    aspect-ratio: 1.5 / 1;
  }

  .expect-list > div {
    grid-template-columns: 1fr 1.5fr;
    gap: 0.8rem;
  }

  .potential-heading-row {
    display: block;
    margin-bottom: 2rem;
  }

  .potential-heading-row h2 {
    margin-bottom: 1.25rem;
  }

  .potential-heading-row p {
    width: 100%;
    max-width: 28rem;
    margin: 0;
    font-size: clamp(1rem, 2.6vw, 2.65rem);
  }

  .impact-form {
    gap: 0.6rem;
  }

  .form-group label {
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
  }

  .impact-form .form-control,
  .impact-form .form-select {
      height: 38px;
      min-height: 38px;
      padding: 0.35rem 0.75rem;
      border-radius: 0.6rem;
      font-size: 16px;
  }

  .impact-form .home-btn {
    height: 40px;
    min-height: 40px;
    margin-top: 0.3rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .impact-results {
    gap: 1rem;
    padding: 0;
    scroll-margin-top: 100px;
  }

  .impact-icon {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
  }

  .impact-metric strong {
    font-size: 1.5rem;
  }

  .impact-metric span {
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .testimonial-section blockquote {
    font-size: 16px;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    transform: translateY(1.5rem);
  }

  .js-float-image {
    animation-duration: 10s;
  }
}

/* Five 7rem logos and five 2.5rem gaps = 47.5rem. */
@keyframes trusted-scroll-mobile {
  from { transform: translateX(0); }
  to { transform: translateX(-47.5rem); }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .trusted-track,
  .js-float-image,
  .impact-metric.is-result-ready,
  .impact-metric.is-result-ready .impact-icon {
    animation: none;
  }

  .trusted-marquee {
    overflow-x: auto;
  }

  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cover-card-image img,
  .hero-content,
  .home-hero {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .starts-section .home-container,
  .cover-section .home-container,
  .expect-section .home-container,
  .potential-section .home-container,
  .testimonial-section .home-container {
    padding-inline: 1.25rem;
  }
}

/* Give large desktop layouts generous but consistent gutters. */
@media (min-width: 1400px) {
  .home-container {
    padding-inline: 5rem;
  }
}

