:root {
  --blue: #1d4ed8;
  --blue-deep: #1e3a8a;
  --blue-soft: #eff4ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-weight: 800; letter-spacing: 1px; color: var(--blue); }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav a { margin-left: 24px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(1200px 400px at 80% -10%, var(--blue-soft), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-alt));
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
}
.lede {
  margin-top: 22px;
  max-width: 640px;
  font-size: 18px;
  color: var(--muted);
}
.stats {
  margin-top: 48px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--blue-deep); }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.muted { color: var(--muted); }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.08);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tag {
  font-size: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.status { font-size: 12px; font-weight: 600; }
.status.done { color: #047857; }
.status.doing { color: #b45309; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card .desc { font-size: 14px; color: var(--muted); min-height: 42px; }
.card-link { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 14px; }

.card.add {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--muted);
}
.card.add .plus {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  margin-bottom: 12px;
}

/* Steps */
.steps { list-style: none; display: grid; gap: 18px; max-width: 760px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-no {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h4 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; }
code {
  background: #eef2ff;
  color: var(--blue-deep);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 13px;
  color: var(--muted);
}
.site-footer .muted { margin-top: 4px; }

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .stats { gap: 32px; }
  .section { padding: 56px 0; }
}
