:root {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-soft: #eef2f7;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #7c3aed;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --wrap: 1180px;
  --font: "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.nav a {
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  width: 210px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-muted);
}

.nav-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.nav-search kbd {
  font-size: 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 5px;
  color: var(--text-muted);
  background: #f8fafc;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
  border-color: #cbd5e1;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch:hover {
  color: var(--text);
  border-color: #cbd5e1;
}

.lang-switch svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 0;
  width: 100%;
  margin-top: calc(var(--header-h) * -1);
}

.hero-card {
  width: 100%;
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.28) 100%),
    url("/assets/img/hero-bg.png") right center / cover no-repeat,
    #ffffff;
  border: 0;
  border-bottom: 1px solid #e8eef8;
  border-radius: 0;
  padding: calc(var(--header-h) + 36px) 0 48px max(24px, calc((100% - var(--wrap)) / 2));
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  min-width: 0;
  padding-right: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 .brand-grad {
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 46ch;
}

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

.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 13px;
}

.platform-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-row svg {
  width: 16px;
  height: 16px;
}

.license-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  color: var(--text-secondary);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-ico svg {
  width: 16px;
  height: 16px;
}

.stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.stat-ico.blue {
  background: #eff6ff;
  color: #2563eb;
}
.stat-ico.green {
  background: #ecfdf5;
  color: #059669;
}
.stat-ico.violet {
  background: #f5f3ff;
  color: #7c3aed;
}
.stat-ico.amber {
  background: #fffbeb;
  color: #d97706;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0;
  margin-right: 0;
  padding-right: max(24px, calc((100% - var(--wrap)) / 2));
}

.hero-main {
  width: 110%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  transform: translateX(-72px) scale(1.1);
  transform-origin: center right;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.14));
}

