:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #5f6e73;
  --quiet: #879396;
  --line: #dde5e4;
  --soft: #f5f8f7;
  --blue: #326b7c;
  --paper: #fffefd;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(221, 229, 228, 0.86);
  background: rgba(255, 254, 253, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brandMark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: white;
  background: var(--blue);
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.25;
}

.brand small {
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 620;
}

nav a:hover,
nav a:focus-visible {
  border-color: rgba(50, 107, 124, 0.18);
  color: var(--ink);
  background: rgba(50, 107, 124, 0.08);
}

main {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.hero {
  min-height: 58svh;
  padding: clamp(76px, 10vw, 132px) 0 84px;
}

.eyebrow,
.sectionHead span,
.topics span,
.postMeta {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 680;
  line-height: 1.04;
}

.hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topics article {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.topics article:last-child {
  border-right: 0;
}

.topics h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 650;
}

.topics p,
.postList p {
  color: var(--muted);
  line-height: 1.75;
}

.latest {
  padding: 86px 0 108px;
}

.sectionHead {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.sectionHead h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 650;
  line-height: 1.12;
}

.postList {
  display: grid;
  border-top: 1px solid var(--line);
}

.postList article {
  display: grid;
  grid-template-columns: 180px minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.postList h3,
.postList p {
  margin: 0;
}

.postList h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 640;
  line-height: 1.28;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.92rem;
}

footer a {
  color: var(--blue);
  font-weight: 650;
}

@media (max-width: 820px) {
  .siteHeader,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 64px 0;
  }

  .topics,
  .sectionHead,
  .postList article {
    grid-template-columns: 1fr;
  }

  .topics article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }

  .topics article:last-child {
    border-bottom: 0;
  }
}
