/* 纬图 GeoZine · 站点样式
   与 App 同一套气质：纸色底 / 深墨 / 红点；衬线标题（宋体回落），正文系统无衬线 */
:root {
  --paper: #F4EEE1;
  --paper-2: #EDE5D3;
  --edge: #DCD2BA;
  --ink: #1D1A17;
  --ink-2: #4A433A;
  --ink-soft: #857B69;
  --red: #D12A2A;
  --night: #161C2C;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); line-height: 1.8; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; margin: 0; }

/* 页面右上角的等高线：纯装饰 */
body::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -120px; left: 0; right: 0; height: 760px; opacity: .11;
  background: url(/assets/contour.svg) right -220px top / 760px 760px no-repeat;
}
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
html, body { overflow-x: clip; }
body { position: relative; }

/* 顶栏 */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .08em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-soft); letter-spacing: .12em; }
.nav-links { display: flex; gap: 20px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--red); }

/* 首屏 */
.hero { padding: 28px 0 56px; display: grid; gap: 26px; grid-template-areas: "head" "visual" "tail"; }
.hero-head { grid-area: head; } .hero-visual { grid-area: visual; } .hero-tail { grid-area: tail; }
.hero-tail .soon { margin-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); margin: 0 0 14px; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; }
.hero h1 { font-size: clamp(36px, 9.5vw, 54px); letter-spacing: .04em; line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { font-size: 17px; color: var(--ink-2); margin: 18px 0 0; max-width: 28em; }
.soon { display: inline-flex; flex-direction: column; margin-top: 26px; padding: 11px 20px 12px; border: 1px solid var(--ink); border-radius: 12px; line-height: 1.35; }
.soon b { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; }
.soon span { font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.privacy-line { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }

/* 原图 / 成品对比 */
.compare { position: relative; border-radius: 14px; overflow: hidden; background: var(--night); aspect-ratio: 3 / 2; box-shadow: 0 18px 50px rgba(22, 28, 44, .28); touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare .bar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(244, 238, 225, .9); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.tag { position: absolute; bottom: 12px; font-size: 12px; letter-spacing: .12em; padding: 3px 10px; border-radius: 99px; background: rgba(244, 238, 225, .92); color: var(--ink); pointer-events: none; }
.tag.l { left: 12px; } .tag.r { right: 12px; }
.hint { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }

/* 分节 */
section { padding: 52px 0; }
.sec-h { margin-bottom: 28px; }
.sec-h .no { font-size: 12px; letter-spacing: .24em; color: var(--red); display: block; margin-bottom: 8px; }
.sec-h h2 { font-size: clamp(26px, 6.4vw, 38px); letter-spacing: .03em; }
.sec-h p { color: var(--ink-soft); margin: 8px 0 0; }

.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; background: var(--paper-2); border: 1px solid var(--edge); border-radius: 14px; padding: 20px 22px 20px 74px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 12px; font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--red); line-height: 1.2; }
.step h3 { font-size: 19px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 作品墙 */
.wall { columns: 2; column-gap: 14px; }
.work { break-inside: avoid; margin: 0 0 14px; }
.work img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(22, 28, 44, .2); }
.work figcaption { font-size: 13px; color: var(--ink-soft); margin: 8px 2px 0; display: flex; justify-content: space-between; gap: 8px; }
.work figcaption b { font-weight: 600; color: var(--ink-2); }
.note { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }

/* 为什么可信 */
.trust { display: grid; gap: 18px; }
.card { background: var(--paper-2); border: 1px solid var(--edge); border-radius: 14px; padding: 18px; }
.card img { border-radius: 8px; width: 100%; background: var(--night); }
.card h3 { font-size: 18px; margin: 14px 0 4px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }

.band { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 34px 26px; text-align: center; }
.band h2 { font-size: clamp(22px, 5.6vw, 30px); }
.band p { margin: 10px auto 0; max-width: 32em; color: #CFC7B6; }
.band a { color: var(--paper); }

.cta { text-align: center; }
.cta .soon { margin-top: 6px; }
.cta p { margin: 18px 0 0; color: var(--ink-2); }

footer { border-top: 1px solid var(--edge); margin-top: 20px; padding: 26px 0 44px; text-align: center; color: var(--ink-soft); font-size: 13px; }
footer .links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--red); }
footer p { margin: 4px 0; }

/* 文书页 */
.doc { max-width: 680px; margin: 0 auto; padding: 8px 22px 40px; position: relative; z-index: 1; }
.doc h1 { font-size: 30px; margin: 22px 0 4px; }
.doc .meta { color: var(--ink-soft); font-size: 14px; margin: 0 0 26px; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.doc ul { padding-left: 22px; } .doc li { margin: 5px 0; }
.box { background: var(--paper-2); border: 1px solid var(--edge); border-left: 4px solid var(--red); border-radius: 10px; padding: 16px 20px; margin: 20px 0; }
.box p { margin: 6px 0 0; }
.qa dt { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-top: 24px; }
.qa dd { margin: 4px 0 0; color: var(--ink-2); }
.doc .nav { padding-left: 0; padding-right: 0; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 6fr 7fr; grid-template-areas: "head visual" "tail visual"; align-items: end; column-gap: 48px; row-gap: 26px; padding: 56px 0 80px; }
  .hero-tail { align-self: start; }
  .hero-visual { align-self: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 74px 22px 22px; }
  .step::before { top: 14px; left: 22px; }
  .wall { columns: 4; column-gap: 18px; }
  .work { margin-bottom: 18px; }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .band { padding: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .work img, .compare { transition: transform .3s ease; }
  .work:hover img { transform: translateY(-3px); }
}
