.app-page,
.legal-page {
  width: min(calc(100% - 2rem), 1200px);
  min-height: 100vh;
  margin: 0 auto;
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 600;
}

.app-nav a {
  transition: color 160ms ease;
}

.app-nav a:hover {
  color: #fafafa;
}

.app-hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 9rem);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  text-align: center;
}

.app-hero::before {
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  content: "";
  filter: blur(90px);
  opacity: 0.25;
}

.app-hero-receipt::before {
  background: #7c3aed;
}

.app-hero-prosper::before {
  background: #0891b2;
}

.app-hero > * {
  position: relative;
}

.app-hero .eyebrow {
  margin-bottom: 2rem;
}

.app-icon {
  display: grid;
  width: 6rem;
  height: 6rem;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
  font-size: 2rem;
  font-weight: 700;
}

.app-icon-receipt {
  background: linear-gradient(145deg, #c4b5fd, #6d28d9);
}

.app-icon-prosper {
  background: linear-gradient(145deg, #67e8f9, #0e7490);
}

.app-hero h1,
.legal-page h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.app-lede {
  max-width: 520px;
  margin: 1.75rem auto 2rem;
  color: #a1a1aa;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.coming-soon {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  color: #71717a;
  font-size: 0.72rem;
}

.app-footer a:hover {
  color: #c4b5fd;
}

.legal-page article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.legal-page h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.legal-notice {
  display: flex;
  margin-top: 3rem;
  padding: 1.25rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.05);
  color: #a1a1aa;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-notice strong {
  color: #fcd34d;
}

@media (max-width: 640px) {
  .app-hero {
    min-height: calc(100vh - 8rem);
    padding: 2rem 1.25rem;
    border-radius: 24px;
  }
}
