/* Cmbok 官网样式 — 暗色 + 单一强调色
   强调色写在 <html data-accent="..."> 上，八档取自软件内八套主题主色（暗底上提亮过）。
   纸质／宋体那一版的语汇已整体撤掉。 */

:root {
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;

  --bg: #08090a;
  --bg-2: #0c0e0f;
  --surface: rgba(255, 255, 255, .026);
  --surface-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .17);
  --tx: #f4f5f6;
  --tx-2: rgba(244, 245, 246, .6);
  --tx-3: rgba(244, 245, 246, .4);

  --ac: #7c84e8;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;

  --sh: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 34px rgba(0, 0, 0, .45);
  --sh-hi: 0 2px 6px rgba(0, 0, 0, .55), 0 30px 80px rgba(0, 0, 0, .6);
}

[data-accent="ink"] { --ac: #9aa0a8; }
[data-accent="jelly"] { --ac: #7c84e8; }
[data-accent="pink"] { --ac: #e691ad; }
[data-accent="green"] { --ac: #6fc189; }
[data-accent="ocean"] { --ac: #4fabcc; }
[data-accent="sunset"] { --ac: #e58c60; }
[data-accent="sky"] { --ac: #66b6ea; }
[data-accent="pixel"] { --ac: #f2b94b; }

/* ── 基础 ───────────────────────────────────────────────── */

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

/* 移动端：去掉双击缩放检测对点按的吞没，点一下就是一下 */
button, a.pill, .disk, .totop, .car, .qq-pop .chips button { touch-action: manipulation; }

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

body {
  margin: 0; position: relative; overflow-x: hidden;
  background-color: var(--bg);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 16px; font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* 顶部那团强调色光晕，随强调色一起变。宽度贴着视口，不能超出去撑出横向滚动 */
body::before {
  content: ""; position: absolute; top: -150px; left: 0; right: 0;
  height: 860px;
  background: radial-gradient(46% 52% at 50% 0%, var(--ac) 0%, transparent 72%);
  opacity: .17; pointer-events: none; z-index: 0;
  transition: opacity .5s ease;
}
/* 极淡颗粒，压掉大面积纯色的塑料感 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  margin: 0; font-weight: 600;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.08; font-weight: 620; }
h2 { font-size: clamp(25px, 2.9vw, 36px); line-height: 1.2; }
h3 { font-size: 16.5px; line-height: 1.45; letter-spacing: -.012em; }

p { margin: 0; }

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

.skip { position: absolute; left: -9999px; padding: 10px 16px; background: var(--tx); color: var(--bg); }
.skip:focus { left: 12px; top: 12px; z-index: 99; }

:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

::selection { background: var(--ac); color: #fff; }

/* ── 顶栏 ───────────────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 9, 10, .72);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img {
  width: 36px; height: 36px;
}
.brand b {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  letter-spacing: -.01em;
}
.brand span {
  font-family: var(--mono); font-size: 10.5px; color: var(--tx-3);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px;
}

.topnav { display: flex; gap: 22px; font-size: 14px; color: var(--tx-2); }
.topnav a { transition: color .18s ease; }
.topnav a:hover { color: var(--tx); }

/* 强调色切换：八档对应软件里八套主题 */
.accents { display: flex; align-items: center; gap: 6px; }
.accents button {
  width: 15px; height: 15px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--c);
  opacity: .45; transition: opacity .18s ease, transform .18s ease;
}
.accents button:hover { opacity: .85; transform: scale(1.18); }
.accents button[aria-checked="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c), 0 0 16px var(--c);
}
.accents button[data-a="ink"] { --c: #9aa0a8; }
.accents button[data-a="jelly"] { --c: #7c84e8; }
.accents button[data-a="pink"] { --c: #e691ad; }
.accents button[data-a="green"] { --c: #6fc189; }
.accents button[data-a="ocean"] { --c: #4fabcc; }
.accents button[data-a="sunset"] { --c: #e58c60; }
.accents button[data-a="sky"] { --c: #66b6ea; }
.accents button[data-a="pixel"] { --c: #f2b94b; }

.topbar .btn-sm {
  padding: 8px 15px; font-size: 13.5px; font-weight: 500;
  border-radius: var(--r-s); background: var(--tx); color: var(--bg);
  transition: opacity .18s ease;
}
.topbar .btn-sm:hover { opacity: .86; }

/* ── 首屏 ───────────────────────────────────────────────── */

.hero { padding-top: 92px; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12.5px; color: var(--tx-2); letter-spacing: .01em;
}
.badge em {
  font-style: normal; font-weight: 500; color: var(--ac);
  padding-left: 9px; border-left: 1px solid var(--line-2);
}

.hero h1 { margin: 26px auto 0; max-width: 16em; text-wrap: balance; }
/* 流光只挂在 Cmbok（em）上；h1 自身恢复普通字色 + 入场动画 */
.hero h1 {
  color: var(--tx);
  animation: lift .68s cubic-bezier(.22, .61, .36, 1) .1s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg,
    var(--ac) 30%, #fff 50%, var(--ac) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ac);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
  100% { background-position: -200% 0; }
}

.lede {
  margin: 22px auto 0; max-width: 34em;
  font-size: 16.5px; color: var(--tx-2);
}

.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.cta .btn { min-width: 232px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; font-size: 14.5px; font-weight: 500;
  border-radius: var(--r-s); border: 1px solid transparent;
  transition: transform .16s ease, background-color .2s ease, border-color .2s ease;
}
.btn b { font-weight: 500; }
.btn small { font-family: var(--mono); font-size: 11px; opacity: .55; font-weight: 400; }
.btn-solid { background: var(--tx); color: var(--bg); box-shadow: 0 6px 22px rgba(0, 0, 0, .4); }
.btn-solid:hover { transform: translateY(-1px); background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--tx); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .28); }

.trust {
  margin-top: 24px; font-size: 12.5px; color: var(--tx-3);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 13px;
}
.trust span::before { content: "· "; opacity: .5; }
.trust span:first-child::before { content: none; }

/* 产品窗口：窗框托住桌面截图，手机图叠在右下角 */
.window {
  position: relative;
  margin-top: 62px; padding: 9px;
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .012));
  box-shadow: var(--sh-hi), inset 0 1px 0 rgba(255, 255, 255, .13);
}
.window .bar { display: flex; gap: 6px; padding: 3px 5px 11px; }
.window .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.window .desk {
  display: block; width: 100%;
  border-radius: calc(var(--r-l) - 7px);
}
/* 手机图自带边框（黑底画布，页底色近黑，画布隐身、只见手机）：
   尺寸按画布计，可见的手机约占 46% 宽，不再另加描边圆角 */
.window .phone {
  position: absolute; right: -30px; bottom: -42px; z-index: 2;
  width: clamp(210px, 33vw, 480px);
}

/* ── 数字带 ─────────────────────────────────────────────── */

.figs { margin-top: 86px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figs .wrap {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: 24px; padding-bottom: 24px;
}
.figs .wrap > div { padding-left: 20px; border-left: 1px solid var(--line); }
.figs .wrap > div:first-child { padding-left: 0; border-left: 0; }
.figs b {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 30px; line-height: 1.15; letter-spacing: -.03em;
}
.figs span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--tx-3); }

/* ── 小节 ───────────────────────────────────────────────── */

.sec { padding: 104px 0; }
.sec + .sec { border-top: 1px solid var(--line); }

.sec .wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
.sec.flip .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sec.flip .copy { order: 2; }
.sec.flip .visual { order: 1; }
.sec.wide .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
.sec.wide .head { max-width: 38em; }
.sec.plain .wrap { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.chapter {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ac);
}
.chapter::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ac); box-shadow: 0 0 10px var(--ac);
}

.sec h2 { margin-top: 16px; }
.sec .body { margin-top: 16px; color: var(--tx-2); font-size: 15.5px; }

/* ── 能力卡片（沿用 ul/li 语义，外观走卡片网格） ──────────── */

.list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 9px; }
.list li {
  padding: 15px 17px; font-size: 14.5px; color: var(--tx-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: background-color .2s ease, border-color .2s ease;
}
.list li:hover { background: var(--surface-2); border-color: var(--line-2); }
.list li b {
  display: block; margin-bottom: 2px;
  color: var(--tx); font-weight: 600; font-size: 15px;
}
.list li i { font-style: normal; }
.sec.wide .list, .sec.plain .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 阅读那一节的四组，卡片更大一号 */
.groups {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px; margin-top: 40px;
}
.group {
  padding: 24px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line);
  transition: background-color .2s ease, border-color .2s ease;
}
.group:hover { background: var(--surface-2); border-color: var(--line-2); }
.group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.group h3 em {
  font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: 10.5px; letter-spacing: .1em; color: var(--ac); white-space: nowrap;
}
.group p { margin-top: 11px; font-size: 14.5px; color: var(--tx-2); }

.note {
  margin-top: 22px; padding: 15px 17px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 2px solid var(--ac);
  font-size: 14px; color: var(--tx-2);
}
.note b { color: var(--tx); font-weight: 600; }
.sec.wide .note { max-width: 42em; }

/* ── 截图位 ─────────────────────────────────────────────── */

.visual { display: grid; gap: 14px; }
/* 阅读节五张竖屏一排 */
.sec.wide .shots { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 40px; }

.shot {
  display: grid; place-content: center; gap: 6px;
  padding: 20px; text-align: center; color: var(--tx-3);
  background: var(--surface); border: 1px dashed var(--line-2);
  border-radius: var(--r-m);
}
.shot b { font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--tx-2); }
.shot code { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.shot:has(img) {
  padding: 0; overflow: hidden;
  border-style: solid; border-color: var(--line);
  box-shadow: var(--sh);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.ar-phone { aspect-ratio: 9 / 19.5; max-width: 290px; margin-inline: auto; }
.ar-wide { aspect-ratio: 16 / 10; }
.ar-sq { aspect-ratio: 4 / 3; }
.ar-43 { aspect-ratio: 2377 / 1520; }  /* 新截图实际比例，防两侧裁切 */

/* 听书节两张横排 */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* ── 主题大图轮播 ───────────────────────────────────────── */

.car {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; box-shadow: var(--sh);
  background: var(--surface);
}
.car-img { display: block; width: 100%; aspect-ratio: 2377 / 1520; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; padding: 0; cursor: pointer; z-index: 2;
  display: grid; place-items: center;
  font-size: 22px; line-height: 1; color: var(--tx);
  background: rgba(8, 9, 10, .55); border: 1px solid var(--line-2); border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease;
}
.car-btn:hover { border-color: var(--ac); color: var(--ac); }
.car-prev { left: 12px; }
.car-next { right: 12px; }
.car-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 7px;
}
.car-dots button {
  width: 7px; height: 7px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  transition: background-color .2s ease, transform .2s ease;
}
.car-dots button[aria-current="true"] { background: var(--ac); transform: scale(1.35); }


/* ── 格式徽章 ───────────────────────────────────────────── */

.fmts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.fmts span {
  font-family: var(--mono); font-size: 12px; letter-spacing: .05em;
  padding: 6px 11px; border-radius: var(--r-s);
  color: var(--tx-2); background: var(--surface); border: 1px solid var(--line);
}

/* ── 主题色卡：取软件内八套调色板的真实值 ────────────────── */

.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sw {
  border-radius: var(--r-m); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.sw i { display: block; height: 54px; background: var(--p); position: relative; }
.sw i::after {
  content: ""; position: absolute; right: 7px; bottom: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--a); box-shadow: 0 0 0 2px rgba(0, 0, 0, .28);
}
.sw b { display: block; padding: 9px 11px 1px; font-size: 12.5px; font-weight: 600; }
.sw em {
  display: block; padding: 0 11px 10px; font-style: normal;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--tx-3);
}

/* ── 热力图 ─────────────────────────────────────────────── */

.heat {
  display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(7, 9px); gap: 2px;
  overflow-x: auto; padding-bottom: 8px;
}
.heat i { width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .055); }
.heat i[data-l="1"] { background: var(--ac); opacity: .28; }
.heat i[data-l="2"] { background: var(--ac); opacity: .5; }
.heat i[data-l="3"] { background: var(--ac); opacity: .74; }
.heat i[data-l="4"] { background: var(--ac); opacity: 1; box-shadow: 0 0 8px var(--ac); }
.months {
  display: flex; justify-content: space-between; margin-top: 5px;
  font-family: var(--mono); font-size: 9.5px; color: var(--tx-3);
}

/* ── 下载 ───────────────────────────────────────────────── */

.dl { padding: 104px 0; border-top: 1px solid var(--line); }
.dl .wrap { display: block; text-align: center; }
.dl .chapter { justify-content: center; }
.dl h2 { margin-top: 16px; }
.dl .body { margin: 16px auto 0; max-width: 34em; color: var(--tx-2); font-size: 15.5px; }

.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin-top: 42px; text-align: left;
}

/* ── 下载：网盘卡片 + QQ 群 ─────────────────────────────── */

.disks {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px; margin-top: 42px;
}
.disk {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  padding: 18px 16px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
  transition: background-color .2s ease, border-color .2s ease, transform .16s ease;
}
.disk:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-2px); }
.disk-ic {
  width: 22px; height: 22px; margin-bottom: 8px;
  fill: none; stroke: var(--ac); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.disk b { font-family: var(--display); font-size: 15.5px; font-weight: 600; }
.disk span { font-family: var(--mono); font-size: 11px; color: var(--tx-3); }

/* QQ 群：一个按钮，点开向上弹出群号面板 */
.qq {
  position: relative; margin-top: 64px;
  display: flex; justify-content: center; align-items: flex-end; gap: 12px;
  scroll-margin-top: 130px;
}
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--tx);
  font-family: var(--display); font-size: 14.5px; font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease, transform .16s ease;
}
a.pill:hover, .qq-toggle:hover { border-color: var(--ac); background: var(--surface-2); transform: translateY(-2px); }
.pill svg { width: 16px; height: 16px; fill: var(--ac); stroke: none; flex: none; }
.qq-toggle { cursor: pointer; }
.qq-toggle i {
  font-style: normal; font-size: 12px; color: var(--tx-3);
  transition: transform .22s ease;
}
.qq.open .qq-toggle i { transform: rotate(180deg); }

.qq-pop {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 22px;
  background: rgba(13, 15, 16, .92); border: 1px solid var(--line-2);
  border-radius: var(--r-m); box-shadow: var(--sh-hi);
  backdrop-filter: blur(14px);
  transform-origin: bottom center;
}
.qq-pop::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--line-2);
}
.qq-pop[hidden] { display: none; }
.qq-pop .hint { font-size: 12px; color: var(--tx-3); }
.qq-pop .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.qq-pop .chips button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--tx);
  font-family: var(--mono); font-size: 13.5px;
  transition: border-color .2s ease, background-color .2s ease;
}
.qq-pop .chips button:hover { border-color: var(--ac); }
.qq-pop .chips button.copied { border-color: var(--ac); color: var(--ac); }
.qq-pop .chips button.fail { border-color: var(--tx-2); color: var(--tx-2); }
.qq-pop .chips button.full { opacity: .4; cursor: default; }
.qq-pop .chips button.full:hover { border-color: var(--line); }
.qq-pop .chips button i {
  font-style: normal; font-size: 10px; padding: 1px 6px;
  border-radius: 999px; color: var(--tx-3); border: 1px solid var(--line);
}
.plan {
  padding: 26px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px;
  transition: border-color .2s ease, background-color .2s ease;
}
.plan:hover { border-color: var(--line-2); background: var(--surface-2); }
.plan .os {
  font-family: var(--display); font-size: 20px; font-weight: 600;
  letter-spacing: -.015em; display: flex; align-items: baseline; gap: 9px;
}
.plan .os em {
  font-family: var(--mono); font-style: normal; font-size: 10.5px;
  letter-spacing: .08em; color: var(--ac);
}
.plan p { font-size: 14px; color: var(--tx-2); }
.plan .btn { align-self: flex-start; margin-top: 5px; }

