/* Velmo 落地页。颜色取自 logo/使用规范.md 与产品 src/styles.css（深色主题同产品：墨蓝底 #1D2433、浅墨水蓝 #8AA3F0） */
:root {
  --bg: #f4f2ec;
  --bg-2: #ebe8df;
  --card: #fbfaf7;
  --text: #1d2433;
  --text-2: #4a5263;
  --text-3: #7d8494;
  --accent: #4c6edb;
  --accent-soft: rgba(76, 110, 219, 0.1);
  --line: rgba(29, 36, 51, 0.1);
  --fill: rgba(29, 36, 51, 0.06);
  --btn-bg: #1d2433;
  --btn-fg: #f4f2ec;
  --nav-bg: rgba(244, 242, 236, 0.72);
  --ink-bg: #1d2433;
  --ink-text: #e8e6e0;
  --ink-text-2: #959bab;
  --ink-line: rgba(232, 230, 224, 0.1);
  --disk-bg: #1d2433;
  --kbd-bg: #fbfaf7;
  --shadow: 0 1px 2px rgba(29, 36, 51, 0.06), 0 12px 32px -8px rgba(29, 36, 51, 0.18), 0 40px 80px -24px rgba(29, 36, 51, 0.22);
  --win-edge: rgba(29, 36, 51, 0.18);
  /* 访达 / 快速查看（macOS 浅色） */
  --f-bg: #ffffff; --f-bar: #f6f5f3; --f-side: #f0eeea; --f-line: #e6e4df; --f-zebra: #f7f6f3; --f-text: #2b3140; --f-dim: #8b8f98; --f-ico: #ffffff;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1288px;
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1d2433;
  --bg-2: #192030;
  --card: #242b3b;
  --text: #e8e6e0;
  --text-2: #b4b8c3;
  --text-3: #858b9a;
  --accent: #8aa3f0;
  --accent-soft: rgba(138, 163, 240, 0.12);
  --line: rgba(232, 230, 224, 0.1);
  --fill: rgba(232, 230, 224, 0.07);
  --btn-bg: #e8e6e0;
  --btn-fg: #1d2433;
  --nav-bg: rgba(29, 36, 51, 0.72);
  --ink-bg: #141a26;
  --disk-bg: #141a26;
  --kbd-bg: #2a3245;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 12px 32px -8px rgba(0, 0, 0, 0.45), 0 40px 80px -24px rgba(0, 0, 0, 0.55);
  --win-edge: rgba(232, 230, 224, 0.14);
  --f-bg: #1f1f21; --f-bar: #2a2a2c; --f-side: #262628; --f-line: #3a3a3c; --f-zebra: #252527; --f-text: #e6e6e8; --f-dim: #98989d; --f-ico: #3a3a3c;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html.i18n-pending body { visibility: hidden; }
body { background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background 0.3s, color 0.3s; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font: 0.88em var(--mono); background: var(--fill); padding: 0.1em 0.35em; border-radius: 5px; }
kbd {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 0.4em; margin: 0 0.08em;
  font: 600 0.78em/1 var(--font); color: var(--text); background: var(--kbd-bg);
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; vertical-align: 0.1em;
}
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.35; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -0.03em; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }

