:root {
  --bg: #101216;
  --text: #F7F6F2;
  --muted: #B2B5BD;
  --accent: #5B8CFF;
  --line: #262A33;
}

* {
  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: 16px;
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.wordmark:hover {
  color: var(--accent);
}

header.site nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

header.site nav a:hover {
  color: var(--accent);
}

main {
  padding: 32px 0 56px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p, li {
  color: var(--text);
}

.meta {
  color: var(--muted);
  margin: 0 0 24px;
}

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  margin-left: 12px;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p, .faq details ol {
  color: var(--muted);
  margin: 10px 0 0;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0;
}

.card p {
  margin: 0 0 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 28px;
}

footer.site a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}

footer.site a:last-child {
  margin-right: 0;
}

footer.site a:hover {
  color: var(--accent);
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  header.site nav a {
    margin-left: 12px;
    font-size: 14px;
  }

  main {
    padding-top: 24px;
  }
}
