/* ==========================================================================
   Sunrise AI · 官网宣传落地页样式（landing.html 专用）
   与工作台 styles.css 完全解耦：本文件不影响 index.html / admin.html。

   配色说明：下面 :root 里的品牌令牌与 styles.css 顶部的品牌令牌「取值完全一致」。
   换配色时两处一起改（值相同即可），其余样式全部从令牌派生，不要在正文里写死颜色。
   ========================================================================== */

:root {
  /* ── 品牌令牌（与 styles.css :root 保持同值） ── */
  --brand-primary: #4b3f96;
  --brand-primary-rgb: 75, 63, 150;
  --brand-primary-hover: #584bab;
  --brand-primary-deep: #3a2f74;
  --brand-primary-deep-rgb: 58, 47, 116;
  --brand-primary-light: #8579c6;
  --brand-primary-light-rgb: 133, 121, 198;
  --brand-primary-pale: #c2bbe0;
  --brand-primary-line: #a9a0d0;
  --brand-primary-soft: #f1effa;
  --brand-ink-900: #171233;
  --brand-ink-950: #0f0c1e;
  --brand-accent: #33757c;
  --brand-accent-light: #7cc4cb;

  /* ── 中性灰阶 ── */
  --bg: #f6f6f8;
  --panel: #ffffff;
  --ink: #16161a;
  --ink-soft: #33333b;
  --muted: #6f6f7a;
  --line: #e4e4ea;

  /* ── 深色屏上的文字层级（均已按 WCAG AA 校核） ── */
  --on-dark: #ffffff;
  --on-dark-soft: #ded9ee;
  --on-dark-muted: #b3abd2;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shell: min(1240px, 92vw);
}

* { box-sizing: border-box; }

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

  /* 这里曾经写 `scroll-snap-type: y proximity`，已实测确认它就是「滚动条很奇怪」的成因，
     故彻底移除。实测数据（Chrome，landing.html）：
       · 1440×900 / 1440×760 / 1280×800 三种视口下三屏各自恰好等于一屏高，
         每个滚轮刻度（120px）都会被 proximity 判定为「离原吸附点更近」而被回弹，
         连续滚 8 个刻度（960px）净位移仍是 0px —— 滚轮在本页面等于失效，
         只有一次超过 ~400px 的大幅甩动或 PageDown 才能挣脱。
       · 1440×1000 / 1024×768 等第 2 屏高于视口的视口下，静止位置被钳制在
         「第 2 屏底边与视口底边对齐」处，再怎么滚轮也过不去第 3 屏。
       · 单独关掉 scroll-behavior: smooth 完全无效（净位移仍是 0），
         单独关掉 scroll-snap-type 即恢复正常 —— 责任方是吸附，不是平滑滚动。
     一屏一屏看的体验改由显式入口承担：右侧圆点导航、各屏底部的向下箭头、
     以及键盘 PageDown，都由 landing.js 走 scrollIntoView 精确对位。 */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-md) 0;
  background: var(--brand-primary);
  color: #fff;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--brand-accent-light);
  outline-offset: 3px;
}

/* ============ 顶部条 ============ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  padding: 0 max(20px, calc((100vw - var(--shell)) / 2));
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--on-dark);
  background: rgba(15, 12, 30, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.topbar.on-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.topbar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.topbar-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.topbar-brand strong { font-size: 16px; letter-spacing: -0.01em; }
.brand-cn-inline {
  margin-left: 0.45em;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 0.86em;
  letter-spacing: 0.12em;
  background: linear-gradient(112deg, #f7b24c, #f18436 58%, #9a74f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.topbar-brand small { font-size: 10px; letter-spacing: 0.18em; opacity: 0.72; }

.topbar-nav { display: flex; align-items: center; gap: 8px; font-size: 14px; }

.topbar-nav a {
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  opacity: 0.86;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.topbar-nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.topbar.on-light .topbar-nav a:hover { background: var(--brand-primary-soft); }

/* Readme 入口：权重刻意介于普通导航链接与「免费注册」之间 —— 加一条描边、文字不减淡，
   一眼能找到，但不会跟主 CTA 抢注册这个动作。颜色全部取自品牌令牌，不引入新色值。 */
