:root {
  color-scheme: light;
  --ink: #141318;
  --paper: #fffaf2;
  --lime: #b8f55f;
  --rose: #ff6f8f;
  --blue: #5eb7ff;
  --line: rgba(20, 19, 24, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(184, 245, 95, 0.16), transparent 34%),
    linear-gradient(135deg, #fffdf7, var(--paper));
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
}

.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(20, 19, 24, 0.18);
}

.eyebrow {
  margin: 24px 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 7.4rem;
  line-height: 0.86;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 1.18rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.store-link {
  min-height: 52px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid var(--ink);
}

.primary {
  background: var(--ink);
  color: #ffffff;
}

.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.small {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: rgba(20, 19, 24, 0.68);
}

.phone-preview {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.56;
  justify-self: center;
  border: 10px solid var(--ink);
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 0.82)),
    linear-gradient(120deg, var(--lime), var(--blue) 48%, var(--rose));
  box-shadow: 0 28px 80px rgba(20, 19, 24, 0.28);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 30px 26px 0;
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.86;
}

.face-card {
  width: 70%;
  aspect-ratio: 1;
  margin: 70px auto 0;
  border: 3px solid rgba(20, 19, 24, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-4deg);
}

.eye-row {
  display: flex;
  justify-content: space-around;
  padding: 58px 42px 0;
}

.eye-row span {
  width: 34px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  transform: rotate(12deg);
}

.mouth {
  width: 110px;
  height: 42px;
  margin: 54px auto 0;
  border: 12px solid var(--rose);
  border-top: 0;
  border-radius: 0 0 80px 80px;
}

.score-band {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
}

.score-band span {
  font-weight: 800;
  text-transform: uppercase;
}

.score-band strong {
  font-size: 4.8rem;
  line-height: 0.78;
}

.stores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: -22px;
  padding-bottom: 24px;
}

.store-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.store-link span {
  color: rgba(20, 19, 24, 0.62);
  font-size: 0.92rem;
}

.copy {
  color: var(--ink);
  font: inherit;
}

.site-footer {
  padding: 4px 0 22px;
  text-align: center;
  color: rgba(20, 19, 24, 0.66);
  font-size: 0.92rem;
  font-weight: 700;
}

.policy-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.policy-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px 0;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(14px);
}

.policy-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 850;
}

.policy-nav span {
  flex: 1 1 auto;
}

.policy-content {
  padding: 24px 0 0;
}

.policy-content h1 {
  max-width: 14ch;
  font-size: 4.8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.policy-content h2 {
  margin: 38px 0 10px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.policy-content h3 {
  margin: 24px 0 8px;
  font-size: 1.16rem;
}

.policy-content p,
.policy-content li {
  font-size: 1rem;
  line-height: 1.62;
}

.policy-content ul {
  padding-left: 20px;
}

.policy-content code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(20, 19, 24, 0.08);
  font-size: 0.92em;
}

.legal-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(20, 19, 24, 0.76);
}

.legal-footer h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.legal-footer dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.legal-footer div {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.legal-footer dt {
  font-weight: 850;
}

.legal-footer dd {
  margin: 0;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 520px);
    padding: 18px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 16px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .phone-preview {
    width: min(78vw, 330px);
  }

  .stores {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .policy-nav span {
    display: none;
  }

  .policy-content h1 {
    font-size: 3.2rem;
  }

  .legal-footer div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
