/* ==========================================================================
   FixDebtUSA — Marketing Home Page
   Loaded only by index.html, on top of theme.css + style.css.

   The marketing site runs a brighter, higher-contrast palette than the funnel
   (vivid green CTAs, navy headings, a forest-green footer), so those values
   live here as their own `--hp-*` tokens rather than overriding the funnel
   tokens in theme.css — the four step pages must keep their existing look.
   ========================================================================== */

:root {
  /* ---- Marketing palette ---- */
  --hp-green: 140 68% 42%;          /* buttons, accent words, icon badges */
  --hp-green-dark: 142 70% 33%;     /* hover, gradient end               */
  --hp-green-deep: 147 66% 19%;     /* footer ground                     */
  --hp-night: 165 34% 15%;          /* closing CTA band                  */
  --hp-mint: 132 42% 92%;           /* hero wash                         */
  --hp-mint-soft: 132 45% 97%;      /* alternating section wash          */
  --hp-ink: 206 36% 16%;            /* headings                          */
  --hp-body: 205 15% 44%;           /* paragraphs                        */
  --hp-line: 210 20% 91%;           /* card borders, dividers            */
  --hp-star: 42 96% 53%;            /* review stars                      */

  /* ---- Layout ---- */
  --container-home: 90rem;          /* 1440px — every content section    */
  --container-hero: 100rem;         /* 1600px — hero runs a touch wider  */

  /* ---- Type ---- */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ---- Elevation ---- */
  --hp-shadow-card: 0 1px 2px hsl(206 36% 16% / .04), 0 8px 24px -12px hsl(206 36% 16% / .12);
  --hp-shadow-lift: 0 2px 4px hsl(206 36% 16% / .04), 0 24px 48px -20px hsl(206 36% 16% / .22);
  --hp-shadow-btn: 0 4px 14px -4px hsl(var(--hp-green) / .5);
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

.home {
  font-family: var(--font-display);
  background-color: #fff;
  color: hsl(var(--hp-body));
}

/* Deliberately bare (not `.home h1`) — this file only ever loads on
   `body.home` pages anyway, so the prefix added no real scoping, just
   specificity (0,1,1) that silently beat every single-class component
   rule below it (e.g. `.hp-footer__blurb { margin-bottom: ... }`), no
   matter where in the cascade they appeared. That cost real hours across
   this project — see the many `.home .foo-title` workarounds still in
   this file, each one patching a symptom of this same root cause. Kept
   bare from here on so a plain single-class rule always wins normally. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: hsl(var(--hp-ink));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

p { margin-bottom: 0; }

.home a { text-decoration: none; }

.container-home,
.container-hero {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-home { max-width: calc(var(--container-home) + 2.5rem); }
.container-hero { max-width: calc(var(--container-hero) + 2.5rem); }

/* Section rhythm — tightened on phones, opened up from tablet width */
.hp-section { padding-block: 3.5rem; }

.hp-section--mint  { background-color: hsl(var(--hp-mint-soft)); }
.hp-section--plain { background-color: #fff; }

/* Shared section heading block */
.hp-head {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hp-head__title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  margin-bottom: 1rem;
}

.hp-head__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.55;
}

.hp-accent { color: hsl(var(--hp-green)); }

/* The hand-drawn underline beneath "very best" */
.hp-underline {
  position: relative;
  white-space: nowrap;
}

.hp-underline::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.18em;
  height: 0.11em;
  border-radius: 999px;
  background-color: hsl(var(--hp-green));
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hp-btn--primary {
  background-color: hsl(var(--hp-green));
  color: #fff;
  box-shadow: var(--hp-shadow-btn);
}

.hp-btn--primary:hover,
.hp-btn--primary:focus-visible {
  background-color: hsl(var(--hp-green-dark));
  color: #fff;
  transform: translateY(-1px);
}

.hp-btn--ghost {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid hsl(0 0% 100% / .35);
}

.hp-btn--ghost:hover,
.hp-btn--ghost:focus-visible {
  background-color: hsl(0 0% 100% / .1);
  color: #fff;
}

.hp-btn--lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.0625rem;
}

.hp-btn--block {
  width: 100%;
  padding-block: 1.15rem;
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */

.hp-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
  border-bottom: 1px solid hsl(var(--hp-line));
}

.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.875rem;
}

.hp-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-inline: 0;
}

