/* ══════════════════════════════════════════════════════════
   牌友汇 · 官网样式
   设计基调：深绿牌桌质感 + 暖金强调色；支持浅色主题切换。
   自适应：手机 / 平板 / 桌面三档；容器最大 1180px。
   ══════════════════════════════════════════════════════════ */

/* ── 主题变量 ───────────────────────────────────────────── */
:root {
  --brand:        #0f5132;
  --brand-2:      #1a7a4c;
  --accent:       #d9a441;
  --accent-2:     #f0c46a;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;

  --wrap:         1180px;
  --nav-h:        64px;

  --t-fast:       .16s cubic-bezier(.4,0,.2,1);
  --t:            .26s cubic-bezier(.4,0,.2,1);
}

/* 深色（默认） */
html[data-theme="dark"] {
  --bg:           #0a0f0d;
  --bg-alt:       #0e1614;
  --surface:      #121c19;
  --surface-2:    #17231f;
  --line:         rgba(255,255,255,.09);
  --line-strong:  rgba(255,255,255,.16);

  --text:         #e8f0ec;
  --text-2:       #a9bdb4;
  --text-3:       #6f847b;

  --accent-ink:   #0a0f0d;
  --shadow:       0 18px 50px rgba(0,0,0,.5);
  --shadow-sm:    0 6px 20px rgba(0,0,0,.35);
  --glow:         0 0 0 1px rgba(217,164,65,.28), 0 10px 34px rgba(217,164,65,.14);

  --felt-a:       #0d3d2a;
  --felt-b:       #072018;
}

/* 浅色 */
html[data-theme="light"] {
  --bg:           #f7f9f8;
  --bg-alt:       #ffffff;
  --surface:      #ffffff;
  --surface-2:    #f2f5f3;
  --line:         rgba(15,81,50,.12);
  --line-strong:  rgba(15,81,50,.22);

  --text:         #10231b;
  --text-2:       #4a6157;
  --text-3:       #7b9188;

  --accent:       #b8801f;
  --accent-2:     #d9a441;
  --accent-ink:   #ffffff;
  --shadow:       0 18px 46px rgba(15,81,50,.13);
  --shadow-sm:    0 6px 18px rgba(15,81,50,.09);
  --glow:         0 0 0 1px rgba(184,128,31,.3), 0 10px 30px rgba(184,128,31,.13);

  --felt-a:       #12603c;
  --felt-b:       #0a3823;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ── 跳到主要内容（仅键盘聚焦时可见） ───────────────────── */
.skip-link {
  position: fixed; top: 8px; left: 50%;
  transform: translateX(-50%) translateY(-160%);
  z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow);
  transition: transform var(--t);
}
.skip-link:focus-visible { transform: translateX(-50%) translateY(0); outline: 2px solid var(--text); outline-offset: 2px; }

/* ── 按钮 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(217,164,65,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217,164,65,.4); }

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); }

.btn-sm  { padding: 8px 16px; font-size: 14px; }
.btn-lg  { padding: 14px 26px; font-size: 16px; }

/* 未出包的按钮：用「灰掉 + 明确文案」表达不可用，
   不要只靠半透明的金色——那样看起来仍然像一个能点的主按钮。 */
.btn.disabled,
.btn[aria-disabled="true"],
.btn:disabled {
  background: var(--surface-2);
  color: var(--text-3);
  border-color: var(--line-strong);
  border-style: dashed;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
}
.btn .dl-icon { font-size: 1.05em; }

/* 禁用按钮上的「待发布」小标 */
.btn-note {
  margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: var(--line-strong); color: var(--text-3);
}

