:root {
  --bg: #0d1014;
  --panel: #151a21;
  --line: #232a33;
  --text: #e9ecef;
  --muted: #98a2ae;
  --accent: #6ee7b7;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(13, 16, 20, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: #0d1014;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex: none;
}

nav.top {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

nav.top a {
  color: var(--muted);
  text-decoration: none;
}

nav.top a:hover { color: var(--text); }

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  max-width: 15em;
}

.hero p.lede {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  max-width: 34em;
}

.hero .legal {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

.hero .legal strong {
  color: var(--text);
  font-weight: 500;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: none; }

h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

p { margin: 0 0 14px; color: #cdd3da; }

p.muted, .muted { color: var(--muted); }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.card p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

dl.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 20px;
  font-size: 15px;
}

dl.facts dt { color: var(--muted); }

dl.facts dd { margin: 0; }

a { color: var(--accent); }

footer.site {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

footer.site .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

.doc {
  padding: 56px 0 72px;
  max-width: 720px;
}

.doc h1 {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.doc .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
}

.doc h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  color: var(--text);
  margin: 36px 0 10px;
}

.doc ul { padding-left: 20px; color: #cdd3da; }
.doc li { margin-bottom: 6px; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 28px; }
  .grid { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; gap: 2px 0; }
  dl.facts dt { margin-top: 10px; }
  nav.top { gap: 14px; font-size: 13px; }
  header.site .wrap { height: 60px; }
}
