@font-face {
  font-family: "DingTalk JinBuTi";
  src: url("../fonts/DingTalk-JinBuTi.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f4f1;
  --card: #ffffff;
  --text: #2a2622;
  --muted: #7a736c;
  --border: #e8e4de;
  --topbar: #2a2622;
  --primary: #c45c1a;
  --primary-hover: #a84c14;
  --primary-soft: #fde8d8;
  --header-bg: #ffffff;
  --shadow: 0 1px 2px rgba(42, 38, 34, .04), 0 4px 14px rgba(42, 38, 34, .05);
  --radius: 12px;
  --max: 800px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DingTalk JinBuTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.topbar {
  background: var(--topbar);
  color: #fff;
  font-size: 12px;
  height: 34px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
}

.topbar a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.topbar a:hover {
  color: #fff;
  text-decoration: none;
}

.topbar-right {
  opacity: .75;
}

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

.site-header-inner {
  width: min(100% - 24px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand-text .name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--text);
}

.brand-text .sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.back-home {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.back-home:hover {
  color: var(--primary);
  text-decoration: none;
}

.page {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.article h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.article h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 26px 0 10px;
  color: var(--text);
}

.article .meta,
.article .desc {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.article .intro {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.article p {
  margin-bottom: 10px;
}

.footer-note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 640px) {
  .article {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .article h1 {
    font-size: 24px;
  }
}
