:root {
  color-scheme: light;
  --ink: #202843;
  --muted: #5d5562;
  --paper: #fff5e8;
  --rule: #e9d4c0;
  font-family: Nunito, "Avenir Next", system-ui, sans-serif;
  font-synthesis: none;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: radial-gradient(ellipse at 30% 46%, #ffdfc3, transparent 49%), var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-areas: "phone intro";
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(calc(100% - 5rem), 55rem);
  margin-inline: auto;
  padding-block: clamp(2.75rem, 7vh, 5.5rem);
}

.phone {
  grid-area: phone;
  width: min(100%, clamp(14rem, 36vh, 19.5rem));
  margin: 0;
  justify-self: center;
}

.phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 24px #66381832) drop-shadow(0 5px 5px #291a2b2b);
}

.app-intro {
  grid-area: intro;
}

.app-icon {
  width: clamp(4.75rem, 8vw, 6.25rem);
  height: auto;
  border-radius: 23%;
  box-shadow: 0 8px 18px #44264426;
}

h1 {
  margin: 1.35rem 0 0;
  font-size: clamp(3.25rem, 6.8vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.063em;
}

.intro {
  margin: 0.9rem 0 0;
  font-size: clamp(1.15rem, 2.15vw, 1.65rem);
  font-weight: 500;
  line-height: 1.42;
}

.download {
  margin-top: 1.9rem;
}

.store-link {
  display: inline-block;
  vertical-align: top;
  border-radius: 0.55rem;
}

.store-link img {
  width: 147px;
  height: auto;
}

.download p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 0.85rem 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  column-gap: 1.75rem;
}

.legal a, .privacy summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.privacy summary {
  list-style: none;
  cursor: pointer;
}

.privacy summary::-webkit-details-marker {
  display: none;
}

.privacy p {
  margin: 0 0 0.6rem;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  body {
    background: radial-gradient(ellipse at 50% 71%, #ffdfc3, transparent 51%), var(--paper);
  }

  .hero {
    grid-template-areas: "intro" "phone";
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
    width: min(calc(100% - 2.5rem), 28rem);
    padding-block: 2.75rem 3.25rem;
    text-align: center;
  }

  .app-icon {
    margin-inline: auto;
  }

  h1 {
    margin-top: 1rem;
  }

  .intro-break {
    display: none;
  }

  .download {
    margin-top: 1.4rem;
  }

  .phone {
    width: min(78%, 16rem);
  }
}
