/* ==========================================================================
   OpenxVideo · 官网样式
   --------------------------------------------------------------------------
   浅色底 + 墨黑字 + 一个朱红点缀。没有框架、没有构建、没有外部字体 ——
   官网首屏每多一个依赖就多一次白屏机会。

   排版骨架：每个区块都是「小号等宽索引 + 大标题 + 说明」，区块之间用一条
   1px 细线分隔。层次靠留白和字号拉，不靠色块和阴影。
   ========================================================================== */

:root {
  --paper: #f6f3ec;
  --paper-2: #efeade;
  --surface: #ffffff;

  --ink: #15130f;
  --ink-2: #4b463c;
  --ink-3: #6f6a5d;   /* 小号等宽标签大量用它，太浅在浅底上读不清 */

  --line: rgba(21, 19, 15, .13);
  --line-soft: rgba(21, 19, 15, .07);

  --accent: #c8452a;
  --accent-ink: #a8371f;
  --accent-soft: #f2ddd5;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* 任何作者写的 display 都会盖掉 [hidden] 自带的 display:none ——
   比如 .btn 的 inline-flex，会让「安装 App」按钮明明设了 hidden 还露在导航里。
   这条必须带 !important 才压得住。 */
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
ol, ul, dl, dd { margin: 0; padding: 0; list-style: none; }

/* 居中必须写成 margin-left/right，不能用 margin-inline。
   逻辑属性要 Chrome 87 才有，而 Android 11 自带的 WebView 是 83 ——
   整条声明会被判为无效直接丢掉，容器就贴到左边，手机上整页左移半个边距。
   这个坑只有真机才看得见：桌面浏览器全绿。 */
.wrap { width: min(1180px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: var(--r-sm);
  /* 页面上有 <a class="btn"> 也有 <button class="btn">：
     button 默认用系统 UI 字体，不继承会和工作台/正文的字体对不上。 */
  font-family: inherit;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15.5px; border-radius: 10px; }

.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: #2a2620; transform: translateY(-1px); }

.btn.ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink-3); background: rgba(21, 19, 15, .04); }

.btn.text { color: var(--ink); padding: 0 4px; }
.btn.text:hover { color: var(--accent); }

/* ---------------------------------------------------------------- 品牌 */
.brand { display: inline-flex; align-items: center; gap: 10px; }
/* 新标记是「宽气泡 + 镂空播放三角」，横宽 42 竖高 33（viewBox 48）。
   28px 的盒子对应视觉宽 24.5、高 19，正好压在 17px 字号的字面高度上。 */
.mark { width: 28px; height: 28px; flex: none; color: var(--ink); }
.mark path { fill: currentColor; }
.brand-t { font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.brand-t b { color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(246, 243, 236, .72);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.stuck { border-bottom-color: var(--line-soft); background: rgba(246, 243, 236, .93); }

.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }

.links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.links a {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--ink-2);
  /* 两个字的链接被挤成上下两行（「能」压「力」）比溢出更难看，
     宁可让它撑开，再由下面的断点把按钮让掉。 */
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.links a:hover { color: var(--ink); background: rgba(21, 19, 15, .05); }

.nav-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-foot { display: none; }

/* 「安装 App」只在真的可装时才出现，属于锦上添花。
   桌面宽度一旦收窄，先让它退场 —— 浏览器地址栏右侧本来就有安装图标，
   犯不着为了它把五个导航链接挤成竖排。手机端（≤760）的整页菜单里仍然保留。 */
@media (min-width: 761px) and (max-width: 1000px) {
  .nav-act #install { display: none; }
}

.burger {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: transparent; cursor: pointer; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 16px; height: 1.6px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger span { top: 50%; transform: translate(-50%, -50%); }
.burger span::before { content: ""; left: 0; top: -5px; }
.burger span::after { content: ""; left: 0; top: 5px; }

/* ---------------------------------------------------------------- 首屏 */
.hero { padding: 132px 0 76px; }

.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 69, 42, .12);
}

.hero h1 {
  /* 上限卡在 56px：再大一档，「一张照片，一段文案，」这十个字就会在
     半路折行，把作者写死的 <br> 变成随机断点。 */
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.16;
  letter-spacing: -.035em;
  /* 窄屏（320px）时首行放不下十个字。默认折行会断成「…一段文 / 案，」，
     一个孤零零的「案，」占一行。balance 让它断在逗号上，两行等长。 */
  text-wrap: balance;
}
.hero h1 em {
  /* 记号笔色带用伪元素画，不用 background：
     内联元素的背景会顺着「。」这种全角标点的字身框一路拖出去，
     右边能多出小半个字，看着像涂歪了。改成绝对定位的色带后，
     左右各出 .1em，是作者有意的、对称的出格。 */
  font-style: normal;
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero h1 em::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.1em;
  right: -.1em;
  bottom: .05em;
  height: .34em;
  background: var(--accent-soft);
}

