/* ==========================================================================
   SecureReel DIT 官网 · 样式表 v3
   风格：浅色高级感（参照 Shopify Editions 的排版与动效语言）
   动效要点：滚动 pin 横走、视差、分割线网格、悬停浮起、下划线揭示
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 浅色基底：不是纯白，带一点冷灰，避免死白 */
  --bg: #f4f4f2;
  --bg-2: #ebebe7;
  --paper: #ffffff;
  --sand: #e8e5dc;

  /* 文字 */
  --ink: #12130f;
  --ink-2: #4e5049;
  --ink-3: #85887e;

  /* 分割线：Shopify 大量使用细线网格 */
  --line: rgba(18, 19, 15, .12);
  --line-2: rgba(18, 19, 15, .2);

  /* 品牌签名色 */
  --lime: #b9f27c;
  --lime-deep: #7bc62f;
  --violet: #cdb0f7;
  --amber: #f7d59a;
  --sky: #a9d8f7;
  --rose: #f7b8c4;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 36px;

  --nav-h: 62px;
  --maxw: 1240px;

  --shadow-s: 0 1px 2px rgba(18, 19, 15, .05), 0 4px 12px rgba(18, 19, 15, .04);
  --shadow-m: 0 2px 4px rgba(18, 19, 15, .04), 0 12px 32px rgba(18, 19, 15, .08);
  --shadow-l: 0 4px 8px rgba(18, 19, 15, .05), 0 30px 70px rgba(18, 19, 15, .16);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--lime-deep);
  outline-offset: 3px;
  border-radius: 5px;
}

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

/* ==========================================================================
   导航：白色胶囊，滚动后加深投影
   ========================================================================== */
.nav {
  position: fixed;
  inset: 16px 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.7) blur(18px);
  -webkit-backdrop-filter: saturate(1.7) blur(18px);
  border-radius: 999px;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
  border: 1px solid transparent;
}

.nav.is-stuck .nav__inner {
  background: rgba(255, 255, 255, .95);
  border-color: var(--line);
  box-shadow: var(--shadow-m);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.nav__mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--ink);
  display: grid; place-items: center;
  flex: none;
}
.nav__mark svg { width: 15px; height: 15px; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}

.nav__links a {
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18, 19, 15, .2); }
.btn:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--lime { background: var(--lime); color: var(--ink); border-color: var(--lime-deep); }
.btn--lime:hover { box-shadow: 0 12px 26px rgba(123, 198, 47, .35); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* 下载地址未配置时的临时态：虚线边框提示「待接入」，不至于像坏掉 */
.btn--pending {
  background: transparent;
  color: var(--ink-2);
  border: 1px dashed var(--line-2);
}
.btn--pending:hover {
  background: var(--bg-2);
  color: var(--ink);
  box-shadow: none;
}

.nav__cta { flex: none; }

/* 汉堡 */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-2);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 17px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span + span { margin-top: 4.5px; }

.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* ==========================================================================
   下划线链接：Shopify 标志性的行内链接
   ========================================================================== */
.ulink {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s var(--ease-out), color .2s ease;
  cursor: pointer;
}
.ulink:hover { background-size: 100% 1px; }

/* ==========================================================================
   Hero：超大左对齐标题 + 舞台
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 96px;
  overflow: hidden;
}

/* 背景：一大团柔和的品牌绿光晕，从右上角漫出来 */
.hero::before {
  content: "";
  position: absolute;
  top: -280px; right: -180px;
  width: 900px; height: 760px;
  background: radial-gradient(ellipse at 70% 30%, rgba(185, 242, 124, .5), transparent 62%);
  pointer-events: none;
}

/* 细网格线，呼应 Editions 的工程感 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 88px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: .5;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 26px;
}

.badge b {
  background: var(--lime);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

/* 逐行入场的超大标题容器 */
.hero__title {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 700;
  margin: 0 0 26px;
}

/* 每行单独成块，入场时逐行上浮 —— Editions 的招牌动效 */
.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
}

.hero__line.is-in > span { transform: none; }

/* 延迟让标题像被逐行"点亮" */
.hero__line:nth-child(2) > span { transition-delay: .09s; }
.hero__line:nth-child(3) > span { transition-delay: .18s; }

/* 高亮词：品牌绿 + 手写下划线 */
.hero__u {
  position: relative;
  color: var(--ink);
  white-space: nowrap;
}