.hp-brand img {
  height: 38px;
  width: auto;
  display: block;
}

/* Desktop nav — hidden below 992px in favour of the drawer */
.hp-nav { display: none; }

.hp-nav__list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
  transition: color .15s ease;
}

.hp-nav__link:hover,
.hp-nav__link:focus-visible { color: hsl(var(--hp-green)); }

.hp-nav__caret {
  font-size: 0.7rem;
  transition: transform .18s ease;
}

/* Dropdown under "Company" */
.hp-nav__item { position: relative; }

.hp-dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  translate: -50% 0;
  min-width: 12rem;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background-color: #fff;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 0.875rem;
  box-shadow: var(--hp-shadow-lift);
  opacity: 0;
  visibility: hidden;
  translate: -50% 6px;
  transition: opacity .16s ease, translate .16s ease, visibility .16s;
}

.hp-nav__item:hover .hp-dropdown,
.hp-nav__item:focus-within .hp-dropdown {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}

.hp-nav__item:hover .hp-nav__caret,
.hp-nav__item:focus-within .hp-nav__caret { transform: rotate(180deg); }

.hp-dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
}

.hp-dropdown a:hover,
.hp-dropdown a:focus-visible {
  background-color: hsl(var(--hp-mint-soft));
  color: hsl(var(--hp-green));
}

.hp-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* On phones the logo + CTA + burger together exceed the viewport and force the
   whole page wider than the screen, so the CTA drops out — the drawer carries
   a full-width one instead. */
.hp-header__actions > .hp-btn { display: none; }

/* Hamburger — desktop nav replacement */
.hp-burger {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 0.75rem;
  background-color: #fff;
  color: hsl(var(--hp-ink));
  font-size: 1.35rem;
  cursor: pointer;
}

.hp-drawer {
  border-top: 1px solid hsl(var(--hp-line));
  background-color: #fff;
}

.hp-drawer[hidden] { display: none; }

.hp-drawer__list {
  margin: 0;
  padding: 0.75rem 0 1.25rem;
  list-style: none;
}

.hp-drawer__list a {
  display: block;
  padding: 0.75rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
  border-bottom: 1px solid hsl(var(--hp-line));
}

.hp-drawer__cta { padding-top: 1rem; }

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */

.hp-hero {
  position: relative;
  overflow: hidden;
  background-color: hsl(var(--hp-mint));
  padding-block: 2.5rem 3rem;
}

/* Layered diagonal wedges on the right edge */
.hp-hero__wedges {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  min-width: 20rem;
  height: 100%;
  pointer-events: none;
  display: none;
}

.hp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* ---- Hero copy ---- */
.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid hsl(var(--hp-green) / .25);
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--hp-ink));
}

.hp-hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: hsl(var(--hp-green));
}

.hp-hero__title {
  font-size: clamp(2.125rem, 6vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.hp-hero__lede {
  font-size: clamp(1rem, 1.9vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hp-hero__lede span { display: block; }
.hp-hero__lede span + span { margin-top: 0.35rem; }

/* Two-column tick list */
.hp-hero__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 2rem;
  margin: 0 0 2.75rem;
  padding: 0;
  list-style: none;
}

.hp-hero__features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
}

.hp-hero__features i {
  color: hsl(var(--hp-green));
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Rating row: avatar stack · stars · proven results */
.hp-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--hp-green) / .2);
}

.hp-avatars {
  display: flex;
  align-items: center;
}

.hp-avatars img,
.hp-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: block;
}

.hp-avatars img + img,
.hp-avatars span { margin-left: -10px; }

.hp-avatars span {
  display: grid;
  place-items: center;
  background-color: hsl(var(--hp-green));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
}

.hp-proof__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: hsl(var(--hp-ink));
}

.hp-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: hsl(var(--hp-star));
  font-size: 0.95rem;
}

.hp-proof__divider {
  display: none;
  width: 1px;
  height: 1.5rem;
  background-color: hsl(var(--hp-green) / .3);
}

.hp-proof__results {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: hsl(var(--hp-ink));
}

.hp-proof__results i { color: hsl(var(--hp-green)); }

/* --------------------------------------------------------------------------
   5. Hero quiz card
   -------------------------------------------------------------------------- */

.hp-quiz {
  background-color: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--hp-shadow-lift);
  overflow: hidden;
  max-width: 30rem;
  margin-inline: auto;
}

