/* BetterLawer marketing site — 与应用同源的白/藏青/金设计语言 */
:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --panel-2: #f4f6f9;
  --line: #e4e8ef;
  --line-2: #eef1f5;
  --text: #1b2a41;
  --muted: #66738b;
  --faint: #98a3b6;
  --gold: #b08d3e;
  --gold-2: #8a6d2f;
  --gold-bg: #faf6ec;
  --navy: #1f3a5f;
  --green: #23795b;
  --green-bg: #f0f8f4;
  --red: #c2453e;
  --shadow: 0 1px 2px rgba(27, 42, 65, .04), 0 4px 14px rgba(27, 42, 65, .05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: none; }

/* top bar */
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 26px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #e9cd92; font: 700 18px Georgia, serif; display: flex; align-items: center; justify-content: center; }
.brand-name { font: 700 17px "Songti SC", Georgia, serif; letter-spacing: .04em; }
.topbar a.navlink { color: var(--muted); font-size: 14px; padding: 4px 2px; }
.topbar a.navlink:hover { color: var(--navy); }
.topbar .cta { background: var(--navy); color: #fff; border-radius: 8px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; }
.topbar .cta:hover { background: #2a4a75; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* hero */
.hero { text-align: center; padding: 84px 0 60px; }
.hero h1 { font: 700 40px "Songti SC", Georgia, serif; letter-spacing: .03em; color: var(--text); }
.hero h1 .gold { color: var(--gold); }
.hero .sub { color: var(--muted); font-size: 17px; margin: 16px auto 30px; max-width: 640px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; }
.btn { display: inline-block; border-radius: 9px; padding: 12px 26px; font-size: 15px; font-weight: 600; border: 1px solid var(--line); transition: all .15s; }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: #2a4a75; }
.btn.ghost { background: #fff; color: var(--navy); }
.btn.ghost:hover { border-color: var(--navy); }
.hero .note { color: var(--faint); font-size: 12.5px; margin-top: 14px; }

/* trust strip */
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 34px; padding: 10px 0 56px; color: var(--muted); font-size: 13px; }
.trust b { color: var(--text); }

/* sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--panel); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
h2.sec { font: 700 26px "Songti SC", Georgia, serif; text-align: center; margin-bottom: 8px; }
p.secsub { text-align: center; color: var(--muted); margin-bottom: 34px; }
h3 { font: 600 15px inherit; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 18px; box-shadow: var(--shadow); }
.card .ico { color: var(--gold); font-size: 20px; }
.card h3 { font-size: 15.5px; margin: 8px 0 6px; }
.card p { color: var(--muted); font-size: 13.5px; }
.card ul { list-style: none; margin-top: 10px; }
.card li { font-size: 13px; color: var(--muted); padding: 2px 0; }
.card li::before { content: "✓"; color: var(--green); margin-right: 7px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; box-shadow: var(--shadow); }
.step .num { font: 700 22px Georgia, serif; color: var(--gold); }
.step h3 { font-size: 14.5px; margin: 6px 0 6px; }
.step p { color: var(--muted); font-size: 13px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow); }
.plan.hot { border-color: var(--gold); background: var(--gold-bg); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; border-radius: 20px; font-size: 11.5px; padding: 3px 14px; }
.plan h3 { font: 700 17px "Songti SC", serif; }
.plan .price { font: 700 30px Georgia, serif; color: var(--navy); margin: 10px 0 2px; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 16px 0 22px; }
.plan li { font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); color: var(--muted); }
.plan li b { color: var(--text); }
.plan .btn { width: 100%; text-align: center; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--panel); border-radius: 12px; overflow: hidden; }
table.compare th, table.compare td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
table.compare th:first-child, table.compare td:first-child { text-align: left; color: var(--muted); }
table.compare th { background: var(--panel-2); font-weight: 600; }
.faq { max-width: 780px; margin: 0 auto; }
.faq .qa { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq .qa b { display: block; margin-bottom: 4px; }
.faq .qa p { color: var(--muted); font-size: 13.5px; }

/* guide */
.guide-sec { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--shadow); }
.guide-sec h3 { font-size: 15.5px; margin-bottom: 8px; }
.guide-sec ol, .guide-sec ul { margin-left: 20px; color: var(--muted); font-size: 13.5px; }
.guide-sec li { margin: 4px 0; }
.guide-sec code { background: var(--panel-2); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--panel); margin-top: 60px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 26px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--faint); font-size: 12.5px; }
.footer-inner a { color: var(--muted); margin-left: 18px; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .steps, .plans { grid-template-columns: 1fr; }
  .topbar-inner { flex-wrap: wrap; gap: 12px; }
  .hero h1 { font-size: 30px; }
}
