/* Homepage-only refinements: keep the signed-in app's layout unchanged. */
.marketing-hero {
  padding-top: clamp(48px, 6vw, 80px);
}

.marketing-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
}

.marketing-hero-copy h1 {
  font-size: clamp(2.65rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.app-announcement {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 44px;
  margin-bottom: 24px;
  padding: 9px 15px;
  border: 1px solid #c0d9cf;
  border-radius: 999px;
  background: #e7f2ec;
  color: var(--leaf);
  font-size: 0.875rem;
  font-weight: 800;
}

.app-announcement:hover {
  background: #d9ebe1;
}

.hero-assurance > span {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.product-preview-top {
  flex-wrap: wrap;
}

.preview-checkin-icon {
  flex-shrink: 0;
}

.preview-kicker,
.preview-meta-grid span,
.preview-action > span,
.trust-row p,
.hero-assurance {
  font-size: 0.875rem;
}

.preview-action {
  flex-wrap: wrap;
  gap: 8px 16px;
}

.trust-row {
  margin-top: 64px;
}

#how,
#plans,
#download {
  scroll-margin-top: 100px;
}

.app-download {
  padding: 32px 0 0;
  background: #fff;
}

.app-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 24px;
  background: var(--ocean);
  color: #fff;
}

.app-download-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.app-download-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 9px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}

.app-download-heading .eyebrow {
  margin: 0;
  color: #b6dacd;
  font-size: 0.875rem;
}

.app-download-copy h2 {
  max-width: 18ch;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

.app-download-copy > p {
  max-width: 48ch;
  margin: 0;
  color: #c5d7d2;
  font-size: 1rem;
  line-height: 1.7;
}

.app-download-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.app-store-option {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 100%;
}

.app-store-link {
  display: block;
  max-width: 100%;
  border-radius: 9px;
}

.app-store-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.app-store-link:hover {
  box-shadow: 0 0 0 4px rgba(182, 218, 205, 0.3);
}

.app-store-caption {
  color: #c5d7d2;
  font-size: 0.875rem;
  text-align: center;
}

.app-announcement:focus-visible,
.app-store-link:focus-visible,
.marketing-hero a:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 5px;
}

.app-store-link:focus-visible {
  outline-color: #f0d69f;
}

.journey-step p,
.benefit-card p {
  font-size: 1rem;
}

@media (max-width: 980px) {
  .marketing-hero-grid,
  .app-download-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-download-stores {
    justify-content: flex-start;
  }

  .app-download-copy h2 {
    max-width: 26ch;
  }
}

@media (max-width: 720px) {
  .marketing-hero-grid {
    gap: 36px;
  }

  .marketing-hero-copy h1 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }

  .marketing-hero-copy .lead {
    font-size: 1rem;
  }

  .app-announcement {
    margin-bottom: 20px;
  }

  .trust-row {
    margin-top: 40px;
  }

  .app-download {
    padding-top: 24px;
  }

  .app-download-card {
    gap: 28px;
    border-radius: 20px;
  }

  .app-download-stores {
    gap: 24px 20px;
  }
}
