/* 画墨思官网 ·「墨与星」
   颜色只用下面这几个角色变量：墨黑是主色，蓝紫星光只点在「要你看一眼」的地方。
   深色模式只换变量，不逐个元素改。「夜」区块（首屏、销售脑、收尾）在两种模式下都是墨底。 */

:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #f1f1f3;
  --ink: #16161a;
  --muted: #6b6b75;
  --border: #e6e6ea;
  --border-strong: #d4d4da;
  --star: #4b3cfa;
  --star-soft: #eeedff;
  --star-ink: #3a2ce0;
  --ok: #2fa35a;
  --primary: #16161a;
  --primary-hover: #2c2c33;
  --on-primary: #ffffff;

  --night: #0f0f12;
  --night-2: #1a1a1f;
  --on-night: #f2f2f4;
  --on-night-muted: #a5a5b0;
  --night-line: rgba(255, 255, 255, .12);
  --night-star: #8c82ff;

  --focus: 0 0 0 3px rgba(75, 60, 250, .35);

  /* 字号层级 */
  --fs-display: clamp(44px, 7.4vw, 92px);
  --fs-display-sm: clamp(36px, 5.6vw, 68px);
  --fs-h2: clamp(30px, 4.4vw, 52px);
  --fs-h3: clamp(21px, 2.2vw, 26px);
  --fs-lead: clamp(16px, 1.5vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 12px;

  /* 圆角梯度：小 / 中 / 大 / 胶囊 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* 阴影梯度：只有截图和弹出物用 */
  --shadow-sm: 0 1px 2px rgba(22, 22, 26, .06), 0 2px 8px rgba(22, 22, 26, .04);
  --shadow-lg: 0 30px 60px -20px rgba(22, 22, 26, .28), 0 12px 24px -12px rgba(22, 22, 26, .18);

  /* 控件高度：按钮、开关一起联动 */
  --h-sm: 36px;
  --h-md: 44px;
  --h-lg: 54px;

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --topbar: 64px;
  color-scheme: light;
}

/* 深色：两处一样的值，一处跟系统，一处跟手动切换 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f12; --surface: #18181d; --surface-2: #202026; --ink: #f2f2f4; --muted: #9a9aa5;
    --border: #2a2a31; --border-strong: #3a3a43; --star: #8c82ff; --star-soft: rgba(140, 130, 255, .14); --star-ink: #b3abff;
    --primary: #f2f2f4; --primary-hover: #dcdce2; --on-primary: #16161a;
    --night: #08080a; --night-2: #15151a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
    --focus: 0 0 0 3px rgba(140, 130, 255, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f12; --surface: #18181d; --surface-2: #202026; --ink: #f2f2f4; --muted: #9a9aa5;
  --border: #2a2a31; --border-strong: #3a3a43; --star: #8c82ff; --star-soft: rgba(140, 130, 255, .14); --star-ink: #b3abff;
  --primary: #f2f2f4; --primary-hover: #dcdce2; --on-primary: #16161a;
  --night: #08080a; --night-2: #15151a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
  --focus: 0 0 0 3px rgba(140, 130, 255, .45);
  color-scheme: dark;
}

/* ───────── 基础 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: var(--mono); font-size: .88em; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
kbd { background: var(--surface); border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 0 6px; border-radius: 5px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
::selection { background: var(--star); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* 图标：大小由所在组件管 */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.star { width: 1em; height: 1em; flex: none; fill: var(--star); }

/* ───────── 字号层级 ───────── */
.display { font: 400 var(--fs-display)/1.08 var(--serif); letter-spacing: -.01em; }
.display--sm { font-size: var(--fs-display-sm); }
.h2 { font: 400 var(--fs-h2)/1.18 var(--serif); letter-spacing: -.005em; }
.h3 { font: 400 var(--fs-h3)/1.35 var(--serif); }
.lead { font-size: var(--fs-lead); line-height: 1.75; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-label); letter-spacing: .14em; color: var(--muted); font-weight: 500;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--night { color: var(--on-night-muted); }
.eyebrow--night::before { display: none; }
.eyebrow--night .star { fill: var(--night-star); }
.br-sm { display: none; }
@media (max-width: 560px) { .br-sm { display: inline; } }

