:root {
  --page: #0d1b3d;
  --ink: #f3ead6;
  --muted: #b9c0d0;
  --accent: #d9b15f;
  --rule: #2a3a63;
  --safe: 1.5rem;
  --gap: 0.75rem;
  --measure: 40rem;
  --title-size: 1.75rem;
  --lead-size: 1.25rem;
  color-scheme: dark;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  hanging-punctuation: first last;
  overflow-wrap: break-word;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page);
  color: var(--ink);
  font: 1.0625rem/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex-grow: 1;
}

h1, h2 {
  font-size: var(--title-size);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

::selection {
  background: color-mix(in oklab, currentColor 20%, transparent);
}

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

picture {
  height: 100%;
}

picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  max-inline-size: 1280px;
  margin-inline: auto;
  padding-inline: var(--safe);
}

.hero {
  display: grid;
  justify-items: start;
  row-gap: 1.25rem;
  padding-block: 3rem 2.5rem;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.app-icon {
  inline-size: 5.5rem;
  block-size: 5.5rem;
  border-radius: 22.5%;
  overflow: hidden;
}

.lead {
  font-size: var(--lead-size);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.pitch, .about {
  max-inline-size: var(--measure);
}

.pitch {
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stores {
  padding-inline-start: 0;
  list-style: none;
}

.store, .home-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.store {
  min-block-size: 48px;
  padding-inline: 1.5rem;
  border-radius: 24px;
  background: var(--ink);
  color: var(--page);
}

.store:focus-visible {
  outline-offset: 3px;
}

.store:active {
  background: var(--accent);
}

.about {
  padding-block: 3.5rem;
}

.features {
  padding-block-end: 2.5rem;
}

.feature {
  display: grid;
  row-gap: 1rem;
  padding-block: 2rem;
  border-block-start: 1px solid var(--rule);
}

.feature ul {
  display: grid;
  row-gap: 0.5rem;
  padding-inline-start: 1.25rem;
}

.feature ul, .feature p, .note {
  color: var(--muted);
}

.prose {
  padding-block: 1.25rem 4.5rem;
}

.prose article {
  display: grid;
  row-gap: 1.25rem;
  max-inline-size: var(--measure);
  margin-block-start: 2.5rem;
}

.prose h1 {
  margin-block-end: 0.5rem;
}

.prose ul {
  display: grid;
  row-gap: 0.5rem;
  padding-inline-start: 1.25rem;
}

.home-link, .email, footer a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

article a, .feature a, footer a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-link:active, article a:active, .feature a:active {
  color: var(--accent);
}

.email {
  justify-self: start;
  color: var(--accent);
  overflow-wrap: anywhere;
}

footer {
  border-block-start: 1px solid var(--rule);
}

.footer-row, footer nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
}

.footer-row {
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

footer a:active, .email:active {
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .store:hover {
    background: var(--accent);
  }

  .home-link:hover, article a:hover, .feature a:hover {
    color: var(--accent);
  }

  footer a:hover, .email:hover {
    color: var(--ink);
  }
}

@media (min-width: 800px) {
  :root {
    --safe: 3rem;
    --gap: 1.5rem;
    --title-size: 2.25rem;
    --lead-size: 1.5rem;
  }

  .hero {
    row-gap: 1.75rem;
    padding-block: 6rem 4.5rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .app-icon {
    inline-size: 7rem;
    block-size: 7rem;
  }

  .feature {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }

  .about {
    padding-block: 6rem;
  }

  .feature {
    padding-block: 3rem;
  }

  .feature h2 {
    grid-column: span 5;
  }

  .feature ul, .feature p {
    grid-column: span 7;
  }

  .prose article {
    margin-block-start: 4.5rem;
  }
}
