:root {
  color-scheme: dark;
  --bg: #080a0b;
  --panel: #101315;
  --line: rgba(255, 255, 255, 0.12);
  --text: #eeeae2;
  --muted: #a7a9ab;
  --accent: #ee9b2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% -10%, rgba(238, 155, 45, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

[data-lang] { display: none; }
html[data-language="en"] [data-lang="en"],
html[data-language="zh-CN"] [data-lang="zh"] { display: block; }
span[data-lang] { display: none; }
html[data-language="en"] span[data-lang="en"],
html[data-language="zh-CN"] span[data-lang="zh"] { display: inline; }

.topbar {
  min-height: 74px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand { font-weight: 900; letter-spacing: 0.14em; }
.language-switch { display: flex; align-items: center; gap: 9px; color: #707477; }
.language-switch button {
  padding: 7px 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] { color: var(--accent); }

.document-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0 72px; }
.document-header { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.2em; }
h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 500; line-height: 1.05; }
.date { margin: 22px 0 0; color: var(--muted); }
.document { padding-top: 36px; }
.notice, .summary {
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(238, 155, 45, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(238, 155, 45, 0.25);
}
.notice { margin: 0 0 24px; font-size: 1.06rem; }
section { padding: 32px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 { margin: 0 0 18px; font-family: Georgia, "Songti SC", serif; font-size: clamp(1.55rem, 4vw, 2.15rem); line-height: 1.3; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 12px 0 18px; padding-left: 1.4rem; }
li { margin: 8px 0; }
a { color: #ffc36d; text-underline-offset: 3px; overflow-wrap: anywhere; }
.summary { margin: 0 0 12px; }
.summary h2 { font-size: 1.35rem; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: minmax(170px, 0.8fr) 1.2fr; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
footer { padding: 28px 20px 46px; border-top: 1px solid var(--line); color: #777b7e; text-align: center; font-size: 0.83rem; }

@media (max-width: 620px) {
  .topbar { min-height: 64px; }
  .document-shell { width: min(100% - 28px, 900px); padding-top: 54px; }
  .document-header { padding-bottom: 30px; }
  .document { padding-top: 24px; }
  section { padding: 26px 0; }
  dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
