/* =====================================================================
   创游助手 · 官网首页样式
   调色板：墨黑 #0B0B0C + BuildA 橙 #FD9900 + 中性灰
   无框架 / 无 CDN / 无外部字体 / 渐变仅用于深色 Hero 的背景光晕
   ===================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 调色板 */
  --ink: #0B0B0C;
  --ink-soft: #16161A;
  --ink-line: #2A2A2E;
  --accent: #FD9900;
  --accent-soft: rgba(253, 153, 0, 0.10);
  --accent-line: rgba(253, 153, 0, 0.34);

  --white: #FFFFFF;
  --surface: #F7F7F7;
  --surface-2: #FAFAFA;
  --line: #E4E4E4;
  --line-soft: #EFEFEF;
  --muted: #8A8A8A;
  --body: #3C3C40;

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(72px, 8.5vw, 128px);
  --radius: 20px;
  --radius-sm: 12px;

  /* 节奏 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 线性图标遮罩（均为相对路径 svg，无外部请求） */
  --i-ai: url("assets/svg/glyph/spark-ai.svg");
  --i-user: url("assets/svg/glyph/user-circle.svg");
  --i-community: url("assets/svg/glyph/community.svg");
  --i-share: url("assets/svg/glyph/share-game.svg");
  --i-download: url("assets/svg/glyph/download.svg");
  --i-copy: url("assets/svg/glyph/copy.svg");
  --logo-light: url("assets/svg/logo-horizontal.svg");
  --logo-dark: url("assets/svg/logo-mono.svg");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 0.42vw + 14px, 17px);
  line-height: 1.72;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, dl, dd, figure, ol, ul {
  margin: 0;
}
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.9em; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
}
.skip:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- 3. 线性图标（SVG 作遮罩，继承 currentColor） ---------- */
.i {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--m);
          mask-image: var(--m);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.i-ai { --m: var(--i-ai); }
