/* 候鸟帮邦 · 静态官网 */

:root {
  --ink: #0f1f1a;
  --muted: #5a6f66;
  --paper: #f4faf7;
  --accent: #12b886;
  --accent-deep: #0b8f68;
  --line: rgba(15, 31, 26, 0.1);
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(244, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
}

.top-nav {
  display: flex;
  gap: 8px 22px;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #12352c;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(8, 28, 22, 0.82) 0%,
    rgba(8, 28, 22, 0.42) 52%,
    rgba(18, 184, 134, 0.18) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 88px 28px 72px;
  color: #f4fffa;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.06em;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 36em;
  font-size: 1.05rem;
  color: rgba(244, 255, 250, 0.9);
}

.panel {
  width: min(1080px, calc(100% - 40px));
  margin: 64px auto;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.panel h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.panel-desc,
.about-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mod-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.mod-grid article {
  padding: 22px 18px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.mod-grid h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-deep);
}

.mod-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.notes {
  margin: 18px 0 0;
  padding: 0 0 0 1.2em;
  color: var(--muted);
}

.notes li + li {
  margin-top: 8px;
}

.foot {
  margin-top: 80px;
  padding: 32px 28px;
  background: #0c1a15;
  color: #cfe8dc;
  text-align: center;
}

.foot-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 10px 0;
}

.foot-links a:hover {
  color: #fff;
}

.foot-note {
  margin: 0;
  opacity: 0.7;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .top {
    padding: 12px 18px;
  }

  .hero-copy {
    padding: 64px 20px 48px;
  }
}
