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

:root {
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-bg-soft: #f7f8fa;
  --color-border: #e8e8e8;
  --color-accent: #2563eb;
  --max-width: 720px;
  --header-height: 64px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* Main */
.about-page {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.content p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand nav a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-contact {
  margin-bottom: 24px;
}

.footer-wechat {
  margin-bottom: 32px;
}

.footer-wechat .label,
.footer-contact .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-email a,
.contact-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-icon {
  flex-shrink: 0;
}

.footer-wechat p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.wechat-qrcode {
  display: block;
  width: 120px;
  height: 120px;
  margin-bottom: 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
}

.wechat-name {
  font-weight: 600;
  color: var(--color-text);
}

.copyright {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.icp {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.icp a {
  color: var(--color-text-muted);
}

.icp a:hover {
  color: var(--color-accent);
}

.icp-sep {
  color: var(--color-text-muted);
}

.beian-mps img {
  vertical-align: middle;
  margin-right: 3px;
  position: relative;
  top: -1px;
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 0.75rem;
  }

  .about-page {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 1.625rem;
    margin-bottom: 28px;
  }
}
