:root {
  --editorial-bg: #020202;
  --editorial-surface: #0c0c0c;
  --editorial-text: #ffffff;
  --editorial-muted: #b8b8b8;
  --editorial-border: #303030;
  --editorial-sky: #c0f0fb;
  --editorial-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
}

body.editorial-dark { color: var(--editorial-text); background: var(--editorial-bg); }
.editorial-dark .site-header { color: #fff; background: rgba(2,2,2,.94); border-color: var(--editorial-border); }
.editorial-dark .brand-crop { background-image: url("../images/yuancode-logo-transparent.png"); filter: grayscale(1) brightness(0) invert(1); }
.editorial-dark .site-header nav a:not(.nav-cta) { color: #ddd; }
.editorial-dark .site-header nav a:not(.nav-cta):hover { color: var(--editorial-sky); }
.editorial-dark .nav-cta, .editorial-dark .button-primary { color: #020202; background: var(--editorial-sky); }
.editorial-dark .nav-toggle { color: #fff; background: #111; border-color: #555; }
.editorial-dark .page-hero, .editorial-dark .article, .editorial-dark .privacy { color: var(--editorial-text); }
.editorial-dark .page-hero h1, .editorial-dark .article > h1, .editorial-dark .privacy h1, .editorial-dark .article-body h2, .editorial-dark .article-body h3 { font-family: var(--editorial-serif); font-weight: 400; }
.editorial-dark .page-hero > p:last-child, .editorial-dark .article-lead, .editorial-dark .back-link, .editorial-dark .article-body, .editorial-dark .privacy > p { color: var(--editorial-muted); }
.editorial-dark .eyebrow, .editorial-dark .text-link, .editorial-dark .article-body a { color: var(--editorial-sky); }
.editorial-dark .insight-card { background: var(--editorial-surface); border-color: var(--editorial-border); box-shadow: none; }
.editorial-dark .insight-card > p:not(.eyebrow) { color: var(--editorial-muted); }
.editorial-dark .article-lead { border-color: var(--editorial-border); }
.editorial-dark .article-cta { color: #020202; background: var(--editorial-sky); }
.editorial-dark .article-cta .eyebrow { color: #0b2a5b; }
.editorial-dark .article-cta .button-primary { color: #fff; background: #0b2a5b; }
.editorial-dark .site-footer { color: var(--editorial-muted); background: #080808; border-top: 1px solid var(--editorial-border); }
.editorial-dark .site-footer strong { color: #fff; }
.editorial-dark .privacy h2 { margin-top: 3rem; font-family: var(--editorial-serif); font-weight: 400; }
.editorial-dark .privacy a { color: var(--editorial-sky); text-decoration: underline; }

@media (max-width: 840px) {
  .editorial-dark .site-header nav { background: #090909; border-color: var(--editorial-border); }
}
