:root {
  --font-family: "Prompt", sans-serif;
  --font-size-base: 16px;
  --color-primary-text: #0f3d37;
  --color-secondary-text: #52726c;
  --color-action: #1a7a6e;
  --color-background-surface: #e0f4f0;
  --color-background-body: #f4fbfa;
  --color-border: #b6e0d8;
  --color-highlight: #e07b00;
}

@media (min-width: 1024px) {
  :root {
    --font-size-base: 20px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary-text: #c8ede5;
    --color-secondary-text: #7bbcb0;
    --color-action: #3ec9a7;
    --color-background-surface: #122a26;
    --color-background-body: #0d1f1d;
    --color-border: #1d4a43;
    --color-highlight: #f5b95a;
  }
}

html,
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-primary-text);
  background-color: var(--color-background-body);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-family);
}

h1 {
  font-size: calc(var(--font-size-base) * 2);
}
h2 {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 400;
}

a {
  color: var(--color-action);
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 1px;
  border-radius: 5px;
}

.hero {
  text-align: center;
  padding: 0 1em;
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 img {
  width: 100px;
}

.download-link {
  display: inline-block;
}
.download-link img {
  display: block;
}

.media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 1rem;
}

main > .section:nth-child(odd) {
  background-color: var(--color-background-surface);
}

footer {
  background-color: var(--color-background-surface);
  padding: 0.5rem 1rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
}

.mobile-reverse {
  flex-direction: column-reverse;
}

@media (min-width: 1024px) {
  body {
    padding-top: 2rem;
  }
  .section {
    padding: 0;
  }
  .media {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    margin: 0 auto;
    max-width: 900px;
    padding: 1rem 0;
  }
  .hero h1 {
    align-items: flex-start;
  }
  .hero h1 img {
    width: 250px;
  }
  .footer-content {
    margin: 0 auto;
    max-width: 900px;
    padding: 0.5rem 0 0.25rem;
    font-size: calc(var(--font-size-base) * 0.75);
  }
}
