:root {
  --black: rgba(10, 10, 10, 1);
  --Color-2: #5151e7;
  --Color-2-hover: #6363f0;
  --light-purple: #f7f4fe;
  --purple: #5151e7;
  --cream: #f4f5e4;
  --surface: #f7f9fb;
}

.hero-shell {
  min-height: 100svh;
  justify-content: flex-start;
  background: var(--surface, #f7f9fb);
}

@supports (height: 100dvh) {
  .hero-shell {
    min-height: 100dvh;
  }
}

.hero-topbar {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

/* Hero content vertically centered in the remaining viewport below the topbar */
.hero-viewport-pad {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: clamp(1.5rem, 4svh, 3rem);
  padding-bottom: clamp(1.5rem, 4svh, 3rem);
}

@supports (height: 100dvh) {
  .hero-viewport-pad {
    padding-top: clamp(1.5rem, 4dvh, 3rem);
    padding-bottom: clamp(1.5rem, 4dvh, 3rem);
  }
}

.hero-compact-wrap {
  position: relative;
}

.hero-title {
  text-wrap: balance;
}

.hero-subtitle {
  text-wrap: balance;
}

.hero-download-button {
  box-shadow: 0 18px 38px rgba(81, 81, 231, 0.24);
  gap: 0.375rem;
}

.hero-download-icon {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-legal-copy {
  text-wrap: pretty;
}

.about-hippo-wrap {
  align-items: start;
}

.about-hippo-copy {
  padding-top: clamp(0rem, 0.5vw, 0.5rem);
}

.about-hippo-text {
  text-wrap: pretty;
}

.about-hippo-points {
  width: 100%;
}

.about-hippo-point {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.about-hippo-check {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #eaf5d3 0%, #e4f0cb 100%);
  color: #94d42f;
  font-family: "Manrope", Helvetica, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

img.about-hippo-check {
  display: block;
  height: 3.5rem;
  width: 3.5rem;
  padding: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.about-hippo-point:has(img.about-hippo-check) {
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1.625rem;
}

.trust-band-head {
  text-wrap: balance;
}

.trust-band-section {
  padding-bottom: 2.75rem;
}

.trust-band-grid {
  align-items: center;
  margin-top: 1.5rem;
}

.trust-band-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  min-width: 0;
}

.trust-band-check {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #e6e9fb 0%, #dfe4fb 100%);
  color: #4e57e8;
  font-family: "Manrope", Helvetica, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

img.trust-band-check {
  display: block;
  height: 3.5rem;
  width: 3.5rem;
  padding: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.trust-band-item:has(img.trust-band-check) {
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1.625rem;
}

.benefit-cards-grid {
  align-items: stretch;
}

.benefit-cards-section {
  margin-top: 1.75rem;
  padding-top: 0;
}

.benefit-cards-section.benefit-cards-section--figma {
  margin-top: 0;
  border-top: 1px solid var(--purple, #5151e7);
}

.benefit-card {
  display: flex;
  min-height: 7.75rem;
  min-width: 0;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(216, 221, 234, 0.9);
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 8px rgba(29, 38, 59, 0.04);
}

.benefit-card--stack {
  flex-direction: column;
  min-height: 12.375rem;
  border: 1px solid rgba(59, 91, 219, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
}

.benefit-card-icon-wrap {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #edf0ff 0%, #e7eafb 100%);
}

.benefit-card--stack .benefit-card-icon-wrap {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 0.5rem;
  background: rgba(59, 91, 219, 0.1);
  padding: 0.5rem;
}

.benefit-card-icon {
  height: 1.5rem;
  width: 1.5rem;
  object-fit: contain;
}

.benefit-card--stack .benefit-card-icon {
  height: 2.5rem;
  width: 2.5rem;
}

/* app-removal: main = viewport height minus 100px header (footer scrolls below) */
.app-removal-main {
  min-height: calc(100vh - 100px);
}

@supports (height: 100dvh) {
  .app-removal-main {
    min-height: calc(100dvh - 100px);
  }
}

/* Feature cards (index): description block at least 3 lines at leading-6 (1.5rem) */
.feature-card-desc {
  min-height: calc(3 * 1.5rem);
}

/* Header CTA label */
.btn-cta-text {
  color: var(--light-purple, #f7f4fe);
  text-align: center;
  font-family: "Manrope", Helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -1px;
  text-transform: capitalize;
}

.btn-cta-text-hero {
  color: #fff;
  text-align: center;
  font-family: "Manrope", Helvetica, sans-serif;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3.5rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: capitalize;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 640px) {
  .hero-shell {
    min-height: 100svh;
  }

  .about-hippo-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .about-hippo-point {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    column-gap: 0.875rem;
  }

  .about-hippo-check {
    height: 2rem;
    width: 2rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
  }

  img.about-hippo-check {
    height: 2.75rem;
    width: 2.75rem;
  }

  .about-hippo-point:has(img.about-hippo-check) {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .trust-band-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .trust-band-item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 0.875rem;
  }

  .trust-band-grid {
    margin-top: 0.75rem;
  }

  .trust-band-check {
    height: 2rem;
    width: 2rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
  }

  img.trust-band-check {
    height: 2.75rem;
    width: 2.75rem;
  }

  .benefit-card {
    min-height: 0;
    padding: 1.5rem 1.25rem;
    gap: 0.875rem;
  }

  .benefit-cards-section {
    margin-top: 1rem;
    padding-top: 0;
  }

  .benefit-cards-section.benefit-cards-section--figma {
    margin-top: 0;
  }

  .benefit-card-icon-wrap {
    height: 2.75rem;
    width: 2.75rem;
  }

  .benefit-card-icon {
    height: 1.35rem;
    width: 1.35rem;
  }

  .benefit-card--stack .benefit-card-icon-wrap {
    height: 3rem;
    width: 3rem;
  }

  .benefit-card--stack .benefit-card-icon {
    height: 2rem;
    width: 2rem;
  }

  .hero-download-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-topbar {
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .hero-viewport-pad {
    justify-content: center;
    padding-top: clamp(1.25rem, 4svh, 2.5rem);
    padding-bottom: clamp(1.25rem, 4svh, 2.5rem);
  }

  .hero-download-button {
    box-shadow: 0 16px 32px rgba(81, 81, 231, 0.22);
  }
}

@media (min-width: 1536px) {
  .btn-cta-text-hero {
    font-size: clamp(2.2rem, 1.2vw + 1.4rem, 3.5rem);
  }

  .about-hippo-wrap {
    max-width: 1520px;
  }
}
