/* =============================================================
   lighttodo · 轻记 官网样式表
   设计基调：浅色 / 大留白 / 圆角 / 轻量阴影
   ============================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --brand: #3563e9;
  --brand-strong: #2a51c6;
  --brand-soft: #eef3ff;
  --brand-tint: #f5f8ff;

  /* 中性色 */
  --ink: #16181d;
  --ink-2: #4d5566;
  --ink-3: #858d9e;
  --line: #e8ebf2;
  --line-soft: #f1f3f8;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 阴影：轻 */
  --sd-1: 0 1px 2px rgba(20, 26, 40, .04), 0 2px 8px rgba(20, 26, 40, .04);
  --sd-2: 0 2px 4px rgba(20, 26, 40, .04), 0 12px 28px rgba(20, 26, 40, .07);
  --sd-3: 0 4px 8px rgba(20, 26, 40, .05), 0 24px 56px rgba(20, 26, 40, .10);

  /* 布局 */
  --wrap: 1160px;
  --nav-h: 68px;

  /* 字体 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

p { margin: 0; }
figure { margin: 0; }
img { max-width: 100%; display: block; }

code {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: .92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--line-soft);
  color: var(--ink);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--brand-strong); }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: var(--r-sm);
}
.skip-link:focus { left: 16px; top: 12px; }

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-3);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 6px rgba(53, 99, 233, .22), 0 10px 22px rgba(53, 99, 233, .18);
}
.btn--primary:hover {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(53, 99, 233, .26), 0 16px 32px rgba(53, 99, 233, .22);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sd-1);
}
.btn--ghost:hover {
  color: var(--brand);
  border-color: #cfdcfb;
  transform: translateY(-1px);
}

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(20, 26, 40, .05);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: var(--sd-1);
}
.brand:hover { color: var(--ink); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-menu a.is-active { color: var(--brand); background: var(--brand-soft); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* 移动端以可视视口为准，避免地址栏遮挡 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 内容在首屏内垂直居中，占满整屏 */
  padding: calc(var(--nav-h) + 16px) 0 96px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  top: -260px; right: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(53, 99, 233, .10), rgba(53, 99, 233, 0) 68%);
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -280px; left: -140px;
  background: radial-gradient(circle at 50% 50%, rgba(24, 197, 178, .10), rgba(24, 197, 178, 0) 68%);
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  /* 右列固定宽度：窗口变窄时演示窗口保持尺寸不缩小（参考 ccswitch 的处理） */
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sd-1);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.badge .dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -.02em;
}
.hero h1 .light { color: var(--brand); }

.hero-slogan {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
}

.hero-values {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.hero-values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
}
.hero-values .tick {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.hero-values .tick svg { width: 13px; height: 13px; }
.hero-values b { color: var(--ink); font-weight: 600; }

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* 首屏产品图 */
.hero-shot {
  position: relative;
  min-width: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #ffffff, #eef2fb);
  box-shadow: var(--sd-3);
  padding: 14px;
}
.hero-shot img {
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(20, 26, 40, .10);
  width: 100%;
}
.hero-chip {
  position: absolute;
  left: 26px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--sd-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 7. 功能介绍 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--sd-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sd-2);
  border-color: #dfe6f6;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17.5px; }
.card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-3);
}

/* ---------- 8. 界面展示 ---------- */
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.tab {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s ease;
}
.tab:hover { border-color: #cfdcfb; color: var(--brand); }
.tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(53, 99, 233, .22);
}

.shot-frame {
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #ffffff, #eef2fb);
  box-shadow: var(--sd-3);
  padding: 14px;
}
.shot-frame img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(20, 26, 40, .10);
}
.shot-view { display: none; }
.shot-view.is-active { display: block; animation: fadeUp .35s ease both; }
.shot-cap {
  margin-top: 16px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-3);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 9. 适用场景 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.scene {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sd-1);
}
.scene-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
  border: 1px solid #e3ebff;
}
.scene-icon svg { width: 21px; height: 21px; }
.scene h3 { font-size: 17px; }
.scene p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }

/* ---------- 10. 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.about-grid h2 { font-size: clamp(24px, 3vw, 32px); }
.about-grid p { margin-top: 16px; font-size: 16px; }
.fact-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sd-1);
  overflow: hidden;
}
.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.fact-list div:last-child { border-bottom: none; }
.fact-list dt, .fact-list .k { color: var(--ink-3); }
.fact-list .v { color: var(--ink); font-weight: 600; text-align: right; }

/* 宽屏下「关于」区内容加宽，避免两侧留白过大显得空旷 */
@media (min-width: 1440px) {
  #about .wrap { max-width: 1360px; }
  .fact-list div { padding: 17px 26px; }
}