.hero__u svg {
  position: absolute;
  left: -2%;
  bottom: -.13em;
  width: 104%;
  height: .34em;
  overflow: visible;
  pointer-events: none;
}

.hero__u path {
  stroke: var(--lime-deep);
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  /* 线条从左往右"画"出来 */
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.3s var(--ease-out) .42s;
}

.hero__u.is-in path { stroke-dashoffset: 0; }

.hero__lede {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--ink-2);
  max-width: 30em;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__note { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Hero 舞台 ---------- */
.hero__visual { position: relative; }

.stage {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}

.hero__stage { padding: 13px; }

.hero__shot { border-radius: calc(var(--radius-l) - 8px); overflow: hidden; background: #fff; }
.hero__shot img { width: 100%; height: auto; }

/* 玻璃浮条：叠在舞台底边 */
.glassbar {
  position: relative;
  /* 左右各留出余量，避开两侧的漂浮卡片 */
  margin: -30px 64px 0 22px;
  padding: 14px 20px;
  background: rgba(18, 19, 15, .88);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-radius: var(--radius-m);
  color: #f4f4f2;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 16px 34px rgba(18, 19, 15, .3);
}

.glassbar__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, .55);
  flex: none;
}

.glassbar__chips { display: flex; gap: 7px; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  font-size: 12.5px;
  color: rgba(244, 244, 242, .85);
}

.chip i { width: 6px; height: 6px; border-radius: 999px; background: var(--lime); flex: none; }
.chip--v i { background: var(--violet); }
.chip--a i { background: var(--amber); }
.chip--s i { background: var(--sky); }

/* 漂浮小卡片 */
.floatcard {
  position: absolute;
  width: 142px;
  padding: 13px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-l);
  border: 1px solid var(--line);
  background: var(--paper);
  animation: bob 6s ease-in-out infinite;
  z-index: 3;
}

.floatcard__icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.floatcard__icon svg { width: 17px; height: 17px; }

.floatcard b {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
}

.floatcard--violet {
  background: var(--violet); color: var(--ink);
  border-color: transparent;
  top: -24px; right: -34px;
  animation-delay: -1.6s;
}
.floatcard--violet .floatcard__icon { background: rgba(18, 19, 15, .1); }

/* 绿色卡往上挪，避开底部玻璃浮条的横向区间 */
.floatcard--lime {
  background: var(--lime); color: var(--ink);
  border-color: transparent;
  bottom: 118px;
  left: -42px;
  animation-delay: -3.2s;
}
.floatcard--lime .floatcard__icon { background: rgba(18, 19, 15, .1); }

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

/* ==========================================================================
   区块标题：超大左对齐（Editions 的排版核心）
   ========================================================================== */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }

.section__head { max-width: 780px; margin-bottom: 56px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 0 0 20px;
}

.section__sub { color: var(--ink-2); margin: 0; font-size: 17px; max-width: 40em; }

/* ==========================================================================
   下载
   ========================================================================== */
.dl { padding: 46px; }

.dl__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

/* 三个按钮用细线分隔，像 Editions 的表格网格 */
.dlcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--paper);
  transition: background .25s ease;
}

.dlcard + .dlcard { border-left: 1px solid var(--line); }
.dlcard:hover { background: var(--bg); }

.dlcard__os {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  margin: 0 0 4px;
}
.dlcard__os svg { width: 19px; height: 19px; flex: none; }

.dlcard__meta { font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); margin: 0; }
.dlcard .btn { margin-top: 16px; }

.tag {
  position: absolute;
  top: 16px; right: 18px;
  background: var(--amber);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* 备用下载入口（配置了 DOWNLOAD_BASE_MIRROR 才出现） */
.dl__mirror {
  margin: 18px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-m);
  background: var(--bg);
}