.hp-quiz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background-image:
    radial-gradient(circle, hsl(0 0% 100% / .16) 1px, transparent 1px),
    linear-gradient(120deg, hsl(var(--hp-green-dark)), hsl(142 62% 38%));
  background-size: 14px 14px, 100% 100%;
  color: #fff;
}

.hp-quiz__head-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hp-quiz__spark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: hsl(0 0% 100% / .18);
  font-size: 0.9rem;
}

.hp-quiz__eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: .85;
}

.hp-quiz__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
}

.hp-quiz__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .18);
  font-size: 0.75rem;
  font-weight: 700;
}

.hp-quiz__body { padding: 1.25rem 1.25rem 1.1rem; }

.hp-quiz__question {
  font-size: clamp(1.15rem, 2.7vw, 1.4rem);
  text-align: center;
  margin-bottom: 0.4rem;
}

.hp-quiz__hint {
  text-align: center;
  font-size: 0.8125rem;
  margin-bottom: 1.1rem;
}

/* Amount readout panel */
.hp-quiz__readout {
  padding: 1.5rem 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border: 1px solid hsl(var(--hp-green) / .22);
  border-radius: 1rem;
  background: linear-gradient(180deg, hsl(var(--hp-mint)), #fff);
}

.hp-quiz__readout-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--hp-green-dark));
  margin-bottom: 0.5rem;
}

.hp-quiz__amount {
  font-size: clamp(1.75rem, 4.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: hsl(var(--hp-green));
  line-height: 1;
  margin-bottom: 0.9rem;
}

.hp-quiz__currency {
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: 0.6em;
  margin-right: 0.05em;
}

.hp-quiz__savings {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background-color: #fff;
  border: 1.5px solid hsl(var(--hp-green) / .35);
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
}

.hp-quiz__savings strong { font-weight: 800; }

.hp-quiz__savings i { color: hsl(var(--hp-green-dark)); }

.hp-quiz__note {
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-style: italic;
  line-height: 1.5;
  color: hsl(var(--hp-body));
}

/* Slider */
.hp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--hp-line));
  outline: none;
  cursor: pointer;
}

/* Filled portion is painted from JS via --fill */
.hp-slider {
  background-image: linear-gradient(hsl(var(--hp-green)), hsl(var(--hp-green)));
  background-size: var(--fill, 22%) 100%;
  background-repeat: no-repeat;
}

.hp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid hsl(var(--hp-green));
  box-shadow: 0 2px 8px hsl(206 36% 16% / .25);
  cursor: grab;
}

.hp-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid hsl(var(--hp-green));
  box-shadow: 0 2px 8px hsl(206 36% 16% / .25);
  cursor: grab;
}

.hp-slider:focus-visible {
  box-shadow: 0 0 0 3px hsl(var(--hp-green) / .3);
}

.hp-slider-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--hp-body));
}

/* Quick amounts */
.hp-quiz__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 1.1rem;
}

.hp-chip {
  padding: 0.55rem 0.3rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 999px;
  background-color: #fff;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--hp-ink));
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.hp-chip:hover { border-color: hsl(var(--hp-green) / .55); }

.hp-chip[aria-pressed="true"] {
  background-color: hsl(var(--hp-green));
  border-color: hsl(var(--hp-green));
  color: #fff;
}

.hp-quiz__submit-note {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--hp-body));
}

.hp-quiz__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin: 1.1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid hsl(var(--hp-line));
  list-style: none;
}

.hp-quiz__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--hp-body));
}

.hp-quiz__trust i { color: hsl(var(--hp-green)); }

.hp-quiz .hp-btn--block {
  padding-block: 0.85rem;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   6. Stats strip (Trusted · 4.8/5 · 100%)
   -------------------------------------------------------------------------- */

.hp-strip {
  background-color: hsl(210 20% 99%);
  border-block: 1px solid hsl(var(--hp-line));
}

.hp-strip__list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 285px;
  margin-inline: auto;
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.hp-strip__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.25rem 0.5rem;
}

.hp-strip__item + .hp-strip__item { border-top: 1px solid hsl(var(--hp-line)); }

.hp-strip__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background-color: hsl(var(--hp-mint));
  color: hsl(var(--hp-green-dark));
  font-size: 1.15rem;
}

.hp-strip__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: hsl(var(--hp-ink));
  line-height: 1.2;
}