/* ---------- 11. CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  background: linear-gradient(150deg, #f2f6ff 0%, #eaf0ff 55%, #f7f9fc 100%);
  box-shadow: var(--sd-2);
  overflow: hidden;
}
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta p {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  color: var(--ink-2);
}
.cta-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-meta {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- 12. 下载页 ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 24px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .wrap { max-width: 900px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-top: 18px; }
.page-hero p { margin-top: 14px; font-size: 17px; color: var(--ink-3); }

.dl-panel {
  margin-top: -8px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dl-main {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sd-2);
  padding: 36px 34px;
}
.dl-main h2 { font-size: 22px; }
.dl-main .dl-sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.dl-btn-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.dl-hint { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.spec-list { margin-top: 26px; border-top: 1px solid var(--line-soft); }
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.spec-list .k { color: var(--ink-3); }
.spec-list .v { color: var(--ink); font-weight: 600; text-align: right; }

.dl-side { display: grid; gap: 18px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sd-1);
  padding: 24px 24px;
}
.side-card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.side-card h3 svg { width: 18px; height: 18px; color: var(--brand); }
.side-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); }
.mirror-list { margin-top: 14px; display: grid; gap: 10px; }
.mirror {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, background .18s ease;
}
.mirror:hover { border-color: #c6d6fb; background: var(--brand-tint); }
.mirror small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.mirror svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sd-1);
  padding: 26px 22px;
}
.step .num {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }

/* 常见问题 */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sd-1);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--ink-3);
}
.faq-item .faq-body p + p { margin-top: 10px; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14.5px; color: var(--ink-3); max-width: 300px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: 14.5px; color: var(--ink-3); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- 14. 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-shot { width: 100%; max-width: 640px; margin: 0 auto; }
  /* 单栏堆叠后首屏文字居中 */
  .hero-grid > div:first-child { text-align: center; }
  .hero-values li { justify-content: center; }
  .hero-cta { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-panel { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-menu,
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sd-2);
    padding: 12px 24px 20px;
  }
  .nav-drawer.is-open { display: block; }
  .nav-drawer a:not(.btn) {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-drawer .btn {
    width: 100%;
    margin-top: 14px;
    height: 48px; /* 覆盖桌面端可能的 .btn--lg 等变体，保持抽屉内一致 */
    padding: 0 24px;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .feature-grid,
  .scene-grid,
  .steps { grid-template-columns: 1fr; }
  .scene { padding: 24px; }
  .cta { padding: 44px 22px; }
  .dl-main { padding: 28px 22px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .btn { padding: 0 18px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 16. 无障碍偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-drawer, .cta-actions { display: none; }
  body { color: #000; }
}

/* ---------- 17. 更新日志 ---------- */
.timeline { max-width: 780px; margin: 0 auto; }
.release {
  position: relative;
  padding: 0 0 44px 32px;
  border-left: 2px solid var(--line);
}
.release:last-child { border-left-color: transparent; padding-bottom: 8px; }
.release::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ver {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.ver--latest {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 10px rgba(53, 99, 233, .25);
}
.release-date { font-size: 14px; color: var(--ink-3); }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 2px 10px;
}
.release h3 { font-size: 18px; margin-top: 12px; }
.release ul { margin-top: 10px; }
.release li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 6px;
}
.release li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
.release p { margin-top: 10px; font-size: 15px; color: var(--ink-3); }

@media (max-width: 720px) {
  .release { padding-left: 24px; }
}

/* ---------- 18. 应用交互演示（可交互模拟窗口） ---------- */
.lt-demo {
  display: flex;
  flex-direction: column;
  height: 540px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(20, 26, 40, .10);
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: left;
  user-select: none;
}
.lt-demo button { font-family: inherit; }

/* 窗口标题栏（Windows 风格） */
.demo-titlebar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 8px 0 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.demo-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 13px; }
.demo-title img { width: 18px; height: 18px; border-radius: 5px; }
.demo-win { display: flex; }
.demo-win span {
  width: 36px; height: 28px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--ink-3);
}
.demo-win span svg { width: 11px; height: 11px; }
.demo-win span:hover { background: rgba(20, 26, 40, .07); color: var(--ink); }
.demo-win span.is-close:hover { background: #e81123; color: #fff; }

.demo-body { flex: 1; display: flex; min-height: 0; }

/* 侧边栏 */
.demo-side {
  flex: none;
  width: 198px;
  background: var(--bg-soft);
  border-right: 1px solid var(--line-soft);
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.demo-search {
  flex: none;
  display: flex; align-items: center; gap: 7px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-3);
  font-size: 12px;
  margin-bottom: 4px;
}
.demo-search svg { width: 13px; height: 13px; flex: none; }
.demo-group {
  flex: none;
  font-size: 11px;
  color: var(--ink-3);
  padding: 10px 8px 4px;
  letter-spacing: .05em;
}
.demo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.demo-item:hover { background: rgba(53, 99, 233, .07); color: var(--ink); }
.demo-item.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.demo-item .ico { width: 15px; height: 15px; flex: none; display: grid; place-items: center; }
.demo-item .ico svg { width: 15px; height: 15px; }
.demo-item .tdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.demo-item .cnt {
  margin-left: auto;
  font-size: 11px;
  line-height: 17px;
  padding: 0 7px;
  border-radius: 99px;
  background: rgba(20, 26, 40, .06);
  color: var(--ink-3);
  font-weight: 500;
}
.demo-item.is-active .cnt { background: rgba(53, 99, 233, .15); color: var(--brand); }
.demo-side-footer { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-soft); }

/* 移动端横向页签（替代侧边栏） */
.demo-chips { display: none; }

/* 主区域 */
.demo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-mainhead { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 14px 18px 10px; }
.demo-mainhead h4 { font-size: 16px; font-weight: 700; color: var(--ink); }
.demo-mainhead span { font-size: 12px; color: var(--ink-3); }
.demo-quickadd {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  margin: 0 18px 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--sd-1);
  color: var(--ink-3);
  font-size: 12.5px;
}
.demo-quickadd svg { width: 14px; height: 14px; flex: none; }
.demo-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 10px 14px;
  scrollbar-width: thin;
}