/* ── 常见问题 ───────────────────────────────────────────── */

.faq { padding: 104px 0; border-top: 1px solid var(--line); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 52px; }
.qa { display: grid; gap: 9px; }
.qa details {
  border-radius: var(--r-m); padding: 2px 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.qa details[open] { border-color: var(--line-2); }
.qa summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 14px 30px 14px 0;
  font-family: var(--display); font-size: 15.5px; font-weight: 500; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 2px; top: 12px;
  font-family: var(--mono); font-size: 16px; color: var(--tx-3);
}
.qa details[open] summary::after { content: "−"; color: var(--ac); }
.qa details p { padding: 0 0 16px; font-size: 14.5px; color: var(--tx-2); }

/* ── 页脚 ───────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding: 40px 0 58px; font-size: 13px; color: var(--tx-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: baseline; }
.foot .mark {
  font-family: var(--display); font-size: 16px; font-weight: 600;
  letter-spacing: -.01em; color: var(--tx);
}
.foot a { transition: color .18s ease; }
.foot a:hover { color: var(--tx); }
.foot .disc { flex-basis: 100%; max-width: 58em; line-height: 1.7; }

/* ── 回到顶部 ───────────────────────────────────────────── */

.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 50;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--tx-2);
  background: rgba(13, 15, 16, .82);
  border: 1px solid var(--line-2); border-radius: 50%;
  backdrop-filter: blur(12px); box-shadow: var(--sh);
  opacity: 0; transform: translateY(10px) scale(.94); pointer-events: none;
  transition: opacity .26s ease, transform .26s ease, color .2s ease, border-color .2s ease;
}
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { color: var(--ac); border-color: var(--ac); }
.totop svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── 入场：只走 CSS，不拿 opacity:0 交给脚本解除 ──────────── */