.dl__mirror-text {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.dl__mirror-text b { color: var(--ink); font-weight: 700; }

.dl__mirror-links { display: flex; flex-wrap: wrap; gap: 8px; }

.dl__mirror-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dl__mirror-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* SHA-256 */
.sha { margin-top: 4px; }

.sha > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-2);
  transition: background .2s ease, color .2s ease;
}
.sha > summary:hover { background: var(--ink); color: #fff; }
.sha > summary::-webkit-details-marker { display: none; }
.sha > summary::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.sha[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }

.sha__body {
  margin-top: 16px;
  padding: 22px;
  background: var(--ink);
  color: #e8eae1;
  border-radius: var(--radius-m);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.05;
  overflow-x: auto;
}

.sha__body p { margin: 0 0 8px; color: rgba(244, 244, 242, .6); font-family: var(--font); font-size: 13px; }
.sha__body div { white-space: nowrap; }
.sha__body b { color: var(--lime); font-weight: 400; }

/* 可点击复制的校验值行 */
.sha__line {
  position: relative;
  display: block;
  white-space: normal !important;
  padding: 9px 62px 9px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease;
}

.sha__line:hover { background: rgba(255, 255, 255, .06); }

.sha__line b { display: block; }

.sha__line > span {
  display: block;
  color: rgba(244, 244, 242, .55);
  font-size: 12px;
  margin-top: 1px;
}

.sha__copy {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-size: 11.5px;
  color: rgba(244, 244, 242, .5);
  background: rgba(255, 255, 255, .1);
  padding: 3px 9px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.sha__line:hover .sha__copy { background: var(--lime); color: #12130f; }

/* ==========================================================================
   卡片网格（Editions 的内容排版：细线分隔，不用阴影堆叠）
   ========================================================================== */
.gridcells {
  display: grid;
  /* 两列网格，分隔线用 cell 的 ::before/::after 画，见下方 */
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper);
}

.cell {
  padding: 30px 26px;
  background: var(--paper);
  transition: background .28s ease;
  position: relative;
}

.cell:hover { background: var(--bg); }

/* 分隔线：用伪元素画在自身内容层之上，避免被相邻格背景盖住。
   竖线 = 第 2 列左缘；横线 = 非首行上缘。 */
.cell--col2::after,
.cell--row::before {
  content: "";
  position: absolute;
  background: var(--line);
  pointer-events: none;
}

.cell--col2::after {
  left: 0; top: 0; bottom: 0;
  width: 1px;
}

.cell--row::before {
  left: 0; right: 0; top: 0;
  height: 1px;
}

/* 悬停时小图标轻微位移 */
.cell__ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform .3s var(--ease);
}
.cell:hover .cell__ic { transform: translateY(-3px) scale(1.05); }
.cell__ic svg { width: 21px; height: 21px; }

.cell h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.025em; font-weight: 700; }
.cell p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cell p b { color: var(--ink); font-weight: 700; }

.cell__n {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  font-family: var(--mono);
  margin-bottom: 16px;
  display: block;
}

/* ==========================================================================
   滚动 pin 区：横向走卡（学 Editions 的核心动效）
   ========================================================================== */
.pin {
  position: relative;
  /* 外层高度决定横向位移的行程：卡片数 × 视口高。
     由 JS 在运行时按实际卡片数写死到 style.height，避免手算。 */
}

/* pin--4 / pin--5 是兜底高度，JS 会按实际卡片数覆写 */
.pin--4 { height: calc(100vh + 2.4 * 100vh); }
.pin--5 { height: calc(100vh + 3.4 * 100vh); }

.pin__viewport {
  position: sticky;
  /* 吸顶位置要避开固定导航，否则卡片顶部会被压住 */
  top: calc(var(--nav-h) + 44px);
  overflow: hidden;
  padding: 10px 0 20px;
}

.pin__track {
  display: flex;
  gap: 22px;
  will-change: transform;
}

.pincard {
  flex: none;
  width: 372px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}

.pincard:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }

.pincard__shot {
  background: #fff;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pincard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.pincard__body { padding: 22px 22px 24px; }

.pincard__body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -.025em;
  font-weight: 700;
}

.pincard__body p { margin: 0; color: var(--ink-2); font-size: 14.6px; }

/* 进度条：滚动到哪一屏就走到哪 */
.pin__progress {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  margin-top: 26px;
  overflow: hidden;
}

.pin__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
}

.pin__hint {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 18px;
}

/* 窄屏降级：横向滑动，不做 pin */
.pin__viewport--static {
  position: static;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pin__viewport--static::-webkit-scrollbar { display: none; }

/* ==========================================================================
   左右交替展示
   ========================================================================== */
.showcase { display: grid; gap: 28px; }

.showcase__item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.showcase__item--flip .showcase__copy { order: 2; }
.showcase__item--flip .showcase__media { order: 1; }

.showcase__copy h3 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 16px;
}