.topbar-nav .topbar-readme {
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-weight: 600;
  opacity: 1;
}
.topbar-nav .topbar-readme:hover { background: rgba(255, 255, 255, 0.16); }

.topbar.on-light .topbar-nav .topbar-readme {
  border-color: var(--brand-primary-line);
  color: var(--brand-primary);
}
.topbar.on-light .topbar-nav .topbar-readme:hover { background: var(--brand-primary-soft); }

.topbar-nav .topbar-cta {
  padding: 10px 18px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  opacity: 1;
}
.topbar-nav .topbar-cta:hover { background: var(--brand-primary-hover); }

/* ============ 右侧分屏圆点 ============
   吸附移除后，圆点导航和向下箭头是「一屏一屏看」的唯一入口，所以命中区域必须够大。
   视觉直径（10px）与圆点视觉间距（14px，圆心间距 24px）是设计决定，一律不动，
   只用一层完全透明的 ::before 把可点击区域撑到 28×24px（≥ 指针目标 24×24 的下限）。 */
.dotnav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dotnav button {
  /* 激活态的放大倍数抽成变量：下面 ::before 要按它反向缩回，两处必须同源 */
  --dot-active-scale: 1.35;
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-primary-light);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

/* 透明命中区，实测 28×24px。
   inset 的基准是按钮的 padding box（10px 边框盒减去 1px 边框 = 8px），所以 -8px/-10px
   撑出来的是 8+16=24 高、8+20=28 宽，相对可见圆点正好是竖向 ±7px、横向 ±9px。
   竖向只能到 ±7px —— 圆心间距 24px、圆点自身 10px，两侧各 7px 刚好填满 14px 视觉间距，
   相邻热区上下相切（前一颗的 bottom = 后一颗的 top）而绝不重叠；再多一点就会点错屏。
   刻意不加 border-radius：命中区是看不见的，圆角只会白白削掉四个角上的可点面积。 */
.dotnav button::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  /* 跟着按钮的 transform 一起过渡，保证放大动画期间热区也不会越界 */
  transition: transform 0.25s ease;
}

.dotnav button.is-active { background: currentColor; transform: scale(var(--dot-active-scale)); }

/* 激活态按钮被 scale 放大，会连带放大 ::before 的命中区（24 → 32.4px，超过 24px 圆心间距
   就会压到相邻圆点的热区上）。这里按同一个变量反向缩回，父子两层相乘正好回到 1.0，
   于是不论哪一颗处于激活态，三颗的热区尺寸都稳定是 28×24px。 */
.dotnav button.is-active::before { transform: scale(calc(1 / var(--dot-active-scale))); }

.dotnav.on-light button { color: var(--brand-primary); }

/* ============ 分屏骨架 ============ */
/* 不设 scroll-snap-align：见上方 html 规则里的实测说明。每屏仍是满视口高，
   自然滚动本身就是「一屏一屏」的观感，但用户可以停在任意位置。 */
.screen {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px 0 84px;
  overflow: hidden;
}

.screen-inner { width: var(--shell); margin: 0 auto; }

.screen[data-theme="dark"] {
  color: var(--on-dark);
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(var(--brand-primary-rgb), 0.42), transparent 62%),
    radial-gradient(900px 560px at -8% 108%, rgba(var(--brand-primary-deep-rgb), 0.5), transparent 60%),
    linear-gradient(168deg, var(--brand-ink-900) 0%, var(--brand-ink-950) 72%);
}

/* 深色屏上的极淡工程网格，克制不抢戏 */
.screen[data-theme="dark"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.screen[data-theme="light"] {
  background:
    radial-gradient(900px 460px at 88% -6%, rgba(var(--brand-primary-rgb), 0.06), transparent 60%),
    var(--bg);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand-primary-pale);
}
.screen[data-theme="light"] .eyebrow { color: var(--brand-primary); }

