/* Emulo 官网。沿用 App 的暗房配色：近黑底、米白字、琥珀色强调。只用系统字体，无外部字体、脚本与统计。 */
:root {
  --bg: #0E1011;
  --bg-2: #15181A;
  --card: #1A1E20;
  --ink: #F5F0E3;
  --body: #C9C3B6;
  --muted: #8C877D;
  --amber: #F0BA5C;
  --amber-soft: rgba(240, 186, 92, .16);
  --line: rgba(245, 240, 227, .1);
  --serif: "New York", Georgia, "Songti SC", "Songti TC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --wrap: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--body); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(14, 16, 17, .82); backdrop-filter: saturate(160%) blur(14px);
       -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 18px var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--body); text-decoration: none; }
.nav-links a:hover { color: var(--amber); }

/* 首屏 */
.hero { padding: 72px 0 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 700; }
h1 { margin-top: 18px; font-size: clamp(34px, 8.4vw, 72px); line-height: 1.08; overflow-wrap: break-word; }
h1 em, h2 em { font-style: normal; color: var(--amber); }
.lead { max-width: 640px; margin-top: 22px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 16px var(--sans); text-decoration: none; }
.btn-primary { background: var(--amber); color: #1A1407; }
.btn-primary[aria-disabled="true"] { cursor: default; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--amber); color: var(--amber); }
.note { font-size: 14px; color: var(--muted); }

/* 原片 / 冲印后对比 */
.compare { position: relative; margin-top: 48px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2);
           box-shadow: 0 30px 60px rgba(0, 0, 0, .45); --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.compare .tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(14, 16, 17, .7); color: var(--ink); font: 600 13px var(--sans); }
.compare .tag.before { left: 14px; }
.compare .tag.after-tag { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.compare-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* 区块 */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 6.4vw, 44px); line-height: 1.15; overflow-wrap: break-word; }
h3 { font-size: 20px; line-height: 1.3; }
.section-lead { max-width: 680px; margin-top: 16px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 40px; }
.card { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.card .icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: 20px; }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; font-size: 16px; }

/* 样张墙 */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.gallery figure { border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.gallery figcaption b { color: var(--ink); font-weight: 600; }

/* 隐私 */
.privacy-box { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--amber-soft); border: 1px solid rgba(240, 186, 92, .3); color: var(--ink); }
.facts { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.faq details p { margin-top: 10px; font-size: 16px; }

/* 法律文本页 */
.doc { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 7vw, 46px); }
.doc .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 24px; }
.doc p, .doc li { margin-top: 12px; }
.doc ul { padding-left: 22px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--body); text-decoration: none; }
footer a:hover { color: var(--amber); }

@media (max-width: 640px) {
  .nav-links .optional { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 56px 0; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