/* ---------- 顶栏 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav.nav-hidden { transform: translateY(-100%); }
.nav-in { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { justify-self: start; display: flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.links { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); }
.links a { font-size: 14px; color: var(--text-2); padding: 6px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.links a:hover { color: var(--text); background: var(--card); }
.tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn { height: 36px; min-width: 36px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: var(--text-2); font-size: 13px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--fill); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }
.tools .btn-sm { margin-left: 8px; }
.lang { position: relative; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; min-width: 150px; padding: 6px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.18s, transform 0.18s var(--ease); }
.lang.open ul { opacity: 1; transform: none; pointer-events: auto; }
.lang li button { width: 100%; text-align: left; padding: 7px 10px; border-radius: 8px; font-size: 14px; display: flex; justify-content: space-between; }
.lang li button:hover { background: var(--fill); }
.lang li button.on::after { content: "✓"; color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: 0 6px 16px -6px rgba(29, 36, 51, 0.5);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; margin-top: -2px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(29, 36, 51, 0.55); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 18px; }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- 窗口外框（Tauri overlay 标题栏，红绿灯在 16,20） ---------- */
.win { position: relative; container-type: inline-size; border-radius: 12px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow), 0 0 0 0.5px var(--win-edge); }
.win > img, .win > video { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.lights { position: absolute; z-index: 3; left: 16px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: 20px 0 #febc2e, 40px 0 #28c840; }
.win .lights { left: 1.25cqw; top: 1.1cqw; width: max(7px, 0.94cqw); height: max(7px, 0.94cqw); box-shadow: max(12px, 1.56cqw) 0 #febc2e, max(24px, 3.12cqw) 0 #28c840; }
/* 裁一张 1280 宽截图里的一块：--x --y --w --h 都是截图里的 CSS px */
.crop { --full: 1280; position: relative; aspect-ratio: var(--w) / var(--h); overflow: hidden; }
.crop img, .crop video { position: absolute; width: calc(var(--full) / var(--w) * 100%); max-width: none; left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }
.crop .pane { opacity: 0; transition: opacity 0.45s var(--ease); }
.crop .pane.on { opacity: 1; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(340px, 0.85fr) 1.5fr; gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(56px, 8vw, 112px) var(--gutter) 64px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
h1 { font-size: clamp(44px, 5vw, 80px); word-break: keep-all; line-height: 1.08; letter-spacing: -0.04em; margin: 24px 0 22px; font-weight: 700; }
.lede { font-size: 19px; color: var(--text-2); max-width: 30em; }
.cta { display: flex; gap: 12px; margin: 32px 0 16px; flex-wrap: wrap; }
.meta { font-size: 13.5px; color: var(--text-3); }
.hero-stage { position: relative; perspective: 1800px; }
.hero-stage .win-lg { transform: rotateY(-9deg) rotateX(4deg); transform-origin: 30% 50%; transition: transform 0.9s var(--ease); }
.glow { position: absolute; inset: 8% -4% -6% 8%; background: radial-gradient(60% 60% at 60% 50%, rgba(76, 110, 219, 0.28), transparent 70%); filter: blur(40px); z-index: -1; }
.float-card { position: absolute; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(12px); border-radius: 12px; box-shadow: var(--shadow), 0 0 0 0.5px var(--line); font-size: 13px; }
.fc-file { left: -7%; bottom: -9%; padding: 12px 16px 14px; }
.fc-file pre { font: 12.5px/1.65 var(--mono); color: var(--text-2); margin-top: 6px; }
.fc-label { font-size: 11.5px; color: var(--text-3); letter-spacing: 0.02em; }
.fc-key { right: 4%; bottom: -5%; display: flex; align-items: center; gap: 4px; padding: 10px 14px; }
.fc-key span { margin-left: 8px; color: var(--text-2); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 72px auto 0; padding: 0 var(--gutter); }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 34px; letter-spacing: -0.03em; line-height: 1.2; font-weight: 650; }
.facts small { font-size: 16px; margin-left: 3px; color: var(--text-3); font-weight: 600; }
.facts span { font-size: 14.5px; color: var(--text-2); }

/* ---------- sections ---------- */
.sec { padding: clamp(88px, 11vw, 150px) max(var(--gutter), (100% - var(--wrap)) / 2); }
.sec-tint { background: var(--bg-2); }
.sec-head { max-width: 660px; margin-bottom: 56px; }
.sec-head p:not(.kicker) { color: var(--text-2); margin-top: 20px; font-size: 18px; }

/* 宣传片 */
.film { padding-bottom: 0; }
.film .sec-head { margin-inline: auto; text-align: center; margin-bottom: 40px; }
.film-frame { max-width: 1040px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 0.5px var(--win-edge); }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 14px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--fill); border-radius: 999px; margin-bottom: 28px; }
.tabs button { padding: 7px 16px; border-radius: 999px; font-size: 14.5px; color: var(--text-2); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.tabs button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }

/* markers */
.markers-body { display: grid; grid-template-columns: 1.25fr auto 1fr; gap: 28px; align-items: center; }
.markers .win figcaption { position: absolute; right: 14px; bottom: 10px; font-size: 12.5px; color: var(--text-3); }
.arrow { font-size: 34px; color: var(--text-3); font-weight: 300; }
.disk { background: var(--disk-bg); color: #d9dbe2; border-radius: 12px; padding: 18px 22px 24px; box-shadow: var(--shadow), 0 0 0 0.5px var(--win-edge); }
.disk figcaption { display: flex; align-items: center; gap: 7px; color: #959bab; margin-bottom: 14px; font-size: 12.5px; }
.disk figcaption svg { width: 14px; height: 14px; }
.disk pre { font: 15px/1.9 var(--mono); white-space: pre-wrap; }
.disk pre span { display: block; padding: 0 8px; margin: 0 -8px; border-radius: 5px; transition: background 0.3s; }
.disk em { font-style: normal; color: #8aa3f0; transition: color 0.3s, background 0.3s; border-radius: 3px; }
.disk[data-hl="1"] span[data-line="1"], .disk[data-hl="2"] span:nth-child(2) { background: rgba(138, 163, 240, 0.14); }
.disk[data-hl="1"] span[data-line="1"] em, .disk[data-hl="2"] em[data-line="2"] { color: #fff; background: rgba(138, 163, 240, 0.45); }

/* rich */
.rich { display: grid; grid-template-columns: 0.7fr 1.6fr; gap: 56px; align-items: center; margin-top: 120px; }
.rich-copy p { color: var(--text-2); margin: 16px 0 28px; }
.tabs-v { display: flex; flex-direction: column; border-radius: 14px; padding: 5px; width: 100%; }
.tabs-v button { text-align: left; border-radius: 10px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.tabs-v kbd { min-width: 2.4em; }

/* ---------- Velmo Viewer ---------- */
/* 左：Finder + 快速预览；右：设置面板 */
.ql-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: clamp(24px, 3vw, 40px); align-items: center; }
.ql { position: relative; height: clamp(540px, 50vw, 660px); }
.finder { position: absolute; inset: 0 24% 6% 0; background: var(--f-bg); color: var(--f-text); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 0.5px var(--win-edge); display: flex; flex-direction: column; font-size: 13px; }
.finder-bar { position: relative; height: 52px; display: flex; align-items: center; gap: 14px; padding-left: 92px; background: var(--f-bar); border-bottom: 1px solid var(--f-line); flex: none; }
.finder-bar .lights { top: 20px; }
.nav-arrows { color: var(--f-dim); letter-spacing: 8px; font-size: 18px; }
.finder-body { display: flex; flex: 1; min-height: 0; }
.finder aside { width: 168px; background: var(--f-side); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--f-line); }
.finder aside small { font-size: 11px; color: var(--f-dim); padding: 4px 8px; font-weight: 600; }
.finder aside span { padding: 4px 10px; border-radius: 6px; }
.finder aside .on { background: var(--fill); }
.files { list-style: none; flex: 1; padding: 0 0 10px; }
.files li { display: grid; grid-template-columns: 1fr 130px 64px; padding: 5px 16px; align-items: center; }
.files li:nth-child(odd):not(.head) { background: var(--f-zebra); }
.files .head { color: var(--f-dim); font-size: 12px; border-bottom: 1px solid var(--f-line); padding: 7px 16px; }
.files li > span:not(:first-child) { color: var(--f-dim); }
.files li > span:first-child { display: flex; align-items: center; gap: 8px; }
.files .sel { background: #4c6edb !important; color: #fff; border-radius: 6px; margin: 0 6px; }
.files .sel span { color: #fff !important; }
.ico-md, .ico-folder { width: 15px; height: 18px; flex: none; border-radius: 2px; background: var(--f-ico); box-shadow: inset 0 0 0 1px rgba(128, 132, 144, 0.5); position: relative; }
.ico-md::after { content: "MD"; position: absolute; inset: auto 0 2px; font: 700 5.5px/1 var(--font); text-align: center; color: #4c6edb; }
.ico-folder { width: 18px; height: 14px; background: #7fb2ef; box-shadow: none; border-radius: 3px; }
.qlpanel {
  position: absolute; right: 0; top: 9%; bottom: 0; width: min(780px, 64%); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  background: var(--f-bar); box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.45), 0 0 0 0.5px var(--win-edge);
  transform-origin: 20% 40%; transition: transform 0.5s var(--ease), opacity 0.35s var(--ease);
}
.ql.closed .qlpanel { opacity: 0; transform: scale(0.3) translate(-70%, -20%); pointer-events: none; }
.qlbar { position: relative; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--f-text); border-bottom: 1px solid var(--f-line); }
.qlbar .lights { top: 16px; }
.qlopen { position: absolute; right: 10px; font-size: 12px; padding: 3px 10px; border-radius: 6px; background: var(--fill); }
.qlpanel iframe { flex: 1; width: 100%; border: 0; background: transparent; }

.ql-ctrl { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 22px 20px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.ctl { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ctl:has(.switch) { flex-direction: row; justify-content: space-between; align-items: center; }
.ql-ctrl .space kbd { width: 100%; }
.ql-ctrl .range { width: 100%; }
.ql-ctrl .range input { flex: 1; min-width: 0; width: auto; }
.ctl label { color: var(--text-2); white-space: nowrap; }
.space kbd { width: 132px; height: 40px; font-size: 14px; border-bottom-width: 4px; border-radius: 10px; transition: transform 0.1s, border-bottom-width 0.1s; }
.space.down kbd { transform: translateY(2px); border-bottom-width: 2px; }
.seg { display: inline-flex; background: var(--fill); border-radius: 8px; padding: 3px; }
.seg button { padding: 4px 11px; font-size: 13px; border-radius: 6px; color: var(--text-2); white-space: nowrap; }
.seg .on { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16); }
.range { display: flex; align-items: center; gap: 10px; }
.range input { width: 130px; accent-color: var(--accent); }
.range output { width: 44px; text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }
.switch { width: 38px; height: 22px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background 0.2s; }
.switch i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--ease); }
.switch[aria-checked="true"] { background: #4c6edb; }
.switch[aria-checked="true"] i { transform: translateX(16px); }

.viewer-app { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; margin-top: 110px; }
.app-shot { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.4)); }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-id img { border-radius: 12px; }
.app-id b { display: block; font-size: 18px; }
.app-id span { font-size: 13.5px; color: var(--text-3); }
.steps { list-style: none; counter-reset: s; margin: 18px 0 24px; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 34px; color: var(--text-2); font-size: 15.5px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #4c6edb; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.steps b { color: var(--text); }

/* focus / keys */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.keys div { background: var(--bg); padding: 20px 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 13px; color: var(--text-3); }
.keys span { width: 100%; margin-top: 8px; font-size: 15px; color: var(--text); }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border-radius: 20px; padding: 32px 32px 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 28px; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 0.55fr 1.45fr; align-items: end; padding: 40px 0 0 40px; }
.card-wide .card-copy { align-self: center; padding-bottom: 40px; }
.card p { color: var(--text-2); margin-top: 10px; font-size: 16px; }
.card .win { border-radius: 12px 12px 0 0; margin-top: auto; }
.card-wide .win { border-radius: 12px 0 0 0; }

/* history */
.split { display: grid; grid-template-columns: 0.75fr 1.5fr; gap: 64px; align-items: center; }
.split .sec-head { margin-bottom: 0; }
.retain { list-style: none; margin-top: 32px; position: relative; padding-left: 26px; }
.retain::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--accent), var(--accent-soft)); }
.retain li { position: relative; padding: 7px 0; font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.retain li::before { content: ""; position: absolute; left: -26px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); }
.retain b { min-width: 7em; font-weight: 600; }
.retain span { color: var(--text-2); }
.note { font-size: 14.5px !important; padding: 12px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--text) !important; }
.hist-stage { position: relative; padding-bottom: 40px; }
.zoom { position: absolute; left: -6%; bottom: 0; width: 62%; background: var(--bg); border-radius: 12px; padding: 10px 12px 12px; box-shadow: var(--shadow), 0 0 0 0.5px var(--line); }
.zoom figcaption { font-size: 12px; color: var(--text-3); margin: 0 4px 6px; }
.zoom .crop { border-radius: 6px; }