/* ───────── 按钮：主要 / 纸面 / 描边 / 幽灵 × 小 / 中 / 大 ───────── */
.btn {
  --h: var(--h-md);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; background: none; color: inherit;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --h: var(--h-sm); padding: 0 14px; font-size: 14px; }
.btn--lg { --h: var(--h-lg); padding: 0 28px; font-size: 16px; }
.btn--icon { width: var(--h-sm); height: var(--h-sm); padding: 0; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); }
/* 夜底上的按钮 */
.btn--paper { background: var(--on-night); color: #16161a; }
.btn--paper:hover { background: #fff; box-shadow: 0 0 0 6px rgba(140, 130, 255, .18); }
.btn--night-outline { border-color: var(--night-line); color: var(--on-night); }
.btn--night-outline:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .24); }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  font-size: 11px; letter-spacing: .04em; background: rgba(140, 130, 255, .16); color: #c9c3ff;
}

/* ───────── 顶栏 ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--border); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; }
.brand__mark--paper { display: none; }
.brand__name { font: 400 20px/1 var(--serif); letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 8px; }
.brand__sub { font: 400 13px/1 var(--sans); color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 15px; color: var(--muted); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; }
.i--moon { display: none; }

/* 深色时换成白墨 logo */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__mark--ink { display: none; }
  :root:not([data-theme="light"]) .brand__mark--paper { display: block; }
  :root:not([data-theme="light"]) .i--sun { display: none; }
  :root:not([data-theme="light"]) .i--moon { display: block; }
}
:root[data-theme="dark"] .brand__mark--ink { display: none; }
:root[data-theme="dark"] .brand__mark--paper { display: block; }
:root[data-theme="dark"] .i--sun { display: none; }
:root[data-theme="dark"] .i--moon { display: block; }

@media (max-width: 860px) {
  .nav {
    position: absolute; top: var(--topbar); left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 16px; color: var(--ink); }
  .nav-toggle { display: inline-flex; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 380px) { .brand__sub { display: none; } }

/* ───────── 夜区块 ───────── */
.night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; overflow: hidden; }

