:root {
  color-scheme: light;
  --ink: #1e1830;
  --muted: #594f6e;
  --accent: #5635b2;
  --surface: #f7f4fc;
  --line: #e6def1;
  font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #7d5fe1; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.header, .footer { background: #171326; color: #f5efff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 66px; gap: 16px; }
.header a, .footer a { color: inherit; }
.brand { text-decoration: none; font-size: 1.2rem; font-weight: 700; letter-spacing: .025em; }
.brand span { color: #d5c5ff; font-size: .9rem; margin-inline-start: .35rem; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 8vw, 7rem); }
.platform { color: var(--accent); font-weight: 700; margin: 0 0 .9rem; }
h1, h2, p { margin-block-start: 0; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.55rem); line-height: 1.13; letter-spacing: -.045em; margin-block-end: 1rem; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.3; margin-block-end: .9rem; }
.intro { max-width: 38ch; color: var(--muted); font-size: 1.14rem; }
.action { display: inline-block; padding: .65rem 1rem; border-radius: .55rem; margin-top: .5rem; background: var(--accent); color: white; text-decoration: none; font-weight: 600; }
.action:hover { background: #452596; }
.overview { border-radius: 1.25rem; padding: clamp(1.1rem, 3vw, 2rem); background: #27203c; color: white; }
.overview dl { margin: 0; }
.overview dl div + div { border-top: 1px solid #594c74; margin-top: .9rem; padding-top: .9rem; }
.overview dt { font-weight: 700; color: #eee5ff; }
.overview dd { margin: .25rem 0 0; color: #dcd2ed; }
.details { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; border-top: 1px solid var(--line); padding-block: 2.5rem 4rem; }
.details p, .document p { color: var(--muted); }
.document { max-width: 760px; padding-block: clamp(2.75rem, 6vw, 5rem); }
.document .intro { max-width: none; margin-block-end: 2.5rem; }
.document h2 { font-size: 1.38rem; margin-block-start: 2rem; }
.document p { margin-block-end: 1rem; overflow-wrap: anywhere; }
.footer .header-inner { min-height: 72px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 1.25rem; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .details { grid-template-columns: 1fr; gap: 1.5rem; }
  .details { padding-block: 2rem 3rem; }
}