.showcase__copy p { color: var(--ink-2); margin: 0 0 14px; font-size: 16.5px; }

.showcase__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }

.showcase__list li { display: flex; gap: 13px; font-size: 15.2px; color: var(--ink-2); }

.showcase__list svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 3px;
  color: var(--lime-deep);
}

.showcase__list b { color: var(--ink); font-weight: 700; }

.showcase__media { position: relative; }

.monitor {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px;
  box-shadow: var(--shadow-l);
}

.monitor img {
  width: 100%; height: auto;
  border-radius: calc(var(--radius-l) - 7px);
  background: #fff;
}

.monitor--sm { padding: 9px; border-radius: var(--radius-m); }
.monitor--sm img { border-radius: calc(var(--radius-m) - 6px); }

/* 挂在屏幕角上的小标签 */
.monitor__chip {
  position: absolute;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-m);
  white-space: nowrap;
}

.monitor__chip--a { top: 24px; left: -16px; }
.monitor__chip--b { bottom: 28px; right: -14px; }

/* ==========================================================================
   格式标签
   ========================================================================== */
.formats { display: flex; flex-wrap: wrap; gap: 10px; }

.fmt {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--ink-2);
  background: var(--paper);
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease;
}

.fmt:hover {
  transform: translateY(-3px);
  background: var(--lime);
  border-color: var(--lime-deep);
  color: var(--ink);
}

/* ==========================================================================
   提示条
   ========================================================================== */
.notice {
  max-width: 920px;
  margin: 34px auto 0;
  padding: 22px 26px;
  border-radius: var(--radius-m);
  background: #fffaf0;
  border: 1px solid #f0e0bd;
  font-size: 15px;
  color: #6b5417;
}

.notice b { color: #4a3a0d; font-weight: 700; }

/* ==========================================================================
   系统拦截引导
   ========================================================================== */
.gate {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper);
}

.gatecard { padding: 34px 30px; background: var(--paper); transition: background .25s ease; }
.gatecard:hover { background: var(--bg); }
.gatecard + .gatecard { border-left: 1px solid var(--line); }

.gatecard h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 11px;
}
.gatecard h3 svg { width: 22px; height: 22px; flex: none; }

.gatecard ol { margin: 20px 0 0; padding-left: 21px; color: var(--ink-2); font-size: 15.2px; }
.gatecard ol li { margin-bottom: 10px; }
.gatecard ol li b { color: var(--ink); font-weight: 700; }
.gatecard code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 0; max-width: 960px; border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
  transition: background .25s ease;
}

.faq details[open] { background: var(--paper); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }

/* 加号 → 减号 */
.faq summary::before {
  content: "";
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), background .25s ease, border-color .25s ease;
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-size: 11px 1.6px, 1.6px 11px;
  background-position: center, center;
  background-repeat: no-repeat;
}
.faq details[open] summary::before {
  transform: rotate(180deg);
  background-color: var(--lime);
  border-color: var(--lime-deep);
}

.faq__a { padding: 0 0 26px 40px; color: var(--ink-2); font-size: 15.5px; }
.faq__a b { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   结尾 CTA
   ========================================================================== */
.cta {
  padding: 72px 52px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  position: relative;
  overflow: hidden;
}

/* CTA 背景的大光斑 */
.cta::before {
  content: "";
  position: absolute;
  bottom: -180px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(185, 242, 124, .55), transparent 65%);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 0 0 18px;
}

.cta p { color: var(--ink-2); margin: 0 auto 34px; max-width: 34em; font-size: 17px; }

.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--ink);
  color: rgba(244, 244, 242, .62);
  padding: 74px 0 34px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  position: relative;
  z-index: 1;
}

.footer__brand {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand .nav__mark { background: var(--lime); }
.footer__brand .nav__mark svg { color: var(--ink); }

.footer p { margin: 0 0 10px; color: rgba(244, 244, 242, .5); max-width: 34em; }

.footer h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(244, 244, 242, .62); transition: color .2s ease; }
.footer a:hover { color: var(--lime); }

.footer__legal {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.6px;
  color: rgba(244, 244, 242, .42);
  line-height: 1.95;
  position: relative;
  z-index: 1;
}
.footer__legal b { color: rgba(244, 244, 242, .7); font-weight: 600; }
.footer__legal a { color: rgba(244, 244, 242, .62); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--lime); }

