:root {
  --ink: #f4f0e7;
  --muted: #aaa79f;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(18, 20, 22, 0.82);
  --accent: #e2743f;
  --accent-soft: rgba(226, 116, 63, 0.16);
  --bg: #070809;
  color-scheme: dark;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 10%, rgba(50, 71, 83, 0.26), transparent 35rem),
    radial-gradient(circle at 12% 38%, rgba(94, 47, 29, 0.22), transparent 28rem),
    var(--bg);
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 9, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.nav a,
.language-switch button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.nav a:hover,
.nav a[aria-current="page"],
.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: 8vw 6vw;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  filter: blur(3px);
}

.hero::before {
  width: min(64vw, 840px);
  height: min(64vw, 840px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 12vw rgba(255, 255, 255, 0.012),
    0 0 100px rgba(226, 116, 63, 0.08);
}

.hero::after {
  bottom: -20%;
  width: 110vw;
  height: 40%;
  background: linear-gradient(90deg, transparent, rgba(226, 116, 63, 0.08), transparent);
  transform: rotate(-5deg);
  filter: blur(50px);
}

.hero-copy {
  max-width: 860px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 500;
  line-height: 1.2;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  letter-spacing: -0.055em;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.7);
}

.hero-lead {
  max-width: 680px;
  margin: 1.5rem auto 0;
  color: #d2cec5;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #160c07;
  font-weight: 800;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 280px;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #0c0e0f;
}

.feature-number {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.feature h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.document-shell {
  width: min(940px, 90vw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.document-header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.document-header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.document {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

.document section + section {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.document h3 {
  margin: 1.4rem 0 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
}

.document p,
.document li {
  color: #c9c5bd;
}

.document ul {
  padding-left: 1.2rem;
}

.document strong {
  color: var(--ink);
}

.notice {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #e7d4c6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.support-card h2 {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 750;
}

.contact-link {
  color: #ff9a68;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
  color: #77756f;
  font-size: 0.82rem;
}

[data-lang="zh"],
[data-lang="en"] {
  display: none;
}

html[lang="zh-CN"] [data-lang="zh"],
html[lang="en"] [data-lang="en"] {
  display: revert;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .language-switch {
    padding-left: 0.5rem;
  }

  .hero {
    min-height: calc(100vh - 110px);
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
