:root {
  color-scheme: light;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #132030;
  --muted: #5f6f82;
  --line: #dbe5ef;
  --brand: #2563eb;
  --brand-soft: #eaf2ff;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 6%, rgba(15, 118, 110, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.75;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 52px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 20px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

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

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

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

.section {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

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

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

.code {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: #0f172a;
  color: #dbeafe;
  font-family:
    "JetBrains Mono",
    Consolas,
    monospace;
  font-size: 14px;
}

.footer {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 20px, 1080px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .hero {
    padding: 28px;
    border-radius: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
