/* Expyr: the same warm paper and deep green the app is set in. */
:root {
  --paper: #f7f4ef;
  --raised: #fffdfa;
  --ink: #191713;
  --ink-2: #5b564c;
  --ink-3: #918b7e;
  --rule: #e2dcd0;
  --accent: #1d4b39;
  --accent-ink: #fffdfa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15100a;
    --raised: #1e1811;
    --ink: #f3efe7;
    --ink-2: #a79e8f;
    --ink-3: #7a7264;
    --rule: #2e261c;
    --accent: #8ed6b2;
    --accent-ink: #0e241b;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

header.masthead {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
}

.wordmark {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.tagline {
  color: var(--ink-3);
  font-size: 0.95rem;
  margin-left: auto;
}

h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--ink-2);
  font-size: 1.1rem;
  margin: 0 0 2.5rem;
}

section {
  padding-top: 2rem;
}

h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

section p {
  margin: 0;
  color: var(--ink-2);
}

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

.updated {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.contact {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 500;
}

ul.plain {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-2);
}

ul.plain li {
  margin-bottom: 0.4rem;
}

/* Guides: ordered steps and fact lists. */
section ol,
section ul:not(.plain) {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--ink-2);
}

section li {
  margin-bottom: 0.55rem;
}

section li strong {
  color: var(--ink);
  font-weight: 600;
}
