:root {
  color-scheme: light;
  --bg: #f2f6f8;
  --surface: #ffffff;
  --text: #101820;
  --muted: #536373;
  --line: #d7e1e8;
  --teal: #0f9f8d;
  --teal-dark: #067568;
  --teal-light: #e5f4f1;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(24,183,168,0.12), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(246,184,75,0.10), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
.gateway-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(244,248,251,0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.gateway-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.gateway-logo img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}
.gateway-logo span span { color: var(--teal); }
.gateway-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.gateway-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.gateway-nav a:hover {
  color: var(--text);
  border-color: rgba(24,183,168,0.25);
}
.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: 6px; }
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;
  text-transform: none;
}
h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.08;
  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: 6px;
  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: 6px;
  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;
  padding-top: 0;
}
.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) {
  .gateway-header {
    min-height: 60px;
    padding: 0 14px;
    gap: 8px;
  }
  .gateway-logo { gap: 8px; font-size: 19px; }
  .gateway-logo img { width: 34px; height: 34px; border-radius: 10px; }
  .gateway-nav { flex-wrap: nowrap; gap: 6px; }
  .gateway-nav a {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .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; }
}
