:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --soft: #f7f8fa;
  --brand: #f97316;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}
.ghost {
  background: #fff;
  color: #111827;
}
.hero {
  background: #111827;
  color: #fff;
  padding: 76px 32px 70px;
}
.hero-inner,
.wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}
.eyebrow {
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  max-width: 860px;
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}
.lead {
  max-width: 780px;
  margin: 0;
  color: #f3f4f6;
  font-size: 19px;
}
.wrap {
  padding: 44px 32px;
}
.article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
}
.article h2 {
  margin: 30px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}
.article h2:first-child {
  margin-top: 0;
}
.article h3 {
  margin: 22px 0 8px;
  font-size: 19px;
}
.article p,
.article li {
  color: #374151;
}
.article ul,
.article ol {
  padding-left: 22px;
}
.note {
  border-left: 4px solid var(--brand);
  background: #fff7ed;
  padding: 14px 16px;
  color: #7c2d12;
}
.toc,
.sources,
.related {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}
.toc a,
.sources a,
.related a {
  color: #1d4ed8;
}
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.keywords span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  padding: 7px 11px;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.22;
}
.card p {
  margin: 0;
  color: #374151;
}
footer {
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: #6b7280;
  font-size: 14px;
}
footer .inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .nav {
    padding: 0 16px;
  }
  .navlinks a:not(.button):not(.lang) {
    display: none;
  }
  .hero {
    padding: 56px 20px 46px;
  }
  .lead {
    font-size: 17px;
  }
  .wrap {
    padding: 30px 20px;
  }
  .article {
    padding: 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
