:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --panel: #ffffff;
  --text: #1d2330;
  --muted: #606a7a;
  --line: #ded9cc;
  --accent: #8a4a12;
  --accent-2: #245aa8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  font-weight: 750;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero {
  padding: 64px 0 36px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: 0;
}

h2 {
  font-size: 28px;
  line-height: 1.24;
  margin: 0 0 16px;
  letter-spacing: 0;
}

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

p {
  margin: 0 0 14px;
}

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

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

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: var(--panel);
  font-weight: 650;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 42px;
}

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

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

.content {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.article {
  max-width: 820px;
}

.article ul {
  padding-left: 22px;
}

.article li {
  margin-bottom: 8px;
}

.footer {
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .hero {
    padding-top: 44px;
  }

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