.section-lead {
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
  color: var(--on-dark-soft);
}
.screen[data-theme="light"] .section-lead { color: var(--ink-soft); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(var(--brand-primary-deep-rgb), 0.45);
}
.btn-primary:hover { background: var(--brand-primary-hover); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--on-dark);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.62); background: rgba(255, 255, 255, 0.07); }

/* ============ 第 1 屏 · 主视觉 ============ */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 70px);
}

.hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.22;
}

.hero-lead {
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.82;
  color: var(--on-dark-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts li { display: flex; align-items: baseline; gap: 9px; }
.hero-facts b { font-size: 26px; font-weight: 700; color: var(--brand-accent-light); }
.hero-facts span { font-size: 13px; color: var(--on-dark-muted); }

.hero-visual { margin: 0; }

.hero-frame {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.hero-shot { display: grid; gap: 7px; }

/* height:auto 必须显式写出：<img> 上的 height 属性是表现性提示，会盖过 aspect-ratio */
/* 25/11 = 图片真实比例 1500×660；配合 contain，任何视口下都不会裁掉图纸内容 */
.hero-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 11;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-md);
}

/* 编号排在图外：断面表的最左/最右栏紧贴图边，压在图上会盖掉尺寸标注 */
.hero-shot figcaption {
  padding-left: 2px;
  color: var(--on-dark-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-visual-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--on-dark-muted);
  text-align: center;
}

/* ============ 向下滚动提示 ============ */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on-dark-muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.scroll-cue:hover { color: var(--on-dark); }
.scroll-cue-light { color: var(--muted); }
.scroll-cue-light:hover { color: var(--brand-primary); }

.scroll-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue-bob 2.2s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ============ 第 2 屏 · 能力展示 ============ */
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.25;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.ability-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 22, 26, 0.04), 0 10px 26px rgba(22, 22, 26, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ability-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary-line);
  box-shadow: 0 18px 40px rgba(var(--brand-primary-deep-rgb), 0.16);
}

.ability-shot { background: var(--brand-primary-soft); }

.ability-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.ability-text { padding: 15px 17px 17px; }

.ability-index {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-primary);
}

.ability-text h3 { margin-bottom: 6px; font-size: 17px; }

.ability-text p {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--muted);
}

.ability-foot {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: 13px;
  color: var(--muted);
}

/* ============ 第 3 屏 · 注册引导 ============ */
.start-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.start-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.2;
}

.start-notes { display: grid; gap: 14px; }

.start-notes li {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.start-notes h3 {
  margin-bottom: 7px;
  font-size: 16px;
  color: var(--on-dark);
}

.start-notes p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--on-dark-soft);
}

.start-notes p a {
  color: var(--on-dark);
  border-bottom: 1px solid var(--brand-primary-line);
  transition: border-color 0.2s ease;
}
.start-notes p a:hover { border-bottom-color: var(--on-dark); }

.wechat-slot {
  width: var(--shell);
  margin: 28px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.wechat-copy h3 {
  margin-bottom: 7px;
  font-size: 16px;
  color: var(--on-dark);
}

.wechat-copy p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--on-dark-soft);
}

.wechat-id { margin-top: 6px; color: var(--on-dark); }

.wechat-qr {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}

/* 白底与 padding 不是装饰：本屏是深色主题，二维码四周的静区（quiet zone）被深色
   背景吃掉后识别率会明显下降。原图自带的静区约 3 个模块，低于规范的 4 个，
   这 12px 正是把它补齐——所以别把 padding 调小，也别把白底换成半透明。 */
.wechat-qr img {
  display: block;
  width: 200px;
  height: 200px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
}

.wechat-qr figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.site-foot {
  position: relative;
  width: var(--shell);
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }

