/* ============================================================
   途迹 Daytrace · 落地页样式
   设计语言：深色液态玻璃 + 品牌蓝青渐变 + 编辑感排版
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s ease, color .5s ease;
}
h1, h2, h3, h4, p, ul, li, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, kbd, .mono { font-family: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, monospace; }

/* 线性图标统一规格：描边、圆角端点、随字色 */
.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.135em;
}

/* ---------- 2. 设计令牌 ---------- */
html[data-theme="dark"] {
  --bg: #070A0F;
  --bg-2: #0C1016;
  --surface: rgba(21, 26, 34, 0.72);
  --surface-solid: #141A23;
  --surface-2: #1B222D;
  --surface-3: #232B38;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.055);
  --text: #F5F7FA;
  --text-2: #AEB9C7;
  --text-3: #77839A;
  --brand: #4C93FF;
  --brand-2: #22C8E0;
  --grad: linear-gradient(115deg, #4E96FF 0%, #0C64EC 46%, #00A9CB 100%);
  --grad-soft: linear-gradient(115deg, rgba(78,150,255,.16), rgba(0,169,203,.14));
  --card: rgba(255, 255, 255, 0.032);
  --card-hover: rgba(255, 255, 255, 0.055);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, 0.4);
  --glass-blur: 22px;
  --blob-op: 0.5;
  --grid-op: 0.5;
}
html[data-theme="light"] {
  --bg: #F5F7FB;
  --bg-2: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #FFFFFF;
  --surface-2: #F1F4F9;
  --surface-3: #E7ECF3;
  --line: rgba(15, 23, 42, 0.10);
  --line-2: rgba(15, 23, 42, 0.055);
  --text: #101826;
  --text-2: #4A5568;
  --text-3: #78859B;
  --brand: #0C64EC;
  --brand-2: #00A9CB;
  --grad: linear-gradient(115deg, #2E7BF6 0%, #0C64EC 46%, #00A9CB 100%);
  --grad-soft: linear-gradient(115deg, rgba(46,123,246,.10), rgba(0,169,203,.10));
  --card: rgba(15, 23, 42, 0.022);
  --card-hover: rgba(15, 23, 42, 0.045);
  --shadow-lg: 0 34px 70px rgba(15, 23, 42, 0.14);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --glass-blur: 20px;
  --blob-op: 0.34;
  --grid-op: 0.6;
}

/* ---------- 3. 背景层 ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: var(--grid-op);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-op); }
.blob-1 { width: 780px; height: 780px; top: -320px; left: 50%; transform: translateX(-62%);
  background: radial-gradient(circle, #0C64EC 0%, transparent 68%); }
.blob-2 { width: 620px; height: 620px; top: 60px; right: -180px;
  background: radial-gradient(circle, #00C2D8 0%, transparent 68%); }
.blob-3 { width: 560px; height: 560px; top: 46%; left: -200px;
  background: radial-gradient(circle, #3E6BFF 0%, transparent 70%); }
.bg-noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. 布局与排版 ---------- */
main { position: relative; z-index: 1; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sec { padding: 132px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 64px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 18px;
}
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; letter-spacing: -.022em; font-weight: 700; }
.sec-head p { margin-top: 18px; font-size: 17px; color: var(--text-2); line-height: 1.7; }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--text-3); font-weight: 400; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; font-weight: 600; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background .2s, border-color .2s, box-shadow .25s, opacity .2s;
  border: 1px solid transparent;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-xs { padding: 5px 11px; font-size: 12px; border-radius: 8px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(12,100,236,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(12,100,236,.44); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--card-hover); border-color: var(--brand); transform: translateY(-2px); }
.btn-danger { border: 1px solid rgba(229,62,62,.5); color: #F26A6A; background: transparent; }

/* ---------- 6. 导航 ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.brand-text i { font-size: 10px; font-style: normal; letter-spacing: .16em; color: var(--text-3); text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--text-2); font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--grad); border-radius: 2px; transition: right .3s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-2); background: var(--card);
  transition: .22s;
}
.theme-btn:hover { color: var(--brand); border-color: var(--brand); transform: rotate(-18deg); }
.theme-btn .ic { width: 18px; height: 18px; }

/* 品牌标记 */
.logo-mark { display: inline-grid; place-items: center; flex: none; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(12,100,236,.28)); }
.logo-mark.sm { width: 30px; height: 30px; }
.logo-mark.xs { width: 20px; height: 20px; }
.logo-mark.lg { width: 78px; height: 78px; margin-bottom: 26px; }

