:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --ink: #16202a;
  --muted: #627184;
  --line: #dfe5ec;
  --accent: #0f7b6c;
  --accent-strong: #0a5d53;
  --soft: #edf7f5;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.brand-name {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
}

.page-main {
  padding: 36px 0 56px;
}

.content-section {
  margin: 0 0 28px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-section h1,
.content-section h2,
.content-section h3 {
  line-height: 1.3;
  margin: 0 0 14px;
}

.content-section h1 {
  font-size: 34px;
}

.content-section h2 {
  font-size: 24px;
  margin-top: 24px;
}

.content-section h3 {
  font-size: 18px;
  margin-top: 20px;
}

.content-section p,
.content-section ul,
.content-section ol {
  margin: 0 0 14px;
}

.content-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-kicker {
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.article-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.article-card a {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    gap: 12px;
  }

  .content-section {
    padding: 20px;
  }

  .content-section h1 {
    font-size: 28px;
  }
}