/* Feature strip */
.feature-strip {
  padding: 18px 0 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.feature-item .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-item .ico svg {
  width: 20px;
  height: 20px;
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.feature-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.ico.c1, .eco-ico.c1 { background: #eff6ff; color: #2563eb; }
.ico.c2, .eco-ico.c2 { background: #ecfdf5; color: #059669; }
.ico.c3, .eco-ico.c3 { background: #fff7ed; color: #ea580c; }
.ico.c4, .eco-ico.c4 { background: #f5f3ff; color: #7c3aed; }
.ico.c5, .eco-ico.c5 { background: #ecfeff; color: #0891b2; }
.ico.c6, .eco-ico.c6 { background: #fdf2f8; color: #db2777; }
.ico.c7, .eco-ico.c7 { background: #fefce8; color: #ca8a04; }
.ico.c8, .eco-ico.c8 { background: #f1f5f9; color: #475569; }

/* Bento */
.bento {
  padding: 28px 0 8px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.85fr;
  gap: 14px;
}

.panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.panel .sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.panel .more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.globe-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(96, 165, 250, 0.22), transparent 46%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 55%, #f7faff 100%);
}

.globe {
  display: block;
  width: min(380px, 92%);
  height: auto;
  margin: 48px auto 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 40px rgba(59, 130, 246, 0.22));
}

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.chip-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chip-ico svg {
  width: 16px;
  height: 16px;
}

.chip-text {
  display: grid;
  gap: 2px;
  line-height: 1.2;
}

.chip-text strong {
  font-size: 13px;
  font-weight: 700;
}

.chip-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
}

.chip.c-a { top: 36px; left: 18px; }
.chip.c-b { top: 56px; right: 16px; }
.chip.c-c { top: 48%; left: 12px; transform: translateY(-50%); }
.chip.c-d { top: 46%; right: 12px; transform: translateY(-40%); }
.chip.c-e { bottom: 42px; right: 48px; }

.chip.c-a .chip-ico { background: #eff6ff; color: #2563eb; }
.chip.c-b .chip-ico { background: #f5f3ff; color: #7c3aed; }
.chip.c-c .chip-ico { background: #eff6ff; color: #1d4ed8; }
.chip.c-d .chip-ico { background: #ecfdf5; color: #059669; }
.chip.c-e .chip-ico { background: #eff6ff; color: #2563eb; }

.side-stack {
  display: grid;
  gap: 14px;
}

.version-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.version-card .ver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.version-card .ver b {
  color: var(--primary);
}

.version-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  display: grid;
  gap: 8px;
}

.changelog-card {
  position: relative;
  overflow: hidden;
  color: #e2e8f0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.92)),
    radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.35), transparent 40%),
    linear-gradient(160deg, #0f172a, #111827 60%, #1e293b);
  border: 0;
  min-height: 280px;
}

.changelog-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #fff;
}

.changelog-card p {
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 13px;
}

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

.timeline li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.timeline .tag {
  font-size: 11px;
  color: #93c5fd;
}

.timeline .tag.muted {
  color: #94a3b8;
}

/* Scenarios */
.scenarios {
  padding: 36px 0 12px;
}

.section-head {
  text-align: center;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 14px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.scenario-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.scenario-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scenario-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
}

.scenario-overlay h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.scenario-overlay p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.4;
}

/* Deep dive */
.deep-dive {
  padding: 48px 0 12px;
}

.deep-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 42px;
}

.deep-row.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.deep-row.reverse .deep-copy {
  order: 2;
}

.deep-row.reverse .deep-media {
  order: 1;
}

.deep-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.deep-copy h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.deep-copy > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.deep-copy ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.deep-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14px;
}

.deep-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.deep-media {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
}

.deep-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ecosystem */
.ecosystem {
  padding: 36px 0 12px;
}

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

.eco-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.eco-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.eco-ico svg {
  width: 20px;
  height: 20px;
}

.eco-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.eco-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

/* Compare */
.compare {
  padding: 36px 0 12px;
}

.compare-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.compare-table thead th {
  background: #f8fafc;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 700;
}

.compare-table th.hl,
.compare-table td.hl {
  background: #eff6ff;
  color: var(--text);
}

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

.yes {
  color: #059669;
  font-weight: 700;
}

.no {
  color: #94a3b8;
  font-weight: 600;
}

.compare-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

/* FAQ */
.faq-section {
  padding: 36px 0 20px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 4px 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  font-size: 15px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.faq-list details a {
  color: var(--primary);
  font-weight: 600;
}

/* Community */
.community {
  padding: 24px 0 40px;
}

.community-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.35), transparent 35%),
    linear-gradient(120deg, #0b1220, #111827 55%, #1e293b);
  box-shadow: var(--shadow-lg);
}

.community-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
}

.community-card p {
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 14px;
  max-width: 48ch;
}

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

.community-stats .box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.community-stats strong {
  display: block;
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
}

.community-stats span {
  font-size: 12px;
  color: #94a3b8;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
  margin-top: 12px;
}

.bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  opacity: 0.85;
}

.bars i:nth-child(1) { height: 28%; }
.bars i:nth-child(2) { height: 42%; }
.bars i:nth-child(3) { height: 36%; }
.bars i:nth-child(4) { height: 58%; }
.bars i:nth-child(5) { height: 70%; }
.bars i:nth-child(6) { height: 62%; }
.bars i:nth-child(7) { height: 88%; }

/* Footer */
.site-footer {
  background: #eef2f7;
  border-top: 1px solid #e2e8f0;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.8fr) 1.2fr;
  gap: 24px;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  max-width: 28ch;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text);
}

.subscribe h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.subscribe form {
  display: flex;
  gap: 8px;
}

.subscribe input {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0 12px;
  background: #fff;
  outline: none;
}

.subscribe button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12px;
}

/* Download page */
.btn-ondark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
}

.btn-ondark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.page-dark-hero .site-header:not(.is-scrolled) {
  color: #e2e8f0;
}

.page-dark-hero .site-header:not(.is-scrolled) .brand {
  color: #fff;
}

.page-dark-hero .site-header:not(.is-scrolled) .nav a {
  color: rgba(226, 232, 240, 0.78);
}

.page-dark-hero .site-header:not(.is-scrolled) .nav a:hover,
.page-dark-hero .site-header:not(.is-scrolled) .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.page-dark-hero .site-header:not(.is-scrolled) .nav-search,
.page-dark-hero .site-header:not(.is-scrolled) .icon-btn,
.page-dark-hero .site-header:not(.is-scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
}

.page-dark-hero .site-header:not(.is-scrolled) .nav-search input {
  color: #f8fafc;
}

.page-dark-hero .site-header:not(.is-scrolled) .nav-search input::placeholder {
  color: rgba(203, 213, 225, 0.7);
}

