/* ============================================================
   子汐课程表 · 官网样式
   结构语言：吸顶胶囊导航 / 发丝分隔线 / 编号眉标 / 左文右手机
   配色沿用 App 品牌色（HuePrimary #4A5B8C，深色态 #93A6D9）
   移动优先：≤768px 单列 + 汉堡抽屉；触控目标 ≥44px
   ============================================================ */

:root {
  --bg: #EEEDF3;
  --bg-soft: #F6F5FA;
  --surface: #FFFFFF;
  --surface-2: #F1F0F6;
  --primary: #4A5B8C;
  --primary-deep: #3A4973;
  --primary-weak: rgba(74, 91, 140, .10);
  --on-primary: #FFFFFF;
  --text: #1C1B1F;
  --text-2: #63626C;
  --text-3: #9896A2;
  --hair: rgba(28, 27, 31, .10);
  --hair-strong: rgba(28, 27, 31, .16);
  --shadow-card: 0 1px 2px rgba(28, 27, 31, .04), 0 14px 36px rgba(28, 27, 31, .08);
  --shadow-float: 0 20px 60px rgba(28, 27, 31, .16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --nav-h: 60px;
  --blob-a: rgba(74, 91, 140, .16);
  --blob-b: rgba(217, 137, 158, .12);
  --grain-opacity: .35;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #121317;
  --bg-soft: #17181D;
  --surface: #1E2027;
  --surface-2: #262832;
  --primary: #93A6D9;
  --primary-deep: #B4C3E8;
  --primary-weak: rgba(147, 166, 217, .14);
  --on-primary: #10131C;
  --text: #E9E8EF;
  --text-2: #A9A8B4;
  --text-3: #6F6E7A;
  --hair: rgba(233, 232, 239, .10);
  --hair-strong: rgba(233, 232, 239, .18);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px rgba(0, 0, 0, .34);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, .5);
  --blob-a: rgba(147, 166, 217, .12);
  --blob-b: rgba(217, 137, 158, .07);
  --grain-opacity: .18;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #121317; --bg-soft: #17181D; --surface: #1E2027; --surface-2: #262832;
    --primary: #93A6D9; --primary-deep: #B4C3E8; --primary-weak: rgba(147, 166, 217, .14);
    --on-primary: #10131C; --text: #E9E8EF; --text-2: #A9A8B4; --text-3: #6F6E7A;
    --hair: rgba(233, 232, 239, .10); --hair-strong: rgba(233, 232, 239, .18);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px rgba(0, 0, 0, .34);
    --shadow-float: 0 20px 60px rgba(0, 0, 0, .5);
    --blob-a: rgba(147, 166, 217, .12); --blob-b: rgba(217, 137, 158, .07);
    --grain-opacity: .18;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 12px; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 背景氛围层 ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 1; }
.blob-a { width: 46vw; height: 46vw; min-width: 380px; min-height: 380px; left: -10vw; top: -12vw; background: var(--blob-a); }
.blob-b { width: 40vw; height: 40vw; min-width: 320px; min-height: 320px; right: -12vw; top: 30vh; background: var(--blob-b); }
.grain {
  position: absolute; inset: 0; opacity: var(--grain-opacity);
  background-image: radial-gradient(var(--hair) .5px, transparent .5px);
  background-size: 22px 22px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: max(10px, env(safe-area-inset-top)) 0 8px;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--hair), 0 8px 28px rgba(28, 27, 31, .06);
}
.nav-inner {
  width: min(1120px, 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  min-height: 44px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); flex: none; }
.brand-mark { flex: none; }
.brand-text { font-size: 16.5px; font-weight: 700; color: var(--text); letter-spacing: .5px; }
.nav-links { display: none; margin-inline: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  font-size: 14px; color: var(--text-2); border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); background: var(--primary-weak); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair); border-radius: 50%;
  background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-toggle .i-sun { display: none; }
  html:not([data-theme]) .theme-toggle .i-moon { display: inline; }
}

