/* 卷卷小榜 SEO/GEO 站点：沿用 paper-cards-1114-v3 的暖纸、珊瑚与赭石配色。 */
:root {
  --paper: #fcf8f1;
  --surface: #fffdf8;
  --ink: #302b29;
  --muted: #79767d;
  --line: #e7dece;
  --coral: #f27076;
  --coral-soft: #f6cbd2;
  --ochre: #b87569;
  --cover: #f4e3be;
  --radius: 18px;
  --ui-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.wrap { width: min(720px, calc(100% - 40px)); margin: 0 auto; }

a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

header.site {
  padding: 28px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

header.site img { width: 34px; height: 34px; border-radius: 10px; }

header.site .name { font-weight: 600; letter-spacing: 0.02em; }

header.site nav { margin-left: auto; font-size: 14px; color: var(--muted); }
header.site nav a { margin-left: 14px; color: var(--muted); }

main { padding: 20px 0 64px; }

h1 {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 18px 0 14px;
  font-weight: 650;
}

h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 44px 0 12px;
  font-weight: 620;
}

h3 { font-size: 17px; margin: 24px 0 6px; font-weight: 600; }

p { margin: 0 0 14px; }

.lead { font-size: 17px; color: #4a4440; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 18px 0;
}

.card.accent { background: var(--cover); border-color: #e6d3a8; }

ol.steps, ul.plain { padding-left: 20px; margin: 0 0 14px; }
ol.steps li, ul.plain li { margin-bottom: 8px; }

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 8px;
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #f4ece1;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

.grid .cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.grid .cell strong { display: block; font-weight: 600; margin-bottom: 4px; }
.grid .cell span { color: var(--muted); font-size: 14px; line-height: 1.65; }

.faq h3 { margin-top: 22px; }
.faq p { color: #4a4440; margin-bottom: 0; }

.cta {
  display: inline-block;
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
}
.cta:hover { color: #fff; background: #443b38; }

.note { color: var(--muted); font-size: 14px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 13.5px;
}
footer.site a { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 14px; }

/* 窄屏把对比表拆成两行卡片，避免列被压成一条竖线。 */
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td { border: none; padding: 2px 0; }
  td:first-child { color: var(--muted); font-size: 13.5px; }
}

@media (max-width: 420px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  .card { padding: 16px 16px; }
  header.site nav { display: none; }
}
