:root {
  color-scheme: dark;
  --surface-deep: #06070d;
  --surface-base: #0b0e18;
  --surface-raised: #11151f;
  --stellar-gold: #c8a05e;
  --text-primary: rgba(245, 240, 225, 0.95);
  --text-secondary: rgba(220, 215, 200, 0.68);
  --text-tertiary: rgba(200, 195, 180, 0.46);
  --border-faint: rgba(245, 240, 225, 0.1);
}

* { box-sizing: border-box; }

html { background: var(--surface-deep); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 78% 8%, rgba(142, 132, 184, 0.15), transparent 28rem),
    radial-gradient(circle at 12% 34%, rgba(200, 160, 94, 0.1), transparent 26rem),
    var(--surface-base);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

a { color: inherit; text-underline-offset: 0.24em; }

.shell { width: min(100% - 40px, 780px); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--border-faint);
}

.wordmark { color: var(--text-primary); font-size: 18px; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; }

nav { display: flex; gap: 20px; color: var(--text-secondary); font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, .wordmark:hover, .gold-link:hover { color: var(--stellar-gold); }

main { padding: 88px 0 64px; }

.eyebrow { margin: 0 0 16px; color: var(--stellar-gold); font-size: 12px; letter-spacing: 0.15em; }

h1, h2 { font-weight: 400; letter-spacing: 0.02em; }
h1 { max-width: 680px; margin: 0; font-size: clamp(34px, 7vw, 52px); line-height: 1.28; }
h2 { margin: 48px 0 14px; font-size: 20px; }
p, li { color: var(--text-secondary); font-size: 15px; }
.lead { max-width: 600px; margin: 28px 0 0; font-size: 17px; line-height: 1.9; }

.path {
  display: inline-flex;
  margin-top: 42px;
  padding: 9px 14px;
  border: 1px solid var(--border-faint);
  border-radius: 999px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.links { display: grid; gap: 14px; margin-top: 46px; }
.link-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border-faint);
  border-radius: 14px;
  background: rgba(17, 21, 31, 0.66);
  text-decoration: none;
  transition: border-color 480ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.link-card:hover { border-color: rgba(200, 160, 94, 0.48); transform: translateY(-2px); }
.link-card strong { display: block; color: var(--text-primary); font-weight: 400; }
.link-card span { color: var(--text-tertiary); font-size: 14px; }

.document { max-width: 720px; }
.document h1 { font-size: clamp(30px, 6vw, 44px); }
.document ul { padding-left: 1.3em; }
.notice { margin: 32px 0; padding: 18px 20px; border-left: 1px solid var(--stellar-gold); background: rgba(200, 160, 94, 0.07); }
.notice p { margin: 0; }
.gold-link { color: var(--stellar-gold); }

footer { padding: 24px 0 34px; border-top: 1px solid var(--border-faint); color: var(--text-tertiary); font-size: 12px; }
footer p { margin: 0; color: inherit; font-size: inherit; }

@media (max-width: 520px) {
  .shell { width: min(100% - 32px, 780px); }
  header { padding-top: 22px; }
  nav { gap: 14px; }
  main { padding-top: 64px; }
}
