:root {
  color-scheme: light;
  --ink: #302d3b;
  --muted: #736d7e;
  --line: #e3dfeb;
  --surface: #ffffff;
  --wash: #faf9fc;
  --purple: #6854b8;
  --purple-soft: #eeeaf7;
  --content: 720px;
  --frame: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--wash); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.site-header, footer { width: min(var(--frame), calc(100% - 48px)); margin: 0 auto; }
.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 650; }
.brand img { width: 25px; height: 25px; }
.site-header nav { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; }
.site-header nav a:hover, .breadcrumb a:hover, .sources a:hover { color: var(--purple); }
main { width: min(var(--frame), calc(100% - 48px)); margin: 0 auto; }
article { width: min(100%, 920px); margin: 0 auto; padding: 42px 0 88px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.article-hero { width: min(100%, var(--content)); margin: 44px 0 56px; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: 13px; font-weight: 650; letter-spacing: .04em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; line-height: 1.13; }
.lead { margin-bottom: 18px; color: #575261; font-size: 18px; line-height: 1.8; }
.updated { margin: 0; color: var(--muted); font-size: 13px; }
.article-body { width: min(100%, var(--content)); }
.content-section { margin: 0 0 52px; }
.content-section h2, .related h2, .sources h2 { margin-bottom: 16px; font-size: 22px; letter-spacing: -.02em; line-height: 1.35; }
.content-section p { color: #575261; font-size: 16px; line-height: 1.9; }
.content-section p + p { margin-top: 16px; }
.card-grid { display: grid; gap: 10px; }
.topic-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color 150ms ease, transform 150ms ease; }
.topic-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.topic-card h3 { margin-bottom: 8px; font-size: 16px; }
.topic-card p { margin-bottom: 12px; font-size: 14px; line-height: 1.75; }
.topic-card span { color: var(--purple); font-size: 13px; font-weight: 600; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: 0 0 24px 44px; counter-increment: steps; }
.steps li::before { position: absolute; left: 0; top: 0; display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--purple); content: counter(steps); font-size: 12px; font-weight: 650; }
.steps li::after { position: absolute; top: 31px; bottom: 3px; left: 12px; width: 1px; background: var(--line); content: ''; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 7px; font-size: 16px; }
.steps p { margin-bottom: 0; font-size: 14px; line-height: 1.75; }
.evidence { width: min(100vw - 48px, 900px); margin-left: calc((min(100%, var(--content)) - min(100vw - 48px, 900px)) / 2); }
.evidence-copy { width: min(100%, var(--content)); }
figure { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
figure img { display: block; width: 100%; height: auto; }
figcaption { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.boundary { padding: 22px; border-left: 3px solid var(--purple); background: var(--purple-soft); }
.boundary ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: #575261; font-size: 14px; line-height: 1.7; }
.related, .sources { width: min(100%, var(--content)); margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.related div { display: flex; flex-wrap: wrap; gap: 9px; }
.related a { padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #575261; font-size: 13px; }
.related a:hover { border-color: var(--purple); color: var(--purple); }
.sources ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sources li { display: grid; gap: 4px; }
.sources a { color: var(--purple); font-size: 14px; font-weight: 600; }
.sources span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.final-cta { width: min(100%, var(--content)); margin-top: 64px; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.final-cta p { margin-bottom: 18px; color: #575261; font-size: 16px; }
.final-cta a, .retired-links a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--purple); border-radius: 6px; background: var(--purple); color: #fff; font-size: 14px; font-weight: 600; }
footer { display: flex; justify-content: space-between; padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.retired main { display: grid; min-height: 100vh; place-items: center; }
.retired section { width: min(620px, calc(100% - 48px)); padding: 40px 0; }
.retired h1 { margin-top: 18px; font-size: 40px; }
.retired-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.retired-links a + a { border-color: var(--line); background: var(--surface); color: var(--purple); }
@media (max-width: 700px) {
  .site-header, footer, main { width: min(100% - 32px, var(--frame)); }
  .site-header { min-height: 62px; }
  .site-header nav { gap: 12px; font-size: 12px; }
  article { padding-top: 28px; }
  .article-hero { margin: 32px 0 40px; }
  .lead { font-size: 16px; }
  .content-section p { font-size: 15px; }
  .evidence { width: 100%; margin-left: 0; }
  footer { gap: 12px; }
}
