:root {
  color-scheme: light;
  --blue: #2f6bff;
  --ink: #1c1c1e;
  --muted: #6b6b70;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3f4f6;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

main {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 { margin: 0 0 12px; font-size: 18px; }

.badge {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff3d6;
  color: #c9841a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.desc {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.primary { background: var(--blue); color: #fff; }
.secondary { background: #ececef; color: #1c1c1e; }

.card {
  margin-top: 14px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #f0f0f3;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04);
}

p, li { color: #2c2c2e; font-size: 15px; line-height: 1.65; }
.note, .label { color: var(--muted); font-size: 13px; }
.label { margin-bottom: 6px; font-weight: 700; letter-spacing: 0.04em; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; border-bottom: 1px solid #f2f2f4; text-align: left; vertical-align: top; line-height: 1.5; }
th { color: #8e8e93; font-size: 12px; font-weight: 700; }

pre {
  margin: 0 0 12px;
  padding: 12px 14px;
  overflow: auto;
  border-radius: 12px;
  background: #f6f7f9;
  color: #1c1c1e;
  font-size: 13px;
  line-height: 1.5;
}

code { font-family: Menlo, Consolas, monospace; font-size: 0.92em; }
a { color: var(--blue); }

ol, ul { margin: 0; padding-left: 1.2em; }
li + li { margin-top: 6px; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  color: #9a9aa0;
  font-size: 14px;
}

footer a { font-weight: 650; text-underline-offset: 3px; }

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .actions { flex-direction: column; }
  .primary, .secondary { width: 100%; }
}