.lede {
  margin-top: 24px; max-width: 30em;
  font-size: 17px; line-height: 1.8; color: var(--ink-2);
}

.hero-act { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }

.facts {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--ink-3);
}
.facts li { display: flex; align-items: baseline; gap: 5px; position: relative; }
.facts li + li::before {
  content: ""; position: absolute; left: -14px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: .5;
}
.facts b { font-size: 17px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }

/* ---- 首屏右侧：成片取景框 ---- */
.hero-art { position: relative; }

.capture {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -30px rgba(21, 19, 15, .35), 0 0 0 1px rgba(21, 19, 15, .06);
}
.capture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* 老 WebView（Chrome < 88）没有 aspect-ratio，取景框会塌成一条线。
   用 padding 撑出 4:5，图片绝对定位填满；上面的 .cap-top 和 ::before 本来就是
   绝对定位，不受影响。 */
@supports not (aspect-ratio: 4 / 5) {
  .capture { height: 0; padding-top: 125%; }
  .capture img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
  }
}
.capture::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 96px; z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 8, 6, .42), rgba(10, 8, 6, 0));
  pointer-events: none;
}

.cap-top {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
  z-index: 2;
}
.cap-top .rec { display: inline-flex; align-items: center; gap: 6px; }
.cap-top .rec i {
  width: 6px; height: 6px; border-radius: 50%; background: #ff4d3d;
  animation: rec 1.8s ease-in-out infinite;
}
.cap-top .res { margin-left: auto; opacity: .8; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.cap-wave {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 3px; height: 120px;
}
.cap-wave span {
  width: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .55);
  height: 20%;
  animation: wave 1.4s ease-in-out infinite;
}
.cap-wave span:nth-child(3n) { animation-delay: -.35s; }
.cap-wave span:nth-child(3n+1) { animation-delay: -.7s; }
.cap-wave span:nth-child(4n) { animation-delay: -1.05s; }
@keyframes wave {
  0%, 100% { height: 16%; opacity: .45; }
  50% { height: 92%; opacity: .9; }
}

.cap-sub {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 18px 16px;
  background: linear-gradient(to top, rgba(12, 10, 8, .78), rgba(12, 10, 8, 0));
  color: #fff; font-size: 13.5px; line-height: 1.5; letter-spacing: .01em;
}

.hero-art { padding-bottom: 26px; }
.chip {
  position: absolute; right: -20px; bottom: 4px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 30px -18px rgba(21, 19, 15, .45);
}
.chip svg { width: 20px; height: 20px; color: #2f7a52; flex: none; }
.chip b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; }
.chip span { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em; }

/* ---------------------------------------------------------------- 走马灯 */
.ticker {
  border-block: 1px solid var(--line-soft);
  overflow: hidden; padding: 13px 0;
  background: rgba(255, 255, 255, .35);
}
.ticker-track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3);
  animation: marquee 42s linear infinite;
}
.ticker-track i { font-style: normal; color: var(--accent); opacity: .55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .cap-wave span, .cap-top .rec i { animation: none; }
}

/* ---------------------------------------------------------------- 区块 */
.sec { padding: 104px 0; border-top: 1px solid var(--line-soft); }
.sec:first-of-type { border-top: 0; }

.idx {
  display: block; margin-bottom: 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 42px); }
.sec-head p { margin-top: 16px; font-size: 16px; color: var(--ink-2); }

/* ---- 01 能力：编号列表 ---- */
.rows { border-top: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: 72px 220px minmax(0, 1fr);
  gap: 24px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .2s ease;
}
.rows li::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px;
  width: 2px; background: var(--accent); opacity: 0;
  transition: opacity .2s ease;
}
.rows li:hover { padding-left: 16px; }
.rows li:hover::before { opacity: 1; }

.rows .n {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: .1em; padding-top: 5px;
}
.rows h3 { font-size: 20px; letter-spacing: -.02em; }
.rows p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; max-width: 46em; }

/* ---- 02 工作流：四列 ---- */
.flow-sec { background: var(--paper-2); }