/* 署名行 */
.credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 28px 0 0;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: rgba(244, 244, 242, .5);
  position: relative;
  z-index: 1;
}

.credits span { display: inline-flex; align-items: center; gap: 8px; }
.credits b { color: #fff; font-weight: 700; }
.credits i {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: rgba(244, 244, 242, .3);
  display: inline-block;
}

/* 页脚巨型水印字 */
.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -3%;
  transform: translateX(-50%);
  font-size: clamp(88px, 18vw, 250px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .78;
  white-space: nowrap;
  color: rgba(255, 255, 255, .028);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ==========================================================================
   子页
   ========================================================================== */
.page { padding: calc(var(--nav-h) + 66px) 0 100px; }

.page__head { max-width: 800px; margin-bottom: 48px; }

.page__title {
  font-size: clamp(32px, 4.8vw, 56px);
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 700;
}

.prose { max-width: 820px; }

.prose h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 56px 0 18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.prose h3 { font-size: 18.5px; margin: 32px 0 10px; font-weight: 700; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 5px;
}

.prose .card {
  padding: 24px 26px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  box-shadow: var(--shadow-s);
}
.prose .card h3 { margin: 0 0 10px; }
.prose .card p:last-child, .prose .card ul:last-child { margin-bottom: 0; }

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

.changelog { position: relative; padding-left: 32px; }
.changelog::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line);
}

.rel { position: relative; margin-bottom: 42px; }
.rel::before {
  content: "";
  position: absolute;
  left: -28px; top: 10px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--ink);
  border: 2px solid var(--bg);
}
.rel--old::before { background: var(--line-2); }

.rel__v { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rel__v h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; font-weight: 700; }
.rel__date { font-size: 13px; color: var(--ink-3); font-family: var(--mono); }
.rel .tag { position: static; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 28px;
  transition: color .2s ease;
}
.backlink:hover { color: var(--ink); }
.backlink svg { width: 15px; height: 15px; }

/* ==========================================================================
   动效：滚动入场
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 元素组内逐个延迟，形成瀑布感 */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__line > span { transform: none; }
  .hero__u path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .floatcard--violet { right: -8px; }
  .floatcard--lime { left: -8px; }
  .pin__viewport { position: static; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pin__viewport::-webkit-scrollbar { display: none; }
  .pin__track { transform: none !important; }
  .pin__progress { display: none; }
  .pin__hint { display: none; }
  .showcase__item { grid-template-columns: 1fr; gap: 32px; }
  .showcase__item--flip .showcase__copy { order: 1; }
  .showcase__item--flip .showcase__media { order: 2; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .monitor__chip--a { left: 10px; }
  .monitor__chip--b { right: 10px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 66px; }

  .nav__toggle { display: flex; }
  .nav__inner { padding: 6px 6px 6px 18px; }

  .nav__links {
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { display: none; }

  .dl { padding: 26px 20px; }
  .dl__grid { grid-template-columns: 1fr; }
  .dlcard + .dlcard { border-left: 0; border-top: 1px solid var(--line); }

  .gate { grid-template-columns: 1fr; }
  .gatecard + .gatecard { border-left: 0; border-top: 1px solid var(--line); }

  /* 细线网格在窄屏改成单列：去掉竖线，每格（除首格）都要横线 */
  .gridcells { grid-template-columns: 1fr; }
  .cell--col2::after { display: none; }
  .cell + .cell::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: var(--line);
  }

  .hero__stage { padding: 9px; border-radius: var(--radius-m); }
  .glassbar { margin: -18px 12px 0; padding: 12px 14px; }
  .floatcard { width: 116px; padding: 11px; }
  .floatcard b { font-size: 13.5px; }
  .floatcard__icon { margin-bottom: 13px; width: 26px; height: 26px; }
  .floatcard--violet { right: -4px; top: -14px; }
  .floatcard--lime { left: -4px; bottom: -18px; }

  .pincard { width: 80vw; }
  .cta { padding: 44px 24px; }
  .faq__a { padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .page { padding-top: calc(var(--nav-h) + 44px); }
  .section__sub { font-size: 16px; }
  .credits { gap: 10px; font-size: 13px; }
}
