:root {
  color-scheme: light;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6f86;
  --line: #dce6ef;
  --teal: #14b8a6;
  --teal-dark: #087f73;
  --teal-light: #e8f9f7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - 1080px) / 2));
  background: rgba(245, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img { width: 172px; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav a, footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
nav a { padding: 8px 10px; border-radius: 8px; }
nav a:hover { color: var(--text); background: rgba(0,0,0,0.05); }
main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}
.hero {
  min-height: 460px;
  display: grid;
  align-content: center;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: clamp(36px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 10px;
  font-size: 19px;
}
p, li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.hero p { max-width: 720px; margin: 0 auto; }
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}
.button.primary { background: var(--teal); color: white; }
.button.secondary { background: var(--teal-light); color: var(--teal-dark); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards article, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.cards.compact {
  grid-template-columns: 1fr;
  margin-top: 28px;
}
.panel {
  max-width: 820px;
  margin: 0 auto;
}
.panel h1 {
  max-width: 780px;
  margin-left: 0;
  text-align: left;
  font-size: clamp(32px, 5vw, 54px);
}
.updated { color: var(--teal-dark); font-weight: 800; }
.legal h2 { margin-top: 32px; }
.gateway {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
}
.gateway a { margin: 0 8px; color: var(--teal-dark); font-weight: 800; }
footer {
  border-top: 1px solid var(--line);
  padding: 24px max(24px, calc((100vw - 1080px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: white;
}
footer div { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
footer span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .brand img { width: 154px; }
  main { width: min(100% - 28px, 1080px); padding: 48px 0 68px; }
  .hero { min-height: 380px; text-align: left; }
  .hero p, h1 { margin-left: 0; text-align: left; }
  .actions { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
}