.flow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px; border-top: 1px solid var(--line);
}
.flow li { padding-top: 26px; position: relative; }
.flow li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 34px; height: 2px;
  background: var(--ink);
}
.flow .n {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  color: var(--ink-3); margin-bottom: 12px;
}
.flow h3 { font-size: 19px; margin-bottom: 10px; }
.flow p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.flow .t {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px;
}

/* ---- 03 规格 ---- */
.spec-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: start; }
.spec-copy h2 { font-size: clamp(28px, 3.1vw, 40px); margin-bottom: 18px; }
.spec-copy p { color: var(--ink-2); font-size: 15.5px; max-width: 30em; }
.spec-copy .btn { margin-top: 26px; padding-left: 0; }

.spec { border-top: 1px solid var(--line); }
.spec > div {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.spec dt { font-size: 14px; color: var(--ink-3); }
.spec dd { font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.spec dd b { font-weight: 700; }

/* 三个画幅示意：纯 CSS 画，不用图片 —— 一个 54×96 的方块不值得多一个请求 */
.frames { display: flex; align-items: flex-end; gap: 26px; margin-top: 46px; }
.frames figure { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.frames .fr {
  display: block; border: 1px solid var(--ink); border-radius: 4px;
  background: linear-gradient(160deg, rgba(21, 19, 15, .06), rgba(21, 19, 15, .01));
}
.frames .v916 { width: 48px; height: 85px; }
.frames .v11  { width: 72px; height: 72px; }
.frames .v169 { width: 108px; height: 61px; }
.frames figcaption {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3);
  display: flex; flex-direction: column; gap: 1px;
}
.frames figcaption em { font-style: normal; font-size: 10.5px; opacity: .85; }

/* ---- 04 价格 ---- */
.price-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; align-items: stretch; }

.price-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.amount { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 6px; }
.amount i { font-style: normal; font-size: 24px; color: var(--ink-3); font-weight: 500; }
.amount b { font-size: 68px; line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.amount span { font-size: 15px; color: var(--ink-3); margin-left: 4px; }
.price-note { font-size: 14.5px; color: var(--ink-2); }

.price-list { margin-top: 30px; border-top: 1px solid var(--line-soft); padding-top: 6px; }
.price-list li {
  position: relative; padding: 9px 0 9px 22px;
  font-size: 14.5px; color: var(--ink-2);
}
.price-list li::before {
  content: ""; position: absolute; left: 1px; top: 13px;
  width: 5px; height: 9px;
  border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(42deg); opacity: .85;
}

.price-side {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 34px;
  display: flex; flex-direction: column;
}
/* flex 子项默认 align-items:stretch，小胶囊会被拉成通栏 —— 这是最容易被
   忽略的一类「看起来坏了」的样式问题 */
.price-side > .tag { align-self: flex-start; }
.price-side h3 { font-size: 26px; margin: 20px 0 10px; }
.side-lede { font-size: 14.5px; color: var(--ink-2); }

.pay-block { margin: 26px 0 auto; }
.pay-state {
  background: rgba(255, 255, 255, .6); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 16px 18px;
}
.pay-state b { display: block; font-size: 14px; margin-bottom: 6px; }
.pay-state span { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.pay-state.on b { color: #2f7a52; }

.side-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

/* ---- 05 下载 ----
   卡片是「等高等宽」的：两栏里按钮必须落在同一条基线上，否则一栏的说明
   多一行，另一栏的按钮就往上飘，看着像没对齐。靠 .dl-act 的 margin-top:auto
   把动作区压到卡片底部实现。 */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.dl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px;
  display: flex; flex-direction: column;
}
.dl-kind {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.dl-card h3 { font-size: 26px; margin: 12px 0 8px; }
.dl-desc { font-size: 14.5px; color: var(--ink-2); }

.dl-act {
  margin-top: auto; padding-top: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.dl-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.dl-pending { font-size: 13.5px; color: var(--ink-3); }
.dl-none { font-size: 13.5px; color: var(--ink-2); }

.dl-foot {
  margin-top: 26px; font-size: 13px; color: var(--ink-3); line-height: 1.8;
}
.dl-foot code {
  font-family: var(--mono); font-size: 12px;
  background: var(--paper-2); border-radius: 4px; padding: 1px 5px;
}

/* ---- 06 FAQ ---- */
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 104px; }
.faq-head h2 { font-size: clamp(28px, 3.1vw, 40px); margin: 14px 0 16px; }
.faq-head p { font-size: 14.5px; color: var(--ink-3); }
.faq-head a { color: var(--accent); border-bottom: 1px solid rgba(200, 69, 42, .3); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.015em;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; margin-left: auto; width: 11px; height: 11px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
  opacity: .55;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .a {
  padding: 0 0 22px; max-width: 46em;
  font-size: 15px; line-height: 1.8; color: var(--ink-2);
}

/* ---- 收尾 ---- */
.band { background: var(--ink); color: var(--paper); padding: 88px 0; }
.band-in { text-align: center; }
.band h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.03em; }
.band p { margin-top: 16px; color: rgba(246, 243, 236, .62); font-size: 15.5px; }
.band-act { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.band .btn.solid { background: var(--paper); color: var(--ink); }
.band .btn.solid:hover { background: #fff; }
.band .btn.ghost { border-color: rgba(246, 243, 236, .28); color: var(--paper); }
.band .btn.ghost:hover { border-color: rgba(246, 243, 236, .55); background: rgba(255, 255, 255, .06); }

/* ---------------------------------------------------------------- 页脚 */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.foot-brand p { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin-bottom: 12px;
}
.foot-cols a { display: block; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.foot-cols a:hover { color: var(--accent); }

.foot-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3);
}

/* ---------------------------------------------------------------- 进场 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; }
  .hero-art { padding-bottom: 0; }
  .chip { position: static; margin-top: 14px; display: inline-flex; }
  .spec-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
  .foot-in { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 104px 0 56px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .lede { font-size: 15.5px; }
  .facts { gap: 16px 22px; font-size: 12.5px; }

  .links { display: none; }
  .nav-act { display: none; }
  .burger { display: block; }

  /* 展开时是一整页菜单，不是一条挂在首屏上的下拉条。
     下拉条会把首屏的按钮从中间截断，看起来像页面坏了 —— 实测踩过。 */
  .nav.open {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100%; overflow-y: auto;
    background: var(--paper); border-bottom: 0;
  }
  /* 展开后是纵向的一页：品牌 / 链接 / 按钮 / 联系方式。
     用 column 而不是 wrap，是为了让 margin-top:auto 能把按钮压到页面底部。 */
  .nav.open .nav-in {
    display: flex; flex-direction: column; align-items: stretch;
    height: 100%; min-height: 100%; padding: 14px 0 26px; gap: 0;
  }
  .nav.open .burger { position: absolute; top: 14px; right: 18px; }
  .nav.open .burger span { background: transparent; }
  .nav.open .burger span::before { transform: translateY(5px) rotate(45deg); }
  .nav.open .burger span::after { transform: translateY(-5px) rotate(-45deg); }
  .nav.open .links {
    display: flex; flex-direction: column; align-items: stretch;
    margin: 14px 0 0; gap: 0;
    border-top: 1px solid var(--line-soft); padding-top: 4px;
  }
  .nav.open .links a {
    padding: 16px 4px; font-size: 20px; letter-spacing: -.02em;
    border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .nav.open .links a:last-child { border-bottom: 0; }
  .nav.open .nav-act {
    display: flex; margin-top: auto; padding-top: 26px; gap: 10px;
    /* 手机上「安装 App」只在安卓 Chrome 出现，一旦出现就是三个按钮并排，
       390px 宽度下会挤到换行。让它独占一行，下面两个再平分。 */
    flex-wrap: wrap;
  }
  .nav.open .nav-act #install { flex: 0 0 100%; }
  .nav.open .nav-foot {
    display: block; margin-top: 18px;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3);
  }
  .nav.open .nav-foot a { border-bottom: 1px solid var(--line); }
  .nav.open .nav-act .btn { height: 48px; font-size: 15.5px; }
  .nav.open .nav-act .btn { flex: 1; }

  .sec { padding: 68px 0; }
  .sec-head { margin-bottom: 34px; }

  .rows li { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; }
  .rows h3 { font-size: 18px; }
  .rows p { grid-column: 2; font-size: 14.5px; }
  .rows li:hover { padding-left: 0; }

  .flow { grid-template-columns: 1fr; gap: 26px; }

  .price-grid { grid-template-columns: 1fr; }
  .price-main, .price-side { padding: 28px 22px; }
  .amount b { font-size: 56px; }

  .dl-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 26px 22px; }

  .spec > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }

  .band { padding: 64px 0; }
  .foot-cols { gap: 36px; }
}