/* 任务行 */
.demo-task {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 8px;
  border-radius: 10px;
  transition: background .15s ease;
}
.demo-task:hover { background: var(--brand-tint); }
.demo-check {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  padding: 0;
  border-radius: 50%;
  border: 1.6px solid #c3cad8;
  background: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  color: #fff;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.demo-check svg { width: 11px; height: 11px; opacity: 0; }
.demo-check:hover { border-color: var(--brand); }
.demo-check:active { transform: scale(.92); }
.demo-check.is-done { background: var(--brand); border-color: var(--brand); }
.demo-check.is-done svg { opacity: 1; }
.demo-check--sm { width: 14px; height: 14px; margin-top: 1px; }
.demo-check--sm svg { width: 9px; height: 9px; }
.demo-taskbody { flex: 1; min-width: 0; }
.demo-tasktitle {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-task.is-done .demo-tasktitle { color: var(--ink-3); text-decoration: line-through; }
.demo-prio {
  flex: none;
  font-size: 10.5px;
  line-height: 17px;
  padding: 0 6px;
  border-radius: 5px;
  background: #fdeeee;
  border: 1px solid #f6d3d3;
  color: #d64545;
  font-weight: 600;
}
.demo-flag { display: inline-flex; color: #f0a12c; }
.demo-flag svg { width: 13px; height: 13px; }
.demo-meta {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-3);
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 11px;
  line-height: 19px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.demo-chip i { width: 7px; height: 7px; border-radius: 50%; }
.demo-chip:hover { border-color: #c6d6fb; color: var(--brand); }
.demo-sub { margin: 7px 0 0; padding-left: 4px; display: grid; gap: 5px; }
.demo-sub li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.demo-sub li .is-done { color: var(--ink-3); text-decoration: line-through; }

/* 已完成分组 */
.demo-donegroup { margin-top: 6px; }
.demo-donehead {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 8px 6px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  color: var(--ink-3);
  cursor: pointer;
  text-align: left;
}
.demo-donehead:hover { color: var(--ink); }
.demo-empty { padding: 36px 16px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* 统计视图 */
.demo-stats { padding: 4px 18px 18px; }
.demo-stats h5 {
  margin: 16px 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .03em;
}
.demo-stats h5:first-child { margin-top: 6px; }
.demo-bars { display: flex; gap: 12px; align-items: flex-end; }
.demo-bars .bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.demo-bars .num { font-size: 11px; color: var(--ink-3); }
.demo-bars .bar i {
  width: 100%;
  max-width: 34px;
  background: var(--brand);
  opacity: .85;
  border-radius: 7px 7px 3px 3px;
}
.demo-bars .day { font-size: 11px; color: var(--ink-3); }
.demo-dist { display: grid; gap: 12px; }
.demo-dist .drow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.demo-dist .dlabel { flex: none; width: 48px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.demo-dist .dlabel i { width: 8px; height: 8px; border-radius: 3px; }
.demo-dist .track { flex: 1; height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.demo-dist .track b { display: block; height: 100%; border-radius: 99px; }
.demo-dist .dpct { flex: none; font-size: 11.5px; color: var(--ink-3); }

/* 无 JS 回退：静态截图 */
.hero-shot noscript img,
.demo-frame noscript img { width: 100%; border-radius: 16px; }

.demo-frame .lt-demo { height: 560px; }

@media (max-width: 1024px) {
  .lt-demo, .demo-frame .lt-demo { height: 500px; }
}

@media (max-width: 720px) {
  .lt-demo, .demo-frame .lt-demo { height: 480px; }
  .demo-side { display: none; }
  .demo-body { flex-direction: column; }
  .demo-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line-soft);
    flex: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    background: var(--bg-soft);
  }
  .demo-chips::-webkit-scrollbar { display: none; }
  .demo-chipbtn {
    flex: none;
    height: 30px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
    font: inherit;
    font-size: 12.5px;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
  }
  .demo-chipbtn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
  .demo-mainhead, .demo-quickadd { padding-left: 14px; padding-right: 14px; }
  .demo-quickadd { margin-left: 14px; margin-right: 14px; }
}