/* ───────── 首屏 ───────── */
.hero { margin-top: calc(var(--topbar) * -1); padding: calc(var(--topbar) + clamp(48px, 9vw, 110px)) 0 clamp(40px, 6vw, 72px); }
.hero__art {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/hero-ink.jpg") right bottom / cover no-repeat;
  opacity: .9;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 60%);
          mask-image: linear-gradient(100deg, transparent 15%, #000 60%);
}
.hero__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(107, 92, 255, .18), transparent 70%); }
.hero__stars i {
  position: absolute; z-index: -1; width: 3px; height: 3px; border-radius: 50%; background: #b9b2ff;
  box-shadow: 0 0 8px 2px rgba(140, 130, 255, .7); animation: twinkle 4s ease-in-out infinite;
}
.hero__stars i:nth-child(1) { top: 14%; left: 58%; animation-delay: -1s; }
.hero__stars i:nth-child(2) { top: 22%; left: 86%; animation-delay: -2.4s; }
.hero__stars i:nth-child(3) { top: 9%; left: 74%; width: 2px; height: 2px; animation-delay: -.5s; }
.hero__stars i:nth-child(4) { top: 40%; left: 94%; width: 2px; height: 2px; animation-delay: -3s; }
.hero__stars i:nth-child(5) { top: 31%; left: 66%; width: 2px; height: 2px; animation-delay: -1.7s; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero .display { color: #fff; }
.hero .lead { color: var(--on-night-muted); max-width: 33em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--fs-small); color: var(--on-night-muted); }
.hero__meta b { color: var(--on-night); font-weight: 500; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* 浏览器示意 */
.browser {
  border-radius: var(--r-md); overflow: hidden;
  background: #1c1c22; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 120px -40px rgba(107, 92, 255, .5);
}
.browser__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #24242b; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a43; }
.browser__url { flex: 1; height: 24px; display: flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: #16161a; font-size: 12px; color: #8a8a96; }
.browser__ext { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 0 0 2px rgba(140, 130, 255, .7); }
.browser__body { display: grid; grid-template-columns: 1fr 260px; height: 520px; }
.browser__page { padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #f3f3f5; }
.ph { background: #e3e3e8; border-radius: 6px; }
.ph--title { height: 16px; width: 40%; }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph--card { height: 64px; background: #fff; border: 1px solid #e6e6ea; }
.ph--chart { height: 140px; background: #fff; border: 1px solid #e6e6ea; padding: 14px; }
.ph--chart svg { width: 100%; height: 100%; }
.ph--chart path { fill: none; stroke: #4b3cfa; stroke-width: 2.4; opacity: .55; vector-effect: non-scaling-stroke; }
.ph--line { height: 10px; }
.ph--short { width: 60%; }
.browser__panel { border-left: 1px solid rgba(0, 0, 0, .15); overflow: hidden; background: #f7f7f8; }
.browser__panel img { width: 100%; }

/* 三个数 */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--night-line);
}
.facts li { display: flex; align-items: flex-start; gap: 16px; padding: 28px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--night-line); }
.facts b { font: 400 clamp(40px, 5vw, 60px)/1 var(--serif); color: #fff; }
.facts li:nth-child(3) b { color: var(--night-star); }
.facts span { font-size: 15px; color: var(--on-night); line-height: 1.5; padding-top: 4px; }
.facts small { font-size: 13px; color: var(--on-night-muted); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; }
}
@media (max-width: 640px) {
  .browser__body { grid-template-columns: 1fr; height: auto; }
  .browser__page { display: none; }
  .browser__panel { border-left: 0; max-height: 520px; }
  .browser__url { font-size: 11px; }
  .facts { grid-template-columns: 1fr; border-top: 0; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-top: 1px solid var(--night-line); }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__art { -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 70%); mask-image: linear-gradient(180deg, #000 0, transparent 70%); background-position: 70% top; background-size: 200% auto; opacity: .7; }
}

/* ───────── 通用区块 ───────── */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 720px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__desc { color: var(--muted); font-size: var(--fs-lead); max-width: 36em; }
.night .section__desc, .night .lead { color: var(--on-night-muted); }

/* ───────── 功能章节 ───────── */
.chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--border);
}
.chapter--flip .chapter__text { order: 2; }
.chapter__text { display: flex; flex-direction: column; gap: 18px; }
.chapter__text > p:not(.chapter__num) { color: var(--muted); }
.chapter__num { display: flex; align-items: center; gap: 14px; font-size: var(--fs-small); color: var(--muted); letter-spacing: .08em; }
.cn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font: 400 22px/1 var(--serif); color: var(--ink); border: 1px solid var(--border-strong); background: var(--surface);
}
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--star-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4c.4 3.6 3.4 6.6 7 7-3.6.4-6.6 3.4-7 7-.4-3.6-3.4-6.6-7-7 3.6-.4 6.6-3.4 7-7Z' fill='%236b5cff'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks b { color: var(--ink); font-weight: 600; margin-right: 8px; }

.chapter__media { display: flex; justify-content: center; position: relative; }
.chapter__media::before {
  content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--star-soft), transparent);
}
.device {
  margin: 0; width: min(300px, 78vw); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg);
}
.device img { width: 100%; }
.chapter__media--pair { gap: 20px; align-items: flex-start; }
.chapter__media--pair .device { width: min(260px, 44vw); }
.device--offset { margin-top: 56px; }

@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter--flip .chapter__text { order: 0; }
}
@media (max-width: 480px) {
  .chapter__media--pair { gap: 12px; }
  .device--offset { margin-top: 32px; }
}

