/* =========================================================
   集客云网 · 官网样式
   设计基调：编辑感排版 + 克制的蓝 + 大量留白
   ========================================================= */

:root {
  --ink: #0b1220;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --soft-2: #f0f4f9;
  --accent: #1f6feb;
  --accent-dark: #1a5fd0;
  --accent-soft: #eaf2ff;
  --warn: #b48827;
  --warn-soft: #fdf7e8;
  --ok: #0f9d58;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.05), 0 24px 64px rgba(15, 23, 42, 0.1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, "Liberation Mono",
    monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0 0 1.05em;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

/* ---------- 布局 ---------- */

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

section {
  padding: 84px 0;
}

.section-soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.split > * {
  min-width: 0;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #2b7cf0, var(--accent-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.28);
}

/* 品牌图形 logo（位图） */
img.logo-mark {
  width: auto;
  height: 34px;
  background: none;
  object-fit: contain;
}

.logo small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.2;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-links a.on {
  color: var(--ink);
  font-weight: 600;
}

.nav-links a.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--soft);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 111, 235, 0.22);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.3);
}

.btn-ghost {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: var(--soft);
}

.btn-accent {
  background: #fff;
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--accent-soft);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 92px 0 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 40%;
  height: 560px;
  background: radial-gradient(closest-side, rgba(31, 111, 235, 0.09), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 60px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

h1 em {
  font-style: normal;
  color: var(--accent-dark);
  background: linear-gradient(transparent 62%, rgba(31, 111, 235, 0.14) 0);
  padding-inline: 2px;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
}

.hero-facts > div {
  min-width: 0;
}

.hero-facts strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ---------- 终端窗口 ---------- */

.code-card {
  min-width: 0;
  background: #0b1220;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #93a3bb;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.dot:first-child {
  background: #f87171;
}

.dot:nth-child(2) {
  background: #fbbf24;
}

.dot:nth-child(3) {
  background: #34d399;
}

.code-body {
  padding: 22px 22px 18px;
}

.code-body pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: #c9d5e8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.c-com {
  color: #7c8ca6;
}

.c-fn {
  color: #7cc7ff;
  font-weight: 600;
}

.code-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #64748b;
  font-size: 11.5px;
}

/* ---------- 双入口 ---------- */

.fork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fork {
  display: block;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fork:hover {
  transform: translateY(-2px);
  border-color: #c7d2e1;
  box-shadow: var(--shadow);
}

.fork span {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.fork strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.fork em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------- 区块标题 ---------- */

.sec-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head.center .eyebrow {
  justify-content: center;
}

.sec-head h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  margin-bottom: 16px;
}

.sec-head p {
  font-size: 16.5px;
  color: var(--ink-2);
  margin-bottom: 0;
}

h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* ---------- 产品卡 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid > *,
.price-grid > *,
.feat-grid > *,
.fork-grid > * {
  min-width: 0;
}

.p-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.p-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2e1;
  box-shadow: var(--shadow);
}

.p-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.p-tag.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.p-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.p-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.p-card .desc {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.p-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.p-list li {
  position: relative;
  padding-left: 20px;
}

.p-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translateY(-50%);
}

.p-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 13px;
  color: var(--ink-2);
}

.price b {
  color: var(--ink);
}

.p-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.p-link:hover {
  text-decoration: underline;
}

/* ---------- 复选框列表 ---------- */

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 4px;
}

/* ---------- 步骤 ---------- */

