:root {
  color-scheme: light dark;
  --background: #ffffff;
  --text: #1d1d1f;
  --secondary: #5c5c61;
  --link: #0060c0;
  --rule: #d8d8dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --link: #4da3ff;
    --rule: #3a3a3c;
  }
}

html {
  font-family: system-ui, sans-serif;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

/* On iPhone, follow the reader's Dynamic Type setting. */
@supports (font: -apple-system-body) {
  html {
    font: -apple-system-body;
  }
}

body {
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  max-width: 40rem;
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  overflow-wrap: break-word;
}

a {
  color: var(--link);
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.25rem;
}

p,
ul {
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

.secondary {
  color: var(--secondary);
}

/* Landing page */

.hero {
  text-align: center;
  padding-top: 2.5rem;
}

.hero img {
  display: block;
  margin: 0 auto 1.5rem;
  width: 10rem;
  max-width: 60%;
  height: auto;
  border-radius: 22.37%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.25rem;
}

.hero .tagline {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.hero .status {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Footer */

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--secondary);
}

footer nav a {
  margin-right: 1rem;
  white-space: nowrap;
}

.landing footer {
  text-align: center;
}

.landing footer nav a {
  margin: 0 0.5rem;
}

/* Inner pages */

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
}
