/* ============================================================
   荔枝万能计算器 · 搜索引擎落地页样式
   由 tools/gen-seo-pages.js 生成，请勿手工修改。
   与主站共用 tokens.css / base.css，观感保持一致。
   ============================================================ */

.lp { background: var(--c-bg-subtle); }
.lp-wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.lp-head {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.lp-head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 60px;
}
.lp-brand {
  font-size: var(--fs-16); font-weight: 600; color: var(--c-text);
  letter-spacing: .2px;
}
.lp-brand:hover { color: var(--c-brand); }
.lp-head-nav { display: flex; align-items: center; gap: 18px; font-size: var(--fs-14); }
.lp-head-nav a { color: var(--c-text-2); }
.lp-head-nav a:hover { color: var(--c-brand); }
.lp-head-go {
  color: var(--c-brand) !important;
  border: 1px solid var(--c-brand);
  border-radius: var(--r-sm);
  padding: 5px 12px;
}
.lp-head-go:hover { background: var(--c-brand); color: #fff !important; }

.lp-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 20px 0 0; font-size: var(--fs-13); color: var(--c-text-3);
}
.lp-crumb a { color: var(--c-text-3); }
.lp-crumb a:hover { color: var(--c-brand); }
.lp-sep { color: var(--c-border-strong); }
.lp-cur { color: var(--c-text-2); }

.lp-main { padding: 16px 0 0; }

.lp-h1 {
  font-size: var(--fs-28); line-height: 1.35; font-weight: 600;
  letter-spacing: -.2px; margin: 6px 0 0;
}
.lp-lead {
  margin-top: 12px; font-size: var(--fs-16); line-height: 1.7; color: var(--c-text-2);
}

.lp-cta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 22px;
}
.lp-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-brand); color: #fff;
  font-size: var(--fs-16); font-weight: 500;
  padding: 12px 24px; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: background .15s ease;
}
.lp-cta:hover { background: var(--c-brand-hover); }
.lp-cta-arrow { font-size: var(--fs-18); line-height: 1; }
.lp-cta-note { font-size: var(--fs-13); color: var(--c-text-3); }

.lp-sec {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 24px 26px;
  margin-top: 20px;
}
.lp-sec-plain { background: transparent; border: 0; padding: 8px 0 0; }
.lp-h2 {
  font-size: var(--fs-18); font-weight: 600; color: var(--c-text);
  margin: 0 0 14px; padding-left: 11px; position: relative;
}
.lp-h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 2px; background: var(--c-brand);
}

.lp-basis { font-size: var(--fs-15); line-height: 1.85; color: var(--c-text-2); }
.lp-basis p { margin: 0 0 12px; }
.lp-basis p:last-child { margin-bottom: 0; }
.lp-basis strong { color: var(--c-text); font-weight: 600; }

.lp-p { font-size: var(--fs-14); line-height: 1.85; color: var(--c-text-2); margin: 0 0 10px; }
.lp-p:last-child { margin-bottom: 0; }
.lp-inline { color: var(--c-brand); border-bottom: 1px solid var(--c-brand-soft); }
.lp-inline:hover { border-bottom-color: var(--c-brand); }

.lp-kws { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-kws li {
  font-size: var(--fs-13); color: var(--c-text-2);
  background: var(--c-bg-track); border-radius: 999px;
  padding: 5px 13px;
}

.lp-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.lp-links li { padding: 7px 0; border-bottom: 1px dashed var(--c-border); }
.lp-links li:last-child, .lp-links li:nth-last-child(2) { border-bottom: 0; }
.lp-links a { font-size: var(--fs-14); color: var(--c-text); }
.lp-links a:hover { color: var(--c-brand); }
.lp-link-desc {
  display: block; font-size: var(--fs-12); color: var(--c-text-3);
  margin-top: 2px; line-height: 1.5;
}
.lp-empty { font-size: var(--fs-13); color: var(--c-text-3); }

.lp-cat {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 24px 26px; margin-top: 20px;
}
.lp-cat-h2 {
  font-size: var(--fs-18); font-weight: 600; margin: 0;
  display: flex; align-items: baseline; gap: 10px;
}
.lp-cat-count {
  font-size: var(--fs-12); font-weight: 400; color: var(--c-text-3);
  background: var(--c-bg-track); border-radius: 999px; padding: 3px 10px;
}
.lp-cat-desc {
  font-size: var(--fs-13); color: var(--c-text-3);
  line-height: 1.7; margin: 8px 0 16px;
}

.lp-foot {
  border-top: 1px solid var(--c-border);
  margin-top: 40px; padding: 24px 0 40px;
  font-size: var(--fs-13); color: var(--c-text-2); line-height: 1.9;
}
.lp-foot a { color: var(--c-brand); }
.lp-foot-dim { color: var(--c-text-3); font-size: var(--fs-12); }

@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-h1 { font-size: var(--fs-24); }
  .lp-lead { font-size: var(--fs-15); }
  .lp-sec, .lp-cat { padding: 20px 18px; border-radius: var(--r-md); }
  .lp-links { grid-template-columns: 1fr; }
  .lp-links li:last-child, .lp-links li:nth-last-child(2) { border-bottom: 1px dashed var(--c-border); }
  .lp-links li:last-child { border-bottom: 0; }
  .lp-head-nav { gap: 12px; }
  .lp-cta { flex: 1 1 auto; justify-content: center; }
}
