:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: rgba(16, 35, 61, 0.72);
  --surface-strong: #10233d;
  --text: #f7f9fc;
  --muted: #a9b8cd;
  --line: rgba(155, 195, 255, 0.16);
  --blue: #5f9cff;
  --blue-bright: #9bc3ff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 0%, rgba(47, 124, 246, 0.22), transparent 34rem),
    radial-gradient(circle at 0% 35%, rgba(47, 124, 246, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
}
.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(155, 195, 255, 0.24);
  border-radius: 10px;
  background: linear-gradient(145deg, #286bd1, #0c315f);
  box-shadow: 0 8px 24px rgba(47, 124, 246, 0.24);
  color: white;
  font-size: 13px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  background: rgba(155, 195, 255, 0.09);
  color: var(--text);
}
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.language-switch button {
  min-width: 38px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.language-switch button[aria-pressed="true"] {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
[data-lang="en"] { display: none; }
html[data-language="en"] [data-lang="zh"] { display: none; }
html[data-language="en"] [data-lang="en"] { display: revert; }
.hero {
  display: grid;
  min-height: calc(100vh - 73px);
  align-items: center;
  padding: 84px 0 96px;
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.button-primary { border-color: transparent; background: var(--blue); color: #061020; }
.button-primary:hover { background: var(--blue-bright); }
.shield-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 410px;
  justify-self: end;
}
.shield-ring, .shield-core {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 4%, 88% 18%, 88% 49%, 80% 72%, 64% 88%, 50% 96%, 36% 88%, 20% 72%, 12% 49%, 12% 18%);
}
.shield-ring {
  border: 1px solid rgba(155, 195, 255, 0.14);
  background: linear-gradient(145deg, rgba(47, 124, 246, 0.2), rgba(47, 124, 246, 0.02));
  filter: drop-shadow(0 30px 50px rgba(47, 124, 246, 0.22));
}
.shield-ring:nth-child(2) {
  inset: 11%;
  background: linear-gradient(145deg, rgba(47, 124, 246, 0.3), rgba(47, 124, 246, 0.04));
}
.shield-core {
  inset: 24%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #82b4ff, #1f6ee6 58%, #0c3b80);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.shield-core::after {
  width: 22%;
  height: 10%;
  border-bottom: 5px solid white;
  border-left: 5px solid white;
  content: "";
  transform: rotate(-45deg) translate(12%, -30%);
}
.feature-strip {
  display: grid;
  gap: 16px;
  padding-bottom: 96px;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}
.feature strong { display: block; margin-bottom: 7px; font-size: 16px; }
.feature span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.legal-main { padding: 72px 0 100px; }
.legal-header {
  max-width: 820px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 { font-size: clamp(42px, 6vw, 70px); }
.updated { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.legal-layout {
  display: grid;
  align-items: start;
  gap: 72px;
  margin-top: 52px;
  grid-template-columns: 210px minmax(0, 720px);
}
.toc { position: sticky; top: 110px; display: grid; gap: 6px; }
.toc a {
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
}
.toc a:hover { background: rgba(155, 195, 255, 0.08); color: var(--text); }
.legal-section { margin-bottom: 48px; scroll-margin-top: 110px; }
.legal-section h2 {
  margin: 0 0 16px;
  font-size: 25px;
  letter-spacing: -0.025em;
}
.legal-section p, .legal-section li {
  color: #c3cfdf;
  font-size: 16px;
  line-height: 1.85;
}
.legal-section ul { padding-left: 1.25em; }
.notice {
  padding: 20px 22px;
  border: 1px solid rgba(95, 156, 255, 0.3);
  border-radius: 18px;
  margin: 0 0 42px;
  background: rgba(47, 124, 246, 0.11);
  color: #d8e7ff;
  line-height: 1.7;
}
.inline-link {
  color: var(--blue-bright);
  text-decoration: underline;
  text-decoration-color: rgba(155, 195, 255, 0.35);
  text-underline-offset: 3px;
}
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .hero-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .shield-art { width: min(75vw, 340px); justify-self: center; }
  .feature-strip { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; }
  .nav-link { display: none; }
  .hero { padding: 58px 0 72px; }
  h1 { font-size: 50px; }
  .button { flex: 1; }
  .legal-main { padding-top: 48px; }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