.step-list {
  display: grid;
  gap: 22px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-no {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.step h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.step p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* ---------- 特性网格 ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.feat-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.feat h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.feat p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* ---------- 定价 ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(31, 111, 235, 0.13);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.price-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.pc-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.price-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-num b {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-num span {
  font-size: 13px;
  color: var(--ink-3);
}

.price-note {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.price-card .btn {
  width: 100%;
  margin-bottom: 22px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-2);
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translateY(-50%);
}

/* ---------- CTA ---------- */

.cta-band {
  background: #0b1220;
  color: #fff;
  padding: 76px 0;
}

.cta-band .wrap {
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  color: #a9b6c9;
  font-size: 16px;
  margin-bottom: 0;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.cta-band .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 30px;
  font-size: 13.5px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.foot-brand p {
  margin-top: 16px;
  color: var(--ink-2);
  line-height: 1.8;
}

.foot-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.foot-col a {
  display: block;
  padding: 4px 0;
  color: var(--ink-2);
}

.foot-col a:hover {
  color: var(--accent-dark);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.7;
}

.foot-bottom a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foot-bottom .disc {
  max-width: 620px;
  text-align: right;
}

/* ---------- 文档 / 帮助中心 ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.docs-side {
  position: sticky;
  top: 92px;
  font-size: 13.5px;
}

.docs-side h5 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 24px 0 8px;
}

.docs-side h5:first-child {
  margin-top: 0;
}

.docs-side ul {
  list-style: none;
  display: grid;
  gap: 2px;
}

.docs-side a {
  display: block;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--ink-2);
  border-left: 2px solid transparent;
}

.docs-side a:hover {
  background: var(--soft);
  color: var(--ink);
}

.docs-side a.on {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 600;
}

.docs-body {
  max-width: 820px;
  min-width: 0;
}

.docs-body section {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
}

.docs-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.docs-body h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.docs-body h3 {
  margin-top: 28px;
}

.docs-body p,
.docs-body li {
  font-size: 15px;
  color: var(--ink-2);
}

.bullets {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.bullets li {
  position: relative;
  padding-left: 20px;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* ---------- 表格 ---------- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}

thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--soft);
  color: var(--ink-2);
  font-weight: 650;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody td strong {
  color: var(--ink);
}

/* ---------- 信息行 ---------- */

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

.info-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.info-row dt {
  color: var(--ink-3);
  font-weight: 600;
}

.info-row dd {
  margin: 0;
  color: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

/* ---------- 提示条 ---------- */

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #f0e0b8;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  color: #6b5318;
  font-size: 13px;
  line-height: 1.75;
}

.notice svg {
  flex: 0 0 auto;
  margin-top: 3px;
}

.notice strong {
  color: #5c4712;
}

/* ---------- 移动端 ---------- */

@media (max-width: 1040px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .docs-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .nav {
    min-height: 60px;
    gap: 12px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .nav {
    flex-wrap: wrap;
    padding-bottom: 6px;
  }

  .site-header.nav-open .nav-links,
  .site-header.nav-open .nav-cta {
    display: flex;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    order: 10;
    background: var(--bg);
  }

  .site-header.nav-open .nav-links {
    padding-top: 8px;
    border-top: 1px solid var(--line-soft);
  }

  .site-header.nav-open .nav-links a {
    padding: 11px 12px;
    font-size: 15px;
  }

  .site-header.nav-open .nav-links a.on::after {
    display: none;
  }

  .site-header.nav-open .nav-cta {
    order: 11;
    padding: 8px 0 10px;
  }

  .site-header.nav-open .nav-cta .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(28px, 7.4vw, 34px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-facts {
    gap: 14px 24px;
  }

  .fork-grid,
  .feat-grid,
  .about-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-brand {
    grid-column: auto;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .foot-bottom .disc {
    text-align: left;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .docs-side {
    position: static;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .docs-side h5 {
    display: none;
  }

  .docs-side ul {
    display: flex;
    gap: 4px;
  }

  .docs-side a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 7px 7px 0 0;
  }

  .docs-side a.on {
    border-left: 0;
    border-bottom-color: var(--accent);
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .code-foot {
    flex-direction: column;
    gap: 4px;
  }

  .p-card,
  .price-card,
  .fork {
    padding: 22px;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 26px 22px 22px;
  }
}

/* ---------- 表单 / 账号页 ---------- */

.auth-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 56px 20px 72px;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(31, 111, 235, 0.08), transparent 70%),
    var(--soft);
}

.auth-card {
  width: min(420px, 100%);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 32px 28px;
  box-shadow: var(--shadow-lg);
}

.auth-card .logo {
  margin-bottom: 26px;
}

.auth-card h1 {
  font-size: 25px;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error {
  display: none;
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid #f2c6c6;
  border-radius: 8px;
  background: #fdecec;
  color: #c0392b;
  font-size: 12.5px;
}

.form-error.show {
  display: block;
}

.form-ok {
  border-color: #cfe9d8;
  background: #eafaf1;
  color: #0b6b3f;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 18px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-row a {
  color: var(--accent-dark);
}

.auth-card .btn {
  width: 100%;
}

.form-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}

.form-foot a {
  color: var(--accent-dark);
  font-weight: 600;
}

.legal-line {
  margin-top: 18px;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.7;
  text-align: center;
}

/* ---------- 控制台 ---------- */

.console-hero {
  padding: 48px 0 8px;
}

.console-hero h1 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 10px;
}

.console-hero .lead {
  font-size: 16px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.console-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.console-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2e1;
  box-shadow: var(--shadow);
}

.console-card h3 {
  font-size: 17px;
}

.console-card p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

.console-card .p-link {
  margin-top: auto;
}

.account-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 13px;
  color: var(--ink-2);
}

.account-row b {
  color: var(--ink);
}

/* ---------- 404 ---------- */

.nf-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.nf-code {
  font-size: clamp(64px, 12vw, 110px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
}

.nf-wrap h1 {
  font-size: 26px;
  margin: 18px 0 10px;
}

.nf-wrap p {
  color: var(--ink-2);
  margin-bottom: 26px;
}

.nf-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
