/* One stylesheet for every page. No font, script or image comes from elsewhere: a mailed link carries a
   token in its query, and a page that loads a third-party resource can leak it in the Referer. */
:root {
  color-scheme: light dark;
  --background: #f6f7f4;
  --surface: #ffffff;
  --text: #1c2420;
  --muted: #55615a;
  --accent: #2f6b4f;
  --border: #d7ddd8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121614;
    --surface: #1b211e;
    --text: #e8ece9;
    --muted: #a3afa8;
    --accent: #7fc4a0;
    --border: #2d3631;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--background);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
}

main {
  width: 100%;
  max-width: 34rem;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.25;
}

h2 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

p,
ol {
  margin: 0 0 12px;
}

ol {
  padding-left: 1.25rem;
}

.environment {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* The landing, privacy and support pages: longer text, so a wider column, and a footer. */
main.wide {
  max-width: 44rem;
}

.lead {
  font-size: 1.15rem;
}

ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 6px;
}

footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