.page-dark-hero .site-header:not(.is-scrolled) .nav-search kbd {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

.page-dark-hero .site-header:not(.is-scrolled) .icon-btn:hover,
.page-dark-hero .site-header:not(.is-scrolled) .lang-switch:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.dl-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 12px) 0 20px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 72% 40%, rgba(30, 64, 140, 0.35), transparent 58%),
    linear-gradient(140deg, #050a16 0%, #070e1e 55%, #0b1428 100%);
}

.dl-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 210px;
}

.dl-hero-copy h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
}

.dl-hero-lead {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  color: rgba(203, 213, 225, 0.9);
}

.dl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dl-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #cbd5e1;
}

.dl-trust svg {
  color: #60a5fa;
  flex-shrink: 0;
}

.dl-hero-visual {
  display: flex;
  justify-content: center;
}

.dl-hero-visual img {
  width: 100%;
  max-width: 250px;
  height: auto;
  /* Artwork ships on a black canvas; screen blending removes it so only the glow remains. */
  mix-blend-mode: screen;
}

.dl-hero-aside {
  align-self: center;
  text-align: right;
  color: rgba(203, 213, 225, 0.75);
}

.dl-aside-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.dl-hero-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.dl-metrics {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.dl-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 0.9fr);
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

.dl-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dl-metric strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.dl-metric span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.dl-quote {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-secondary);
}

.dl-quote span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.dl-section {
  padding: 46px 0 10px;
}

.dl-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dl-platform-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.dl-platform-card--alt {
  background: #f8fafc;
}

.dl-platform-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 14px;
}

.dl-platform-ico svg {
  width: 24px;
  height: 24px;
}

.dl-platform-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.dl-platform-meta {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.dl-platform-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.dl-platform-list code {
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--text);
}

.dl-platform-btn {
  margin-top: auto;
  width: 100%;
}

.dl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.dl-split--wide {
  grid-template-columns: 1.05fr 0.95fr;
}

.dl-block-title {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.dl-block-lead {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text-secondary);
}

.dl-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dl-steps li {
  position: relative;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #fff;
}

.dl-step-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.dl-steps h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.dl-steps p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.dl-channel-wrap {
  overflow: hidden;
}

.dl-channel-table {
  min-width: 0;
}

.dl-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: var(--shadow);
}

.dl-shot img {
  width: 100%;
  height: auto;
}

.dl-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dl-faq-grid {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dl-cta {
  padding: 30px 0 48px;
}

.dl-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-radius: 24px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 88% 15%, rgba(37, 99, 235, 0.38), transparent 42%),
    linear-gradient(120deg, #0b1220, #111827 55%, #1e293b);
  box-shadow: var(--shadow-lg);
}

.dl-cta-inner h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
}

.dl-cta-inner p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
  max-width: 52ch;
}

.dl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .dl-hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .dl-hero-aside {
    display: none;
  }
  .dl-hero-visual img {
    max-width: 360px;
  }
  .dl-metrics-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dl-quote {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
  }
  .dl-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dl-split,
  .dl-split--wide {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .dl-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dl-hero {
    padding: calc(var(--header-h) + 36px) 0 48px;
  }
  .dl-hero-copy h1 {
    font-size: 32px;
  }
  .dl-platform-grid,
  .dl-steps,
  .dl-tip-grid {
    grid-template-columns: 1fr;
  }
  .dl-cta-inner {
    padding: 24px 20px;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
  .nav-search {
    width: 160px;
  }
  .hero-card {
    min-height: auto;
    padding: calc(var(--header-h) + 24px) 24px 36px;
    grid-template-columns: 1fr;
  }
  .bento-grid,
  .community-card,
  .footer-grid,
  .deep-row,
  .deep-row.reverse,
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .deep-row.reverse .deep-copy,
  .deep-row.reverse .deep-media {
    order: initial;
  }
  .eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-visual {
    min-height: 360px;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }
  .hero-main {
    width: 100%;
    max-width: 560px;
    transform: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 24px));
  }
  .hero-card {
    padding: calc(var(--header-h) + 16px) 16px 28px;
    min-height: auto;
  }
  .stats-row,
  .feature-grid,
  .scenario-grid,
  .community-stats,
  .eco-grid {
    grid-template-columns: 1fr 1fr;
  }
  .deep-copy h3 {
    font-size: 22px;
  }
  .header-tools .btn {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .lang-switch {
    padding: 0 10px;
  }
  .lang-switch span {
    display: none;
  }
}

