/* ─── Reset ─────────────────────────────────────────────────────── */
html { font-size: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background-color: #29242c; }

/* ─── Design tokens ─────────────────────────────────────────────── */
:root {
  --color-page-bg: #29242c;
  --color-nav-bg: #1a1a2e;
  --color-cta: #9f65ff;
  --color-cta-dark: #6e56cf;
  --color-card-bg: #38333a;
  --color-text-heading: #f8f8f8;
  --color-text-sub: #d0d0d0;
  --color-text-card-title: #ffffff;
  --color-text-dark: #333333;
  --color-text-muted: #727272;
  --color-accent-purple: #3d158e;
  --color-accent-purple-light: #c2a3ff;
  --color-accent-green: #54e1a7;
  --color-bar-gray: #e4e4e4;
  --font-aptos: "neue-haas-grotesk-text", "Aptos", "Segoe UI", system-ui, sans-serif;
  --font-outfit: "Outfit", sans-serif;
}

/* ─── Scoped wrapper ────────────────────────────────────────────── */
.home-page {
  min-height: 100vh;
  background-color: var(--color-page-bg);
}

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

/* ─── Header ────────────────────────────────────────────────────── */
.hp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  border-bottom: 0.0625rem solid #494444;
}

@media (min-width: 48rem) {
  .hp-header {
    padding: 0.75rem 2rem;
  }
}

@media (min-width: 64rem) {
  .hp-header {
    padding: 1rem 2rem;
  }
}

.hp-header__logo {
  height: 1.875rem;
  width: 100%;
}

@media (min-width: 64rem) {
  .hp-header__logo {
    height: 2.375rem;
  }
}

.hp-header .contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.hp-header .contact .hp-header__cta span {
  font-size: 0.875rem;
}

@media (min-width: 48rem) {
  .hp-header .contact .hp-header__cta span {
    font-size: 1rem;
  }
}

.hp-header .contact .hp-header__cta.contact-sale {
  background-color: var(--color-cta);
  border: 0;
}

.hp-header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 7.5rem;
  border-radius: 2.8125rem;
  background-color: transparent;
  border: 0.0625rem solid white;
  text-decoration: none;
  transition: background-color 0.2s;
}

@media (min-width: 48rem) {
  .hp-header__cta {
    height: 2.5rem;
    width: 8.75rem;
  }
}

@media (min-width: 64rem) {
  .hp-header__cta {
    height: 2.75rem;
    width: 10.25rem;
  }
}

.hp-header__cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hp-header__cta span {
  font-family: var(--font-aptos);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: white;
}