.nav-burger {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--surface); cursor: pointer;
}
.nav-burger span { width: 17px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn-solid, .btn-primary, .btn-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  background: var(--primary); color: var(--on-primary);
  border-radius: 999px; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(74, 91, 140, .28);
  transition: transform .18s, box-shadow .18s, background .18s;
}
html[data-theme="dark"] .btn-solid, html[data-theme="dark"] .btn-primary { box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.btn-solid:hover, .btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn-solid:active, .btn-primary:active { transform: translateY(0) scale(.98); }
.btn-primary .cta-sub {
  display: inline-block; font-weight: 400; font-size: 11.5px; opacity: .82;
  border-left: 1px solid rgba(255, 255, 255, .35); padding-left: 9px; margin-left: 3px;
}
.btn-lg { min-height: 54px; padding: 14px 36px; font-size: 16.5px; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px;
  border: 1px solid var(--hair-strong); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: border-color .2s, color .2s;
}
.nav-webapp, .btn-solid, .btn-text { white-space: nowrap; }
/* 顶栏内的「在线课表」：仅桌面宽度显示（写在 .btn-ghost 之后，避免同权重覆盖；基础态隐藏） */
.nav-actions .nav-webapp { display: none; }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.btn-text {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 6px;
  font-size: 14px; color: var(--text-2); border-bottom: none;
  transition: color .2s;
}
.btn-text:hover { color: var(--primary); }
.link-arrow { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow:hover { color: var(--primary-deep); }

/* ---------- 移动抽屉 ---------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(16, 15, 22, .45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s;
}
.drawer-scrim.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: min(320px, 86vw);
  background: var(--surface);
  border-left: 1px solid var(--hair);
  box-shadow: var(--shadow-float);
  transform: translateX(102%);
  transition: transform .3s cubic-bezier(.32, .72, .28, 1);
  display: flex; flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--text-3); font-weight: 600; }
.drawer-close {
  width: 44px; height: 44px; border: none; background: transparent;
  font-size: 26px; line-height: 1; color: var(--text-2); cursor: pointer; border-radius: 12px;
}
.drawer-close:hover { color: var(--text); background: var(--surface-2); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; font-size: 16.5px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--hair);
}
.drawer-links a i { font-style: normal; font-size: 11px; color: var(--text-3); letter-spacing: .1em; width: 22px; }
.drawer-links a:hover { color: var(--primary); }
.drawer-cta { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 64px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 11.5px; letter-spacing: .22em; color: var(--text-3); font-weight: 600; }
.eyebrow-line .rule { width: 34px; height: 1px; background: var(--hair-strong); }
.display {
  margin: 0 0 18px;
  font-size: clamp(34px, 6.4vw, 58px);
  line-height: 1.18; letter-spacing: .5px; font-weight: 800;
}
.display br { display: none; }
@media (min-width: 769px) { .display br { display: inline; } }
.lede { margin: 0 0 26px; font-size: 15.5px; color: var(--text-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 22px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.hero-meta li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-2);
}
.hero-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.hero-rail { margin-top: 54px; border-top: 1px solid var(--hair); }
.hero-rail span { display: block; width: min(1120px, 100% - 40px); margin-inline: auto; }

/* 手机模型（纯 CSS，无真实截图依赖） */
.hero-stage { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 252px; flex: none;
  aspect-ratio: 9 / 19;
  background: var(--surface);
  border: 1px solid var(--hair-strong);
  border-radius: 36px;
  box-shadow: var(--shadow-float);
  padding: 12px 10px 18px;
  overflow: hidden;
}
.phone::after {
  content: ""; position: absolute; inset: 0; border-radius: 36px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), transparent 34%);
  pointer-events: none;
}
html[data-theme="dark"] .phone::after { background: linear-gradient(150deg, rgba(255, 255, 255, .07), transparent 34%); }
.phone-notch {
  display: block; width: 84px; height: 16px; margin: 2px auto 10px;
  background: #1C1B1F; border-radius: 9px;
}
html[data-theme="dark"] .phone-notch { background: #000; }
.phone-screen { height: 100%; border-radius: 24px; overflow: hidden; background: var(--bg-soft); }

/* 课表示意 */
.mock-timetable { padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px; }
.mock-head b { font-size: 13px; }
.mock-head span { font-size: 10px; color: var(--text-3); }
.mock-grid {
  flex: 1; display: grid; gap: 5px;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: 30px repeat(4, 1fr);
  grid-template-areas: "t1 . . . ." "t2 . . . ." "t3 . . . ." "t4 . . . ." "t5 . . . ." "t6 . . . .";
}
.mock-grid::before {
  content: "1\A2\A3\A4\A5\A6"; white-space: pre; grid-area: 1/1/7/2;
  font-size: 8px; line-height: 2.6; color: var(--text-3); text-align: center;
}
.mock-grid span {
  border-radius: 8px; padding: 5px 4px; font-size: 8.5px; line-height: 1.35;
  color: #fff; overflow: hidden; font-weight: 600;
}
.c-a { background: #8FB3E8; } .c-b { background: #D9899E; } .c-c { background: #B9A8E0; }
.c-d { background: #A9D8D1; color: #25333F !important; } .c-e { background: #D8C49C; color: #3D3320 !important; }
.c-f { background: #E8A8A8; color: #40201F !important; }
.phone-hero { width: min(280px, 78vw); }

/* 日程示意 */
.mock-agenda { padding: 12px 10px; }
.mock-agenda ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mock-agenda li {
  display: flex; gap: 9px; align-items: center;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; padding: 9px 10px;
}
.mock-agenda li span { width: 6px; height: 30px; border-radius: 4px; flex: none; }
.mock-agenda li b { display: block; font-size: 10.5px; }
.mock-agenda li i { font-style: normal; font-size: 9px; color: var(--text-3); }

/* 小组件示意 */
.mock-widget { padding: 12px 10px; }
.widget-card {
  margin-top: 10px; display: flex; gap: 10px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; padding: 12px;
  min-height: 150px;
}
.widget-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.widget-col span { font-size: 10px; color: var(--text-3); font-weight: 600; }
.widget-col b { font-size: 9.5px; font-weight: 600; line-height: 1.45; }

/* ---------- 版块通用 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section.center { text-align: center; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.section.center .sec-head { margin-inline: auto; }
.sec-eyebrow {
  margin: 0 0 12px; font-size: 11.5px; letter-spacing: .24em; font-weight: 700;
  color: var(--primary);
}
.sec-title { margin: 0 0 14px; font-size: clamp(24px, 4.4vw, 36px); line-height: 1.28; font-weight: 800; letter-spacing: .5px; }
.sec-lede { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 35%, var(--hair)); }
.f-ico {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--primary-weak); color: var(--primary); margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.feature p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ---------- 界面展示（横向滚动） ---------- */
.gallery {
  overflow-x: auto; padding: 6px max(20px, calc((100vw - 1120px) / 2 + 20px)) 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: 18px; width: max-content; }
.shot { margin: 0; scroll-snap-align: center; }
.shot .phone { width: 232px; }
.shot figcaption {
  margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--text-2);
}
.gallery-hint { text-align: center; font-size: 12px; color: var(--text-3); margin: 4px 0 0; }
@media (min-width: 1240px) { .gallery-hint { display: none; } }

/* ---------- 云同步 ---------- */
.sync-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.sync-copy .sec-title, .sync-copy .sec-eyebrow, .sync-copy .sec-lede { max-width: 34em; }
.sync-copy .sec-lede { margin-bottom: 22px; }
.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.check-list li {
  position: relative; padding-left: 30px; font-size: 14px; color: var(--text-2); line-height: 1.65;
}
.check-list li b { color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--primary-weak);
  border: 1.5px solid var(--primary);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 7px; height: 4px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.check-list code {
  background: var(--surface-2); border: 1px solid var(--hair); border-radius: 6px;
  padding: 1px 6px; font-size: 12.5px; font-family: ui-monospace, Consolas, monospace;
}
.sync-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 10px 24px;
}
.sync-row { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.sync-row:last-of-type { border-bottom: none; }
.sync-k { font-size: 11px; letter-spacing: .16em; color: var(--text-3); font-weight: 700; }
.sync-v { font-size: 14px; color: var(--text); line-height: 1.6; }
.sync-more {
  display: inline-flex; align-items: center; min-height: 44px; padding-top: 16px;
  color: var(--primary); font-weight: 600; font-size: 14px;
}

/* ---------- 下载 ---------- */
#download .sec-eyebrow, #download .sec-title, #download .sec-lede { max-width: none; }
#download .sec-lede { margin-inline: auto; }
.dl-meta { margin: 22px 0 18px; font-size: 13.5px; color: var(--text-2); }
.dl-meta b { color: var(--primary); font-size: 15px; }
.dl-note { margin: 14px auto 0; font-size: 12px; color: var(--text-3); max-width: 30em; }
.faq { margin-top: 44px; text-align: left; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: center; gap: 12px;
  list-style: none; cursor: pointer; min-height: 54px;
  font-size: 14.5px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; font-size: 11px; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; padding-left: 32px; font-size: 13.5px; color: var(--text-2); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.about-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 26px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.about-card h3 { margin: 0; font-size: 16px; }
.about-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); flex: 1; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--hair); padding: 54px 0 30px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--hair); }
.footer-brand .brand-text { font-size: 18px; color: var(--primary); }
.footer-tag { margin: 10px 0 4px; font-size: 13.5px; color: var(--text-2); }
.footer-mono { margin: 0; font-size: 11px; letter-spacing: .18em; color: var(--text-3); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.footer-col { display: flex; flex-direction: column; }
.footer-h { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; color: var(--text-3); font-weight: 700; }
.footer-col a { font-size: 13.5px; color: var(--text-2); min-height: 36px; display: inline-flex; align-items: center; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 22px; }
.footer-bottom p { margin: 0; font-size: 12px; color: var(--text-3); }
/* 备案号（工信部要求全站页脚可见，外链 beian.miit.gov.cn） */
.icp-link { color: var(--text-3); font-size: 12px; text-decoration: none; }
.icp-link:hover { color: var(--primary); text-decoration: underline; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 更新日志页 ---------- */
.page-top { padding: calc(var(--nav-h) + 56px) 0 8px; }
.cl-current { margin-top: 26px; }
.cl-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 26px 24px; margin-top: 18px;
}
.cl-ver { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cl-ver b { font-size: 22px; }
.cl-ver span { font-size: 12px; color: var(--text-3); }
.cl-list { margin: 14px 0 0; padding-left: 20px; font-size: 14px; color: var(--text-2); line-height: 1.9; }
.cl-empty { margin-top: 18px; font-size: 14px; color: var(--text-2); }

/* ============================================================
   平板 / 桌面（≥769px）：多列重排，导航水平展开
   ============================================================ */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 30px; }
  .display br { display: inline; }
}
@media (min-width: 769px) {
  :root { --nav-h: 64px; }
  .nav-burger { display: none; }
  .nav-links { display: flex; }
  .nav-actions .nav-webapp { display: inline-flex; }
  .hero { padding-top: calc(var(--nav-h) + 88px); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-copy { max-width: 36em; }
  .section { padding: 104px 0; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sync-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .gallery { padding-bottom: 26px; }
  .shot .phone { width: 248px; }
  .footer-grid { grid-template-columns: 1.1fr 2fr; gap: 44px; }
  .dl-note { max-width: 40em; }
}
@media (min-width: 1024px) {
  .hero-stage .phone-hero { width: 292px; }
}
