:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-2: #4f46e5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header .inner,
.site-footer .inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: #1d4ed8;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.nav-link {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-link:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.06);
  text-decoration: none;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #ffffff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 1.85rem;
  height: 1.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.88rem;
}

.footer-nav a {
  color: #475569;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #1d4ed8;
}

.footer-note {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-copy {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  font-size: 0.8rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: #2563eb;
}

.breadcrumb [aria-current="page"] {
  color: #0f172a;
}