.hp-strip__label {
  display: block;
  font-size: 0.9375rem;
  color: hsl(var(--hp-body));
}

/* --------------------------------------------------------------------------
   7. Partner logos
   -------------------------------------------------------------------------- */

/* Soft dot-grid wash, light at the top-left fading to mint at the bottom-right —
   the section reads as one continuous surface behind the logo cards. */
.hp-partners {
  background-color: #fff;
  background-image:
    radial-gradient(circle, hsl(var(--hp-line)) 1px, transparent 1px),
    linear-gradient(135deg, hsl(0 0% 100%), hsl(var(--hp-mint-soft)) 70%);
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 0 0;
}

/* Edge-to-edge viewport with a soft fade mask, so cards scroll under the
   section padding rather than getting clipped by a hard edge. */
.hp-logos-viewport {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  margin-bottom: 2rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* Track holds two identical copies of the nine cards back to back; animating
   to -50% shifts exactly one copy's width out of view, so the loop is seamless. */
.hp-logos {
  display: flex;
  align-items: stretch;
  gap: 1.1rem;
  width: max-content;
  padding-inline: max(1.25rem, calc((100vw - var(--container-home)) / 2));
  animation: hp-logos-scroll 48s linear infinite;
}

.hp-logos-viewport:hover .hp-logos,
.hp-logos-viewport:focus-within .hp-logos {
  animation-play-state: paused;
}

@keyframes hp-logos-scroll {
  to { transform: translateX(-50%); }
}

.hp-logos__cell {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 15rem;
  min-height: 132px;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
  transition: box-shadow .18s ease, transform .18s ease;
}

.hp-logos__cell:hover {
  box-shadow: var(--hp-shadow-lift);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.hp-logos__cell img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  filter: grayscale(0);
  opacity: 1;
  transition: filter .25s ease, opacity .25s ease;
}

.hp-logos__cell:hover img,
.hp-logos__cell:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hp-logos {
    animation: none;
  }
  .hp-logos-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

.hp-logos__note {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--hp-body));
}

/* --------------------------------------------------------------------------
   8. Commitments
   -------------------------------------------------------------------------- */

.hp-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hp-commit {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.hp-commit__num {
  position: absolute;
  top: 1.4rem;
  right: 1.75rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: hsl(var(--hp-green) / .1);
}

.hp-commit__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(140deg, hsl(var(--hp-green)), hsl(var(--hp-green-dark)));
  color: #fff;
  font-size: 1.4rem;
}

.hp-commit__title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.hp-commit__body {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hp-ticks {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid hsl(var(--hp-line));
  list-style: none;
}

.hp-ticks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
}

.hp-ticks li + li { margin-top: 0.65rem; }

.hp-ticks i { color: hsl(var(--hp-green)); }

/* --------------------------------------------------------------------------
   9. Impact stats
   -------------------------------------------------------------------------- */

.hp-stat {
  position: relative;
  padding: 2.25rem 1.75rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

/* The middle "MOST LOVED" card inverts */
.hp-stat--feature {
  background: linear-gradient(150deg, hsl(142 58% 36%), hsl(147 62% 26%));
  border-color: transparent;
  box-shadow: 0 20px 44px -18px hsl(var(--hp-green-deep) / .55);
}

.hp-stat--feature .hp-stat__value,
.hp-stat--feature .hp-stat__label { color: #fff; }

.hp-stat--feature .hp-stat__body { color: hsl(0 0% 100% / .85); }

.hp-stat--feature .hp-stat__icon {
  background-color: hsl(0 0% 100% / .18);
  color: #fff;
}

.hp-stat__flag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .2);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.hp-stat__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  border-radius: 0.9rem;
  background-color: hsl(var(--hp-mint));
  color: hsl(var(--hp-green-dark));
  font-size: 1.3rem;
}

.hp-stat__value {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: hsl(var(--hp-green));
  margin-bottom: 0.35rem;
}

.hp-stat__label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: hsl(var(--hp-ink));
  margin-bottom: 1.25rem;
}

.hp-stat__body {
  font-size: 1rem;
  line-height: 1.6;
}

/* Confidential · No upfront fees · A+ rated */
.hp-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hp-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--hp-ink));
}

.hp-assurances i { color: hsl(var(--hp-green)); }
.hp-assurances .bi-star-fill { color: hsl(var(--hp-star)); }

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */

