:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6b7c;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dce3ec;
  --blue: #2855d9;
  --blue-deep: #17358e;
  --mint: #20a47a;
  --shadow: 0 18px 50px rgba(28, 46, 82, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(40, 85, 217, 0.10), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(32, 164, 122, 0.09), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a { color: var(--blue-deep); }

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 236, 0.88);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 22px rgba(40, 85, 217, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav-links a { text-decoration: none; }

.hero {
  padding: 92px 0 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.22; letter-spacing: -0.035em; }

h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); }

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: white;
  background: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.button.secondary { color: var(--blue-deep); background: var(--surface); }

.terminal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #eaf0ff;
  background: #10182a;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dot { width: 9px; height: 9px; border-radius: 50%; background: #60708e; }
.dot:first-child { background: #ff6a67; }
.dot:nth-child(2) { background: #ffc357; }
.dot:nth-child(3) { background: #39d28d; }

pre {
  margin: 0;
  padding: 26px;
  white-space: pre-wrap;
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prompt { color: #65dbac; }
.comment { color: #91a0bb; }

.section { padding: 38px 0 76px; }
.section h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); }
.section-intro { max-width: 720px; margin: 0 0 30px; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(28, 46, 82, 0.06);
}

.card h3 { margin: 0 0 9px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.notice {
  margin: 0 0 72px;
  padding: 22px 24px;
  border-left: 4px solid var(--mint);
  border-radius: 0 14px 14px 0;
  background: #eaf8f3;
}

.document { padding: 68px 0 90px; }
.document article {
  max-width: 850px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document h1 { font-size: clamp(36px, 6vw, 58px); }
.document h2 { margin: 38px 0 10px; font-size: 24px; }
.document p, .document li { color: #3f4b5e; }
.document .updated { color: var(--muted); font-size: 14px; }

.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 16px 0; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .footer-row { flex-direction: column; }
}

