/* 首页、概况与团队页共用导航和正文样式。 */
:root {
  --ink: #19252a;
  --ink-mid: #404e55;
  --ink-light: #606e75;
  --border: #e1e5e7;
  --accent: #135e58;
  --gold-dark: #92400e;
  --surface-shadow: 0 3px 15px rgba(24, 47, 56, .07);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff;
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: max(24px, calc((100% - 1224px) / 2));
  background: white;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
  border-bottom: 1px solid var(--border);
}
.header-brand { font-weight: 700; font-size: 15px; }
.header-nav { display: flex; gap: clamp(12px, 2.5vw, 32px); }
.header-nav a, .site-footer a { font-size: 14px; color: var(--ink-mid); }
.header-nav a:hover, .site-footer a:hover, .header-nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: .4em; }
.site-footer { border-top: 1px solid var(--border); padding-block: 24px; color: var(--ink-light); font-size: 13px; flex-wrap: wrap; }
.reading-layout { min-height: 100vh; display: flex; flex-direction: column; }
.reading-layout .site-header, .reading-layout .site-footer { flex: none; }
.reading-page { flex: 1; width: min(100% - 48px, 44rem); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0; }
.reading-page h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.25; margin-bottom: 22px; }
.reading-page h2 { font-size: 20px; line-height: 1.5; margin: 30px 0 8px; }
.reading-page p, .credits { color: var(--ink-mid); line-height: 1.95; }
.overview-text a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.credits { margin-top: 24px; }
.credits > div { display: flex; margin-bottom: 7px; }
.credits dt { flex: none; font-weight: 600; color: var(--ink); }
.credits dd span { display: inline-block; }
.project-code { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  html { scroll-padding-top: 98px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 0; padding-block: 7px; }
  .header-nav { gap: 16px; flex-wrap: wrap; }
  .header-nav a { padding-block: 3px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
