:root {
  --container-width: 1080px;
}

body {
  padding: 1.5rem;
}

header,
footer,
main {
  max-width: var(--container-width);
  margin: auto;
}

header,
header > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header {
  justify-content: space-between;
}

header .name {
  font-weight: 600;
  color: inherit;
}

footer {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.42;
  text-transform: uppercase;
  font-weight: 500;
  margin: 6rem auto 1.5rem;
}

h1 {
  font-size: 3em;
  margin-bottom: 0.25em;
  line-height: 1.25em;
}

h1 + p {
  font-size: 1.25em;
}

h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  line-height: 1.25em;
}

#hero {
  text-align: center;
  margin: 8rem auto 6rem;
}

#hero > img {
  border-radius: 1.25rem;
  overflow: hidden;
  margin-top: 6rem;
}

#why {
  max-width: 768px;
  margin: auto;
  text-align: center;
}

#why > p {
  font-size: 1.125em;
}

#feature-list {
  display: grid;
  grid-template-columns: 1em 1fr;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  width: fit-content;
  margin: 4rem auto 0;
}

#feature-list .checkmark {
  height: 1.5em;
}

.app-store {
  text-align: center;
}

.app-store.upper {
  margin: 3rem auto;
}

.app-store.lower {
  margin: 6rem auto;
}

.app-store-badge {
  display: inline-block;
  cursor: pointer;
}