.foot-links a {
  color: var(--brand-primary-pale);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.foot-links a:hover { color: var(--on-dark); border-bottom-color: currentColor; }

.foot-note { font-size: 12.5px; color: var(--on-dark-muted); }

/* ============ 3-2-1 开场倒计时遮罩 ============
   时间预算（全程 2.45s，硬性要求 ≤2.5s）：
     3 → 0.00–0.55s   2 → 0.55–1.10s   1 → 1.10–1.65s
     品牌露出 1.65–2.15s   遮罩淡出 2.15–2.45s
   基线是 display:none：遮罩默认不存在，只由 landing.js 加 .is-on 打开。
   .is-on 上的 intro-veil 动画自带 forwards，是不依赖 JS 的第二道兜底：
   到 2.45s 一定 opacity:0 + visibility:hidden + pointer-events:none，
   哪怕 JS 崩在中途，页面也会自己交还给用户。 */
.intro { display: none; }

.intro.is-on {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 400;
  place-items: center;
  background:
    radial-gradient(900px 620px at 50% 42%, rgba(var(--brand-primary-rgb), 0.5), transparent 66%),
    linear-gradient(168deg, var(--brand-ink-900) 0%, var(--brand-ink-950) 76%);
  color: var(--on-dark);
  animation: intro-veil 2.45s linear forwards;
}

.intro-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 82vw);
  height: min(300px, 46vh);
}

/* 三个数字叠在同一处，各自按 delay 依次显隐 */
.intro-count { position: absolute; inset: 0; display: grid; place-items: center; }

.intro-digit {
  position: absolute;
  font-size: clamp(96px, 22vw, 190px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--on-dark);
  text-shadow: 0 18px 60px rgba(var(--brand-primary-deep-rgb), 0.75);
  opacity: 0;
  animation: intro-digit 0.55s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}
.intro-digit:nth-child(1) { animation-delay: 0s; }
.intro-digit:nth-child(2) { animation-delay: 0.55s; }
.intro-digit:nth-child(3) { animation-delay: 1.1s; }

.intro-brand {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 6px;
  opacity: 0;
  animation: intro-brand 0.5s ease both;
  animation-delay: 1.65s;
}

.intro-brand img { width: 44px; height: 44px; border-radius: 11px; }
.intro-brand strong { font-size: clamp(22px, 4vw, 30px); letter-spacing: -0.01em; }

.intro-brand span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brand-primary-pale);
}

.intro-skip {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  min-width: 88px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.intro-skip:hover { border-color: rgba(255, 255, 255, 0.62); background: rgba(255, 255, 255, 0.16); }

/* 已登录入口：只保留倒数结束后的品牌封面，并延长停留。 */
.intro.is-brand-only { animation: intro-brand-veil 2.15s linear forwards; }
.intro.is-brand-only .intro-count,
.intro.is-brand-only .intro-skip { display:none; }
.intro.is-brand-only .intro-brand { opacity:0;animation:intro-brand-only 2.15s ease both;animation-delay:0s; }
.intro.is-brand-only .intro-brand img { width:58px;height:58px;border-radius:15px;box-shadow:0 18px 55px rgba(0,0,0,.36); }
@keyframes intro-brand-only { 0%{opacity:0;transform:translateY(14px) scale(.94)} 14%,82%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-5px) scale(1.02)} }
@keyframes intro-brand-veil { 0%,86%{opacity:1;visibility:visible} 100%{opacity:0;visibility:hidden;pointer-events:none} }

@keyframes intro-digit {
  0% { opacity: 0; transform: scale(1.42); }
  22% { opacity: 1; transform: scale(1); }
  74% { opacity: 1; transform: scale(0.99); }
  100% { opacity: 0; transform: scale(0.9); }
}

@keyframes intro-brand {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}

