/* 西塞罗官网 · 设计语言：苹果的极致简洁 × 法律纸感
   浅暖纸白 + 墨黑字阶 + 金色仅作点睛；细节三件套：极细线、软影、克制的动效 */
:root {
  --bg: #fafaf8; --bg2: #f4f4f1; --card: #ffffff;
  --ink: #1d1d1f; --ink2: #6e6e73; --ink3: #86868b;
  --gold: #a5852c; --gold-soft: rgba(165, 133, 44, 0.10);
  --line: rgba(0, 0, 0, 0.08); --line-soft: rgba(0, 0, 0, 0.05);
  --ok: #1d7f4f; --ok-bg: rgba(29, 127, 79, 0.08);
  --warn: #9a6b00; --warn-bg: rgba(154, 107, 0, 0.09);
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 8px 32px rgba(0,0,0,.05);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.04), 0 16px 48px rgba(0,0,0,.09);
  --radius: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── 断行纪律 ───────────────────────────────────────
   中文没有词间空格，浏览器在任意一个字后面都能折行——一句话差两个字
   放不下，就被劈成两行，第二行孤零零挂着一两个字，很难看。
   兜底两条：短块用 balance（两行分得一样长，看起来是有意为之），
   长块用 pretty（只管末行别太短）。测下来 balance 对中文有效得多，
   pretty 几乎不动。但兜底只是兜底——真正的治本是下面各处的 max-width，
   够宽了一行就能装下，压根不用折。改文案时留意别把一句话撑过一行。 */
h1, h2, h3, .sub, .lead,
.card p, .card li, .step p, .log p, .not, .docnote { text-wrap: balance; }
footer .legal, .doc p { text-wrap: pretty; }

/* ── 导航：毛玻璃 + 发丝线 ─────────────────────────── */
nav { position: sticky; top: 0; z-index: 50; background: rgba(250,250,248,.78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line-soft); }
nav .wrap { display: flex; align-items: center; gap: 30px; height: 64px; }
.brand { font-weight: 600; font-size: 17px; letter-spacing: .01em; display: flex; align-items: baseline; gap: 8px; }
.brand .mark { color: var(--gold); font-size: 19px; }
.brand .en { color: var(--ink3); font-weight: 400; font-size: 15px; }
nav a.item { color: var(--ink2); font-size: 14.5px; transition: color .25s; }
nav a.item:hover { color: var(--ink); }
nav a.item.on { color: var(--ink); font-weight: 500; }
nav .cta { margin-left: auto; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; padding: 9px 20px; border-radius: 999px; transition: transform .25s, background .25s; }
nav .cta:hover { background: #000; transform: scale(1.03); }

/* ── 首屏：巨字 + 呼吸留白 ─────────────────────────── */
.hero { padding: 128px 0 104px; text-align: center; background: radial-gradient(1100px 480px at 50% -140px, rgba(165,133,44,.07), transparent 70%); }
.hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin-bottom: 22px; }
/* 下限 36px 是量出来的：首页主标题里 <br/> 之后是 9 个字，
   窄屏下字号再大一点，最后两个字就会被挤到第三行去单独挂着 */