@media (min-width: 48rem) {
  .hp-header__cta span {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .hp-header__cta span {
    font-size: 1.125rem;
  }
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 1.5rem;
}

@media (min-width: 48rem) {
  .hp-hero {
    padding: 4rem 2rem 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero {
    padding: 5rem 0 2.5rem;
  }
}

.hp-hero__title-wrap {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 84.6875rem;
  flex-direction: column;
  padding: 0;
}

@media (min-width: 48rem) {
  .hp-hero__title-wrap {
    padding: 0 1rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__title-wrap {
    padding: 0 2.6875rem;
  }
}

.hp-hero__title {
  text-align: center;
  font-family: var(--font-aptos);
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  margin: 0;
  animation: hero-slide-up 0.8s ease-out;
  font-size: 3rem;
  line-height: 3.125rem;
  letter-spacing: -0.125rem;
}

@media (min-width: 48rem) {
  .hp-hero__title {
    font-size: 5rem;
    line-height: 5rem;
    letter-spacing: -0.21875rem;
  }
}

@media (min-width: 64rem) {
  .hp-hero__title {
    font-size: 7.5rem;
    line-height: 7.25rem;
    letter-spacing: -0.3125rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__title {
    font-size: 9.625rem;
    line-height: 9.125rem;
    letter-spacing: -0.385rem;
  }
}

.hp-hero__title span {
  display: block;
}

.hp-hero__graphics {
  position: relative;
  margin-top: 2rem;
  width: 100%;
  max-width: 83.25rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

@media (min-width: 48rem) {
  .hp-hero__graphics {
    margin-top: 2.5rem;
    border-radius: 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__graphics {
    margin-top: 3rem;
    border-radius: 2.5rem;
  }
}

.hp-hero__graphics img {
  width: 100%;
  height: 100%;
  min-height: 18.75rem;
  object-fit: cover;
}

@media (min-width: 48rem) {
  .hp-hero__graphics img {
    min-height: 28.125rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__graphics img {
    min-height: 39.1875rem;
  }
}

.hp-hero__graphics--mobile {
  display: block;
}

@media (min-width: 48rem) {
  .hp-hero__graphics--mobile {
    display: none;
  }
}

.hp-hero__graphics--desktop {
  display: none;
}

@media (min-width: 48rem) {
  .hp-hero__graphics--desktop {
    display: block;
  }
}

.hp-hero__clients {
  display: flex;
  margin-top: 2rem;
  width: 100%;
  max-width: 90rem;
  gap: 1rem;
  overflow-x: auto;
}

@media (min-width: 80rem) {
  .hp-hero__clients {
    margin-top: 3rem;
  }
}

.hp-hero__client-card {
  display: flex;
  flex: 1;
  min-width: 12.5rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--color-card-bg);
}

@media (min-width: 48rem) {
  .hp-hero__client-card {
    height: 4rem;
    min-width: 14.375rem;
  }
}

.hp-hero__client-card img {
  height: 2rem;
  width: 100%;
  object-fit: contain;
}

.hp-hero__deco {
  pointer-events: none;
  position: absolute;
  z-index: 20;
  display: none;
}

@media (min-width: 48rem) {
  .hp-hero__deco {
    display: block;
  }
}

.hp-hero__deco--left {
  top: 20%;
  left: 0;
  width: 5rem;
  animation: float-in 0.6s ease-out 0.4s both;
}

@media (min-width: 48rem) {
  .hp-hero__deco--left {
    width: 5.625rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__deco--left {
    top: 4.3125rem;
    left: 2.625rem;
    width: 7rem;
  }
}

.hp-hero__deco--right {
  top: 10%;
  right: 0;
  width: 6.25rem;
  animation: float-in 0.6s ease-out 0.6s both;
}

@media (min-width: 48rem) {
  .hp-hero__deco--right {
    width: 7.5rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__deco--right {
    top: 2rem;
    right: 19.0625rem;
    width: 9.5rem;
  }
}

.hp-hero__deco--star {
  bottom: 10%;
  left: 20%;
  width: 3.75rem;
  animation: float-in 0.6s ease-out 0.8s both;
}

@media (min-width: 48rem) {
  .hp-hero__deco--star {
    width: 4.375rem;
  }
}

@media (min-width: 80rem) {
  .hp-hero__deco--star {
    bottom: auto;
    left: 16.5625rem;
    top: 15.875rem;
    width: 6.0625rem;
  }
}

/* ─── Section heading (shared) ──────────────────────────────────── */
.hp-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 48.4375rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .hp-section-heading {
    padding: 0 1.5rem;
  }
}

.hp-section-heading__title {
  text-align: center;
  font-family: var(--font-aptos);
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0;
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.0625rem;
}

@media (min-width: 48rem) {
  .hp-section-heading__title {
    font-size: 2.75rem;
    line-height: 3rem;
    letter-spacing: -0.0875rem;
  }
}

@media (min-width: 80rem) {
  .hp-section-heading__title {
    width: 44.5rem;
    align-self: center;
    font-size: 3.75rem;
    line-height: 3.75rem;
    letter-spacing: -0.1125rem;
  }
}

.hp-section-heading__subtitle {
  text-align: center;
  font-family: var(--font-aptos);
  color: var(--color-text-sub);
  margin: 0;
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-section-heading__subtitle {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .hp-section-heading__subtitle {
    font-size: 1.25rem;
  }
}

/* ─── PaymentFeatures ───────────────────────────────────────────── */
.hp-payment-features {
  padding: 3rem 0 4rem;
}

@media (min-width: 48rem) {
  .hp-payment-features {
    padding: 4rem 0 5rem;
  }
}

@media (min-width: 80rem) {
  .hp-payment-features {
    padding: 5rem 0 7.5rem;
  }
}

.hp-payment-features__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 90rem;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .hp-payment-features__cards {
    margin-top: 3rem;
    gap: 1.25rem;
    padding: 0 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-payment-features__cards {
    margin-top: 4rem;
    padding: 0 3.375rem;
  }
}

/* ─── Feature card ──────────────────────────────────────────────── */
.hp-feature-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--color-card-bg);
}

@media (min-width: 48rem) {
  .hp-feature-card {
    border-radius: 2.25rem;
  }
}

.hp-feature-card__text {
  padding: 1.25rem 1.25rem 0;
}

@media (min-width: 48rem) {
  .hp-feature-card__text {
    padding: 2rem 2rem 0;
  }
}

.hp-feature-card__title {
  font-family: var(--font-aptos);
  font-weight: 600;
  color: var(--color-text-card-title);
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.015rem;
}

@media (min-width: 48rem) {
  .hp-feature-card__title {
    font-size: 1.5rem;
    line-height: 1.8125rem;
  }
}

.hp-feature-card__subtitle {
  margin-top: 0.5rem;
  font-family: var(--font-aptos);
  color: var(--color-text-sub);
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: -0.03rem;
}

@media (min-width: 48rem) {
  .hp-feature-card__subtitle {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}

.hp-feature-card__image-wrap {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.home-page img {
  max-width: 100%;
}

@media (min-width: 48rem) {
  .hp-feature-card__image-wrap {
    padding: 1.5rem;
  }
}

/* ── Width variant: tracking ── */
.hp-feature-card--tracking {
}

@media (min-width: 48rem) {
  .hp-feature-card--tracking {
    width: calc(58.5% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--tracking {
    height: 26rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--tracking .hp-feature-card {
    position: relative;
    overflow: hidden;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--tracking .hp-feature-card__text {
    position: absolute;
    left: 1.9375rem;
    top: 1.9375rem;
    width: 20rem;
    padding: 0;
    z-index: 1;
  }
}

.hp-feature-card--tracking .hp-feature-card__image-wrap {
  min-height: 11.25rem;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-feature-card--tracking .hp-feature-card__image-wrap {
    min-height: 12.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--tracking .hp-feature-card__image-wrap {
    position: absolute;
    right: 1.9375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20rem;
    height: 22rem;
    min-height: unset;
    padding: 0;
    margin: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }
}

.hp-feature-card--tracking .hp-feature-card__image {
  max-height: 11.25rem;
  width: 100%;
  max-width: 12.5rem;
  object-fit: contain;
}

@media (min-width: 48rem) {
  .hp-feature-card--tracking .hp-feature-card__image {
    max-height: 12.5rem;
    max-width: 13.75rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--tracking .hp-feature-card__image {
    max-height: 19.4375rem;
    max-width: 17.5625rem;
  }
}

/* ── Width variant: reconcile ── */
@media (min-width: 48rem) {
  .hp-feature-card--reconcile {
    width: calc(41.5% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--reconcile {
    height: 26rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--reconcile .hp-feature-card {
    position: relative;
    overflow: hidden;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--reconcile .hp-feature-card__text {
    position: absolute;
    left: 1.9375rem;
    top: 1.9375rem;
    width: 20rem;
    padding: 0;
    z-index: 1;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--reconcile .hp-feature-card__image-wrap {
    position: absolute;
    left: 50%;
    top: calc(50% + 6.25rem);
    transform: translate(-50%, -50%);
    min-height: unset;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
}

.hp-feature-card--reconcile .hp-reconcile-illustration {
  transform-origin: top center;
  transform: scale(0.5);
}

@media (min-width: 48rem) {
  .hp-feature-card--reconcile .hp-reconcile-illustration {
    transform: scale(0.6);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--reconcile .hp-reconcile-illustration {
    transform: scale(1);
    transform-origin: top center;
  }
}

/* ── Width variant: payment-options ── */
@media (min-width: 48rem) {
  .hp-feature-card--payment-options {
    width: calc(45.2% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--payment-options {
    height: 29.1875rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--payment-options .hp-feature-card {
    position: relative;
    overflow: hidden;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--payment-options .hp-feature-card__text {
    position: absolute;
    left: 1.9375rem;
    top: 1.9375rem;
    width: 20rem;
    padding: 0;
    z-index: 1;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--payment-options .hp-feature-card__image-wrap {
    position: absolute;
    left: 50%;
    top: 17.3125rem;
    transform: translateX(-50%);
    min-height: unset;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
}

.hp-feature-card--payment-options .hp-payment-options-illustration {
  transform-origin: top center;
  transform: scale(0.5);
}

@media (min-width: 48rem) {
  .hp-feature-card--payment-options .hp-payment-options-illustration {
    transform: scale(0.6);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--payment-options .hp-payment-options-illustration {
    transform: scale(1);
  }
}

/* ── Width variant: branding ── */
@media (min-width: 48rem) {
  .hp-feature-card--branding {
    width: calc(54.8% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--branding {
    height: 29.1875rem;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--branding .hp-feature-card {
    position: relative;
    overflow: hidden;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--branding .hp-feature-card__text {
    position: absolute;
    left: 1.9375rem;
    top: 1.9375rem;
    width: 20rem;
    padding: 0;
    z-index: 1;
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--branding .hp-feature-card__image-wrap {
    position: absolute;
    left: 50%;
    top: 7.75rem;
    transform: translateX(-50%);
    min-height: unset;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
}

.hp-feature-card--branding .hp-branding-illustration {
  transform-origin: top center;
  transform: scale(0.5);
}

@media (min-width: 48rem) {
  .hp-feature-card--branding .hp-branding-illustration {
    transform: scale(0.65);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--branding .hp-branding-illustration {
    transform: scale(1);
  }
}

/* ── Width variant: partial-payments ── */
@media (min-width: 48rem) {
  .hp-feature-card--partial-payments {
    width: calc(53% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--partial-payments {
    height: 26rem;
  }
}

.hp-feature-card--partial-payments .hp-feature-card__image-wrap {
  min-height: 13.75rem;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
}

.hp-feature-card--partial-payments .hp-feature-card__image {
  max-height: 18.75rem;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ── Width variant: sales-quote ── */
@media (min-width: 48rem) {
  .hp-feature-card--sales-quote {
    width: calc(47% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--sales-quote {
    height: 26rem;
  }
}

.hp-feature-card--sales-quote .hp-feature-card__image-wrap {
  min-height: 13.75rem;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.hp-feature-card--sales-quote .hp-feature-card__image {
  max-height: 18.75rem;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ── Width variant: protected-links ── */
@media (min-width: 48rem) {
  .hp-feature-card--protected-links {
    width: calc(45% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--protected-links {
    height: 24.4375rem;
  }
}

.hp-feature-card--protected-links .hp-feature-card__image-wrap {
  min-height: 11.25rem;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-feature-card--protected-links .hp-feature-card__image-wrap {
    padding: 0 2rem 2rem 2rem;
  }
}

.hp-feature-card--protected-links .hp-feature-card__image {
  max-height: 15rem;
  width: 100%;
  max-width: 14.25rem;
  object-fit: contain;
}

/* ── Width variant: editable-info ── */
@media (min-width: 48rem) {
  .hp-feature-card--editable-info {
    width: calc(55% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-feature-card--editable-info {
    height: 24.4375rem;
  }
}

.hp-feature-card--editable-info .hp-feature-card__image-wrap {
  min-height: 11.25rem;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.hp-feature-card--editable-info .hp-feature-card__image {
  max-height: 17.5rem;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ─── Security ──────────────────────────────────────────────────── */
.hp-security {
  padding: 3rem 1rem;
}

@media (min-width: 48rem) {
  .hp-security {
    padding: 4rem 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-security {
    padding: 5rem 3.375rem;
  }
}

.hp-security__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 74.3125rem;
  margin: 0 auto;
}

.hp-security__icon {
  width: 10rem;
  height: 10rem;
}

@media (min-width: 48rem) {
  .hp-security__icon {
    width: 12.5rem;
    height: 12.5rem;
  }
}

@media (min-width: 80rem) {
  .hp-security__icon {
    width: 14.6875rem;
    height: 14.6875rem;
  }
}

.hp-security__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-security__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hp-security__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hp-security__title {
  text-align: center;
  font-family: var(--font-aptos);
  font-weight: 800;
  text-transform: uppercase;
  color: #f4f2f0;
  margin: 0;
  font-size: 3rem;
  line-height: 3rem;
  letter-spacing: -0.125rem;
}

@media (min-width: 48rem) {
  .hp-security__title {
    font-size: 5rem;
    line-height: 4.5rem;
    letter-spacing: -0.25rem;
  }
}

@media (min-width: 80rem) {
  .hp-security__title {
    font-size: 8.75rem;
    line-height: 7.625rem;
    letter-spacing: -0.4375rem;
  }
}

.hp-security__subtitle {
  max-width: 53.1875rem;
  text-align: center;
  font-family: var(--font-aptos);
  color: var(--color-text-sub);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 48rem) {
  .hp-security__subtitle {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .hp-security__subtitle {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

/* ─── UpcomingFeatures ──────────────────────────────────────────── */
.hp-upcoming {
  padding: 3rem 1rem 2.5rem;
}

@media (min-width: 48rem) {
  .hp-upcoming {
    padding: 4rem 2rem 3rem;
  }
}

@media (min-width: 80rem) {
  .hp-upcoming {
    padding: 7.5rem 3.375rem 6rem;
  }
}

.hp-upcoming__inner {
  max-width: 90rem;
  margin: 0 auto;
}

.hp-upcoming__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 64.125rem;
  margin: 0 auto;
}

.hp-upcoming__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hp-upcoming__label span {
  font-family: var(--font-aptos);
  font-weight: 600;
  color: white;
  letter-spacing: -0.03375rem;
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-upcoming__label span {
    font-size: 1.125rem;
  }
}

.hp-upcoming__title {
  text-align: center;
  font-family: var(--font-aptos);
  font-weight: 700;
  color: white;
  margin: 0;
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.0625rem;
}

@media (min-width: 48rem) {
  .hp-upcoming__title {
    font-size: 2.75rem;
    line-height: 3rem;
    letter-spacing: -0.0875rem;
  }
}

@media (min-width: 80rem) {
  .hp-upcoming__title {
    font-size: 3.75rem;
    line-height: 3.75rem;
    letter-spacing: -0.1125rem;
  }
}

.hp-upcoming__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 48rem) {
  .hp-upcoming__cards {
    margin-top: 3rem;
    gap: 1.25rem;
  }
}

@media (min-width: 80rem) {
  .hp-upcoming__cards {
    margin-top: 4rem;
  }
}

/* ─── FAQ ───────────────────────────────────────────────────────── */
.hp-faq {
  padding: 3rem 1rem;
}

@media (min-width: 48rem) {
  .hp-faq {
    padding: 4rem 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-faq {
    padding: 5.625rem 3.375rem;
  }
}

.hp-faq__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 83.25rem;
  margin: 0 auto;
}

@media (min-width: 64rem) {
  .hp-faq__inner {
    flex-direction: row;
    gap: 4.8125rem;
  }
}

.hp-faq__title {
  flex-shrink: 0;
  font-family: var(--font-aptos);
  font-weight: 700;
  color: white;
  margin: 0;
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.0625rem;
}

@media (min-width: 48rem) {
  .hp-faq__title {
    font-size: 2.75rem;
    line-height: 3rem;
    letter-spacing: -0.0875rem;
  }
}

@media (min-width: 64rem) {
  .hp-faq__title {
    width: 30.1875rem;
  }
}

@media (min-width: 80rem) {
  .hp-faq__title {
    font-size: 3.75rem;
    line-height: 3.75rem;
    letter-spacing: -0.1125rem;
  }
}

.hp-faq__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 64rem) {
  .hp-faq__list {
    width: 41.4375rem;
  }
}

.hp-faq__item {
  display: flex;
  flex-direction: column;
}

.hp-faq__question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.hp-faq__question span {
  font-family: var(--font-aptos);
  color: white;
  font-size: 0.875rem;
  line-height: 1.125rem;
  letter-spacing: -0.03rem;
}

@media (min-width: 48rem) {
  .hp-faq__question span {
    font-size: 1rem;
    line-height: 1.25rem;
  }
}

.hp-faq__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hp-faq__chevron--open {
  transform: rotate(180deg);
}

.hp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hp-faq__answer p {
  font-family: var(--font-aptos);
  color: var(--color-text-sub);
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-faq__answer p {
    font-size: 0.9375rem;
    line-height: 1.375rem;
  }
}

.hp-faq__divider {
  height: 0.0625rem;
  width: 100%;
  background-color: var(--color-card-bg);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.hp-footer {
  padding: 3rem 1rem 1.5rem;
}

@media (min-width: 48rem) {
  .hp-footer {
    padding: 4rem 2rem 2rem;
  }
}

@media (min-width: 80rem) {
  .hp-footer {
    padding: 5rem 3.375rem 2.5rem;
  }
}

.hp-footer__inner {
  max-width: 90rem;
  margin: 0 auto;
}

.hp-footer__cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
}

@media (min-width: 48rem) {
  .hp-footer__cta-card {
    border-radius: 2.25rem;
  }
}

@media (min-width: 80rem) {
  .hp-footer__cta-card {
    border-radius: 2.5rem;
  }
}

.hp-footer__cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-footer__cta-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

@media (min-width: 48rem) {
  .hp-footer__cta-content {
    padding: 4rem 3rem;
  }
}

@media (min-width: 80rem) {
  .hp-footer__cta-content {
    padding: 9.5625rem 3rem;
  }
}

.hp-footer__cta-title {
  font-family: var(--font-aptos);
  font-weight: 700;
  color: white;
  margin: 0;
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.0625rem;
}

@media (min-width: 48rem) {
  .hp-footer__cta-title {
    font-size: 2.75rem;
    line-height: 3rem;
    letter-spacing: -0.0875rem;
  }
}

@media (min-width: 80rem) {
  .hp-footer__cta-title {
    font-size: 3.75rem;
    line-height: 3.75rem;
    letter-spacing: -0.1125rem;
  }
}

.hp-footer__cta-desc {
  margin: 1rem 0 0;
  max-width: 35.5rem;
  font-family: var(--font-aptos);
  color: white;
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (min-width: 48rem) {
  .hp-footer__cta-desc {
    font-size: 1.125rem;
    line-height: 1.375rem;
  }
}

@media (min-width: 80rem) {
  .hp-footer__cta-desc {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

.hp-footer__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  height: 2.5rem;
  width: 8.75rem;
  border-radius: 2.8125rem;
  background-color: white;
  text-decoration: none;
  transition: background-color 0.2s;
}

@media (min-width: 48rem) {
  .hp-footer__cta-btn {
    height: 2.75rem;
    width: 10.25rem;
  }
}

.hp-footer__cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hp-footer__cta-btn span {
  font-family: var(--font-aptos);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-text-dark);
}

@media (min-width: 48rem) {
  .hp-footer__cta-btn span {
    font-size: 1.125rem;
  }
}

.hp-footer__bottom {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
  gap: 1.25rem;
}

.hp-footer__logo-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .hp-footer__logo-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hp-footer__logo {
  height: 2.75rem;
  width: 100%;
}

.hp-footer__divider {
  height: 0.0625rem;
  width: 100%;
  background-color: #606060;
}

.hp-footer__copyright {
  font-family: var(--font-aptos);
  font-weight: 300;
  color: var(--color-text-sub);
  font-size: 0.75rem;
  line-height: 0.9375rem;
  letter-spacing: -0.0225rem;
  margin: 0;
}

/* ─── Keyframe animations ───────────────────────────────────────── */
@keyframes hero-slide-up {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Scroll-reveal animation utilities ─────────────────────────── */
.hp-reveal {
  transition: all 0.7s ease-out;
}

.hp-reveal--hidden-scale {
  opacity: 0;
  transform: scale(0.95);
}

.hp-reveal--hidden-up-sm {
  opacity: 0;
  transform: translateY(0.5rem);
}

.hp-reveal--hidden-up {
  opacity: 0;
  transform: translateY(1.5rem);
}

.hp-reveal--hidden-up-lg {
  opacity: 0;
  transform: translateY(2rem);
}

.hp-reveal--hidden-scale-up {
  opacity: 0;
  transform: scale(0.95) translateY(1rem);
}

.hp-reveal--fast {
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}

/* ─── Glow wrapper for feature cards ────────────────────────────── */
.hp-glow-wrap {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  border: 0.047rem solid rgba(74, 74, 74, 0.5);
  padding: 0.0625rem;
}

@media (min-width: 48rem) {
  .hp-glow-wrap {
    border-radius: 2.25rem;
  }
}

.hp-glow-wrap > .hp-feature-card {
  height: 100%;
  width: 100%;
  border-radius: inherit;
}

/* Variant widths on .hp-glow-wrap */
@media (min-width: 48rem) {
  .hp-glow-wrap.hp-feature-card--tracking {
    width: calc(58.5% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-glow-wrap.hp-feature-card--tracking {
    height: 26rem;
  }
}

@media (min-width: 48rem) {
  .hp-glow-wrap.hp-feature-card--reconcile {
    width: calc(41.5% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-glow-wrap.hp-feature-card--reconcile {
    height: 26rem;
  }
}

@media (min-width: 48rem) {
  .hp-glow-wrap.hp-feature-card--payment-options {
    width: calc(45.2% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-glow-wrap.hp-feature-card--payment-options {
    height: 29.1875rem;
  }
}

@media (min-width: 48rem) {
  .hp-glow-wrap.hp-feature-card--branding {
    width: calc(54.8% - 0.625rem);
  }
}

@media (min-width: 80rem) {
  .hp-glow-wrap.hp-feature-card--branding {
    height: 29.1875rem;
  }
}

@media (min-width: 48rem) {
  .hp-glow-wrap.hp-feature-card--sales-quote,
  .hp-glow-wrap.hp-feature-card--protected-links,
  .hp-glow-wrap.hp-feature-card--editable-info {
    width: calc(33.33% - 0.875rem);
  }
}

@media (min-width: 80rem) {
  .hp-glow-wrap.hp-feature-card--sales-quote,
  .hp-glow-wrap.hp-feature-card--protected-links,
  .hp-glow-wrap.hp-feature-card--editable-info {
    height: 31.4375rem;
  }
}

/* ─── Glowing-effect component ──────────────────────────────────── */
.hp-glow-border {
  pointer-events: none;
  position: absolute;
  inset: -0.0625rem;
  display: none;
  border-radius: inherit;
  border: 0.0625rem solid transparent;
  opacity: 0;
  transition: opacity 0.2s;
}

.hp-glow-border--active {
  opacity: 1;
}

.hp-glow-border--white {
  border-color: white;
}

.hp-glow-border--fallback {
  display: block;
}

.hp-glow-container {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  transition: opacity 0.2s;
}

.hp-glow-container--active {
  opacity: 1;
}

.hp-glow-container--blurred {
  filter: blur(var(--blur));
}

.hp-glow-container--hidden {
  display: none;
}

.hp-glow-effect {
  border-radius: inherit;
}

.hp-glow-effect::after {
  content: "";
  border-radius: inherit;
  position: absolute;
  inset: calc(-1 * var(--glowingeffect-border-width));
  border: var(--glowingeffect-border-width) solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  opacity: var(--active);
  transition: opacity 0.3s;
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  mask-image:
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--start) - var(--spread)) * 1deg),
      #00000000 0deg,
      #fff,
      #00000000 calc(var(--spread) * 2deg)
    );
}

/* ─── Bottom-of-file overrides ──────────────────────────────────── */

.hp-footer__logo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hp-footer__copyright {
  margin: 0;
}

@media (max-width: 48rem) {
  .hp-footer__logo-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

.hp-hero__title {
}

@media (min-width: 64rem) {
  .hp-hero__title {
    font-size: 7.5rem;
    line-height: 8.25rem;
    letter-spacing: 0;
  }
}

/* ─── Font family overrides (Outfit) ────────────────────────────── */
.hp-feature-card__subtitle,
.hp-footer__cta-desc,
.hp-faq__answer p,
.hp-faq__question span {
  font-family: var(--font-outfit);
  letter-spacing: 0.00625rem;
  line-height: 1.375rem;
  font-weight: 300;
}

/* ─── Footer links ──────────────────────────────────────────────── */
.hp-footer_links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hp-footer_links a {
  font-family: var(--font-aptos);
  color: var(--color-text-sub);
  line-height: 1.125rem;
  letter-spacing: -0.03rem;
  text-decoration: none;
}

@media (min-width: 48rem) {
  .hp-footer_links a {
    line-height: 1.25rem;
  }
}

@media (min-width: 48rem) {
  .hp-footer_links {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
  }
}

/* ─── Star icon ─────────────────────────────────────────────────── */
.hp-star-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}