/* ── 导航 ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 21px; height: 21px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; letter-spacing: -.01em; }
.brand-text em {
  font-style: normal; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3);
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px;
  font-size: 14.5px; color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

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

.icon-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; font-size: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn:active { transform: scale(.94); }

.nav-burger { display: none; flex-direction: column; gap: 4px; }
.nav-burger span {
  width: 17px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform var(--t), opacity var(--t);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 76px 0 96px; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5;
}
.b1 { width: 520px; height: 520px; top: -180px; left: -120px;  background: var(--brand-2); }
.b2 { width: 460px; height: 460px; top: 40px;   right: -140px; background: rgba(217,164,65,.5); }
.b3 { width: 380px; height: 380px; bottom: -180px; left: 34%; background: var(--brand); }

html[data-theme="light"] .blob { opacity: .22; filter: blur(90px); }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 56px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 11px; border-radius: 999px;
  font-size: 13px; color: var(--text-2);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  margin-bottom: 22px;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(217,164,65,.2);
}

h1 { font-size: clamp(2rem, 5.1vw, 3.35rem); font-weight: 800; }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 避免「局」这类单字被挤到下一行 */
.nowrap { white-space: nowrap; }
@media (max-width: 400px) {
  /* 极窄屏允许整体缩放，而不是硬断行 */
  h1 .nowrap { white-space: normal; }
}

.lead {
  margin-top: 20px; max-width: 30em;
  font-size: 16.5px; color: var(--text-2);
}
.lead b { color: var(--text); font-weight: 600; }

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

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b {
  font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  color: var(--text);
}
.hero-facts span { font-size: 12.5px; color: var(--text-3); }

/* 手机演示 */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-frame {
  position: relative; width: 292px; height: 590px;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, #2c3a35, #141c19);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; border-radius: 0 0 14px 14px;
  background: #0d1310; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(175deg, var(--felt-a), var(--felt-b));
  display: flex; flex-direction: column;
  position: relative;
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.13), transparent 62%);
}

.ps-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 16px 10px;
  font-size: 12.5px; color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.2);
  position: relative; z-index: 2;
}
.ps-nav span:nth-child(2) { font-weight: 600; color: #fff; }

.ps-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }

.ps-room {
  align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 22px; border-radius: 14px;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.13);
}
.ps-room em { font-style: normal; font-size: 9.5px; letter-spacing: .18em; color: rgba(255,255,255,.5); }
.ps-room strong { font-size: 22px; letter-spacing: .12em; color: var(--accent-2); font-weight: 800; }
.ps-qr {
  width: 30px; height: 30px; margin-top: 4px; border-radius: 4px;
  background:
    repeating-conic-gradient(rgba(255,255,255,.85) 0 25%, transparent 0 50%) 0 0/8px 8px;
  opacity: .55;
}

.ps-seats { display: flex; gap: 6px; }
.ps-seat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px; border-radius: 12px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
}
.ps-seat.self { border-color: var(--accent); background: rgba(217,164,65,.16); }
.ps-seat i { font-style: normal; font-size: 21px; }
.ps-seat span { font-size: 9px; color: rgba(255,255,255,.72); }
.ps-seat b { font-size: 9px; color: var(--accent-2); font-weight: 700; }

.ps-play { display: flex; justify-content: center; gap: 5px; margin: 12px 0; }
.pc {
  width: 34px; height: 48px; border-radius: 5px;
  background: #fcfcfa; display: grid; place-items: center;
  font-size: 17px; font-weight: 700;
  box-shadow: 0 3px 9px rgba(0,0,0,.32);
}
.pc.s { color: #1a1a1a; }
.pc.h { color: #d23b3b; }

.ps-dock {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px 14px;
  background: rgba(0,0,0,.32);
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 2;
}
.ps-dock span {
  flex: 1; text-align: center;
  padding: 7px 4px; border-radius: 9px;
  font-size: 10.5px; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.1);
}
.ps-dock .ps-mic {
  flex: 0 0 38px;
  background: var(--accent); color: #241a05; font-weight: 700; font-size: 15px;
}

.float-card {
  position: absolute; z-index: 5;
  padding: 8px 13px; border-radius: 11px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}
.fc-1 { top: 74px;  left: -14px;  animation-delay: 0s; }
.fc-2 { top: 250px; right: -18px; animation-delay: .9s; }
.fc-3 { bottom: 96px; left: -10px; animation-delay: 1.7s; }

@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-9px); }
}

