:root {
  --bg: #faf9f7;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --rule: #e6e4e0;
  --link: #2a5bd7;
  --maxw: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.25rem 0 0.6rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.35rem;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.15rem 0 0.3rem;
}

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

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
}

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

nav {
  margin-top: 2rem;
  font-size: 0.95rem;
}

nav a {
  margin-right: 1.25rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

footer {
  flex-shrink: 0;
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
}

/* Teaser for an app on the landing page. */
.teaser {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #fff;
  color: var(--text);
}

.teaser + .teaser {
  margin-top: 1rem;
}

.teaser:hover {
  text-decoration: none;
  border-color: var(--muted);
}

.teaser img {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.8rem;
}

.teaser .body {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
}

.teaser strong {
  display: block;
  font-size: 1.05rem;
}

.teaser .more {
  display: block;
  margin-top: 0.4rem;
  color: var(--link);
}

@media (max-width: 480px) {
  .wrap {
    padding: 2.5rem 1.25rem 2rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .lead {
    font-size: 1.15rem;
  }
}
