:root {
  color-scheme: dark;
  --bg: #0f1419;
  --surface: #1a2332;
  --border: #2d3a4f;
  --text: #e8edf4;
  --muted: #c5d0de;
  --link: #9db4ff;
  --primary: #4f7cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 0.65rem 1rem;
  border-radius: 10px;
}

.cta:hover {
  background: #3d6aef;
  text-decoration: none;
}

.crumbs {
  margin: 1.25rem 0 0;
  color: #8b9cb3;
  font-size: 0.9rem;
}

.crumbs a {
  color: inherit;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

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

.lead {
  font-size: 1.05rem;
}

article ol,
article ul,
.related ul {
  padding-left: 1.2rem;
}

article li + li,
.related li + li {
  margin-top: 0.35rem;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq dt {
  font-weight: 650;
  color: var(--text);
  margin-top: 1rem;
}

.faq dd {
  margin: 0.3rem 0 0;
}

.related {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

footer {
  margin-top: 2rem;
  color: #8b9cb3;
  font-size: 0.9rem;
}

footer a {
  color: #8b9cb3;
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.6rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
