:root {
  --bg: #0b1220;
  --ink: #e7eef8;
  --muted: #93a1b5;
  --line: rgba(231, 238, 248, 0.12);
  --blue: #3c8eef;
  --navy: #1e4376;
  --orange: #f0a04b;
  --surface: #121a2a;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(720px 320px at 100% -8%, rgba(30, 67, 118, 0.85), transparent 70%),
    var(--bg);
  font-family: "Sora", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

a { color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a { text-decoration: none; }
nav a:hover { color: var(--ink); }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

body[data-lang="zh"] .lang [data-set-lang="zh"],
body[data-lang="en"] .lang [data-set-lang="en"] {
  background: var(--ink);
  color: var(--bg);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: end;
  padding: 72px 0 56px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Fraunces", "Songti SC", serif;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px 0 12px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.play svg { display: block; }

.ghost {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.ghost:hover { color: var(--ink); }

.mark {
  justify-self: end;
  width: min(280px, 100%);
  aspect-ratio: 1;
  padding: 28px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.mark img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

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

.facts div { padding: 22px 0; }
.facts div + div { padding-left: 22px; }

.facts dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 6px 0 0;
  font-size: 16px;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 28px;
  font-family: "Fraunces", "Songti SC", serif;
  font-size: 36px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.features article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.features span {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  padding-top: 4px;
}

.features h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.features p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--ink); }

.prose {
  max-width: 740px;
  padding: 28px 0 80px;
}

.prose h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.prose h2 {
  margin: 32px 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.prose p, .prose li {
  color: var(--muted);
  line-height: 1.7;
}

.prose a { color: var(--blue); }

@media (max-width: 800px) {
  .hero, .features, .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; gap: 28px; }
  .mark { justify-self: start; width: 180px; padding: 16px; border-radius: 24px; }
  .mark img { border-radius: 18px; }
  .facts div + div { padding-left: 0; }
  header, footer { align-items: flex-start; }
  nav { gap: 12px; }
}
