/* =====================================================================
   聚流 · AI API 聚合官网（设计预览）
   风格：Google 系留白 + 克制蓝色点缀
   字体：全站 Google Sans（拉丁/数字/标点），中文回退系统默认字体
   ===================================================================== */

/* ---------- Google Sans（本地自托管，仅拉丁子集） ---------- */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/GoogleSans-300.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2000-206F, U+2190-2193, U+2212, U+25A0-25FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GoogleSans-400.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2000-206F, U+2190-2193, U+2212, U+25A0-25FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/GoogleSans-500.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2000-206F, U+2190-2193, U+2212, U+25A0-25FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/GoogleSans-600.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2000-206F, U+2190-2193, U+2212, U+25A0-25FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/GoogleSans-700.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2000-206F, U+2190-2193, U+2212, U+25A0-25FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GoogleSans-italic-400.woff2') format('woff2');
}

/* ---------- 设计令牌 ---------- */
:root {
  --blue: #1a73e8;
  --blue-hover: #1b66c9;
  --blue-press: #185abc;
  --blue-soft: #e8f0fe;
  --blue-text: #1765cc;
  --green: #1e8e3e;
  --green-text: #146c2e;
  --yellow: #f9ab00;
  --red: #d93025;

  --ink: #1f1f1f;
  --ink-2: #444746;
  --ink-3: #5f6368;
  --ink-4: #6f7479;
  --line: #e3e3e3;
  --line-soft: #f1f3f4;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --surface-3: #f1f3f4;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(60, 64, 67, .08), 0 1px 3px rgba(60, 64, 67, .06);
  --shadow-2: 0 1px 3px rgba(60, 64, 67, .1), 0 4px 12px rgba(60, 64, 67, .08);
  --shadow-3: 0 8px 28px rgba(60, 64, 67, .12), 0 2px 6px rgba(60, 64, 67, .06);

  --font: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  --mono: 'Google Sans', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --nav-h: 72px;
  --container: 1180px;
  --gutter: 32px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(26, 115, 232, .16); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn svg { flex: none; }

.btn-primary {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  box-shadow: 0 1px 2px rgba(26, 115, 232, .18);
}
.btn-primary:hover { --btn-bg: var(--blue-hover); --btn-bd: var(--blue-hover); box-shadow: 0 2px 8px rgba(26, 115, 232, .28); }
.btn-primary:active { --btn-bg: var(--blue-press); --btn-bd: var(--blue-press); transform: translateY(1px); }

.btn-outline {
  --btn-bg: #fff;
  --btn-fg: var(--ink-2);
  --btn-bd: var(--line);
}
.btn-outline:hover { --btn-bg: var(--surface-2); --btn-fg: var(--ink); --btn-bd: #d5d7da; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-3);
  padding: 0 14px;
}
.btn-ghost:hover { --btn-bg: var(--surface-3); --btn-fg: var(--ink); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; }
.brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--ink-3);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 96px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-glow .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero-glow .g1 {
  width: 620px; height: 620px;
  top: -260px; left: 50%;
  transform: translateX(-72%);
  background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, .28), transparent 68%);
}
.hero-glow .g2 {
  width: 520px; height: 520px;
  top: -180px; right: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(52, 168, 83, .16), transparent 70%);
}
.hero-glow .g3 {
  width: 460px; height: 460px;
  top: 40px; left: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 188, 5, .14), transparent 72%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .7);
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: .01em;
  box-shadow: var(--shadow-1);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 142, 62, .14);
}

.hero-title {
  margin-top: 28px;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 18ch;
}

.hero-lede {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ink-3);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-4);
  letter-spacing: .01em;
}

/* ---------- 控制台示意 ---------- */
.hero-visual { margin-top: 76px; }

