/* 浅色版首屏：左边文字，右边“我的办理”窗口 + 公司文件（沿用全量改版的首屏） */
:root {
  --paper: #f6f1e6; --paper-2: #ece5d6; --paper-ink: #2a251d; --paper-dim: #8c8372; --stamp: #9b3b2e;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}
.hero { padding: 96px 0 112px; text-align: left; }
.hero > .wrap { max-width: 1200px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.hero .lead { margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 30em; }
.hero-btns { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.hero-btns .btn { margin: 0; height: 48px; padding: 0 24px; font-size: 15px; }
.btn.ghost2 { background: var(--card); border: 1px solid var(--line-2); color: var(--fg); }
.btn.ghost2:hover { border-color: var(--accent); color: var(--accent); }
.hero.authed .preview, .hero.authed #heroFlow { display: none; }

.preview { position: relative; }
.pv-win { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.pv-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pv-bar b { color: var(--fg); font-weight: 500; }
.pv-bar .pct { margin-left: auto; color: var(--ok); font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 380px; }
.pv-steps { list-style: none; padding: 20px 0 20px 20px; display: grid; align-content: start; gap: 4px; }
.pv-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; padding: 8px 12px 8px 0; font-size: 14px; color: var(--muted); }
.pv-steps li small { grid-column: 2; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.pv-steps .i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; margin-top: 2px; }
.pv-steps .i svg.ck { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.pv-steps li.ok { color: var(--fg); }
.pv-steps li.ok .i { border: 0; background: var(--ok); }
.pv-steps li.now { color: var(--fg); font-weight: 500; }
.pv-steps li.now .i { border: 1.5px solid var(--accent); }
.pv-steps li.now .i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pv-steps li.now small { color: var(--accent); font-weight: 400; }
.pv-doc { position: relative; background: var(--card2); border-left: 1px solid var(--line); overflow: hidden; }
.paper { position: absolute; background: var(--paper); color: var(--paper-ink); border-radius: 4px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 16px 32px rgba(40, 30, 20, .16), 0 2px 6px rgba(40, 30, 20, .10); }
.paper.back { top: 20px; left: 72px; right: -24px; height: 360px; background: var(--paper-2); transform: rotate(3deg); padding: 24px 28px; }
.paper.back .hd { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--paper-dim); }
.paper.back .hd b { color: var(--paper-ink); font-weight: 500; }
.paper.front { top: 40px; left: 32px; right: 24px; height: 380px; padding: 28px 32px; transform: rotate(-1.5deg); }
.paper .kicker { font-family: var(--mono); font-size: 10px; color: var(--paper-dim); letter-spacing: .04em; }
.paper .title { margin-top: 8px; font-family: "Songti SC", "Times New Roman", serif; font-size: 19px; line-height: 1.2; white-space: nowrap; }
.paper .co { margin-top: 16px; font-family: var(--mono); font-size: 13px; }
.paper .rule { margin-top: 16px; height: 1px; background: rgba(42, 37, 29, .18); }
.paper .ln { height: 6px; border-radius: 3px; background: rgba(42, 37, 29, .12); margin-top: 12px; }
.paper .ln.s { width: 62%; } .paper .ln.m { width: 84%; }
.paper .kv { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-family: var(--mono); font-size: 11px; color: var(--paper-dim); }
.paper .kv b { color: var(--paper-ink); font-weight: 500; }
.stamp { position: absolute; right: 24px; bottom: 28px; width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--stamp); color: var(--stamp); display: grid; place-content: center; text-align: center; transform: rotate(-12deg); opacity: .82; font-family: var(--mono); }
.stamp::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--stamp); }
.stamp b { font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.stamp small { font-size: 9px; }

@media (max-width: 960px) {
  .hero > .wrap { grid-template-columns: 1fr; gap: 48px; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-doc { display: none; }
}
@media (max-width: 860px) { .hero { padding: 48px 0 72px; } .hero h1 { font-size: 36px; } }

/* 11-24：M. 图标去掉外面的白色方块和描边，直接放图标 */
.logo-mark { width: auto; height: auto; background: none; border-radius: 0; box-shadow: none; }
.logo-mark img { width: 28px; height: 28px; }

/* 11-24：全站内容宽度跟首屏统一成 1200，logo、首屏文字、下面各区块左边对齐 */
.wrap { max-width: 1200px; }

/* 11-24：顶栏透明，浮在首屏渐变上；往下滚动后固定在顶部，变白色半透明加模糊 */
.nav { position: sticky; top: 0; z-index: 40; background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 4px 16px rgba(29, 33, 41, .04); }
.hero { margin-top: -64px; padding-top: 160px; }          /* 往上伸到顶栏后面：64 顶栏 + 原来的 96 */
.hero.authed { padding-top: 104px; }                       /* 登录后：64 + 原来的 40 */
@media (max-width: 860px) { .hero { padding-top: 112px; } .hero.authed { padding-top: 104px; } }
.nav { height: 64px; }   /* 原版是 68，跟首屏往上伸的 64 对齐 */
/* 登录后首屏要 1320 宽放进度卡；顶栏跟着放宽，保持对齐 */
.hero.authed > .wrap { max-width: 1320px; }
body:has(.hero.authed) .nav .wrap { max-width: 1320px; }