/* 文件名 */
.files {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(24px, 4vw, 40px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
}
.files__text { display: flex; flex-direction: column; gap: 14px; }
.files__text > p:not(.eyebrow) { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-small); color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.k { width: 14px; height: 4px; border-radius: 2px; }
.k--store { background: var(--ink); }
.k--what { background: var(--star); }
.k--date { background: var(--ok); }
.finder { border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg); overflow: hidden; min-width: 0; }
.finder__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); background: var(--surface); }
.finder__bar .browser__dots i { background: var(--border-strong); }
.finder__list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 13.5px; }
.finder__list li + li { border-top: 1px solid var(--border); }
.fn { font-family: var(--mono); font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; line-height: 1.6; }
.fn em { font-style: normal; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fn .s { color: var(--ink); text-decoration-color: var(--ink); }
.fn .w { color: var(--star-ink); text-decoration-color: var(--star); }
.fn .d { color: var(--ok); text-decoration-color: var(--ok); }
.ft { flex: none; display: inline-grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; font: 600 9.5px/1 var(--sans); letter-spacing: .04em; color: #fff; }
.ft--zip { background: #6b6b75; }
.ft--xls { background: #2f8f57; }
.ft--md { background: var(--star); }
@media (max-width: 860px) { .files { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .files { padding: 22px 16px; } .finder__list li { padding: 12px; } }

/* ───────── 为什么快 ───────── */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lane { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.lane--old { border: 1px dashed var(--border-strong); }
.lane--new { background: var(--night); color: var(--on-night); box-shadow: 0 0 0 1px var(--night-line), 0 30px 60px -30px rgba(75, 60, 250, .5); }
.lane__label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); letter-spacing: .06em; color: var(--muted); }
.lane--new .lane__label { color: var(--on-night); }
.lane--new .star { fill: var(--night-star); }
.lane__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; counter-reset: f; }
.lane__flow li { display: inline-flex; align-items: center; gap: 10px; }
.lane__flow li::after { content: "→"; color: var(--border-strong); }
.lane__flow li:last-child::after { display: none; }
.lane--old .lane__flow li { font-size: 15px; color: var(--muted); padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface-2); }
.lane--new .lane__flow li { font: 400 clamp(20px, 2.4vw, 28px)/1.2 var(--serif); }
.lane--new .lane__flow li::after { color: var(--night-star); }
.lane__note { font-size: var(--fs-small); color: var(--muted); margin-top: auto; }
.lane--new .lane__note { color: var(--on-night-muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pillars li { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.pillar__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--star-soft); color: var(--star); font-size: 20px; }
.pillars h4 { font: 400 26px/1.2 var(--serif); }
.pillars p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .lanes, .pillars { grid-template-columns: 1fr; } }

/* ───────── 步骤 ───────── */
.steps { display: flex; flex-direction: column; position: relative; }
.step {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 420px); gap: 0 clamp(20px, 4vw, 56px); align-items: center;
  padding: 28px 0; position: relative;
}
.step + .step { border-top: 1px solid var(--border); }
.step__num {
  align-self: start; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 400 26px/1 var(--serif); background: var(--surface); border: 1px solid var(--border-strong);
}
.step:last-child .step__num { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.step__text { display: flex; flex-direction: column; gap: 8px; }
.step__phase { font-size: var(--fs-label); letter-spacing: .14em; color: var(--star); }
.step h3 { font: 400 var(--fs-h3)/1.35 var(--serif); }
.step__text > p:last-child { color: var(--muted); font-size: 15px; }
.copy { cursor: pointer; }
.copy:hover { border-color: var(--star); color: var(--star-ink); }
.step__art {
  display: grid; place-items: center; min-height: 150px; padding: 24px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.step__art--shot { padding: 0; height: 220px; place-items: start center; background: var(--surface-2); }
.step__art--shot img { width: 230px; margin-top: 24px; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
@media (max-width: 860px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 18px; }
  .step__art { grid-column: 2; }
  .step__num { width: 46px; height: 46px; font-size: 22px; }
}
@media (max-width: 480px) {
  .step { grid-template-columns: 1fr; }
  .step__art { grid-column: 1; }
  .step__num { width: 42px; height: 42px; font-size: 20px; }
}

/* 步骤里的小示意图 */
.mock-file { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 340px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mock-file b { display: block; font: 500 13px/1.4 var(--mono); overflow-wrap: anywhere; }
.mock-file small { font-size: 12px; color: var(--muted); }
.mock-file__ok { margin-left: auto; color: var(--ok); font-size: 20px; }
.mock-tree { width: 100%; max-width: 300px; font: 13px/1 var(--mono); display: flex; flex-direction: column; gap: 4px; }
.mock-tree p { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: var(--r-sm); }
.mock-tree p:first-child { background: var(--star-soft); color: var(--star-ink); font-weight: 600; }
.mock-tree .in { padding-left: 34px; color: var(--muted); }
.mock-tree .hl { color: var(--ink); background: var(--surface-2); }
.mock-chrome { width: 100%; max-width: 360px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg); overflow: hidden; position: relative; }
.mock-chrome__url { font: 12.5px/1 var(--mono); padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.mock-chrome__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px; font-size: 15px; }
.mock-switch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; border-radius: var(--r-pill); box-shadow: 0 0 0 2px var(--star); }
.mock-switch small { font-size: 12.5px; color: var(--ink); }
.mock-switch i { width: 34px; height: 20px; border-radius: 10px; background: var(--star); position: relative; }
.mock-switch i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mock-chrome__btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 14px 24px; }
.mock-chrome__btns span { font-size: 12.5px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); color: var(--muted); }
.mock-chrome__btns .on { color: var(--star-ink); border-color: var(--star); background: var(--star-soft); font-weight: 600; }
.cursor { position: absolute; left: 150px; top: 46px; width: 22px; height: 22px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }
.mock-activate { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 280px; }
.mock-activate img { width: 44px; height: 44px; border-radius: 11px; }
.mock-input { width: 100%; text-align: center; padding: 11px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); font: 13px/1 var(--mono); letter-spacing: .08em; color: var(--muted); background: var(--bg); }
.mock-btn { width: 100%; text-align: center; padding: 11px; border-radius: var(--r-sm); background: var(--primary); color: var(--on-primary); font-size: 14px; }
.mock-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mock-tabs span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); font-size: 14px; box-shadow: var(--shadow-sm); }
.mock-tabs i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }

