/* ============================================================
   硬件设计 28 天 · 样式（浅色主题）
   ============================================================ */
:root {
  --bg: #f6f9fc;
  --bg-2: #eef4f8;
  --panel: #ffffff;
  --panel-2: #f7fafc;
  --line: #e3eaf1;
  --line-2: #cfdae5;
  --txt: #0f1c2a;
  --txt-2: #4a5d70;
  --txt-3: #8397a8;
  --green: #0f9d63;
  --green-d: #077a4c;
  --cyan: #0d93a8;
  --blue: #2563eb;
  --purple: #7c4dff;
  --amber: #d97706;
  --coral: #e5533d;
  --teal: #0d9488;
  --grad: linear-gradient(135deg, #12b981, #0ea5b7);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 30px -20px rgba(16, 24, 40, .28);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景：淡色光晕 + 极细网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(16, 185, 129, .13), transparent 65%),
    radial-gradient(760px 480px at 4% 8%, rgba(37, 99, 235, .10), transparent 62%),
    radial-gradient(820px 600px at 50% 110%, rgba(124, 77, 255, .08), transparent 66%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 28, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 28, 42, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
b, strong { color: #06121d; font-weight: 700; }
em { font-style: normal; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; color: #0b1622; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
svg { display: block; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mt-lg { margin-top: 18px; }
.muted { color: var(--txt-3); font-size: 14px; }
.hint { color: var(--txt-3); font-size: 12.5px; font-weight: 400; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600;
  transition: .2s ease;
  white-space: nowrap;
  background: none;
}
.btn .ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(18, 185, 129, .85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(18, 185, 129, .9); }
.btn-ghost {
  border-color: var(--line-2);
  color: #22384c;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--green-d); border-color: rgba(15, 157, 99, .55); background: rgba(16, 185, 129, .07); }
.btn-ghost.danger:hover { color: #c03522; border-color: rgba(229, 83, 61, .55); background: rgba(229, 83, 61, .07); }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ==================== 导航 ==================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); box-shadow: 0 6px 20px -18px rgba(16, 24, 40, .5); }
.nav-inner {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  height: 66px; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(16, 185, 129, .18), rgba(14, 165, 183, .1));
  border: 1px solid rgba(15, 157, 99, .35);
}
.brand-mark svg { width: 20px; height: 20px; fill: var(--green); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 15px; color: #0b1622; }
.brand-text em { font-size: 11.5px; color: var(--txt-3); font-weight: 500; letter-spacing: .04em; }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--txt-2);
  transition: .18s ease;
}
.nav-links a:hover { color: var(--txt); background: rgba(15, 28, 42, .05); }
.nav-links a.active { color: var(--green-d); background: rgba(16, 185, 129, .1); font-weight: 600; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ring-wrap { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(15, 28, 42, .1); stroke-width: 3; }
.ring-fg {
  fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 97.4; stroke-dashoffset: 97.4;
  transition: stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1);
}
.ring-num { position: absolute; font-size: 10px; font-weight: 700; color: var(--txt-2); font-family: var(--mono); }

.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 10px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #46596a; border-radius: 2px; transition: .2s; }

/* ==================== Hero ==================== */
.hero { position: relative; overflow: hidden; padding: 54px 0 40px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.trace-lines {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(15, 157, 99, .10) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(13, 147, 168, .08) 0 1px, transparent 1px 90px);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid rgba(15, 157, 99, .28);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px; color: #0a6e49; letter-spacing: .02em;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #12b981; box-shadow: 0 0 0 4px rgba(18, 185, 129, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(18, 185, 129, 0); } }

.hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.02em; color: #08131f; }
.hero h1 .grad {
  background: linear-gradient(100deg, #0f9d63, #17b981);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad2 {
  background: linear-gradient(100deg, #1d6fe0, #0d93a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; color: var(--txt-2); font-size: 16px; max-width: 40em; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  padding: 6px 12px; border-radius: 8px; font-size: 12.5px; color: #38506a;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm);
  font-family: var(--mono);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions.center { justify-content: center; }
.hero-stats { display: flex; gap: 26px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 22px; font-family: var(--mono); color: #0b1622; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: var(--txt-3); }

.hero-visual { display: grid; place-items: center; }
.board-svg { width: 100%; max-width: 420px; filter: drop-shadow(0 24px 40px rgba(16, 185, 129, .14)); }
.trace { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s ease forwards; }
.trace:nth-child(2) { animation-delay: .15s; }
.trace:nth-child(3) { animation-delay: .3s; }
.trace:nth-child(4) { animation-delay: .45s; }
.trace:nth-child(5) { animation-delay: .6s; }
.trace:nth-child(6) { animation-delay: .75s; }
.trace:nth-child(7) { animation-delay: .9s; }
.trace:nth-child(8) { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pad { animation: padIn .6s ease both; transform-box: fill-box; transform-origin: center; }
@keyframes padIn { from { opacity: 0; transform: scale(.4); } }
.pad:nth-child(2n) { animation-delay: .3s; }
.pad:nth-child(3n) { animation-delay: .5s; }

/* ==================== 区块通用 ==================== */
.sec { padding: 74px 0; position: relative; scroll-margin-top: 82px; }
.sec-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(238, 244, 248, .55)); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--green); text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
.sec-head h2 { font-size: clamp(25px, 3.1vw, 36px); font-weight: 800; }
.sec-sub { margin-top: 12px; color: var(--txt-2); font-size: 15.5px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { font-size: 16.5px; font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ==================== 雷达 ==================== */
.radar { display: grid; place-items: center; }
.radar svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.radar .grid-line { stroke: rgba(15, 28, 42, .12); fill: none; }
.radar .axis { stroke: rgba(15, 28, 42, .1); }
.radar .lbl { fill: #455a6e; font-size: 11.5px; font-family: var(--font); font-weight: 500; }
.radar .poly-start { fill: rgba(217, 119, 6, .1); stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 4 3; transition: opacity .3s; }
.radar .poly-target { fill: rgba(16, 185, 129, .16); stroke: var(--green); stroke-width: 2; }
.radar .dot-s { fill: var(--amber); }
.radar .dot-t { fill: var(--green); }
.legend { display: flex; gap: 18px; justify-content: center; margin-top: 10px; font-size: 12.5px; color: var(--txt-2); }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.sw-start { background: var(--amber); }
.sw-target { background: var(--green); }

.outcome-list { display: grid; gap: 12px; align-content: start; }
.oc {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: .22s ease;
}
.oc:hover { border-color: rgba(15, 157, 99, .45); transform: translateX(4px); box-shadow: var(--shadow); }
.oc-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(16, 185, 129, .12); border: 1px solid rgba(15, 157, 99, .25);
}
.oc-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--green-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oc h4 { font-size: 14.5px; margin-bottom: 3px; }
.oc p { font-size: 13.5px; color: var(--txt-2); line-height: 1.65; }

/* ==================== 技能地图 ==================== */
.map-wrap { padding: 0; overflow: hidden; }
.map-canvas {
  position: relative;
  height: 520px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, .09), transparent 62%),
    #fbfdff;
}
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines line { stroke: rgba(15, 28, 42, .16); stroke-width: .28; stroke-dasharray: 2 2; }
.map-lines line.hot { stroke: var(--green); stroke-width: .55; stroke-dasharray: none; }

.map-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 40% 35%, #ffffff, #eafaf3 72%);
  border: 1px solid rgba(15, 157, 99, .5);
  box-shadow: 0 0 0 10px rgba(16, 185, 129, .06), 0 16px 34px -22px rgba(15, 157, 99, .9);
}
.mc-inner { display: grid; gap: 3px; justify-items: center; }
.mc-ico { width: 24px; height: 24px; fill: none; stroke: var(--green-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-center strong { font-size: 14.5px; letter-spacing: .02em; color: #0b1622; }
.map-center small { font-size: 11px; color: #0a7d55; font-family: var(--mono); }

.dom {
  position: absolute; transform: translate(-50%, -50%);
  width: 196px; padding: 13px 14px;
  border-radius: 14px; text-align: left;
  border: 1px solid var(--line-2);
  background: #fff;
  transition: .22s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.dom:hover { transform: translate(-50%, -50%) scale(1.04); border-color: var(--dc); box-shadow: var(--shadow); }
.dom.active {
  border-color: var(--dc);
  box-shadow: 0 0 0 1px var(--dc), 0 16px 30px -22px rgba(16, 24, 40, .6);
  background: #fdfefe;
}
.dom-top { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dom-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; background: #f2f7fb; }
.dom-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--dc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dom h4 { font-size: 14.5px; }
.dom small { display: block; font-size: 11.5px; color: var(--txt-3); font-family: var(--mono); }
.dom p { font-size: 12.5px; color: var(--txt-2); line-height: 1.55; }

.map-detail { padding: 22px; min-height: 96px; background: #fff; }
.md-empty { display: flex; align-items: center; gap: 12px; color: var(--txt-3); font-size: 14px; }
.md-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.md-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.md-head h3 { font-size: 17px; }
.md-one { color: var(--txt-2); font-size: 14px; }
.md-cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.md-cols h5 { font-size: 12px; color: var(--txt-3); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.md-points { display: grid; gap: 8px; }
.md-points li { display: flex; gap: 9px; font-size: 14px; color: var(--txt-2); }
.md-points li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 2px; background: var(--dc, var(--green)); }
.md-days { display: flex; flex-wrap: wrap; gap: 7px; }
.day-chip {
  padding: 5px 11px; border-radius: 8px; font-size: 12.5px; font-family: var(--mono);
  border: 1px solid var(--line-2); color: #3b5266; background: #fff;
  transition: .18s;
}
.day-chip:hover { color: #fff; background: var(--green); border-color: var(--green); }
.day-chip.done { border-color: rgba(15, 157, 99, .45); color: #0a7d55; background: rgba(16, 185, 129, .1); }

/* ==================== 路径 ==================== */
.path-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.filters { display: flex; gap: 8px; }
.fbtn {
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; color: var(--txt-2);
  border: 1px solid var(--line-2); background: #fff; transition: .18s; box-shadow: var(--shadow-sm);
}
.fbtn:hover { color: var(--txt); border-color: var(--green); }
.fbtn.active { color: #fff; background: var(--grad); border-color: transparent; font-weight: 700; box-shadow: 0 8px 18px -12px rgba(18, 185, 129, .9); }
.path-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--txt-2); font-family: var(--mono); }
.mini-bar { width: 140px; height: 6px; border-radius: 99px; background: #e3eaf1; overflow: hidden; }
.mini-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .5s ease; }

.weeks { display: grid; gap: 20px; }
.week {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.week-head {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(15, 28, 42, .025), transparent 62%);
  flex-wrap: wrap;
}
.week-no {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 15px; font-weight: 700; color: #fff;
  background: var(--wc); box-shadow: 0 10px 20px -14px var(--wc);
}
.week-head h3 { font-size: 17px; }
.week-head .wk-sub { font-size: 12.5px; color: var(--txt-3); font-family: var(--mono); }
.week-goal { margin-left: auto; font-size: 13px; color: var(--txt-2); max-width: 46ch; text-align: right; }
.week-body { padding: 16px 18px 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 12px; }

.day {
  position: relative; padding: 14px 15px 15px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line); background: #fff;
  transition: .2s ease; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-height: 116px;
}
.day:hover { border-color: var(--wc); background: #fbfefd; transform: translateY(-3px); box-shadow: 0 14px 24px -20px rgba(16, 24, 40, .7); }
.day.done { border-color: rgba(15, 157, 99, .4); background: linear-gradient(160deg, rgba(16, 185, 129, .08), rgba(255, 255, 255, .9)); }
.day.hide { display: none; }
.day-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.day-no { font-family: var(--mono); font-size: 12px; color: var(--wc); font-weight: 700; letter-spacing: .06em; }
.day-check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; flex: none; background: #fff;
}
.day-check svg { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.day.done .day-check { background: #12b981; border-color: #12b981; }
.day.done .day-check svg { opacity: 1; }
.day h4 { font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.day-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 6px; color: #5b6f80;
  background: #f4f8fb; border: 1px solid var(--line);
  font-family: var(--mono);
}
.day-time { font-size: 11.5px; color: var(--txt-3); font-family: var(--mono); }

/* ==================== 首板 ==================== */
.spec { display: grid; gap: 10px; }
.spec > div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: start; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.spec > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec dt { font-size: 12.5px; color: var(--green-d); font-family: var(--mono); padding-top: 2px; font-weight: 600; }
.spec dd { margin: 0; font-size: 14px; color: var(--txt-2); }

.flow { display: grid; gap: 10px; counter-reset: f; }
.flow li { display: flex; gap: 12px; align-items: flex-start; counter-increment: f; }
.flow li::before {
  content: counter(f); flex: none; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: #fff; background: var(--grad); margin-top: 2px;
}
.flow b { font-size: 14px; display: block; color: #0b1622; }
.flow span { font-size: 13px; color: var(--txt-2); line-height: 1.6; }

/* ==================== 工具 ==================== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tool-group h3 { font-size: 15px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.tool-group h3 svg { width: 17px; height: 17px; fill: none; stroke: var(--green-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-item { display: block; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; transition: .18s; }
.tool-item:hover { background: rgba(16, 185, 129, .06); border-color: rgba(15, 157, 99, .25); }
.tool-item b { font-size: 14px; display: flex; align-items: center; gap: 6px; color: #0b1622; }
.tool-item b::after { content: "↗"; font-size: 11px; color: var(--txt-3); }
.tool-item p { font-size: 12.5px; color: var(--txt-3); line-height: 1.55; margin-top: 3px; }

.book-list { display: grid; gap: 12px; }
.book-list li { padding-left: 16px; position: relative; }
.book-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.book-list b { font-size: 14px; display: block; color: #0b1622; }
.book-list span { font-size: 13px; color: var(--txt-2); }

.gear-list { display: grid; gap: 9px; }
.gear-list li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.gear-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.gear-list b { font-size: 13.8px; font-weight: 600; display: block; color: #0b1622; }
.gear-list span { font-size: 12.5px; color: var(--txt-3); }
.pill { font-size: 11px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-family: var(--mono); }
.pill.must { background: rgba(16, 185, 129, .12); color: #0a7d55; border: 1px solid rgba(15, 157, 99, .28); }
.pill.rec { background: rgba(37, 99, 235, .1); color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .24); }
.pill.opt { background: #f4f8fb; color: #6d8296; border: 1px solid var(--line); }

/* ==================== 进度 ==================== */
.progress-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; }
.stat-card { display: grid; gap: 18px; justify-items: center; }
.big-ring { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.big-ring svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.br-bg { fill: none; stroke: #e6edf4; stroke-width: 8; }
.br-fg { fill: none; stroke: #12b981; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .7s cubic-bezier(.4, 0, .2, 1); }
.br-num { position: absolute; display: grid; justify-items: center; }
.br-num strong { font-size: 34px; font-family: var(--mono); letter-spacing: -.03em; color: #0b1622; }
.br-num small { font-size: 12px; color: var(--txt-3); }
.stat-row { display: flex; gap: 26px; }
.stat { display: grid; justify-items: center; gap: 2px; }
.stat b { font-size: 20px; font-family: var(--mono); color: #0b1622; }
.stat span { font-size: 11.5px; color: var(--txt-3); }
.stat-next { width: 100%; padding: 12px 14px; border-radius: 10px; background: rgba(16, 185, 129, .08); border: 1px solid rgba(15, 157, 99, .22); font-size: 13px; color: #0a6e49; text-align: center; }

.heat { display: grid; gap: 7px; }
.heat-row { display: grid; grid-template-columns: 26px repeat(7, 1fr); gap: 6px; align-items: center; }
.heat-wk { font-size: 11px; color: var(--txt-3); font-family: var(--mono); }
.hcell {
  aspect-ratio: 1.6; border-radius: 6px; border: 1px solid var(--line);
  background: #f4f8fb; display: grid; place-items: center;
  font-size: 10.5px; font-family: var(--mono); color: #7b8fa1; transition: .18s;
}
.hcell:hover { transform: scale(1.08); border-color: var(--green); color: var(--green-d); }
.hcell.done { background: linear-gradient(160deg, #12b981, #0ea5b7); border-color: transparent; color: #fff; font-weight: 700; }
.heat-legend { display: flex; align-items: center; gap: 6px; justify-content: flex-end; font-size: 11.5px; color: var(--txt-3); margin-top: 14px; }
.heat-legend i { width: 16px; height: 12px; border-radius: 3px; display: inline-block; }
.h0 { background: #f4f8fb; border: 1px solid var(--line); }
.h1 { background: rgba(18, 185, 129, .28); }
.h2 { background: rgba(18, 185, 129, .6); }
.h3 { background: #12b981; }

.notes { display: grid; gap: 10px; max-height: 300px; overflow-y: auto; }
.note-empty { color: var(--txt-3); font-size: 13.5px; padding: 10px 0; }
.note { padding: 11px 13px; border-radius: 10px; background: #f9fbfd; border: 1px solid var(--line); border-left: 3px solid #12b981; cursor: pointer; }
.note:hover { background: #f2f7fb; }
.note b { font-size: 13px; font-family: var(--mono); color: var(--green-d); }
.note p { font-size: 13px; color: var(--txt-2); margin-top: 3px; white-space: pre-wrap; }

.data-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tips { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 13px; color: #274257; background: rgba(37, 99, 235, .06); border: 1px solid rgba(37, 99, 235, .18); line-height: 1.65; }

/* ==================== 踩坑 ==================== */
.pitfalls { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pit {
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(229, 83, 61, .05), #fff 60%);
  box-shadow: var(--shadow-sm);
  display: flex; gap: 13px; align-items: flex-start;
}
.pit-no { flex: none; font-family: var(--mono); font-size: 12px; color: #b93c28; border: 1px solid rgba(229, 83, 61, .3); background: rgba(229, 83, 61, .08); border-radius: 7px; padding: 2px 7px; margin-top: 1px; }
.pit b { font-size: 14px; display: block; margin-bottom: 4px; color: #0b1622; }
.pit p { font-size: 13px; color: var(--txt-2); line-height: 1.6; }

/* ==================== CTA ==================== */
.cta { padding: 70px 0 80px; }
.cta-inner {
  text-align: center;
  padding: 52px 30px; border-radius: 22px;
  border: 1px solid rgba(15, 157, 99, .25);
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(16, 185, 129, .16), transparent 70%),
    linear-gradient(160deg, #ffffff, #f2fbf7);
  box-shadow: 0 30px 60px -40px rgba(15, 157, 99, .55);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { margin-top: 12px; color: var(--txt-2); }
.cta .hero-actions { justify-content: center; }

/* ==================== 页脚 ==================== */
.foot { border-top: 1px solid var(--line); padding: 30px 0; background: rgba(255, 255, 255, .8); }
.foot-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot strong { font-size: 14.5px; color: #0b1622; }
.foot p { font-size: 12.5px; color: var(--txt-3); margin-top: 4px; }
.foot-links { display: flex; gap: 16px; font-size: 13px; color: var(--txt-2); }
.foot-links a:hover { color: var(--green-d); }

/* ==================== 抽屉 ==================== */
.drawer-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 22, 34, .32); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s;
}
.drawer-mask.show { opacity: 1; }
.drawer {
  position: fixed; z-index: 100; top: 0; right: 0; bottom: 0;
  width: min(560px, 100%);
  display: flex; flex-direction: column;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -40px rgba(16, 24, 40, .5);
  transform: translateX(102%);
  transition: transform .32s cubic-bezier(.32, .72, 0, 1);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  background: #fbfdff;
}
.d-day { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--green-d); font-weight: 600; }
.drawer-close {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2);
  background: #fff; color: var(--txt-2); font-size: 13px;
}
.drawer-close:hover { color: #c03522; border-color: rgba(229, 83, 61, .5); background: rgba(229, 83, 61, .06); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.d-title { font-size: 21px; font-weight: 800; line-height: 1.35; color: #0b1622; }
.d-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.d-sec { margin-top: 22px; }
.d-sec h5 {
  font-size: 11.5px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--txt-3); margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.d-sec h5::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.d-points { display: grid; gap: 9px; }
.d-points li { display: flex; gap: 10px; font-size: 14px; color: var(--txt-2); line-height: 1.7; }
.d-points li::before {
  content: ""; flex: none; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%;
  background: #12b981; box-shadow: 0 0 0 3px rgba(18, 185, 129, .16);
}
.d-box {
  padding: 14px 16px; border-radius: 12px; font-size: 13.8px; line-height: 1.7;
  background: #f3fdf8; border: 1px solid rgba(15, 157, 99, .22); color: #1c4f3b;
}
.d-box.deliver { background: #f4f8ff; border-color: rgba(37, 99, 235, .2); color: #1e3a5f; }
.d-box b { color: #0b1622; }
.d-res { display: grid; gap: 8px; }
.d-res a {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fbfdff;
  font-size: 13px; color: var(--txt-2); transition: .18s;
}
.d-res a:hover { border-color: rgba(15, 157, 99, .4); color: var(--green-d); background: rgba(16, 185, 129, .05); }
.d-res a span { color: var(--txt-3); font-family: var(--mono); font-size: 10.5px; margin-left: auto; }
.d-note { width: 100%; min-height: 96px; resize: vertical; padding: 12px 14px; border-radius: 12px;
  background: #fbfdff; border: 1px solid var(--line-2); color: var(--txt);
  font-family: var(--font); font-size: 13.5px; line-height: 1.7; }
.d-note:focus { outline: none; border-color: rgba(15, 157, 99, .55); background: #fff; box-shadow: 0 0 0 3px rgba(18, 185, 129, .12); }
.drawer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfdff;
}
.drawer-foot .btn-primary { flex: 1; justify-content: center; }
.drawer-foot .btn-primary.is-done { background: rgba(16, 185, 129, .12); color: #0a7d55; box-shadow: none; border: 1px solid rgba(15, 157, 99, .45); }

/* ==================== Toast ==================== */
.toast {
  position: fixed; z-index: 200; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #0a7d55; color: #fff;
  box-shadow: 0 18px 36px -18px rgba(10, 125, 85, .9);
  opacity: 0; transition: .28s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==================== 响应式 ==================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2, .md-cols { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: 1fr; }
  .week-goal { text-align: left; margin-left: 0; max-width: none; flex-basis: 100%; }
  .map-canvas { height: auto; padding: 20px; display: grid; gap: 10px; }
  .map-center { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 8px; width: auto; height: auto; border-radius: 14px; padding: 14px 18px; }
  .map-lines { display: none; }
  .dom { position: relative; left: auto !important; top: auto !important; transform: none !important; width: 100%; }
  .dom:hover { transform: none !important; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px 20px 18px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(16, 24, 40, .5);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .burger { display: flex; }
  #todayBtn { display: none; }
  .sec { padding: 52px 0; }
  .hero { padding: 34px 0 20px; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 18px; }
  .week-body { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .day { min-height: 104px; }
  .card { padding: 18px; }
  .drawer { width: 100%; }
  .heat-row { gap: 4px; grid-template-columns: 20px repeat(7, 1fr); }
  .radar .lbl { font-size: 15px; }
  .stat-row { gap: 12px; }
  .pitfalls { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 20px; }
  .nav-inner { gap: 10px; }
  .brand-text em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
