/* Help and legal pages: same tokens, type and header as the landing page. */
:root {
  color-scheme: dark;
  scrollbar-color: #2a3437 #0b1013;
  --bg: #0b1013;
  --surface: #11191c;
  --ink: #eef2f0;
  --body: #c9d2d0;
  --muted: #a5b0b1;
  --accent: #42d9a1;
  --accent-ink: #0b1013;
  --line: rgba(238, 242, 240, 0.08);
}
* {
  box-sizing: border-box;
}
::selection {
  background: rgba(66, 217, 161, 0.32);
  color: var(--ink);
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font:
    17px/1.7 Geist,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
header,
main,
footer {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

/* header: the landing page's pill nav, compact */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(20, 27, 30, 0.72);
  border: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark img {
  width: 28px;
  height: 21px;
  object-fit: contain;
}
header nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}
header nav a:hover {
  color: var(--ink);
}
header nav a[aria-current='page'] {
  color: var(--ink);
  background: rgba(238, 242, 240, 0.07);
}

/* content */
a {
  color: var(--accent);
  text-decoration-color: rgba(66, 217, 161, 0.4);
  text-underline-offset: 4px;
}
a:hover {
  color: #6be3b6;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
main {
  padding: 72px 0 80px;
}
main > p,
main li,
section > p {
  max-width: 68ch;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 16px;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 48px 0 12px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  margin: 28px 0 8px;
}
p,
ul,
ol {
  margin: 12px 0;
}
ul,
ol {
  padding-left: 1.2em;
}
li {
  margin: 8px 0;
}
li::marker {
  color: var(--muted);
}
strong {
  color: var(--ink);
  font-weight: 600;
}
.intro {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}
.small {
  font-size: 14px;
  color: var(--muted);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin: 32px 0;
}
.card > :first-child {
  margin-top: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.button:hover {
  background: #5be3b1;
  color: var(--accent-ink);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink);
  font-weight: 600;
}
footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}
footer a {
  color: var(--body);
}

@media (max-width: 520px) {
  header {
    margin-top: 14px;
    padding-left: 14px;
  }
  .wordmark {
    letter-spacing: 0.24em;
    font-size: 13px;
  }
  .wordmark img {
    width: 24px;
    height: 18px;
  }
  header nav a {
    padding: 0 9px;
    font-size: 13px;
  }
  main {
    padding-top: 48px;
  }
  .card {
    padding: 22px;
  }
}
@media (max-width: 360px) {
  .wordmark span,
  .wordmark {
    letter-spacing: 0.16em;
  }
  header nav a {
    padding: 0 7px;
  }
}
