@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color: #171717;
  background: #fff;
  font: 100%/1.7 "Geist Mono", ui-monospace, monospace;
}

body {
  box-sizing: border-box;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2.5rem) 2rem;
}

.wordmark, h1, h2, strong, b {
  font-weight: 550;
}

.wordmark {
  font-size: .9375rem;
}

h1 {
  margin: 1.25rem 0 .75rem;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

h2 {
  margin: 2rem 0 .4rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

p {
  margin: 0 0 .875rem;
}

.updated {
  margin-bottom: 1.5rem;
  color: #595959;
  font-size: .875rem;
}

a {
  color: inherit;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

nav, footer {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem 1.25rem;
}

footer {
  justify-content: space-between;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
  padding-top: 1rem;
  color: #595959;
  font-size: .875rem;
}

.home {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.home h1 {
  margin: 0 0 .5rem;
}

.app-store {
  display: grid;
  justify-items: center;
  gap: .375rem;
  margin-top: 1.25rem;
  color: #595959;
  font-size: .875rem;
}

.app-store img {
  display: block;
  border-radius: .5rem;
  background: #171717;
}

.phone {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 15.5rem);
  margin: 1.75rem auto 0;
  padding: .375rem;
  border: 1px solid #444;
  border-radius: 15% / 7%;
  background: #171717;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13.5% / 6.2%;
}

.phone::after {
  position: absolute;
  top: .8rem;
  left: 50%;
  width: 25%;
  height: .95rem;
  border-radius: 1rem;
  background: #171717;
  transform: translateX(-50%);
  content: "";
}

.home footer,
.home footer nav {
  justify-content: center;
}