/* ── 通用 section ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }

/* ── 系统切换 ───────────────────────────────────────────── */
.os-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 32px;
}
.os-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px; border-radius: 999px;
  font-size: 14.5px; color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all var(--t-fast);
}
.os-tab:hover { border-color: var(--accent); color: var(--text); }
.os-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: var(--accent-ink); font-weight: 700;
}
.os-tab .badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #43c07a;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .45; transform: scale(.8); }
}

/* ── 下载卡片 ───────────────────────────────────────────── */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
}

.dl-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.dl-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.dl-card.recommended { border-color: var(--accent); box-shadow: var(--glow); }

.dl-card-head { display: flex; align-items: flex-start; gap: 13px; }
.dl-os-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 24px; border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.dl-os-meta { min-width: 0; flex: 1; }
.dl-os-meta h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-os-meta p { margin-top: 3px; font-size: 13px; color: var(--text-3); }

.tag {
  padding: 2.5px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  background: rgba(217,164,65,.16); color: var(--accent);
  border: 1px solid rgba(217,164,65,.35);
}
html[data-theme="light"] .tag { background: rgba(184,128,31,.1); color: var(--accent); }

.dl-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px;
  padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 12.5px;
}
.dl-specs div { display: flex; gap: 6px; min-width: 0; align-items: baseline; }
.dl-specs dt { color: var(--text-3); flex-shrink: 0; white-space: nowrap; }
.dl-specs dd { margin: 0; color: var(--text); font-weight: 600; min-width: 0; text-align: right; flex: 1; overflow-wrap: anywhere; }

.dl-actions { display: flex; gap: 9px; margin-top: auto; }
.dl-actions .btn { flex: 1; }

.dl-hash {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: var(--text-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  min-width: 0;
}
.dl-hash code {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  cursor: copy; flex: 1; min-width: 0;
}
.dl-hash code:hover { color: var(--accent); }

.dl-alt { display: flex; flex-wrap: wrap; gap: 7px; }
.dl-alt a {
  padding: 4px 10px; border-radius: 7px;
  font-size: 11.5px; color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: all var(--t-fast);
}
.dl-alt a:hover { border-color: var(--accent); color: var(--accent); }
.dl-alt .alt-out::after { content: " ↗"; font-size: .92em; opacity: .75; }
.dl-alt .alt-file::after { content: " ⬇"; font-size: .92em; opacity: .75; }
.dl-alt .alt-out { color: var(--text); }

.dl-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 26px; padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  font-size: 13.5px; color: var(--text-2);
}
.dl-note span { flex-shrink: 0; }
.dl-note strong { color: var(--text); }

.dl-card-note { font-size: 12.5px; color: var(--text-3); }

/* 尚未出包的备用入口：明确标注「待发布」，且不是链接 */
.dl-alt-pending {
  padding: 4px 10px; border-radius: 7px;
  font-size: 11.5px; color: var(--text-3);
  border: 1px dashed var(--line-strong);
}

/* ── 网页版卡片 ─────────────────────────────────────────── */
.web-card {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 22px 32px; justify-content: space-between;
  margin-top: 26px; padding: 26px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 140% at 0% 0%, rgba(217,164,65,.12), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.web-copy { min-width: 260px; flex: 1 1 320px; }
.web-copy h3 { font-size: 18px; display: flex; align-items: center; gap: 9px; }
.web-copy p { margin-top: 8px; font-size: 14px; color: var(--text-2); max-width: 46em; }

.web-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.web-hint { flex-basis: 100%; margin-top: 2px; font-size: 12.5px; color: var(--text-3); text-align: right; }

.inline-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; cursor: copy; word-break: break-all;
  color: var(--text-2);
}
.inline-hash:hover { color: var(--accent); }

