/* layout.css — 结构 / 布局 / 栅格 */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 5vw, 3rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 12, 0.55);
  border-bottom: 1px solid var(--border);
}

.nav__logo { font-size: 1.15rem; font-weight: 700; }
.nav__logo span { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: clamp(1rem, 4vw, 2rem); }
.nav__links a { color: var(--muted); font-size: 0.95rem; transition: color 0.25s; }
.nav__links a:hover { color: var(--text); }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 2rem);
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 0 3rem;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.6rem;
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero__sub {
  margin: 1.4rem 0 2.2rem;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--muted);
  max-width: 60ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.section-head { margin: 2rem 0 2.5rem; }
.section-head__title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.section-head__desc { color: var(--muted); margin-top: 0.5rem; }

.links { padding-bottom: 5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem clamp(1.2rem, 5vw, 2rem) 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; }
.footer__socials { display: flex; gap: 1.5rem; }
.footer__socials a { color: var(--muted); transition: color 0.25s; }
.footer__socials a:hover { color: #22d3ee; }
.footer__note { color: var(--muted); font-size: 0.85rem; }
