/* ljj233.top 主域门户样式
 * 遵循 cmdc-pak 视觉契约（README「设计语言」节）：
 * 字体 Manrope，机器字符串 DM Mono；站点主题色 #8F9959；
 * 透明度只用 .08 / .10 / .30 三档；字重只用 400 / 500 / 600 / 700。
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #20231f;
  --muted: #7b8078;
  --line: #dedfd6;
  --lime: #c7f36b;
  --theme: #8F9959;
  --cream: #f7f7f2;
  --red: #d85e4d;
  --code-text: #4a5537;
  font-family: 'Manrope', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  font-family: 'Manrope', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

a { color: var(--theme); }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.1; letter-spacing: -.06em; font-weight: 700; }
h1 em { color: var(--theme); font-style: normal; }
h2 { font-size: 24px; letter-spacing: -.04em; font-weight: 600; margin-bottom: 14px; }
h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

.shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding-bottom: 72px; }

/* ---------- 顶栏 ---------- */
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; text-decoration: none; color: inherit; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  border-radius: 50%;
  font-size: 10px; font-weight: 600; letter-spacing: -.08em;
}
.topnav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.topnav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.topnav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0 36px;
}
.hero > div:first-child { flex: 1 1 0; min-width: 0; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.lede { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 26px; max-width: 62ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-number { flex-shrink: 0; color: var(--ink); font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.hero-number span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-align: right; margin-top: 6px; }

/* ---------- 按钮（按钮永远 600，三重可点击暗示） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 13px 20px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .15s, color .15s;
}
.btn-primary { background: transparent; color: var(--theme); }
.btn-primary:hover { background: rgba(143,153,89,.08); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: #e9ebe3; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; margin-top: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.panel p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin-bottom: 0; }
.panel h3 { font-size: 15px; }

section { margin-top: 64px; }
section:first-of-type { margin-top: 0; }
.section-head { border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 24px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 { margin: 0; }

/* ---------- 价格 ---------- */
.price-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-tag { font-size: 44px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 6px; }
.price-tag span { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-note { color: var(--muted); font-size: 12.5px; margin-bottom: 22px; }
.includes { list-style: none; padding: 0; margin: 0 0 26px; }
.includes li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
}
.includes li:last-child { border-bottom: 0; }
.includes li::before { content: "—"; position: absolute; left: 0; color: var(--theme); }
.price-card .btn { margin-top: auto; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  display: flex; gap: 18px; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  color: #9ca59b;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0; }

/* ---------- 正文页（用户协议 / 隐私政策） ---------- */
.doc { max-width: 78ch; }
.doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.doc h2 { font-size: 19px; margin-top: 40px; margin-bottom: 12px; }
.doc p, .doc li { color: #3b4038; font-size: 14px; line-height: 1.9; }
.doc ul { padding-left: 20px; }
.doc .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 36px; }
.doc strong { font-weight: 600; color: var(--ink); }

/* ---------- 下载卡片（与 cmdc-pak 子站 Download 页同构，保持视觉一致） ---------- */
.dl-stack { display: grid; gap: 18px; margin-top: 20px; }
.dl-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head actions" "desc actions" "cmd actions";
  gap: 6px 24px;
  align-items: center;
}
.dl-head { grid-area: head; display: flex; align-items: center; gap: 14px; }
.dl-head h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.dl-desc { grid-area: desc; margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.dl-cmd {
  grid-area: cmd;
  justify-self: start;
  background: rgba(143,153,89,.10);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  color: var(--ink);
  white-space: pre-wrap;
  display: block;
  line-height: 1.7;
  border: none;
}
.dl-actions { grid-area: actions; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--theme); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-number { text-align: left; }
  .hero-number span { text-align: left; }
  .topnav { gap: 16px; font-size: 12px; }
  .shell { width: calc(100% - 40px); }
  .dl-card { grid-template-columns: 1fr; grid-template-areas: "head" "desc" "cmd" "actions"; }
  .dl-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}