/* FAQ page */
.page-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.page-hero-inner {
  max-width: 720px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.crumbs a {
  color: var(--text-secondary);
}

.crumbs a:hover {
  color: var(--primary);
}

.page-hero h1 {
  margin: 14px 0 10px;
  font-size: 38px;
  letter-spacing: -0.02em;
}

.page-hero-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-finder {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text-muted);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.faq-finder input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.faq-result {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding: 34px 0 10px;
}

.doc-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
}

.doc-side-nav h2 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.doc-side-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.doc-side-nav a:hover {
  background: #f1f5f9;
  color: var(--text);
}

.doc-side-card {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #f8fafc;
}

.doc-side-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.doc-side-card p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.faq-main,
.doc-main {
  display: grid;
  gap: 34px;
}

.faq-group {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.faq-group-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.faq-group-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.faq-group-head p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.faq-main .faq-list {
  max-width: none;
  margin: 0;
}

.faq-list code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 12px;
  color: var(--text-secondary);
}

.faq-empty {
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-support {
  padding: 40px 0 48px;
}

.faq-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.faq-support-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.faq-support-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.faq-support-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.faq-support-card .ico svg {
  width: 20px;
  height: 20px;
}

.faq-support-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.faq-support-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 1100px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .doc-side {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    align-items: start;
  }
  .doc-side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .doc-side-nav h2 {
    width: 100%;
    margin: 0;
  }
  .doc-side-nav a {
    border: 1px solid var(--border-soft);
    background: #fff;
  }
  .faq-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero h1 {
    font-size: 28px;
  }
  .doc-side {
    grid-template-columns: 1fr;
  }
  .faq-support-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 配置示例页 ---------- */
.cfg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cfg-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cfg-meta strong {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
}

.doc-main .cfg-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 16px;
}

.cfg-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.cfg-head p {
  margin: 0;
  max-width: 68ch;
  line-height: 1.75;
  color: var(--text-secondary);
}

.cfg-code {
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #0f172a;
  overflow: hidden;
}

.cfg-code figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.1);
}

.cfg-lang {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #cbd5f5;
}

.cfg-copy {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #e2e8f0;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cfg-copy:hover {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(203, 213, 225, 0.7);
}

.cfg-copy[data-copied] {
  border-color: rgba(52, 211, 153, 0.7);
  color: #6ee7b7;
}

.cfg-code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
}

.cfg-code code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #e2e8f0;
  white-space: pre;
  tab-size: 2;
}

.cfg-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.cfg-note strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--text);
}

.cfg-note code,
.cfg-head code,
.cfg-table code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #eef2f7;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #0f172a;
}

.cfg-note--warn {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.cfg-note--warn code {
  background: #fef3c7;
}

.cfg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

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

.cfg-table th,
.cfg-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.7;
}

.cfg-table thead th {
  background: #f8fafc;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.cfg-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.cfg-table td {
  color: var(--text-secondary);
}

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

@media (max-width: 720px) {
  .cfg-head h2 {
    font-size: 20px;
  }
  .cfg-code pre {
    padding: 14px;
  }
  .cfg-code code {
    font-size: 12px;
  }
}

/* ---------- 开发者文档页 ---------- */
.doc-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-steps li {
  position: relative;
  padding-left: 40px;
}

.doc-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4338ca;
  font-size: 13px;
  font-weight: 600;
}

.doc-steps h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.doc-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.doc-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.doc-link:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.doc-link strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text);
}

.doc-link strong svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.doc-link span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .doc-links {
    grid-template-columns: 1fr;
  }
}

/* ---------- 政策 / 声明页 ---------- */
.legal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-fact {
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #f8fafc;
}

.legal-fact strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.legal-fact span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-prose {
  display: grid;
  gap: 14px;
  max-width: 72ch;
}

.legal-prose p {
  margin: 0;
  line-height: 1.85;
  color: var(--text-secondary);
}

.legal-prose h3 {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--text);
}

.legal-prose ul,
.legal-prose ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-prose li {
  line-height: 1.85;
  color: var(--text-secondary);
}

.legal-prose li strong {
  color: var(--text);
}

.legal-prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #eef2f7;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #0f172a;
}

.legal-updated {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .legal-facts {
    grid-template-columns: 1fr;
  }
}