.hero h1 { font-size: clamp(36px, 6.6vw, 72px); line-height: 1.16; font-weight: 700; letter-spacing: -0.015em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8a6d1e, #c9a43a 55%, #8a6d1e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: var(--ink2); font-size: clamp(17px, 2vw, 20px); line-height: 1.85; margin: 26px auto 40px; max-width: 720px; font-weight: 400; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 500; font-size: 16.5px; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.btn.gold { background: var(--ink); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.btn.gold:hover { background: #000; transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); margin-left: 14px; background: var(--card); }
.btn.ghost:hover { border-color: var(--ink3); transform: translateY(-1px); }
.hero .note { color: var(--ink3); font-size: 13.5px; margin-top: 22px; }

/* ── 分区节奏 ─────────────────────────────────────── */
section { padding: 104px 0; }
section.alt { background: var(--bg2); }
.eyebrow2 { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; margin-bottom: 14px; }
.lead { color: var(--ink2); font-size: 18px; margin-bottom: 48px; max-width: 780px; }

/* ── 卡片：白底 + 发丝边 + 软影 + 悬浮微升 ─────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.card h3 .tag { color: var(--gold); margin-right: 8px; font-weight: 700; }
.card p { color: var(--ink2); font-size: 15.5px; }
.card ul { color: var(--ink2); font-size: 15.5px; padding-left: 19px; }
.card li { margin: 8px 0; }
.card li b, .card p b { color: var(--ink); font-weight: 600; }

/* ── 徽章 ─────────────────────────────────────────── */
.badge { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.04); color: var(--ink2); margin: 0 6px 8px 0; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.gold { background: var(--gold-soft); color: var(--gold); }

.price { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.price small { font-size: 13px; color: var(--ink3); font-weight: 400; margin-left: 2px; }

/* ── 文书纸：衬线、真·纸感 ─────────────────────────── */
.doc { background: #fff; border: 1px solid var(--line-soft); color: #26261f; border-radius: var(--radius); padding: 52px 56px; font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 16px; line-height: 2.1; box-shadow: var(--shadow-lift); overflow-x: auto; }
.doc h4 { text-align: center; font-size: 22px; letter-spacing: .35em; text-indent: .35em; margin-bottom: 26px; font-weight: 700; }
.doc .cite { border-bottom: 1px solid rgba(165,133,44,.55); cursor: help; color: #6b5518; }
.doc .sign { text-align: right; margin-top: 26px; }
.docnote { color: var(--ink3); font-size: 13.5px; margin-top: 16px; }

.redline del { background: rgba(200,52,52,.09); color: #a03535; text-decoration: line-through; padding: 1px 4px; border-radius: 4px; }
.redline ins { background: var(--ok-bg); color: var(--ok); text-decoration: none; padding: 1px 4px; border-radius: 4px; }

/* ── 步骤 ─────────────────────────────────────────── */
.steps { counter-reset: s; max-width: 820px; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.step:last-child { border-bottom: 0; }
.step::before { counter-increment: s; content: counter(s); flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.step h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 3px; }
.step p { color: var(--ink2); font-size: 15.5px; }

/* ── 「我们不是什么」──────────────────────────────── */
.notlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.not { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px 24px; font-size: 15px; box-shadow: var(--shadow); }
.not b { display: block; margin-bottom: 5px; font-size: 16px; letter-spacing: -0.01em; }
.not span { color: var(--ink2); }

/* ── 更新日志 ─────────────────────────────────────── */
.log { border-left: 1px solid var(--line); padding-left: 34px; max-width: 830px; }
.log .entry { position: relative; padding-bottom: 40px; }
.log .entry::before { content: ""; position: absolute; left: -38.5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.log .d { color: var(--ink3); font-size: 13px; letter-spacing: .04em; }
.log h3 { font-size: 17.5px; font-weight: 600; margin: 4px 0 6px; letter-spacing: -0.01em; }
.log p { color: var(--ink2); font-size: 15px; }

/* ── 页脚 ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--line-soft); padding: 44px 0 56px; color: var(--ink3); font-size: 13px; background: var(--bg2); }
footer .fbrand { color: var(--ink2); font-size: 14px; margin-bottom: 12px; }
footer .legal { line-height: 2.1; }
footer a { color: var(--ink3); border-bottom: 1px solid transparent; transition: color .25s; }
footer a:hover { color: var(--ink); }

/* ── 滚动浮现（尊重减弱动效偏好）───────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, nav .cta { transition: none; }
}

/* 内页标题比首页小一档：下限 30px 也是量的——34px 时「不讲参数，直接晒输出」
   在 390 窄屏上差 0.1 个字放不下，白白折成两行 */
.hero h1.page { font-size: clamp(30px, 4.5vw, 46px); }

/* 小屏再降一档：360/375 这类窄机上，36px 仍会把首页主标题挤成三行 */
@media (max-width: 400px) { .hero h1 { font-size: 32px; } }

@media (max-width: 680px) {
  .hero { padding: 88px 0 72px; }
  section { padding: 72px 0; }
  nav .wrap { gap: 16px; }
  nav a.item { font-size: 13px; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
  .doc { padding: 30px 22px; }
}
