:root {
  color-scheme: light;
  --ink: oklch(19% 0.034 275);
  --mint: oklch(84% 0.15 164);
  --paper: oklch(96% 0.023 286);
  --shadow: 0 28px 80px oklch(35% 0.18 285 / 18%);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, oklch(87% 0.13 285 / 70%), transparent 24rem),
    radial-gradient(circle at 65% 70%, oklch(88% 0.14 165 / 58%), transparent 27rem),
    linear-gradient(135deg, var(--paper), oklch(91% 0.036 286));
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.landing {
  display: grid;
  justify-items: center;
  align-content: center;
  width: min(42rem, calc(100% - 2rem));
  min-height: 100svh;
  margin-inline: auto;
  padding: 2rem 0;
  text-align: center;
}

.icon {
  width: clamp(4rem, 9vw, 5.5rem);
  height: clamp(4rem, 9vw, 5.5rem);
  border-radius: 30%;
  box-shadow: var(--shadow);
}

h1 {
  margin: 1.35rem 0 0;
  font-size: 6rem;
  font-weight: 650;
  line-height: 1;
}

.lede {
  max-width: 20ch;
  margin: 1rem 0 0;
  font-size: 2.1rem;
  font-weight: 430;
  line-height: 1.12;
}

.app-store {
  display: block;
  margin-top: 2.1rem;
}

.app-store:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.app-store img {
  display: block;
  width: 10.5rem;
  height: auto;
}

@media (max-width: 700px) {
  h1 {
    font-size: 4.6rem;
  }

  .lede {
    font-size: 1.75rem;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 3.65rem;
  }

  .lede {
    font-size: 1.42rem;
  }
}

@media (max-height: 640px) {
  .landing {
    padding: 1rem 0;
  }

  .icon {
    width: 4rem;
    height: 4rem;
  }

  h1 {
    margin-top: 0.9rem;
    font-size: 4.2rem;
  }

  .lede {
    margin-top: 0.8rem;
    font-size: 1.65rem;
  }

  .app-store {
    margin-top: 1.25rem;
  }
}