.i-user { --m: var(--i-user); }
.i-community { --m: var(--i-community); }
.i-share { --m: var(--i-share); }
.i-download { --m: var(--i-download); }
.i-copy { --m: var(--i-copy); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover { background: #E68C00; transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }
.btn .i { font-size: 1.15em; }

/* ---------- 5. 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-stuck {
  box-shadow: 0 1px 0 rgba(11, 11, 12, 0.06), 0 10px 30px -18px rgba(11, 11, 12, 0.45);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  flex: 0 0 auto;
}
.brand__tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.brand__tag em {
  font-style: normal;
  color: var(--accent);
  margin-left: 6px;
}

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--body);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--surface); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3.5px auto;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. 区块骨架 ---------- */
.section { padding-block: var(--section-pad); background: var(--white); }
.section--muted { background: var(--surface); }
.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.section__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--dark .section__lede { color: rgba(255, 255, 255, 0.62); }
.section__title {
  margin-top: 14px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--dark .section__title { color: var(--white); }
.section__lede {
  margin-top: 16px;
  font-size: clamp(15px, 0.5vw + 14px, 17px);
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.eyebrow--dark { color: rgba(255, 255, 255, 0.55); }

/* ---------- 7. Hero ---------- */
/* 全站唯一允许的渐变：黑 -> 橙的低透明度背景光晕 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(110% 85% at 80% 12%, rgba(253, 153, 0, 0.18) 0%, rgba(253, 153, 0, 0) 56%),
    radial-gradient(80% 70% at 6% 96%, rgba(253, 153, 0, 0.09) 0%, rgba(253, 153, 0, 0) 62%),
    var(--ink);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-block: clamp(72px, 8vw, 118px);
}

.hero__title {
  margin-top: 20px;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--white);
}
.hero__sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(15px, 0.55vw + 14px, 18px);
  color: rgba(255, 255, 255, 0.66);
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
}
.hero .btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.stats {
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 30px;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stat__label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.stat__value {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 7.1 CSS 手机 mockup（hero.svg 缺失时的兜底主视觉） ---------- */
.hero__art { display: flex; justify-content: center; }

.phone { position: relative; width: min(300px, 78vw); }
.phone__frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background: #000;
  padding: 9px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.phone__screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 9 / 18.6;
  display: flex;
  flex-direction: column;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 34px 14px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mock-bar__icon { border-radius: 5px; }
.mock-bar__title { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.mock-bar__model {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--muted);
}
.mock-bar__model b { color: var(--accent); font-weight: 700; }

.mock-thread {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}
.mock-msg {
  max-width: 86%;
  padding: 8px 11px;
  font-size: 0.68rem;
  line-height: 1.55;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
}
.mock-msg b { color: var(--ink); }
.mock-msg--in { align-self: flex-start; border-bottom-left-radius: 4px; }
.mock-msg--out {
  align-self: flex-end;
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  border-bottom-right-radius: 4px;
}
.mock-msg--out b { color: var(--accent); }
.mock-code {
  align-self: flex-end;
  width: 86%;
  margin: 0;
  padding: 9px 11px;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 12px 12px 4px 12px;
  overflow: hidden;
}
.mock-code__hl { color: var(--accent); }

.mock-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.mock-input__ph {
  flex: 1;
  font-size: 0.68rem;
  color: var(--muted);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.mock-input__send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.phone__spark {
  position: absolute;
  top: -26px;
  right: -34px;
  width: 78px;
  height: 78px;
  background: var(--accent);
  opacity: .9;
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%,
                     40% 60%, 0% 50%, 40% 40%);
}

/* ---------- 8. 信任条 ---------- */
.trust {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding-block: 18px;
}
.trust__line {
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.74);
}
.trust__dot { margin-inline: 14px; color: var(--accent); }

/* ---------- 9. 功能卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--white);
  padding: clamp(26px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  transition: background-color .25s var(--ease);
}
.card:hover { background: var(--surface-2); }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 20px;
}
.card__icon--accent {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.card__title {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card__text {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--body);
}
.card__list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card__list li {
  position: relative;
  padding-left: 15px;
  font-size: 0.82rem;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 10. 套餐 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.plan:hover { border-color: var(--ink); transform: translateY(-2px); }
.plan__head { padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.plan__name { font-size: 0.95rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.plan__price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan__price span { font-size: 0.88rem; color: var(--muted); }
.plan__badge {
  margin-top: 12px;
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  color: #B36B00;
}

.plan__rows { margin: 6px 0 26px; }
.plan__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.plan__row:last-child { border-bottom: 0; }
.plan__row dt { color: var(--muted); flex: 0 0 auto; }
.plan__row dd {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  line-height: 1.55;
}
.plan__row dd.is-off { color: var(--muted); font-weight: 500; }
.plan__row dd.is-on { color: var(--accent); }

/* 专业版高亮：黑底白字 */
.plan--pro {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 32px 64px -40px rgba(11, 11, 12, 0.8);
}
.plan--pro:hover { border-color: var(--ink); }
.plan--pro .plan__name { color: rgba(255, 255, 255, 0.55); }
.plan--pro .plan__price b { color: var(--white); }
.plan--pro .plan__price span { color: rgba(255, 255, 255, 0.5); }
.plan--pro .plan__head,
.plan--pro .plan__row { border-color: var(--ink-line); }
.plan--pro .plan__row dt { color: rgba(255, 255, 255, 0.5); }
.plan--pro .plan__row dd { color: var(--white); }
.plan--pro .plan__row dd.is-off { color: rgba(255, 255, 255, 0.4); }
.plan--pro .plan__row dd.is-on { color: var(--accent); }
.plan--pro .plan__badge {
  background: rgba(253, 153, 0, 0.16);
  border-color: var(--accent-line);
  color: var(--accent);
}
.plan__flag {
  position: absolute;
  top: -1px;
  right: 26px;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.plan--pro .btn--ghost { border-color: rgba(255, 255, 255, 0.26); color: var(--white); }
.plan--pro .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- 11. 邀请码 ---------- */
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.invite__list { display: flex; flex-direction: column; gap: 4px; }
.invite__list li {
  padding: 22px 0;
  border-top: 1px solid var(--ink-line);
}
.invite__num {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.invite__list h3 {
  margin-top: 8px;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.invite__list p { margin-top: 8px; font-size: 0.92rem; }

.invite__copy-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.invite__code {
  flex: 1 1 240px;
  padding: 11px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-all;
}
.invite .btn--ghost { border-color: rgba(255, 255, 255, 0.26); color: var(--white); }
.invite .btn--ghost:hover { background: var(--white); color: var(--ink); }
.invite .btn--ghost.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* CSS 示意图：两个人 + 中间 5% 箭头 */
.invite__fig {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.fig {
  display: grid;
  grid-template-columns: 1fr 116px 1fr;
  align-items: center;
  gap: 8px;
}
.fig__node { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fig__avatar {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ink-line);
}
.fig__avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  width: 19px;
  height: 19px;
  margin-left: -9.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}
.fig__avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 34px;
  height: 17px;
  margin-left: -17px;
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, 0.62);
}
.fig__node:first-child .fig__avatar { border-color: var(--accent-line); background: var(--accent-soft); }
.fig__node:first-child .fig__avatar::before,
.fig__node:first-child .fig__avatar::after { background: var(--accent); }
.fig__label {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.fig__sub { margin-top: 3px; font-size: 0.76rem; color: var(--accent); }

.fig__link { position: relative; height: 74px; }
.fig__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 37px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.fig__line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 8px solid rgba(255, 255, 255, 0.45);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.fig__chip {
  position: absolute;
  left: 50%;
  top: 37px;
  transform: translate(-50%, -50%);
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fig__note {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
}
.invite__fig figcaption {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- 12. 常见问题 ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  position: relative;
  padding: 24px 44px 24px 0;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .28s var(--ease);
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] .faq__q::after { transform: rotate(0deg); }
.faq__item[open] .faq__q { color: #B36B00; }
.faq__a { overflow: hidden; }
.faq__a p {
  padding: 0 44px 26px 0;
  font-size: 0.94rem;
  color: var(--body);
  animation: faqIn .3s var(--ease);
}
.faq__item[open] .faq__a { animation: faqIn .3s var(--ease); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 13. 下载 ---------- */
.dl {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}
.dl__panel {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.dl__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.dl__meta { margin: 20px 0 28px; }
.dl__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.dl__meta-row dt { color: var(--muted); flex: 0 0 auto; }
.dl__meta-row dd { color: var(--ink); font-weight: 600; text-align: right; }
.dl__meta-row code { font-size: 0.84rem; word-break: break-all; }
.dl__hash { color: var(--muted) !important; font-weight: 400 !important; }
.dl__hint { margin-top: 16px; font-size: 0.82rem; color: var(--muted); }

/* 状态徽章：开发中 / 即将开放这类 */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.dl__side { display: flex; flex-direction: column; gap: 20px; }
.steps {
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.steps__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.steps__list { counter-reset: step; margin-top: 14px; }
.steps__list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.steps__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}
.steps__list h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.steps__list p { margin-top: 3px; font-size: 0.86rem; color: var(--muted); }

/* ---------- 14. 页脚 ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding-top: clamp(56px, 6vw, 84px);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: 44px;
}
.footer__logo {
  width: 150px;
  height: 38px;
  background-color: var(--white);
  -webkit-mask-image: var(--logo-dark);
          mask-image: var(--logo-dark);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.footer__name { margin-top: 16px; font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer__slogan { margin-top: 4px; font-size: 0.86rem; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer__col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.footer__col a,
.footer__static {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__static { color: rgba(255, 255, 255, 0.35); font-family: var(--mono); font-size: 0.8rem; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- 15. 进场动画 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .cards .reveal:nth-child(2) { transition-delay: .06s; }
.js .cards .reveal:nth-child(3) { transition-delay: .12s; }
.js .cards .reveal:nth-child(4) { transition-delay: .18s; }
.js .plans .reveal:nth-child(2) { transition-delay: .07s; }
.js .plans .reveal:nth-child(3) { transition-delay: .14s; }
.js .invite__list .reveal:nth-child(2) { transition-delay: .06s; }
.js .invite__list .reveal:nth-child(3) { transition-delay: .12s; }
.js .invite__list .reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- 16. 断点 1080 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__title { font-size: clamp(38px, 7vw, 60px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invite { grid-template-columns: 1fr; }
  .invite__fig { order: -1; }
  .dl { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- 17. 断点 768 ---------- */
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 24px 48px -28px rgba(11, 11, 12, 0.5);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 8px; }
  .brand__tag { display: none; }

  .plans { grid-template-columns: 1fr; }
  .plans .plan--pro { order: -1; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .stat__value { margin-top: 0; }

  .trust__dot { margin-inline: 8px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone__spark { width: 56px; height: 56px; top: -18px; right: -18px; }
}

/* ---------- 18. 断点 480 ---------- */
@media (max-width: 480px) {
  .nav__actions .btn { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .fig { grid-template-columns: 1fr; gap: 20px; }
  .fig__link { height: 56px; }
  .fig__line { top: 28px; }
  .fig__line::after { transform: rotate(90deg); top: -4px; right: 50%; margin-right: -4px; }
  .fig__chip { top: 28px; }
  .fig__note { display: none; }
  .dl__meta-row { flex-direction: column; gap: 4px; align-items: flex-start; }
  .dl__meta-row dd { text-align: left; }
  .faq__a p { padding-right: 8px; }
}

/* ---------- 19. 无障碍：降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .plan:hover { transform: none; }
}
