:root {
  color-scheme: dark;
  --bg: #08090d;
  --surface: #111219;
  --line: #282a33;
  --text: #f4f1e9;
  --muted: #a5a4aa;
  --gold: #c9ab72;
  --gold-soft: #e6d4ae;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 12%, rgba(201, 171, 114, .12), transparent 30rem),
    linear-gradient(180deg, #0b0c12, var(--bg) 50%);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { height: 84px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: .08em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 171, 114, .55);
  border-radius: 12px;
  color: var(--gold-soft);
  background: rgba(201, 171, 114, .07);
}

nav { display: flex; gap: 28px; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.hero {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 132px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
}

.listening-mark {
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
}

.listening-mark span {
  width: 2px;
  border-radius: 999px;
  background: var(--gold-soft);
  opacity: .8;
}

.listening-mark span:nth-child(1) { height: 18px; }
.listening-mark span:nth-child(2) { height: 42px; }
.listening-mark span:nth-child(3) { height: 26px; }

h1, h2, p { text-wrap: pretty; }

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.18;
}

.lead {
  width: min(620px, 100%);
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-width: 132px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); border-color: var(--gold); }
.button.primary { color: #17120a; background: var(--gold-soft); border-color: var(--gold-soft); }
.button.secondary { color: var(--text); background: rgba(255, 255, 255, .02); }

.principles {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article { padding: 44px 40px 52px; }
.principles article + article { border-left: 1px solid var(--line); }
.principles span { color: var(--gold); font-size: 12px; letter-spacing: .16em; }
.principles h2 { margin: 15px 0 12px; font-size: 22px; }
.principles p { margin: 0; color: var(--muted); }

.english-note {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}

.english-note h2 { margin: 0; font: 400 clamp(34px, 6vw, 56px)/1.2 Georgia, serif; }
.english-note p:last-child { color: var(--muted); }

.document-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 120px;
}

.document-title { padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.document-title h1 { margin: 0; font: 500 clamp(44px, 8vw, 70px)/1.15 "Songti SC", serif; }
.document-title > p:last-child { margin: 20px 0 0; color: var(--muted); }

.document { padding-top: 42px; }
.document .summary { color: var(--gold-soft); font-size: 19px; }
.document h2, .support-note h2 { margin: 48px 0 10px; font-size: 21px; }
.document p { color: #c8c7cc; }
.document hr { height: 1px; margin: 60px 0; border: 0; background: var(--line); }

.faq { padding-top: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 26px 0; cursor: pointer; font-size: 18px; font-weight: 600; }
.faq p { margin: -8px 0 28px; color: var(--muted); }
.faq a, .document a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.support-note {
  margin-top: 60px;
  padding: 26px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
}

.support-note h2 { margin-top: 0; }
.support-note p { margin-bottom: 0; color: var(--muted); }

footer {
  min-height: 96px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .site-header { height: 72px; }
  nav { gap: 18px; }
  .hero { padding: 84px 0 94px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { padding: 34px 24px 38px; }
  .principles article + article { border-left: 0; border-top: 1px solid var(--line); }
  .document-page { padding-top: 56px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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