.hp-featured {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 68rem;
  margin: 0 auto 2.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #fff;
  box-shadow: var(--hp-shadow-lift);
}

.hp-featured__media {
  position: relative;
  min-height: 20rem;
  background-color: hsl(var(--hp-mint-soft));
}

/* Absolute so the media column simply fills whatever height the quote column
   sets on desktop, rather than trying to resolve a percentage against it. */
.hp-featured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-featured__flag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
  font-size: 0.75rem;
  font-weight: 800;
  color: hsl(var(--hp-ink));
}

.hp-featured__flag i { color: hsl(var(--hp-green)); }

.hp-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 1.75rem;
}

.hp-quotemark {
  font-size: 2.5rem;
  line-height: 1;
  color: hsl(var(--hp-green) / .25);
  margin-bottom: 1rem;
}

.hp-featured__quote {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 600;
  line-height: 1.45;
  color: hsl(var(--hp-ink));
  margin-bottom: 1.75rem;
}

.hp-featured__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hp-featured__name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: hsl(var(--hp-ink));
}

.hp-featured__role {
  font-size: 0.875rem;
  color: hsl(var(--hp-body));
}

.hp-featured__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---- Small testimonial cards ---- */
.hp-quote {
  padding: 1.75rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.hp-quote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.hp-quote__who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hp-quote__avatar {
  position: relative;
  flex-shrink: 0;
}

.hp-quote__avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
}

/* Green verified tick on the avatar */
.hp-quote__avatar::after {
  content: "\F26E";                 /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: hsl(var(--hp-green));
  color: #fff;
  font-size: 0.7rem;
}

.hp-quote__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  color: hsl(var(--hp-ink));
}

.hp-quote__place {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--hp-body));
}

.hp-quote__mark {
  font-size: 1.75rem;
  line-height: 1;
  color: hsl(var(--hp-green) / .22);
}

.hp-quote__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.hp-badge-result {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: hsl(var(--hp-mint));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: hsl(var(--hp-green-dark));
  white-space: nowrap;
}

.hp-quote__text {
  font-size: 1rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */

.hp-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background-color: hsl(var(--hp-mint));
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--hp-green-dark));
}

.hp-faq__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hp-faq__sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 30rem;
}

.hp-faq__more {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 24rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.hp-faq__more-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: hsl(var(--hp-mint));
  color: hsl(var(--hp-green-dark));
  font-size: 1.1rem;
}

.hp-faq__more-label {
  display: block;
  font-size: 0.9375rem;
  color: hsl(var(--hp-body));
}

.hp-faq__more-link {
  font-size: 1rem;
  font-weight: 800;
  color: hsl(var(--hp-green));
}

.hp-faq__list {
  display: grid;
  gap: 1rem;
}

.hp-acc {
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1rem;
  background-color: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hp-acc.is-open {
  border-color: hsl(var(--hp-green) / .45);
  box-shadow: var(--hp-shadow-card);
}

.hp-acc__btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 1.5rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  text-align: left;
  cursor: pointer;
}

.hp-acc__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: hsl(var(--hp-mint));
  color: hsl(var(--hp-green-dark));
  font-size: 0.8125rem;
  font-weight: 800;
}

.hp-acc.is-open .hp-acc__num {
  background-color: hsl(var(--hp-green));
  color: #fff;
}

.hp-acc__label {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: hsl(var(--hp-ink));
}

.hp-acc__sign {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: hsl(var(--hp-mint));
  color: hsl(var(--hp-green-dark));
  font-size: 0.95rem;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.hp-acc.is-open .hp-acc__sign {
  background-color: hsl(var(--hp-green));
  color: #fff;
  transform: rotate(45deg);
}

.hp-acc__panel { display: none; }

.hp-acc.is-open .hp-acc__panel { display: block; }

.hp-acc__panel p {
  padding: 0 1.5rem 1.5rem 4.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. Closing CTA
   -------------------------------------------------------------------------- */

.hp-cta {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
  text-align: center;
  background: linear-gradient(135deg, hsl(var(--hp-night)), hsl(170 30% 12%));
  color: hsl(0 0% 100% / .8);
}

/* Faint engineering grid */
.hp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(0 0% 100% / .05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hp-cta__inner { position: relative; z-index: 1; }

.hp-cta__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  margin-bottom: 1.75rem;
  border: 1px solid hsl(0 0% 100% / .22);
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .08);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.hp-cta__pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: hsl(150 70% 60%);
}

/* `.home h2` also matches these headings, so the light-on-dark colour has to
   out-specify it — hence the `.home` prefix on this rule and the footer one. */
.home .hp-cta__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.hp-cta__title .hp-accent { color: hsl(150 55% 62%); }

.hp-cta__lede {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.6;
}

.hp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hp-cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: hsl(0 0% 100% / .8);
}