/* 兜底动画：87.8% ≈ 2.15s 开始淡出，到 2.45s 彻底隐身并放开指针事件 */
@keyframes intro-veil {
  0%, 87.8% { opacity: 1; visibility: visible; }
  99.9% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* 倒计时期间锁住背景滚动，结束后由 landing.js 摘掉这个 class */
html.intro-lock, html.intro-lock body { overflow: hidden; }

/* ============ 入场动效（可被 reduced-motion 关闭） ============
   整套「先隐藏、滚到再淡入」都关在 .js-reveal 之下（由 landing-boot.js 挂到 <html>）。
   没有 .js-reveal 时下面的 opacity:0 一条都不生效，页面内容无条件可见 ——
   JS 被禁用、landing-boot.js 没加载、或 landing.js 坏掉被看门狗判定失效时，
   访客看到的都是完整页面，而不是「有内容但全是透明」的空壳。 */
.js-reveal .screen .hero-copy,
.js-reveal .screen .hero-visual,
.js-reveal .screen .section-head,
.js-reveal .screen .ability-card,
.js-reveal .screen .start-copy,
.js-reveal .screen .start-notes li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal .screen.is-visible .hero-copy,
.js-reveal .screen.is-visible .hero-visual,
.js-reveal .screen.is-visible .section-head,
.js-reveal .screen.is-visible .ability-card,
.js-reveal .screen.is-visible .start-copy,
.js-reveal .screen.is-visible .start-notes li {
  opacity: 1;
  transform: none;
}

.js-reveal .screen.is-visible .hero-visual { transition-delay: 0.1s; }
.js-reveal .screen.is-visible .ability-card:nth-child(3n + 2) { transition-delay: 0.06s; }
.js-reveal .screen.is-visible .ability-card:nth-child(3n) { transition-delay: 0.12s; }
.js-reveal .screen.is-visible .start-notes li:nth-child(2) { transition-delay: 0.08s; }
.js-reveal .screen.is-visible .start-notes li:nth-child(3) { transition-delay: 0.16s; }

/* ============ 响应式 ============ */

/* 桌面但屏高有限（常见 1440×900 笔记本）：能力卡改成「图左文右」的紧凑排布，
   让九张卡片仍然停留在一屏之内；屏幅够高时自动恢复上面的大图卡片。 */
@media (min-width: 1025px) and (max-height: 940px) {
  .screen { padding: 92px 0 76px; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: clamp(24px, 2.5vw, 32px); }
  .section-lead { font-size: 15px; line-height: 1.7; }

  .ability-card { flex-direction: row; }
  .ability-shot { flex: 0 0 39%; }
  .ability-shot img { height: 100%; min-height: 112px; aspect-ratio: auto; }
  .ability-text { flex: 1; padding: 12px 14px; }
  .ability-index { margin-bottom: 3px; }
  .ability-text h3 { margin-bottom: 4px; font-size: 15.5px; }
  .ability-text p { font-size: 12.5px; line-height: 1.58; }
  .ability-foot { margin-top: 16px; font-size: 12.5px; }

  .hero-facts { margin-top: 30px; padding-top: 20px; }
}

/* 第 3 屏：法务链接固定贴在屏底，正文块在剩余空间里居中 */
@media (min-width: 721px) {
  .screen-start .site-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    margin: 0 auto;
  }
}

@media (max-width: 1180px) {
  .ability-text h3 { font-size: 16px; }
  .ability-text p { font-size: 13px; }
}

/* 极矮桌面视口（1440×620 这类）：在上面 max-height:940px 那档紧凑布局之上再收一档，
   让第 2 屏的九张卡片连同标题、脚注一起收进一屏。
   只压屏内边距、卡片内边距、行高、图片最小高与字号，
   不删任何一张卡片、不隐藏任何正文；卡片正文字号保持在 12px 这条可读下限上。

   为什么这一档写在 max-width:1180px 之后：那一档为窄屏把 h3/p 字号「调大」回 16/13px，
   与本档同权重，靠后者胜出。放在它前面时，1025～1180px 宽下卡片会被重新撑高，
   第 2 屏内容高度实测回弹到 614.8px（620px 视口只剩 5px 余量）；
   放在后面则各宽度统一收到 ~565px，余量充足。 */