.console {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .05), 0 12px 40px rgba(60, 64, 67, .09);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.traffic { display: flex; gap: 7px; flex: none; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; background: #dadce0; }
.traffic i:nth-child(1) { background: #f2b8b5; }
.traffic i:nth-child(2) { background: #fde293; }
.traffic i:nth-child(3) { background: #b7e1cd; }
.console-title {
  font-size: 12.5px;
  color: var(--ink-4);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-tag {
  margin-left: auto;
  flex: none;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 11.5px;
  font-weight: 500;
}

.console-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}
.pane { min-width: 0; }
.pane-res { border-left: 1px solid var(--line-soft); background: #fcfcfd; }

.pane-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 0;
}
.pane-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.copy {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 11.5px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.copy:hover { background: var(--surface-2); color: var(--ink); border-color: #d5d7da; }
.copy.is-done { color: var(--green-text); border-color: rgba(30, 142, 62, .35); background: rgba(30, 142, 62, .06); }

.console pre {
  margin: 0;
  padding: 16px 22px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.85;
  color: var(--ink-2);
  tab-size: 2;
}
.console code { font-family: inherit; }

/* 代码着色 */
.tk-k { color: #7b1fa2; }
.tk-s { color: #1e8e3e; }
.tk-n { color: #b06000; }
.tk-c { color: #9aa0a6; }
.tk-p { color: #5f6368; }

/* ---------- 通用区块 ---------- */
.section { padding: 128px 0; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.22;
}
.section-sub {
  margin-top: 20px;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ---------- 三步 ---------- */
.steps { border-top: 1px solid var(--line-soft); }

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 40px 34px 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.step:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.step-num {
  display: block;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--blue-text);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.015em;
}
.step p { font-size: 15px; line-height: 1.8; color: var(--ink-3); }

/* ---------- 文档 / 代码 ---------- */
.docs { background: var(--surface-2); }

.docs-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.docs-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.26;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-text);
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.link-arrow:hover { border-bottom-color: rgba(26, 115, 232, .4); gap: 12px; }

.code-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.tab {
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-4);
  cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.tab:hover { color: var(--ink-2); }
.tab.is-active {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}
.copy-tab { margin-left: auto; }

.code-panels { position: relative; }
.code-panel {
  display: none;
  margin: 0;
  padding: 26px 28px 30px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.2px;
  line-height: 1.95;
  color: var(--ink-2);
  tab-size: 2;
}
.code-panel.is-active { display: block; animation: fade-in .22s var(--ease); }
.code-panel code { font-family: inherit; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 立场 ---------- */
.statement { border-top: 1px solid var(--line-soft); }

.statement-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 32px;
}
.statement-title {
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.032em;
  max-width: 22ch;
}
.statement-sub {
  margin-top: 36px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-3);
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface-2); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head h2 { font-size: clamp(26px, 2.6vw, 36px); max-width: 12em; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .16s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-text); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 1.6px solid var(--ink-4);
  border-bottom: 1.6px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform .22s var(--ease), border-color .16s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; border-color: var(--blue); }
.faq-item p {
  padding: 0 44px 24px 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-3);
  animation: fade-in .22s var(--ease);
}

/* ---------- 结尾 CTA ---------- */
.cta-section { padding-top: 96px; }

.cta-card {
  position: relative;
  padding: 96px 48px 100px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #f8faff 0%, #f4f7fe 100%);
  border: 1px solid #e6edfd;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  z-index: -1;
  width: 760px; height: 420px;
  left: 50%; top: -180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(66, 133, 244, .22), transparent 68%);
  filter: blur(40px);
}
.cta-card h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.cta-card p {
  margin: 22px auto 0;
  max-width: 32em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-3);
}
.cta-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 88px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 64px;
}
.footer-desc {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-3);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h3 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-4);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-3);
  transition: color .16s var(--ease);
}
.footer-col a:hover { color: var(--blue-text); }

.footer-bottom {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-4);
}
.footer-demo { color: var(--ink-4); }

/* ---------- 滚动渐显 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .section { padding: 104px 0; }
  .docs-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-2);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-actions { display: none; }
  .nav-inner { gap: 16px; }
  .nav-cta-mobile { display: none; }
  .nav-links.is-open .nav-cta-mobile.btn-primary {
    display: inline-flex;
    margin-top: 10px;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
    color: #fff;
    background: var(--blue);
  }
  .nav-links.is-open .nav-cta-mobile.btn-primary:hover {
    color: #fff;
    background: var(--blue-hover);
  }
  .nav-links.is-open .nav-login-mobile { display: block; text-align: center; color: var(--ink-3); }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; --gutter: 20px; }

  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero-title { font-size: clamp(36px, 9vw, 52px); max-width: 14ch; }
  .hero-lede { font-size: 16px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { margin-top: 56px; }

  .console-body { grid-template-columns: 1fr; }
  .pane-res { border-left: 0; border-top: 1px solid var(--line-soft); }
  .console pre { font-size: 12px; padding: 14px 18px 22px; }
  .pane-head { padding: 14px 18px 0; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .step-list { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 30px 26px 32px; }
  .step-num { margin-bottom: 18px; }

  .code-panel { font-size: 12.4px; padding: 20px 20px 24px; }
  .code-tabs { padding: 10px; }

  .statement-title { font-size: clamp(30px, 8.4vw, 44px); }

  .cta-card { padding: 64px 24px 68px; border-radius: var(--r-lg); }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 18px; }
  .console-title { display: none; }
  .console-bar { gap: 10px; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