/* ---------- 7. Hero ---------- */
.hero { padding: 156px 0 96px; position: relative; }
.hero-head { max-width: 860px; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text-2);
  background: var(--card); backdrop-filter: blur(10px); margin-bottom: 30px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #22C8E0; box-shadow: 0 0 0 0 rgba(34,200,224,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,200,224,0); } 100% { box-shadow: 0 0 0 0 rgba(34,200,224,0); } }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.lede { margin: 26px auto 0; max-width: 680px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); line-height: 1.75; }
.lede b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-meta { display: flex; gap: 12px 26px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-3); }
.hero-meta .ic { width: 15px; height: 15px; color: var(--brand-2); }

.hero-stage { position: relative; margin-top: 74px; }
.stage-glow {
  position: absolute; inset: -6% -4% -14%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(12,100,236,.35), transparent 70%);
  filter: blur(60px);
}
html[data-theme="light"] .stage-glow { background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(12,100,236,.18), transparent 70%); }

/* ============================================================
   8. 应用窗口还原（.win）
   ============================================================ */
.win {
  position: relative; z-index: 1;
  width: 100%; margin-inline: auto;
  border-radius: 18px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  box-shadow: var(--shadow-lg);
  font-size: 13px; color: var(--text);
  user-select: none;
}
.win::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 42%);
}
.win-bar {
  height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  border-bottom: 1px solid var(--line-2);
}
.dots { display: flex; gap: 8px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.d-r { background: #FF5F57; } .d-y { background: #FEBC2E; } .d-g { background: #28C840; }
.win-bar-title { font-size: 12px; color: var(--text-3); font-weight: 500; letter-spacing: .02em; }
.win-body { display: flex; min-height: 500px; }
.win-body.only-main { min-height: 0; }

/* 侧栏 */
.sb {
  width: 222px; flex: none; padding: 14px 12px; display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--line-2); background: var(--card);
}
.sb-brand { display: flex; align-items: center; gap: 9px; padding: 0 4px 12px; border-bottom: 1px solid var(--line-2); }
.sb-brand-t { display: flex; flex-direction: column; line-height: 1.05; }
.sb-brand-t b { font-size: 14px; font-weight: 700; }
.sb-brand-t i { font-size: 9px; font-style: normal; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.sb-nav { display: flex; flex-direction: column; gap: 3px; }
.sb-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 9px;
  font-size: 13px; color: var(--text-3); font-weight: 500;
}
.sb-item .ic { width: 17px; height: 17px; flex: none; }
.sb-item.is-active {
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 6px 18px rgba(12,100,236,.4);
}
.sb-item .pill {
  margin-left: auto; font-size: 10.5px; font-style: normal; padding: 1px 6px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2); font-weight: 600;
}
.sb-sec { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-sec-h { font-size: 10.5px; letter-spacing: .08em; color: var(--text-3); font-weight: 600; padding: 0 4px; }
.sb-todos { display: flex; flex-direction: column; gap: 2px; }
.todo { display: flex; align-items: center; gap: 8px; padding: 6px 7px; border-radius: 7px; font-size: 11.5px; color: var(--text-2); }
.todo:hover { background: var(--card-hover); }
.todo > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: block; }
.dot.todo { border: 1.5px solid #77839A; background: transparent; }
.dot.doing { background: var(--brand); box-shadow: 0 0 0 3px rgba(76,147,255,.18); }
.dot.follow { background: #E8853D; }
.dot.done { background: #38B2AC; }
.due { font-size: 10px; font-style: normal; color: var(--text-3); flex: none; font-variant-numeric: tabular-nums; }
.due.now { color: var(--brand); font-weight: 600; }
.due.over { color: #E8853D; }
.sb-foot { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.sb-stats { display: flex; gap: 8px; }
.stat {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line-2);
}
.ring { width: 34px; height: 34px; flex: none; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 4; }
.ring-fg {
  fill: none; stroke: #22C8E0; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 113.1;
  stroke-dashoffset: calc(113.1 - 113.1 * var(--p) / 100);
}
.stat-t { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.stat-t span { font-size: 9px; color: var(--text-3); white-space: nowrap; }
.stat-t b { font-size: 13px; font-weight: 700; }
.stat-t i { font-size: 9px; font-style: normal; color: var(--text-3); white-space: nowrap; }
.stat.plain .stat-t b { font-size: 15px; }

/* 主区 */
.mn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mn-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.mn-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mn-nav { display: flex; gap: 6px; }
.ibtn {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  color: var(--text-3); font-size: 12px;
}
.ibtn:hover { background: var(--card-hover); color: var(--text); }
.ibtn .ic { width: 15px; height: 15px; }
.ibtn.flip .ic { transform: rotate(180deg); }
.ibtn.sm { width: 22px; height: 22px; font-size: 11px; }
.prog-row { display: flex; align-items: center; gap: 10px; padding: 10px 22px 0; }
.prog-txt { font-size: 11px; color: var(--text-3); }
.track { position: relative; display: block; width: 120px; height: 3px; border-radius: 3px; background: var(--surface-3); flex: none; }
.track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); background: #22C8E0; border-radius: 3px; }
.track b { position: absolute; top: 50%; left: calc(var(--p) * 1%); width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(76,147,255,.2); }
.mn-list { flex: 1; min-height: 0; overflow: hidden; padding: 14px 22px; display: flex; flex-direction: column; gap: 14px; }
.grp { display: flex; flex-direction: column; gap: 8px; }
.grp-h { font-size: 11px; font-weight: 600; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.grp-h i { font-style: normal; font-size: 10px; color: var(--text-3); opacity: .7; }
.card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 11px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 7px;
  transition: .22s;
}
.card.is-sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(76,147,255,.14); }
.card.done .card-t { color: var(--text-3); text-decoration: line-through; }
.card-top { display: flex; align-items: center; gap: 8px; }
.card-t { font-size: 13px; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-note { font-size: 11px; color: var(--text-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; gap: 6px; }
.mini {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: var(--text-3);
  background: var(--surface-3); border-radius: 7px; padding: 2px 7px;
}
.mini .ic { width: 11px; height: 11px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 7px; flex: none; white-space: nowrap;
}
.badge .ic { width: 12px; height: 12px; }
.bdot { width: 6px; height: 6px; border-radius: 50%; display: block; }
.badge.todo { color: #9AA6B8; background: rgba(154,166,184,.14); }
.badge.todo .bdot { border: 1.5px solid currentColor; background: transparent; }
.badge.doing { color: var(--brand); background: rgba(76,147,255,.16); }
.badge.doing .bdot { background: currentColor; }
.badge.follow { color: #E8853D; background: rgba(232,133,61,.16); }
.badge.follow .bdot { background: currentColor; }
.badge.done { color: #35C6BE; background: rgba(53,198,190,.16); }
html[data-theme="light"] .badge.todo { color: #64748B; background: rgba(100,116,139,.12); }
.badge.sm { padding: 2px 6px; }
.prio { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 6px; flex: none; }
.prio.imp { color: #E8853D; background: rgba(232,133,61,.15); }
.tag {
  font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 7px; white-space: nowrap;
}
.tag.blue { color: #6EA8E8; background: rgba(43,108,176,.18); }
.tag.cyan { color: #4FD1C5; background: rgba(15,118,110,.2); }
.tag.purple { color: #B39CE8; background: rgba(128,90,213,.18); }
.tag.amber { color: #F6AD55; background: rgba(180,83,9,.2); }
.tag.pink { color: #F687B3; background: rgba(184,50,128,.18); }
html[data-theme="light"] .tag.blue { color: #2B6CB0; background: rgba(43,108,176,.13); }
html[data-theme="light"] .tag.cyan { color: #0F766E; background: rgba(15,118,110,.12); }
html[data-theme="light"] .tag.purple { color: #6B46C1; background: rgba(128,90,213,.12); }
html[data-theme="light"] .tag.amber { color: #B45309; background: rgba(180,83,9,.12); }
html[data-theme="light"] .tag.pink { color: #B83280; background: rgba(184,50,128,.12); }

.composer {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px 16px; border-top: 1px solid var(--line-2);
}
.c-input {
  flex: 1; font-size: 12px; color: var(--text-3); padding: 8px 12px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--line-2);
}
.btn-xs { flex: none; }

/* 详情面板 */
.dt {
  width: 306px; flex: none; border-left: 1px solid var(--line-2); background: var(--card);
  padding: 16px; display: flex; flex-direction: column; gap: 13px;
}
.dt-head { display: flex; align-items: center; gap: 8px; }
.dt-title { flex: 1; font-size: 13.5px; font-weight: 700; }
.dt-title.sm { font-size: 12.5px; }
.dt-field { display: flex; flex-direction: column; gap: 6px; }
.dt-field label { font-size: 10.5px; color: var(--text-3); font-weight: 600; }
.dt-note {
  font-size: 11px; color: var(--text-2); line-height: 1.55; padding: 8px 10px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line-2);
}
.dt-input {
  font-size: 11px; color: var(--text-2); padding: 7px 10px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line-2); font-variant-numeric: tabular-nums;
}
.seg { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: var(--surface-2); }
.seg-i {
  flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--text-3);
  padding: 5px 4px; border-radius: 7px;
}
.seg-i.is-on { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.seg-i.is-on.doing { color: var(--brand); background: rgba(76,147,255,.16); }
.seg-i.is-on.imp { color: #E8853D; background: rgba(232,133,61,.16); }
.seg.quick .seg-i { font-size: 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 7px;
}
.chip i { font-style: normal; opacity: .6; font-size: 11px; }
.chip.blue { color: #6EA8E8; background: rgba(43,108,176,.18); }
.chip.cyan { color: #4FD1C5; background: rgba(15,118,110,.2); }
.chip.add { color: var(--text-3); border: 1px dashed var(--line); background: transparent; }
html[data-theme="light"] .chip.blue { color: #2B6CB0; background: rgba(43,108,176,.13); }
html[data-theme="light"] .chip.cyan { color: #0F766E; background: rgba(15,118,110,.12); }
.drop {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 10.5px; color: var(--text-3); padding: 12px; border-radius: 8px;
  border: 1px dashed var(--line);
}
.drop .ic { width: 13px; height: 13px; }
.dt-actions { margin-top: auto; display: flex; justify-content: flex-end; gap: 8px; padding-top: 6px; }

/* 记录页流水 */
.mn-list.flow { gap: 8px; }
.flow-row { display: flex; gap: 12px; padding: 9px 11px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-2); }
.ft { font-size: 10.5px; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 2px; flex: none; }
.fb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ft-t { font-size: 12.5px; font-weight: 500; }
.ft-n { font-size: 11px; color: var(--text-3); }
.ft-tags { display: flex; gap: 5px; margin-top: 2px; }

/* 复盘行 */
.card.rv .card-top { gap: 9px; }
.cb { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); flex: none; }
.cb.on { background: var(--grad); border-color: transparent; position: relative; }
.cb.on::after { content: ""; position: absolute; inset: 0; background: center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.rv-date { font-size: 10.5px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; }
.rv-panel { width: 268px; }
.rv-count { font-size: 10.5px; color: var(--text-3); }
.md-preview {
  font-size: 10.5px; line-height: 1.75; color: var(--text-2); font-family: "SF Mono", ui-monospace, monospace;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 11px; flex: 1;
}

/* 日历整页 */
.cal-full { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding: 16px 22px; }
.cf-h { font-size: 10.5px; color: var(--text-3); text-align: center; font-weight: 600; }
.cf {
  aspect-ratio: 1 / .78; border-radius: 9px; background: var(--card); border: 1px solid var(--line-2);
  padding: 9px 11px; font-size: 12px; font-weight: 600; color: var(--text-2);
  display: flex; flex-direction: column; gap: 3px; justify-content: flex-start;
}
.cf i { font-style: normal; font-size: 10px; color: #35C6BE; font-weight: 600; font-variant-numeric: tabular-nums; }
.cf.out { background: transparent; border-color: transparent; color: var(--text-3); opacity: .5; }
.cf.is-today { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(76,147,255,.16); }
.cal-tip { font-size: 10.5px; color: var(--text-3); padding: 0 22px 16px; }

/* ---------- 9. 主打卖点 ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hl {
  position: relative; padding: 32px 28px 0; border-radius: 20px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-2);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
  display: flex; flex-direction: column;
}
.hl:hover { transform: translateY(-6px); border-color: var(--line); background: var(--card-hover); }
.hl-no { position: absolute; top: 26px; right: 28px; font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: .05em; }
.hl-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--brand-2); margin-bottom: 20px;
}
.hl-ic .ic { width: 23px; height: 23px; }
.hl h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.hl > p { margin-top: 12px; font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.hl-visual { margin-top: 24px; padding-bottom: 26px; }

.mini-win {
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2);
  padding: 12px 14px; font-size: 11.5px;
}
.mini-win.quick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quick-input { flex: 1; min-width: 120px; color: var(--text-3); }
.caret { display: inline-block; width: 1.5px; height: 13px; background: var(--brand); vertical-align: -2px; margin-left: 2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.quick-hint { width: 100%; font-size: 10px; color: var(--text-3); }
.days { display: flex; flex-direction: column; gap: 8px; }
.day-row { display: flex; align-items: center; gap: 10px; font-size: 10.5px; }
.day-row .d { color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; }
.day-row .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.day-row .bar i { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 3px; }
.day-row .n { color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; }
.md { font-family: "SF Mono", ui-monospace, monospace; line-height: 1.85; color: var(--text-2); }
.md-l1 { color: var(--text); font-weight: 700; }
.md-l2 { color: var(--brand-2); }
.md-li { color: var(--text-2); }

/* ---------- 10. 功能分类 ---------- */
.feat-cats { display: flex; flex-direction: column; gap: 26px; }
.cat {
  display: grid; grid-template-columns: 268px 1fr; gap: 34px;
  padding: 34px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line-2);
  transition: border-color .3s;
}
.cat:hover { border-color: var(--line); }
.cat-side { position: sticky; top: 96px; align-self: start; }
.cat-no { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.cat-side h3 { font-size: 26px; font-weight: 700; margin-top: 10px; letter-spacing: -.02em; }
.cat-side p { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fc {
  padding: 20px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s;
}
.fc:hover { transform: translateY(-4px); border-color: var(--line); }
.fc-wide { grid-column: span 2; }
.fc-head { display: flex; align-items: center; gap: 9px; }
.fc-head .ic { width: 18px; height: 18px; color: var(--brand-2); flex: none; }
.fc-head h4 { font-size: 15px; font-weight: 700; }
.fc > p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.fc-demo { margin-top: auto; padding-top: 4px; }

.group-demo { display: flex; flex-direction: column; gap: 6px; }
.gd-h { font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.gd-c { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); padding: 7px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line-2); }
.badges-demo, .tag-demo, .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.badges-demo .badge, .tag-demo .tag { font-size: 10.5px; }
.drop-demo .drop-mini {
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--text-3);
  padding: 12px; border-radius: 9px; border: 1px dashed var(--line);
}
.drop-demo .ic { width: 13px; height: 13px; }
.cal-demo { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 400px; }
.cd-h { font-size: 9.5px; color: var(--text-3); text-align: center; }
.cd {
  aspect-ratio: 1; border-radius: 7px; background: var(--card); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 600; color: var(--text-2); gap: 1px;
}
.cd i { font-style: normal; font-size: 8px; color: #35C6BE; font-weight: 600; }
.cd.is-today { border-color: var(--brand); }
.rule-demo { display: flex; flex-direction: column; gap: 6px; }
.r-row { display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.r-row b { color: var(--text-3); font-variant-numeric: tabular-nums; flex: none; font-weight: 600; }
.r-bar { height: 6px; border-radius: 3px; background: var(--grad); flex: none; }
.r-bar.w1 { width: 22%; } .r-bar.w2 { width: 48%; } .r-bar.w3 { width: 74%; background: #35C6BE; }
.r-row em { font-style: normal; font-size: 9.5px; color: var(--text-3); white-space: nowrap; flex: none; }
.list-demo { display: flex; flex-direction: column; gap: 6px; }
.ld-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-2); padding: 8px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line-2); }
.ld-row b { color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 10.5px; }
.ld-row .card-t { flex: 1; }
.panel-demo { position: relative; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; }
.pd-top { display: flex; align-items: center; gap: 8px; }
.pd-brand { flex: 1; font-size: 11px; font-weight: 700; }
.pd-ic { color: var(--text-3); font-size: 11px; }
.pd-date { font-size: 13px; font-weight: 700; }
.pd-prog { display: flex; align-items: center; gap: 9px; font-size: 10.5px; color: var(--text-3); }
.pd-3 { display: flex; }
.pd-3 span { flex: 1; font-size: 9.5px; color: var(--text-3); text-align: center; display: flex; flex-direction: column; }
.pd-3 span + span { border-left: 1px solid var(--line-2); }
.pd-3 b { font-size: 15px; font-weight: 700; }
.c-blue { color: var(--brand); } .c-cyan { color: #35C6BE; }
.pd-list { display: flex; flex-direction: column; gap: 3px; }
.pd-list span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); padding: 4px 6px; border-radius: 6px; background: var(--card); }
.pd-list em { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--text-3); }
.pd-plus { position: absolute; right: 12px; bottom: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 6px 16px rgba(12,100,236,.4); }
.path-demo code {
  display: block; font-size: 11px; color: var(--text-2); padding: 10px 12px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--line-2); word-break: break-all;
}

/* ---------- 11. 界面预览 ---------- */
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 13px; margin-bottom: 30px;
  background: var(--card); border: 1px solid var(--line-2);
}
.tab {
  padding: 9px 22px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: .22s;
}
.tab:hover { color: var(--text); background: var(--card-hover); }
.tab.is-on { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(12,100,236,.32); }
.screens { position: relative; }
.screen { display: none; }
.screen.is-on { display: block; animation: fadeUp .5s cubic-bezier(.2,.8,.2,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.win.compact { max-width: 880px; }
.win.compact .mn { min-height: 380px; }
.screen-cap { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--text-3); }

/* ---------- 12. 克制 ---------- */
.boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bd-text h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.28; }
.bd-text .kicker { margin-bottom: 16px; }
.bd-text p { margin-top: 20px; font-size: 15px; color: var(--text-2); line-height: 1.75; }
.bd-list { display: flex; flex-direction: column; gap: 10px; }
.bd-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 13px;
  background: var(--card); border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2);
  transition: .25s;
}
.bd-list li:hover { border-color: var(--line); transform: translateX(5px); }
.bd-list li span {
  flex: none; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  color: var(--text-3); background: var(--surface-3);
}
.bd-list li.ok { border-color: rgba(34,200,224,.4); background: var(--grad-soft); color: var(--text); }
.bd-list li.ok span { color: #fff; background: var(--grad); }

/* ---------- 13. 技术 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tc { padding: 26px 24px; border-radius: 17px; background: var(--card); border: 1px solid var(--line-2); transition: .28s; }
.tc:hover { transform: translateY(-5px); border-color: var(--line); background: var(--card-hover); }
.tc h4 { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.tc h4 .ic { width: 17px; height: 17px; color: var(--brand-2); }
.tc-main { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.tc-sub { margin-top: 8px; font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ---------- 14. 收尾 CTA ---------- */
.cta-sec { padding: 60px 0 130px; }
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 84px 40px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-lg);
}
.cta-glow {
  position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 50% 50%, rgba(12,100,236,.35), transparent 70%);
}
html[data-theme="light"] .cta-glow { background: radial-gradient(ellipse 45% 55% at 50% 50%, rgba(12,100,236,.14), transparent 70%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(28px, 3.8vw, 46px); }
.cta p { margin-top: 16px; font-size: 16.5px; color: var(--text-2); }
.cta-note { margin-top: 26px; font-size: 13px; color: var(--text-3); }

/* ---------- 15. 页脚 ---------- */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line-2); padding: 40px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand > div { display: flex; flex-direction: column; line-height: 1.3; }
.foot-brand b { font-size: 15px; font-weight: 700; }
.foot-brand span { font-size: 12px; color: var(--text-3); }
.foot-nav { display: flex; gap: 24px; }
.foot-nav a { font-size: 13.5px; color: var(--text-2); transition: color .2s; }
.foot-nav a:hover { color: var(--brand); }
.foot-copy { font-size: 12.5px; color: var(--text-3); }

/* ---------- 16. 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  .hl-grid { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; gap: 24px; }
  .cat-side { position: static; }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .win { font-size: 12px; }
  .dt { display: none; }
  .win-body { min-height: 420px; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 84px 0; }
  .hero { padding: 120px 0 64px; }
  .cat { padding: 22px; }
  .cat-cards { grid-template-columns: 1fr; }
  .fc-wide { grid-column: span 1; }
  .boundary { grid-template-columns: 1fr; gap: 34px; }
  .tech-grid { grid-template-columns: 1fr; }
  .cta { padding: 56px 22px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .sb { display: none; }
  .hero-cta .btn { width: 100%; }
  .tabs { display: flex; overflow-x: auto; width: 100%; }
  .tab { flex: none; }
}