/* ── 无 JS 兜底 ─────────────────────────────────────────── */
.noscript-box {
  margin: 40px auto; padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.noscript-box h2 { font-size: 19px; margin-bottom: 10px; }
.noscript-box p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.noscript-note { font-size: 13px; color: var(--text-3); }

/* ── 玩法网格 ───────────────────────────────────────────── */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 16px; }

.game-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.game-card .gc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.game-card .gc-emoji { font-size: 27px; line-height: 1; }
.game-card h3 { font-size: 16.5px; }
.game-card p { font-size: 13.5px; color: var(--text-2); }
.game-card .gc-people {
  display: inline-block; margin-top: 13px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* ── 特性网格 ───────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px,1fr)); gap: 18px; }

.feat {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t);
}
.feat:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feat-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 15px;
  font-size: 22px; border-radius: 13px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
}
.feat h3 { font-size: 16.5px; margin-bottom: 8px; }
.feat p { font-size: 13.8px; color: var(--text-2); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item[open] { border-color: var(--accent); }

.faq-item summary {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none;
  transition: background var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary::after {
  content: "＋"; margin-left: auto; flex-shrink: 0;
  font-size: 15px; color: var(--text-3);
  transition: transform var(--t);
}
.faq-item[open] summary::after { content: "－"; color: var(--accent); }

.faq-body { padding: 0 18px 17px; font-size: 14px; color: var(--text-2); }

/* ── 收尾 ───────────────────────────────────────────────── */
.final { padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(217,164,65,.13), transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; }
.final h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); font-weight: 800; }
.final p { margin-top: 14px; color: var(--text-2); font-size: 16px; }
.final .hero-cta { justify-content: center; }

/* ── 页脚 ───────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 46px 0 26px; }

.foot-inner { display: flex; flex-wrap: wrap; gap: 42px; justify-content: space-between; }

.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand strong { font-size: 15.5px; }
.foot-brand p { font-size: 13px; color: var(--text-3); margin-top: 3px; }

.foot-cols { display: flex; flex-wrap: wrap; gap: 54px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 9px; }
.foot-cols h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.foot-cols a { font-size: 13.5px; color: var(--text-2); transition: color var(--t-fast); }
.foot-cols a:hover { color: var(--accent); }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-facts { justify-content: center; }
  .hero-visual { order: -1; }
  .fc-1 { left: 2%; }
  .fc-2 { right: 2%; }
  .fc-3 { left: 4%; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 18px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--t), transform var(--t);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }

  .nav-burger { display: flex; }
  .nav-actions .btn-sm { display: none; }

  .hero { padding: 48px 0 66px; }
  .phone-frame { width: 250px; height: 512px; border-radius: 34px; }
  .phone-screen { border-radius: 27px; }
  .pc { width: 30px; height: 42px; font-size: 15px; }
  .float-card { font-size: 11.5px; padding: 7px 11px; }

  .section { padding: 62px 0; }
  .sec-head { margin-bottom: 32px; }

  .os-tabs { gap: 6px; }
  .os-tab { padding: 8px 13px; font-size: 13.5px; }

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

  .web-card { padding: 22px 20px; }
  .web-actions { justify-content: flex-start; width: 100%; }
  .web-actions .btn { flex: 1 1 auto; }
  .web-hint { text-align: left; }

  .foot-inner { flex-direction: column; gap: 32px; }
  .foot-cols { gap: 34px 44px; }
  .foot-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero-facts { gap: 20px; }
  .hero-facts b { font-size: 21px; }
  .dl-specs { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 20px; font-size: 15px; }
}

/* ── 键盘聚焦可见 ───────────────────────────────────────── */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── 动效偏好 ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── 复制提示 ───────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(12px);
  padding: 10px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; z-index: 90;
  transition: opacity var(--t), transform var(--t);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
