/* ============================================================
   HelloShell 官网 · 设计令牌（Design Tokens）
   深色科技底 + 品牌蓝青（--brand #176fd1 / --cyan #21b8cc）
   骨架参考 hellomirrors，配色保留软件品牌色
   ============================================================ */
/* 全站顶部加载状态：只反馈加载是否仍在进行，不表示传输百分比。 */
html.hs-page-loading::before,
.hs-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 99999;
  pointer-events: none;
  background: linear-gradient(90deg, var(--brand-bright, #2b8bf1), var(--cyan-light, #62e1ee));
  box-shadow: 0 0 8px rgba(98, 225, 238, 0.45);
  transition: opacity 0.16s ease;
}
.hs-topbar { opacity: 0; }
html.hs-page-loading::before { content: ''; opacity: 1; }
.hs-topbar.is-active { opacity: 1; }
.hs-topbar.is-completing { opacity: 0; }
:root {
  color-scheme: dark;
  /* 背景层级 */
  --bg: #080d13;
  --bg-elevated: #0d141c;
  --surface: #101a24;
  --surface-2: #16222e;
  --surface-3: #1c2b3a;
  /* 线条 */
  --line: #223240;
  --line-bright: #34506a;
  /* 文字 */
  --text: #e6f1f7;
  --text-strong: #f4fafc;
  --muted: #93aab8;
  --muted-2: #6d8593;
  /* 品牌色 */
  --brand: #176fd1;
  --brand-bright: #2b8bf1;
  --brand-soft: rgba(23, 111, 209, 0.16);
  --cyan: #21b8cc;
  --cyan-light: #62e1ee;
  --cyan-soft: rgba(33, 184, 204, 0.14);
  --green: #20a66a;
  --green-light: #67e6a4;
  --amber: #e79a3d;
  /* 布局 */
  --content: 1180px;
  --header-h: 72px;
  --radius: 6px;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Microsoft YaHei", monospace;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
/* 下拉菜单打开时锁定背景滚动，避免内容在 fixed 菜单下移动造成闪屏（对齐 hellomirrors） */
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* 原生表单控件统一暗色渲染（全局共享）：color-scheme 让 select 原生下拉列表
   跟随暗色主题渲染，避免在暗色页面上展开时闪白底；option 兜底深色背景 */
select, option, input, textarea, button { color-scheme: dark; }
option { background-color: var(--surface); color: var(--text); }

/* 自定义下拉（对齐 hellomirrors）：有 JS 时将 .select-control > select 增强为
   自定义 trigger + 选项面板，彻底避免原生 select 下拉弹层闪白底；无 JS 时回退原生 select */
.select-control { position: relative; display: block; min-width: 0; }
.select-control select { display: block; background-color: var(--surface); }
.select-control > svg { position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; color: #9daeaa; pointer-events: none; transform: translateY(-50%); }
.js .select-control { min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .16s ease, box-shadow .16s ease; }
.js .select-control > select, .js .select-control > svg { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.custom-select-trigger { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 11px 0 12px; color: var(--text); border: 0; background: transparent; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.custom-select-trigger svg { flex: 0 0 auto; width: 16px; height: 16px; color: #9daeaa; transition: transform .14s ease; }
.select-control.is-open { z-index: 40; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.select-control.is-open .custom-select-trigger svg { transform: rotate(180deg); }
.select-control:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.custom-select-options { position: absolute; z-index: 50; top: calc(100% + 5px); left: -1px; right: -1px; max-height: 248px; overflow-y: auto; padding: 5px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: var(--surface-3); box-shadow: 0 14px 30px rgba(0, 0, 0, .42); scrollbar-color: #40504d var(--surface-3); }
.custom-select-options[hidden] { display: none; }
.custom-select-option { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; color: var(--muted); border: 0; border-radius: 4px; background: transparent; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.custom-select-option:hover, .custom-select-option.is-focused { color: var(--text); background: var(--surface-2); }
.custom-select-option[aria-selected="true"] { color: var(--cyan-light); background: var(--cyan-soft); }
.custom-select-option svg { width: 14px; height: 14px; }
.custom-select-check { visibility: hidden; }
.custom-select-option[aria-selected="true"] .custom-select-check { visibility: visible; }
img { max-width: 100%; display: block; }
code, pre { font-family: var(--font-mono); }
svg { width: 1em; height: 1em; stroke-width: 1.8; }

.shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.section { padding: 96px 0; }
section[id] { scroll-margin-top: var(--header-h); }
.skip-link {
  position: fixed; left: 30px; top: calc(var(--header-h) + 10px); z-index: 90;
  padding: 9px 12px; white-space: nowrap; color: var(--bg);
  background: var(--cyan-light); opacity: 0; pointer-events: none;
  transform: translateY(-10px); transition: opacity .14s ease, transform .14s ease;
}
.skip-link:focus-visible { opacity: 1; pointer-events: auto; transform: none; }

/* 编号节眉（01 / 项目概览） */
.section-index {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan-light); font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.section-index::before { content: ""; width: 26px; height: 1px; background: var(--cyan); opacity: .6; }

/* 两栏标题 */
.section-topline { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(300px, 1fr); gap: 90px; align-items: end; margin-bottom: 46px; }
.section-topline h2 { margin: 16px 0 0; font-size: 38px; line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }
.section-topline h2 span { color: var(--cyan-light); }
.section-topline > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-topline h2, .section-topline > p { min-width: 0; }

/* ============ 页头（mirrors 布局：品牌 / 导航 / 操作区） ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  background: rgba(8, 13, 19, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: background .2s ease, border-color .2s ease;
}
.site-header.scrolled { background: rgba(6, 10, 15, .97); border-color: var(--line-bright); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 760; color: var(--text-strong); flex: 0 0 auto; }
.brand img { width: 32px; height: 32px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-inline: auto; color: #d4ddda; font-size: 13px; }
.site-nav a { position: relative; padding: 10px 0; color: var(--muted); font-weight: 550; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--cyan); transition: right .18s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--cyan-light); }
.site-nav a[aria-current="page"]::after { right: 0; background: var(--cyan-light); }
/* 首页滚动跟随高亮：当前区块对应菜单项；顶部时"首页"保持高亮 */
.site-nav a.nav-active { color: var(--cyan-light); }
.site-nav a.nav-active::after { right: 0; background: var(--cyan-light); }
.site-nav a[aria-current="page"].nav-suppressed { color: var(--muted); }
.site-nav a[aria-current="page"].nav-suppressed::after { right: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.version-pill { padding: 5px 9px; color: var(--cyan-light); border: 1px solid rgba(98, 225, 238, .4); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--text); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.icon-button:hover { color: var(--cyan-light); border-color: var(--cyan); }
.icon-button svg { width: 18px; height: 18px; }
.menu-button { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 96px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(33, 184, 204, 0.12), transparent 60%),
    radial-gradient(820px 420px at 18% 110%, rgba(23, 111, 209, 0.16), transparent 60%),
    var(--bg);
}
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* Hero 顶部 darken 700px 区域（实现在 hero::before），hero-shade 复用为底部软压 */
.hero-shade { position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to top, rgba(8, 13, 19, .6), transparent); z-index: 1; pointer-events: none; }
.hero-coordinate { position: absolute; z-index: 2; top: 46%; color: rgba(124, 171, 185, 0.4); font-family: var(--font-mono); font-size: 9px; writing-mode: vertical-rl; }
.coordinate-left { left: 15px; }
.coordinate-right { right: 15px; }

.hero-content { position: relative; z-index: 3; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 0; font-size: 44px; line-height: 1.18; font-weight: 780; letter-spacing: -.015em; color: var(--text-strong); }
.hero h1 span { color: var(--cyan-light); }
.hero-slogan { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 0; color: #c2d5dc; font-size: 20px; font-weight: 560; letter-spacing: .005em; }
.hero-slogan strong { color: var(--cyan-light); font-weight: 760; }
.hero-lead { max-width: 640px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-lead code { color: var(--cyan-light); font-family: var(--font-mono); font-size: 0.94em; padding: 1px 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 18px; color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; }
.hero-meta span { padding: 0 13px; border-right: 1px solid var(--line); }
.hero-meta span:first-child { padding-left: 0; }
.hero-meta span:last-child { border-right: 0; }

/* 按钮 */
.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 19px; border: 1px solid var(--line-bright); border-radius: var(--radius);
  font-size: 14px; font-weight: 720; cursor: pointer;
  transition: transform .16s ease, color .16s ease, background-color .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; }
.button.primary { color: #fff; background: var(--brand); border-color: var(--brand-bright); box-shadow: 0 10px 28px rgba(23, 111, 209, 0.28); }
.button.primary:hover { background: var(--brand-bright); border-color: #459bf5; }
.button.ghost { color: var(--text); background: rgba(13, 20, 28, .8); border-color: rgba(255,255,255,.24); }
.button.ghost:hover { color: var(--cyan-light); border-color: var(--cyan); }
.button.compact { min-height: 35px; padding: 0 13px; font-size: 12px; }
.button-icon { font-size: 16px; line-height: 1; }

/* Hero 右侧：真实截图窗口 */
.hero-stage { min-width: 0; position: relative; }
.stage-window {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(33, 184, 204, 0.06);
}
.stage-window img { width: 100%; height: auto; display: block; }
.stage-tag {
  position: absolute; z-index: 3; display: grid; gap: 3px;
  color: var(--muted-2); font-family: var(--font-mono); font-size: 8px;
}
.stage-tag b { color: var(--cyan-light); font-size: 10px; }
.stage-tag-left { left: 18px; top: 18px; text-align: left; }
.stage-tag-right { right: 18px; top: 18px; text-align: right; }
.stage-caption { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; }
.stage-caption b { color: var(--green-light); font-weight: 600; }

/* Hero 底部摘要条（已移除：与信号带重复） */

/* ============ 主题对比 ============ */
.theme-showcase {
  --light-reveal: 100%;
  --theme-progress: 0;
  position: relative;
  height: 185vh; min-height: 1450px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
}
.theme-showcase-sticky {
  position: sticky; top: 0;
  width: min(calc(100% - 48px), var(--content)); margin-inline: auto;
  min-height: 100vh;
  padding: 72px 0 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.theme-showcase-head { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: end; margin-bottom: 26px; }
.theme-showcase-head h2 { margin: 16px 0 0; font-size: 35px; line-height: 1.2; font-weight: 800; }
.theme-showcase-head h2 span { color: var(--cyan-light); }
.theme-showcase-head > p { margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.theme-screen {
  position: relative; width: 100%;
  aspect-ratio: 1320 / 840;
  overflow: hidden; border: 1px solid var(--line-bright); border-radius: 8px;
  background: var(--surface); box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}
.theme-screen > img, .theme-screen-light, .theme-screen-light img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.theme-screen > img, .theme-screen-light img { object-fit: cover; }
.theme-screen-light { clip-path: inset(0 0 0 var(--light-reveal)); }
.theme-reveal-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--light-reveal); width: 1px; background: var(--cyan-light); box-shadow: 0 0 18px rgba(98, 225, 238, 0.62); transform: translateX(-1px); }
.theme-label { position: absolute; z-index: 4; top: 14px; padding: 6px 8px; border: 1px solid var(--line-bright); background: rgba(8, 13, 19, 0.82); color: #b9cdd5; font-family: var(--font-mono); font-size: 8px; font-weight: 700; }
.theme-label-dark { left: 14px; opacity: calc(1 - var(--theme-progress)); }
.theme-label-light { right: 14px; color: #0d1a24; background: rgba(240, 248, 250, 0.9); opacity: var(--theme-progress); }
.theme-progress { height: 2px; margin-top: 17px; background: var(--line); }
.theme-progress i { display: block; width: calc(var(--theme-progress) * 100%); height: 100%; background: var(--cyan-light); }

/* ============ 01 界面概览 ============ */
.overview { background: var(--bg); }
.outcome-list { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-bright); }
.outcome-list > div { min-height: 128px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-content: center; padding: 22px 26px; border-right: 1px solid var(--line); }
.outcome-list > div:last-child { border-right: 0; }
.outcome-list > div > span { grid-row: 1 / 3; align-self: center; color: var(--cyan-light); font-family: var(--font-mono); font-weight: 700; font-size: 11px; }
.outcome-list strong { color: var(--text); font-size: 16px; }
.outcome-list small { margin-top: 5px; color: var(--muted-2); font-size: 12px; line-height: 1.5; }

/* ============ 02 核心特性 ============ */
.features { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.feature-card { min-height: 236px; display: flex; flex-direction: column; padding: 30px; background: var(--surface); }
.feature-card:nth-child(2) { background: var(--surface-2); }
.feature-card:nth-child(3) { background: var(--surface-2); }
.feature-topline { display: flex; align-items: center; justify-content: space-between; color: var(--cyan-light); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.feature-topline b { color: #5b7685; font-size: 13px; }
.feature-card h3 { max-width: 460px; margin: 28px 0 12px; font-size: 21px; line-height: 1.35; color: var(--text); }
.feature-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ============ 05 下载 ============ */
.download-section { background: var(--bg); }
.download-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 56px 0 8px; }
.download-copy h2 { margin: 16px 0 14px; font-size: 34px; line-height: 1.22; font-weight: 800; }
.download-copy h2 span { color: var(--cyan-light); }
.download-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.download-meta { color: var(--muted-2) !important; font-family: var(--font-mono); font-size: 11px !important; }
.download-notes { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.download-notes > div { display: grid; gap: 6px; padding: 20px 24px; background: var(--surface); }
.download-notes b { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.download-notes code { color: var(--text); font-size: 13px; word-break: break-all; }

/* ============ 真实截图画廊 ============ */
.showcase-gallery { background: var(--bg-elevated); border-top: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-card {
  margin: 0; min-width: 0;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease;
}
.gallery-card:hover { transform: translateY(-3px); border-color: var(--line-bright); }
.gallery-card img { width: 100%; height: auto; display: block; }
.gallery-card figcaption { padding: 13px 15px; border-top: 1px solid var(--line); }
.gallery-card figcaption span { display: block; margin-bottom: 4px; color: var(--cyan-light); font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; }
.gallery-card figcaption strong { display: block; color: var(--text); font-size: 13px; font-weight: 650; }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--line); background: #060a10; color: var(--muted-2); }
.footer-inner { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; padding: 31px 0; display: flex; align-items: center; gap: 22px; font-size: 11px; }
.footer-brand { color: #d6e7eb; }
.footer-brand img { width: 25px; height: 25px; }
.footer-inner nav { display: flex; gap: 20px; margin-left: auto; }
.footer-inner a:hover { color: #dcecf0; }

/* ============ 二级页面（使用方式 / 下载中心 / 版本更新 / 提交建议 / 404） ============ */
.eyebrow { margin: 0 0 14px; color: var(--cyan-light); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 64px); padding-bottom: 62px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 340px at 82% -12%, rgba(33, 184, 204, .1), transparent 60%), radial-gradient(620px 300px at 12% 115%, rgba(23, 111, 209, .14), transparent 60%), var(--bg); color: var(--text); }
.page-hero-inner { width: min(calc(100% - 48px), 1100px); margin-inline: auto; }
.page-hero h1 { margin: 18px 0 13px; font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* 使用方式（文档） */
.docs-layout { width: min(calc(100% - 48px), 1100px); margin-inline: auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; align-items: start; padding: 50px 0 85px; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 3px; }
.docs-nav strong { padding: 8px 10px; color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.docs-nav a { padding: 8px 10px; border-left: 2px solid transparent; color: var(--muted); font-size: 13px; }
.docs-nav a:hover { border-left-color: var(--cyan); color: var(--text); background: var(--surface); }
.docs-content { min-width: 0; }
.docs-content section { padding: 0 0 35px; margin-bottom: 35px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.docs-content h2 { margin: 0 0 18px; font-size: 25px; }
.docs-content h3 { margin: 25px 0 10px; font-size: 16px; color: var(--text); }
.docs-content p, .docs-content li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.docs-content ul, .docs-content ol { padding-left: 22px; }
.docs-content code { padding: 2px 5px; border: 1px solid var(--line); background: var(--surface); color: var(--cyan-light); font-size: 12px; }
/* 快捷键键帽（docs 常用快捷键） */
.docs-content kbd { display: inline-block; padding: 1px 7px; min-width: 24px; text-align: center; border: 1px solid var(--line-bright); border-bottom-width: 2px; border-radius: 4px; background: var(--surface-2); color: var(--text); font-family: var(--font-mono); font-size: 12px; font-weight: 600; line-height: 1.55; }
.key-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.key-list li { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.key-list li::after { content: ""; flex: 1 1 40px; border-bottom: 1px dotted var(--line); margin-left: 8px; }
.note { padding: 14px 16px; border-left: 3px solid var(--cyan); background: var(--cyan-soft); color: #bfe4ec; font-size: 13px; line-height: 1.7; }

/* 下载中心 */
.download-layout { width: min(calc(100% - 48px), 1000px); margin-inline: auto; padding: 50px 0 85px; }
.download-current { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 0 0 27px; border-bottom: 1px solid var(--line-bright); }
.download-version { display: flex; align-items: center; gap: 14px; min-width: 0; }
.download-version-tag { padding: 5px 8px; color: #07141b; border: 1px solid var(--green); background: var(--green); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.download-version strong { color: var(--text); font-family: var(--font-mono); font-size: 26px; }
.download-version-meta { color: var(--muted); font-size: 12px; }
.download-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.download-option { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 8px; background: var(--surface); transition: transform .18s ease, border-color .18s ease; }
.download-option:hover { transform: translateY(-2px); border-color: var(--line-bright); }
.download-option:last-child { border-top-color: var(--brand); }
.download-option-head { margin-bottom: 12px; }
.download-option-head b { color: var(--cyan-light); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; }
.download-option-head h3 { margin: 8px 0 0; font-size: 19px; }
.download-option > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.download-points { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.download-points li { position: relative; padding-left: 18px; color: var(--muted); font-size: 12px; }
.download-points li::before { content: ""; position: absolute; top: .62em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); }
.download-option-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.download-option-foot small { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; }
.portable-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-block: 1px solid var(--line-bright); }
.portable-flow div { min-height: 78px; display: flex; align-items: center; gap: 13px; padding: 0 18px; border-right: 1px solid var(--line); }
.portable-flow div:last-child { border-right: 0; }
.portable-flow b { color: var(--cyan-light); font-family: var(--font-mono); font-size: 11px; }
.portable-flow span { display: grid; gap: 2px; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.portable-flow span strong { color: var(--text); font-size: 13px; font-weight: 650; }
.checksum { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.checksum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.checksum-head strong { color: var(--text); font-size: 12px; }
.checksum-head span { color: var(--muted-2); font-size: 11px; }
.checksum code { display: block; overflow-wrap: anywhere; color: var(--cyan-light); font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.download-note { margin-top: 20px; }

/* 版本更新（hellomirrors 板块分割） */
.updates-intro { padding: 84px 0 70px; border-bottom: 1px solid var(--line); background: var(--bg-elevated); }
.updates-intro-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 80px; align-items: end; }
.updates-intro h1 { margin: 0; font-size: 44px; line-height: 1.12; font-weight: 800; }
.updates-intro p { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.updates-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--line-bright); }
.updates-summary div { min-width: 0; padding: 18px 16px; border-right: 1px solid var(--line); }
.updates-summary div:last-child { border-right: 0; }
.updates-summary dt { color: var(--muted-2); font-size: 12px; }
.updates-summary dd { margin: 6px 0 0; overflow-wrap: anywhere; color: var(--green-light); font-family: var(--font-mono); font-size: 13px; font-weight: 650; }
.release-history { padding: 80px 0 110px; background: var(--bg); }
.release-heading { display: grid; grid-template-columns: 160px 1fr; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--line-bright); }
.release-heading .section-index { margin: 0 0 8px; }
.release-heading h2 { margin: 0; font-size: 38px; }
.release-list { border-bottom: 1px solid var(--line); }
.release-entry { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.release-entry:last-child { border-bottom: 0; }
.release-version { padding: 32px 22px 32px 0; border-right: 1px solid var(--line); }
.release-version > span { display: inline-block; padding: 4px 8px; color: var(--muted-2); border: 1px solid var(--line-bright); font-family: var(--font-mono); font-size: 11px; }
.release-entry.current .release-version > span { color: #07141b; border-color: var(--green-light); background: var(--green-light); font-weight: 700; }
.release-version h3 { margin: 16px 0 4px; color: var(--cyan-light); font-family: var(--font-mono); font-size: 22px; }
.release-version time { color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; }
.release-details { padding: 32px 0 32px 38px; }
.release-details > strong { font-size: 17px; color: var(--text); }
.release-details ul { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.release-details li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.release-details li::before { content: ""; position: absolute; top: .66em; left: 0; width: 6px; height: 6px; background: var(--cyan); }
.release-details code { color: var(--cyan-light); font-size: 12px; }

/* 提交建议 */
.feedback-layout { width: min(calc(100% - 48px), 980px); margin-inline: auto; padding: 50px 0 85px; }
.feedback-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 54px; align-items: start; }
.feedback-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.feedback-aside h2 { margin: 16px 0 14px; font-size: 30px; line-height: 1.25; font-weight: 800; }
.feedback-aside h2 span { color: var(--cyan-light); }
.feedback-aside > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.feedback-steps { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.feedback-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.feedback-steps b { padding-top: 2px; color: var(--cyan-light); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.feedback-steps span { display: grid; gap: 2px; color: var(--muted-2); font-size: 12px; line-height: 1.6; }
.feedback-steps strong { color: var(--text); font-size: 13px; font-weight: 650; }
.feedback-form { display: grid; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.feedback-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.feedback-field { display: grid; gap: 9px; }
.feedback-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feedback-field-label label { color: var(--text); font-size: 13px; font-weight: 600; }
.feedback-required { color: var(--amber); }
.feedback-optional { color: var(--muted-2); font-size: 11px; font-weight: 400; }
.feedback-field select,
.feedback-field input[type="text"],
.feedback-field input[type="password"],
.feedback-field input[type="email"],
.feedback-field input[type="url"],
.feedback-field input[type="search"],
.feedback-field input[type="number"],
.feedback-field textarea {
  width: 100%; padding: 11px 13px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-bright); border-radius: var(--radius);
  font-size: 14px; line-height: 1.6; transition: border-color .16s ease, box-shadow .16s ease;
}
.feedback-field select:focus,
.feedback-field input[type="text"]:focus,
.feedback-field input[type="password"]:focus,
.feedback-field input[type="email"]:focus,
.feedback-field input[type="url"]:focus,
.feedback-field input[type="search"]:focus,
.feedback-field input[type="number"]:focus,
.feedback-field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.feedback-field textarea { resize: vertical; min-height: 140px; }
.feedback-hint { color: var(--muted-2); font-size: 11px; }
.feedback-errors { margin: 0; padding: 12px 16px 12px 34px; border: 1px solid rgba(231, 122, 45, .4); background: rgba(231, 122, 45, .08); color: #f0b27a; font-size: 13px; line-height: 1.7; }
.feedback-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; }
.feedback-privacy { color: var(--muted-2); font-size: 11px; }
.feedback-success { padding: 48px 36px; border: 1px solid var(--line-bright); border-radius: 8px; background: var(--surface); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.feedback-success h2 { margin: 16px 0 22px; font-size: 28px; }
.feedback-success-text { margin: 0; color: var(--muted); font-size: 14px; }
.feedback-success-id { margin: 10px 0 0; color: var(--cyan-light); font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: .03em; }
.feedback-success-note { margin: 14px 0 28px; color: var(--muted-2); font-size: 12px; }
.feedback-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* 404 */
.not-found { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: 90px 0; text-align: center; }
.not-found-inner { width: min(calc(100% - 48px), 620px); margin-inline: auto; }
.not-found h1 { margin: 18px 0 12px; font-size: 46px; line-height: 1.15; font-weight: 800; }
.not-found p { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.not-found-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============ 响应式 ============ */
/* 菜单折叠断点对齐 hellomirrors（1100px 即折叠，避免宽菜单横排挤压） */
@media (max-width: 1100px) {
  .site-header { padding-inline: 20px; }
  .menu-button { display: inline-grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100svh - var(--header-h)); overflow-y: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 26px; background: var(--bg); border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 640px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-list { grid-template-columns: repeat(2, 1fr); }
  .outcome-list > div:nth-child(2) { border-right: 0; }
  .outcome-list > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  /* 隐藏品牌文字（仅留 logo），避免宽文字将菜单按钮挤出视口 */
  .brand > span { display: none; }
  .brand img { width: 30px; height: 30px; }
  .header-actions { gap: 6px; }
  .menu-button { width: 36px; height: 36px; }
  .menu-button svg { width: 16px; height: 16px; }
  .hero { padding-top: 88px; padding-bottom: 48px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero-slogan { margin-top: 14px; font-size: 17px; }
  .hero-lead { font-size: 13px; line-height: 1.7; }
  .hero-coordinate { display: none; }
  .hero-stage { max-width: 520px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; gap: 40px; }
  /* 移动端 section padding 收紧到 48px（原 PC 96px、≤560 才 68px 在 561-820 之间产生 192px 上下背景空洞） */
  .section { padding: 48px 0; }
  .page-hero { padding-top: calc(var(--header-h) + 38px); padding-bottom: 44px; }
  .page-hero h1 { font-size: 28px; }
  .docs-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; }
  .docs-nav { position: static; grid-template-columns: repeat(2, 1fr); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .docs-nav strong { grid-column: 1 / -1; }
  .updates-intro-layout { grid-template-columns: 1fr; gap: 40px; }
  .updates-summary { max-width: 720px; }
  .release-heading, .release-entry { grid-template-columns: 1fr; }
  .release-heading { gap: 4px; }
  .release-version { padding: 26px 0 16px; border-right: 0; }
  .release-details { padding: 0 0 30px; }
  .feedback-grid { grid-template-columns: 1fr; gap: 32px; }
  .feedback-aside { position: static; }
  .feedback-form { padding: 22px 18px; }
  .feedback-aside h2 { font-size: 24px; }
  .download-layout { width: min(calc(100% - 48px), 720px); }
  /* theme-showcase 移动端去滚动揭示：sticky + 145vh 在小屏产生 ~340px 滚动黑洞（sticky 结束后 section 剩余纯背景区）。
     改为常规 section：高度由内容决定、暗/亮两张图上下排列各自完整可见、揭示线与进度条隐藏。 */
  .theme-showcase { height: auto; min-height: 0; }
  .theme-showcase-sticky { position: static; min-height: 0; padding: 0 0 12px; }
  .theme-screen { position: relative; aspect-ratio: 16 / 10.5; }
  .theme-screen-dark { position: relative; width: 100%; height: 100%; }
  .theme-screen-light { position: static; clip-path: none; margin-top: 14px; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: 8px; }
  .theme-screen-light img { position: relative; inset: auto; width: 100%; height: auto; }
  .theme-reveal-line { display: none; }
  .theme-label { opacity: 1; }
  .theme-label-dark { background: rgba(8, 13, 19, .82); color: #b9cdd5; }
  .theme-label-light { right: 14px; color: #0d1a24; background: rgba(240, 248, 250, .9); }
  .theme-progress { display: none; }
  .theme-showcase-head { grid-template-columns: 1fr; gap: 13px; margin-bottom: 20px; }
  .theme-showcase-head h2 { font-size: 30px; }
  .section-topline { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  :root { --header-h: 58px; }
  .version-pill { display: none; }
  .hero { padding: 82px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-slogan { margin-top: 14px; font-size: 17px; }
  .hero-lead { margin-top: 16px; font-size: 13px; line-height: 1.7; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-meta { display: none; }
  /* theme-showcase 移动端延续 820 的去滚动揭示：覆盖 560 媒体查询里的 height/min-height（与 820 一致，避免后定义覆盖前定义产生 940px 黑洞） */
  .theme-showcase { height: auto; min-height: 0; }
  .theme-showcase-sticky { justify-content: flex-start; padding-top: 0; }
  .theme-showcase-head h2 { font-size: 26px; }
  .theme-screen { aspect-ratio: 16 / 10.5; }
  .theme-screen > img, .theme-screen-light img { object-fit: cover; object-position: top center; }
  .section { padding: 36px 0; }
  .section-topline h2 { font-size: 30px; }
  .outcome-list { grid-template-columns: 1fr; }
  .outcome-list > div { min-height: 96px; border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome-list > div:last-child { border-bottom: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { margin-left: 0; }
  .page-hero { padding-top: calc(var(--header-h) + 34px); padding-bottom: 40px; }
  .page-hero-inner, .download-layout, .docs-layout, .feedback-layout { width: calc(100% - 32px); }
  .feedback-form { padding: 22px 18px; }
  .page-hero h1 { font-size: 30px; }
  .download-current { display: flex; flex-direction: column; align-items: flex-start; }
  .download-version { flex-wrap: wrap; }
  .download-options { grid-template-columns: 1fr; }
  .download-option-foot { flex-direction: column; align-items: flex-start; }
  .portable-flow { grid-template-columns: 1fr; }
  .portable-flow div { border-right: 0; border-bottom: 1px solid var(--line); }
  .portable-flow div:last-child { border-bottom: 0; }
  .checksum-head { flex-direction: column; gap: 4px; }
  .docs-nav { grid-template-columns: 1fr; }
  .updates-intro { padding: 64px 0 52px; }
  .updates-intro h1 { font-size: 34px; }
  .updates-summary { grid-template-columns: 1fr; }
  .updates-summary div { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .updates-summary div:last-child { border-bottom: 0; }
  .updates-summary dd { margin: 0; }
  .release-history { padding: 60px 0 80px; }
  .release-heading h2 { font-size: 32px; }
  .release-entry { grid-template-columns: 1fr; }
  .release-version { display: flex; align-items: baseline; gap: 10px; padding: 24px 0 12px; }
  .release-version h3 { margin: 0; font-size: 19px; }
  .release-version time { font-size: 11px; }
  .release-details { padding: 0 0 28px; }
  .feedback-form-foot { flex-direction: column; align-items: flex-start; }
  .not-found { padding: 70px 0; }
  .not-found h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
