:root {
  color-scheme: dark;
  --bg: #0f1216;
  --surface: #171b21;
  --line: #303741;
  --fg: #e8eaed;
  --muted: #b3bdca;
  --gold: #d9a441;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    18px/1.85 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Hiragino Sans',
    sans-serif;
}
a {
  color: #f0d295;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #ffe8b9;
}
.reading-wrap {
  max-width: 768px;
  margin: 68px auto 88px;
  padding: 0 24px;
}
h1 {
  margin: 0 0 22px;
  font:
    400 clamp(30px, 3.7vw, 44px)/1.3 Georgia,
    'Songti SC',
    'Hiragino Mincho ProN',
    serif;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.article-lead {
  font-size: 19px;
  line-height: 1.75;
  color: #c9d1db;
  margin: 0 0 24px;
  max-width: 46rem;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.toc {
  background: #171d23;
  border: 1px solid #303741;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0 44px;
  font-size: 15px;
}
.toc strong {
  font-weight: 500;
  color: #b6bfc9;
  font-size: 13px;
}
.toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  margin: 12px 0 0;
  padding-left: 20px;
}
.toc li {
  padding-left: 2px;
}
.toc a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}
.prose section {
  margin: 44px 0;
  scroll-margin-top: 24px;
}
.prose h2,
.related > h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 20px;
}
.prose p {
  margin: 0 0 20px;
}
.prose ul {
  padding-left: 24px;
}
.version-note {
  background: #d9a44110;
  border-left: 2px solid var(--gold);
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #d0d7e0;
}
.version-note p {
  margin: 0;
}
.product-evidence {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 36px 0;
  padding: 24px;
  text-align: center;
  background: #13171d;
}
.product-evidence img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 480px;
  height: auto;
  margin: auto;
  border-radius: 8px;
}
.resource-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}
.resource-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  text-decoration: none;
  background: var(--surface);
}
.resource-card:hover {
  transform: translateY(-2px);
  border-color: #d9a44188;
  color: var(--fg);
}
.resource-card h2,
.resource-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 12px;
  text-wrap: balance;
}
.resource-card p {
  font-size: 16px;
  color: #c3cbd6;
  line-height: 1.7;
  margin: 0;
}
.language-note {
  display: inline-block;
  font-size: 13px;
  color: #e8c475;
  margin-top: 12px;
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 48px;
}
.closing-action {
  margin: 44px 0 0;
}
.btn-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--gold);
  color: #1a1207;
  border-radius: 9px;
  text-decoration: none;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
}
.btn-cta:hover {
  color: #1a1207;
  background: #e6b354;
}
code {
  padding: 2px 5px;
  background: var(--surface);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
body[data-page-kind='collection'] .reading-wrap {
  max-width: 1248px;
}
body[data-page-kind='collection'] .resource-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .reading-wrap {
    padding: 0 20px;
    margin: 40px auto 64px;
  }
  .article-lead {
    font-size: 17px;
  }
  .toc {
    padding: 18px 20px;
  }
  .toc ol {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .toc a {
    min-height: 44px;
  }
  body[data-page-kind='collection'] .resource-list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }
  .resource-card {
    padding: 20px;
  }
  .prose h2,
  .related > h2 {
    font-size: 23px;
  }
}

.resource-downloads {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 0;
  list-style: none;
}
.resource-downloads a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