/* local（始终深色底） */
.sec-ink { background: var(--ink-bg); color: var(--ink-text); }
.sec-ink .sec-head p:not(.kicker) { color: var(--ink-text-2); }
.sec-ink .kicker { color: #8aa3f0; }
.sec-ink code { background: rgba(232, 230, 224, 0.1); }
.sec-ink kbd { background: #2a3245; color: var(--ink-text); border-color: rgba(232, 230, 224, 0.15); }
.local-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-line); border-radius: 16px; overflow: hidden; }
.lg-item { background: var(--ink-bg); padding: 28px 26px 32px; }
.lg-item b { font-size: 19px; font-weight: 600; display: block; margin-bottom: 10px; }
.lg-item p { color: var(--ink-text-2); font-size: 15px; }
.export { display: grid; grid-template-columns: 0.7fr 1.5fr; gap: 56px; align-items: center; margin-top: 110px; }
.export-copy p { color: var(--ink-text-2); margin-top: 16px; }
.export-stage { position: relative; padding-bottom: 18%; }
.export-stage .win { width: 78%; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(232, 230, 224, 0.15); }
.browser { position: absolute; right: 0; bottom: 0; width: 62%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.7); }
.browser-bar { position: relative; height: 34px; display: flex; align-items: center; gap: 10px; padding-left: 72px; background: #ecebe8; font-size: 11.5px; color: #6b7080; }
.browser-bar .lights { top: 11px; left: 12px; width: 11px; height: 11px; box-shadow: 17px 0 #febc2e, 34px 0 #28c840; }
.url { flex: 1; background: #fff; border-radius: 6px; padding: 2px 10px; margin-right: 10px; }
.offline { margin-right: 10px; padding: 1px 8px; border-radius: 999px; background: rgba(29, 36, 51, 0.08); }

/* download */
.download { text-align: center; padding: clamp(100px, 12vw, 170px) 20px; background: radial-gradient(50% 60% at 50% 30%, var(--accent-soft), transparent 70%); }
.dl-icon { margin: 0 auto 28px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25)); }
.download h2 { font-size: clamp(34px, 5vw, 64px); }
.download > p:not(.meta) { color: var(--text-2); font-size: 19px; margin: 14px 0 34px; }
.dl-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.download .meta { margin-top: 18px; }

.foot { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 28px max(var(--gutter), (100% - var(--wrap)) / 2); border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.foot span:last-child { margin-left: auto; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stage .win-lg { transform: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .hero, .rich, .split, .export, .viewer-app { grid-template-columns: 1fr; }
  .hero-stage { margin: 20px 4% 40px; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .facts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .markers-body { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .local-grid, .keys { grid-template-columns: repeat(2, 1fr); }
  .ql-wrap { grid-template-columns: 1fr; }
  .ql-ctrl { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 14px 18px; }
  .ctl { flex-direction: row; align-items: center; gap: 10px; }
  .ql-ctrl .space kbd { width: 132px; }
  .ql-ctrl .range { width: auto; }
  .ql-ctrl .range input { flex: none; width: 130px; }
  .ql { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .finder { position: relative; inset: auto; height: 320px; }
  .qlpanel { position: relative; width: 100%; top: 0; height: 520px; }
  .links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-left: 0; padding-left: 0; }
  .bento, .card-wide { grid-template-columns: 1fr; }
  .card-wide { padding: 32px 0 0 32px; }
  .local-grid, .keys { grid-template-columns: 1fr; }
  .fc-file, .fc-key { display: none; }
  .hero-stage .win-lg { transform: none !important; }
  .finder aside { display: none; }
  .files li { grid-template-columns: 1fr 100px; }
  .files li span:last-child { display: none; }
  .zoom { left: 0; width: 90%; }
  .tools .btn-sm { display: none; }
}

/* 日文：标题按词组断行，主标题字号收一点（假名词更长） */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:lang(ja) h1 { font-size: clamp(40px, 4.2vw, 68px); }
:lang(ko) h1, :lang(ko) h2 { word-break: keep-all; }