.hp-cta__trust i { color: hsl(150 55% 62%); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.hp-footer {
  background-color: hsl(var(--hp-green-deep));
  color: hsl(0 0% 100% / .72);
  padding-block: 3.5rem 2rem;
  font-size: 0.9375rem;
}

.hp-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.hp-footer__wordmark {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hp-footer__wordmark span { color: hsl(150 55% 62%); }

.hp-footer__logo {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.hp-footer__logo img,
.hp-footer__logo-img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hp-footer__hours {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / .6);
}

.home .hp-footer__tagline {
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hp-footer__contact {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hp-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.hp-footer__contact a {
  color: #fff;
  font-weight: 600;
}

.hp-footer__contact a:hover { color: hsl(150 55% 70%); }

.hp-footer__hours {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / .6);
}

.home .hp-footer__col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.15rem;
}

.hp-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-footer__links li + li { margin-top: 0.75rem; }

.hp-footer__links a {
  color: hsl(0 0% 100% / .72);
  transition: color .15s ease;
}

.hp-footer__links a:hover,
.hp-footer__links a:focus-visible { color: #fff; }

/* Legal fine print */
.hp-footer__legal {
  padding-top: 2rem;
  border-top: 1px solid hsl(0 0% 100% / .14);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: hsl(0 0% 100% / .6);
}

.hp-footer__legal p + p { margin-top: 1rem; }

.hp-footer__legal a {
  color: hsl(0 0% 100% / .85);
  text-decoration: underline;
}

.hp-footer__copyright {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(0 0% 100% / .14);
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / .6);
}

/* --------------------------------------------------------------------------
   15. Responsive — small tablet upward
   -------------------------------------------------------------------------- */

@media (min-width: 576px) {
  .hp-hero__features { grid-template-columns: repeat(2, 1fr); }
  .hp-quiz__body     { padding: 1.5rem 1.5rem 1.35rem; }
  .hp-quiz__head     { padding: 1rem 1.5rem; }
  .hp-quiz__quick    { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 768px) {
  .hp-brand img      { height: 46px; }
  .hp-header__actions > .hp-btn { display: inline-flex; }

  .hp-section        { padding-block: 5rem; }
  .hp-head           { margin-bottom: 3.5rem; }
  .hp-cards-3        { grid-template-columns: repeat(2, 1fr); }
  .hp-featured       { grid-template-columns: 0.85fr 1fr; }
  .hp-featured__media { min-height: 100%; }
  .hp-featured__body { padding: 3rem 2.5rem; }
  .hp-footer__top    { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }

  .hp-strip__list {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
  .hp-strip__item {
    justify-content: center;
    gap: 0.9rem;
    padding: 1.5rem 1rem;
  }
  .hp-strip__item + .hp-strip__item {
    border-top: 0;
    border-left: 1px solid hsl(var(--hp-line));
  }
}

@media (min-width: 992px) {
  .hp-header__inner   { gap: 2rem; }
  .hp-nav             { display: block; }
  .hp-burger          { display: none; }
  .hp-drawer          { display: none !important; }

  .hp-hero            { padding-block: 4rem 5rem; }
  .hp-hero__wedges    { display: block; }
  .hp-hero__inner     { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hp-proof__divider  { display: block; }

  .hp-cards-3         { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .hp-faq             { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .hp-section         { padding-block: 6rem; }
}

@media (min-width: 1200px) {
  /* The hero runs at --container-hero (100rem) — noticeably wider than the
     rest of the page — so it needs more side inset than the 1.25rem every
     other section uses, or the headline reads as flush against the edge. */
  .hp-hero .container-hero { padding-inline: 4rem; }

  .hp-hero__inner     { grid-template-columns: 1fr 0.92fr; gap: 4rem; }
  .hp-quiz__body      { padding: 1.75rem 1.75rem 1.5rem; }
  .hp-commit,
  .hp-stat            { padding: 2.5rem 2.25rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