@keyframes lift { from { opacity: 0; transform: translateY(14px); } }
.hero .badge, .hero .lede, .hero .cta, .hero .trust, .hero .window {
  animation: lift .68s cubic-bezier(.22, .61, .36, 1) both;
}
.hero .badge { animation-delay: .04s; }
.hero h1 { animation-delay: .1s; }
.hero .lede { animation-delay: .2s; }
.hero .cta { animation-delay: .28s; }
.hero .trust { animation-delay: .34s; }
.hero .window { animation-delay: .22s; animation-duration: .9s; }

/* ── 响应式 ─────────────────────────────────────────────── */

.figs .wrap > *, .swatches > *, .sec .wrap > *, .dl .wrap > *, .faq .wrap > *,
.visual > *, .groups > *, .plans > *, .qa > *, .list > * { min-width: 0; }

@media (max-width: 980px) {
  .sec .wrap, .sec.flip .wrap, .faq .wrap {
    grid-template-columns: minmax(0, 1fr); gap: 34px;
  }
  .sec.flip .copy, .sec.flip .visual { order: unset; }
  .sec { padding: 70px 0; }
  .dl, .faq { padding: 70px 0; }
  .hero { padding-top: 66px; }
  .figs { margin-top: 62px; }
  .figs .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .figs .wrap > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec.wide .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sec.wide .list, .sec.plain .list { grid-template-columns: minmax(0, 1fr); }
  .topnav { display: none; }
  .window { margin-top: 44px; }
  .window .phone { right: -80px; bottom: -30px; width: 290px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  body { font-size: 15.5px; }
  .totop { right: 16px; bottom: 16px; width: 40px; height: 40px; }
  .hero .cta .btn { flex: 1 1 100%; min-width: 0; }
  .figs .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs .wrap > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .figs .wrap > div:nth-child(even) { padding-left: 16px; }
  .figs b { font-size: 26px; }
  .groups, .plans, .shots, .disks { grid-template-columns: minmax(0, 1fr); }
  .sec.wide .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accents { gap: 5px; }
  .accents button { width: 13px; height: 13px; }
  .brand span, .topbar .btn-sm { display: none; }
  .window { padding: 6px; border-radius: var(--r-m); }
  .window .bar { padding-bottom: 8px; }
  .window .desk { border-radius: calc(var(--r-m) - 5px); }
  .window .phone { right: -50px; bottom: -24px; width: 210px; }
  .car-btn { width: 44px; height: 44px; font-size: 26px; }
}

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