@media (min-width: 1025px) and (max-height: 750px) {
  .screen { padding: 78px 0 44px; }

  .eyebrow { margin-bottom: 8px; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { margin-bottom: 8px; font-size: clamp(20px, 1.9vw, 26px); }
  .section-lead { font-size: 13px; line-height: 1.55; }

  .ability-grid { gap: 10px; }
  .ability-shot { flex: 0 0 37%; }
  .ability-shot img { min-height: 76px; }
  .ability-text { padding: 9px 12px; }
  .ability-index { margin-bottom: 1px; line-height: 1.3; }
  .ability-text h3 { margin-bottom: 2px; font-size: 14.5px; line-height: 1.3; }
  .ability-text p { font-size: 12px; line-height: 1.45; }
  .ability-foot { margin-top: 8px; font-size: 12px; }
}

@media (max-width: 1024px) {
  .hero-inner,
  .start-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-lead { max-width: none; }
  .hero-visual { margin-top: 8px; }
  .ability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dotnav { display: none; }
  .screen { padding: 96px 0 80px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }

  body { font-size: 15px; }

  /* 手机端顶栏必须接近实色：小屏没有「一屏一内容」的余裕，滚动到第 2 屏时
     卡片正文会整段压在固定顶栏下面，62% / 86% 的半透明会让上下两层字互相干扰。
     做法是把不透明度提到 0.96 / 0.97 并加厚毛玻璃 —— 底下的字被彻底糊掉，
     但仍留一丝透光与品牌墨色/品牌白，不是一条突兀的实色块；
     再补一道极淡投影，让顶栏和下方内容有明确的层次而不是硬切一刀。 */
  .topbar {
    height: 60px;
    gap: 10px;
    background: rgba(15, 12, 30, 0.96);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 6px 18px rgba(15, 12, 30, 0.26);
  }

  .topbar.on-light {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 18px rgba(22, 22, 26, 0.1);
  }
  .topbar-brand img { width: 30px; height: 30px; }
  .topbar-brand small { display: none; }
  .topbar-nav { gap: 2px; font-size: 13px; }
  .topbar-nav a { padding: 8px 10px; }
  /* 小屏只让「套餐与价格」退场。Readme 必须留着：手机上顶栏是它唯一的常驻入口，
     实测 390px 下「Readme / 登录 / 免费注册」与品牌位并排仍有余量。 */
  .topbar-nav a[href*="pricing"] { display: none; }
  .topbar-nav .topbar-readme { padding: 8px 11px; }
  .topbar-nav .topbar-cta { padding: 9px 14px; }

  .screen { min-height: auto; padding: 88px 0 64px; }
  .screen-start { padding-bottom: 40px; }

  .hero-copy h1 { font-size: clamp(27px, 8vw, 36px); }
  .hero-actions { margin-top: 26px; }
  .btn { width: 100%; min-height: 50px; padding: 0 20px; }

  /* 小屏收成两列：「0 元注册即可使用」在 390px 三列里放不下，会断成
     「0 元注册即可使」+「用」。两列后每格约 167px，整条文案回到一行。 */
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-top: 30px;
    padding-top: 22px;
  }
  .hero-facts b { font-size: 22px; }

  .hero-frame { padding: 10px; gap: 10px; }

  .scroll-cue { position: static; transform: none; margin: 30px auto 0; }
  .screen-ability .scroll-cue { margin-top: 24px; }

  .ability-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ability-card { flex-direction: row; align-items: stretch; }
  .ability-shot { flex: 0 0 40%; }
  .ability-shot img { height: 100%; aspect-ratio: auto; min-height: 118px; }
  .ability-text { flex: 1; padding: 13px 14px; }
  .ability-text h3 { font-size: 15.5px; }
  .ability-text p { font-size: 12.5px; line-height: 1.6; }

  .start-notes li { padding: 16px 18px; }
  .wechat-slot { flex-direction: column; align-items: flex-start; }
  .site-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .ability-card { flex-direction: column; }
  .ability-shot { flex: none; }
  .ability-shot img { aspect-ratio: 16 / 8.6; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* landing.js 在 reduced-motion 下本来就不会打开遮罩；这里再用 CSS 兜一道，
     确保即使将来有人误加了 .is-on，倒计时也绝不出现。 */
  .intro, .intro.is-on { display: none !important; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal .screen .hero-copy,
  .js-reveal .screen .hero-visual,
  .js-reveal .screen .section-head,
  .js-reveal .screen .ability-card,
  .js-reveal .screen .start-copy,
  .js-reveal .screen .start-notes li {
    opacity: 1;
    transform: none;
  }
}