/* ───────── 学员资料 ───────── */
.students { padding: clamp(80px, 11vw, 140px) 0; }
.students::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 50% at 18% 22%, rgba(107, 92, 255, .16), transparent 70%);
}
.students__head { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); }
.students__art img {
  width: 100%; max-width: 380px; margin: 0 auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
          mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.students__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.students__copy .h2 { font-size: var(--fs-display-sm); color: #fff; }
.students__steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 8px; }
.students__steps li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--night-line); background: var(--night-2); }
.students__steps li::before { content: counter(s); font: 400 20px/1 var(--serif); color: var(--night-star); margin-bottom: 4px; }
.students__steps b { font-weight: 500; font-size: 15px; }
.students__steps span { font-size: 13px; color: var(--on-night-muted); line-height: 1.6; }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pack {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line);
  transition: border-color .2s, transform .2s;
}
.pack:hover { border-color: rgba(140, 130, 255, .45); transform: translateY(-2px); }
.pack__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pack__tag { font-size: 12px; letter-spacing: .08em; color: var(--on-night-muted); }
.pack__lock { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; background: rgba(140, 130, 255, .16); color: #c9c3ff; }
.pack__lock .i { font-size: 13px; }
.pack__name { font: 400 26px/1.25 var(--serif); color: #fff; }
.pack__desc { font-size: 14.5px; color: var(--on-night-muted); line-height: 1.75; }
.pack__try { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px dashed var(--night-line); }
.pack__try-label { font-size: 12px; color: var(--on-night-muted); letter-spacing: .06em; }
.pack__try-q { font-size: 13.5px; color: var(--on-night); }
.pack__actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.pack__size { font-size: 13px; color: var(--on-night-muted); }
.pack__link { font-size: 13.5px; color: #c9c3ff; text-decoration: underline; text-underline-offset: 3px; }
.pack__link:hover { color: #fff; }
@media (max-width: 960px) {
  .packs { grid-template-columns: 1fr; }
  .students__head { grid-template-columns: 1fr; }
  .students__art img { max-width: 240px; }
}
@media (max-width: 640px) { .students__steps { grid-template-columns: 1fr; } }

/* 输入密码弹窗 */
.lock { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: calc(100% - 32px); }
.lock::backdrop { background: rgba(8, 8, 10, .6); backdrop-filter: blur(4px); }
.lock__card { width: min(400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); text-align: center; }
.lock__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--star-soft); color: var(--star); font-size: 22px; }
.lock__title { font: 400 22px/1.3 var(--serif); }
.lock__desc { font-size: 14px; color: var(--muted); }
.lock__field { width: 100%; }
.lock__field input {
  width: 100%; height: var(--h-md); padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--ink); font: 15px var(--sans); text-align: center; letter-spacing: .06em;
}
.lock__field input:focus { outline: none; border-color: var(--star); box-shadow: var(--focus); }
.lock__field input[aria-invalid="true"] { border-color: #e5484d; }
.lock__error { font-size: 13px; color: #e5484d; }
.lock__actions { display: flex; gap: 10px; width: 100%; margin-top: 4px; }
.lock__actions .btn { flex: 1; }
.btn:disabled { opacity: .55; cursor: progress; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── 常见问题 ───────── */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.section__head--side { position: sticky; top: calc(var(--topbar) + 32px); margin: 0; }
.faq__list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
  transition: transform .2s, background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--surface-2); }
.faq summary:hover { color: var(--star-ink); }
.faq details > div { padding: 0 44px 24px 0; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.faq details ol { list-style: decimal; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.faq details b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .section__head--side { position: static; }
  .faq details > div { padding-right: 0; }
  .faq code { white-space: normal; }
}

/* ───────── 收尾 ───────── */
.cta { padding: clamp(88px, 12vw, 160px) 0; text-align: center; }
.hero__art--cta { -webkit-mask-image: linear-gradient(0deg, #000, transparent 85%); mask-image: linear-gradient(0deg, #000, transparent 85%); background-position: center bottom; opacity: .6; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta .display { color: #fff; }
.cta__sha { font-size: 12px; color: var(--on-night-muted); max-width: 100%; }
.cta__sha code { background: transparent; border: 0; color: var(--on-night-muted); white-space: normal; overflow-wrap: anywhere; padding: 0; }

/* ───────── 页脚 ───────── */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer .brand__mark { width: 28px; height: 28px; }
.footer .brand__name { font-size: 17px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--fs-small); color: var(--muted); }
.footer__nav a:hover { color: var(--ink); }
.footer__fine { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.footer__fine [hidden] { display: none; }
@media (max-width: 860px) { .footer__fine { align-items: flex-start; } }
@media (max-width: 860px) { .footer__fine { margin-left: 0; width: 100%; } }

/* ───────── 轻提示 ───────── */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 16px);
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--primary); color: var(--on-primary); font-size: 14px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── 出场动画（没 JS 或要求少动效时不藏内容）───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.still .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.still .hero__stars i { animation: none; opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__stars i { animation: none; }
}

/* 顶栏盖在首屏墨底上时：透明、白字、白墨 logo */
.topbar.is-on-night { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; color: var(--on-night); }
.topbar.is-on-night .brand__mark--ink { display: none; }
.topbar.is-on-night .brand__mark--paper { display: block; }
.topbar.is-on-night .brand__sub { color: var(--on-night-muted); }
.topbar.is-on-night .btn--ghost { color: var(--on-night); }
.topbar.is-on-night .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.topbar.is-on-night .btn--primary { background: var(--on-night); color: #16161a; }
@media (min-width: 861px) {
  .topbar.is-on-night .nav a { color: var(--on-night-muted); }
  .topbar.is-on-night .nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
}
