/* =========================================================================
   MUMOO API 首页 · 方案「镜头」
   设计语言：精密影像器材。深黑底、暖白字、发丝线、细字重大标题，
   香槟金只用于指示与额度。首屏是一支会对焦、会开合光圈的镜头。
   ========================================================================= */

:root {
  --bg: #080808;
  --bg-2: #0d0d0e;
  --panel: #101011;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --fg: #ece9e2;
  --fg-2: #a8a59e;
  --fg-3: #6e6c67;
  --accent: #d7b57a;
  --lens-accent: #d7b57a;
  --ok: #84c49a;
  --mark-filter: none;
  --hdr-glass: rgba(8, 8, 8, 0.72);
  --lens-shadow: 0 70px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);

  --font-latin: "Public Sans Variable", "Helvetica Neue", Arial;
  --font-cjk: "Noto Sans SC Variable", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font: var(--font-latin), var(--font-cjk);
  --serif: "Lora Variable", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="light"] {
  --bg: #f3f1ec;
  --bg-2: #ebe8e1;
  --panel: #fbfaf7;
  --line: rgba(17, 17, 17, 0.09);
  --line-2: rgba(17, 17, 17, 0.2);
  --fg: #121212;
  --fg-2: #4b4944;
  --fg-3: #8a877f;
  --accent: #96723e;
  --ok: #2f8a52;
  --mark-filter: brightness(0);
  --hdr-glass: rgba(243, 241, 236, 0.78);
  --lens-shadow: 0 70px 110px -50px rgba(0, 0, 0, 0.55), 0 30px 50px -30px rgba(0, 0, 0, 0.35);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color 0.5s ease, color 0.5s ease;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
/* 中文按分句换行，避免把一个词拆到两行 */
.lead, .sec-lead, .ft-cta p, .cine-copy p, .facts p, .steps p, .lp-more p { word-break: keep-all; overflow-wrap: anywhere; }
code { font-family: var(--mono); }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--fg); color: var(--bg); }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.i-check { display: none; }
.copied .i-copy { display: none; }
.copied .i-check { display: block; }

/* ---------- 入场 ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 顶栏 ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.4s ease, border-color 0.4s ease; }
.hdr.solid { background: var(--hdr-glass); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.hdr-in { height: 76px; max-width: 1280px; margin: 0 auto; padding: 0 56px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 24px; height: 24px; filter: var(--mark-filter); }
.brand-word { font: 600 14px/1 var(--font-latin); letter-spacing: 0.32em; margin-right: -0.32em; }
.brand-tag { font: 500 11px/1 var(--font-latin); letter-spacing: 0.24em; color: var(--fg-3); padding: 2px 0 2px 12px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 32px; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; font-size: 14px; color: var(--fg-2); transition: color 0.25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg); }
.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; color: var(--fg-2); transition: color 0.25s ease; }
.icon-btn:hover { color: var(--fg); }
.icon-btn .i { width: 17px; height: 17px; }
.i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: block; }
.hdr-login { white-space: nowrap; font-size: 14px; color: var(--fg-2); transition: color 0.25s ease; }
.hdr-login:hover { color: var(--fg); }
.hdr-cta { white-space: nowrap; height: 38px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 2px; background: var(--fg); color: var(--bg); font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; transition: opacity 0.25s ease; }
.hdr-cta:hover { opacity: 0.86; }
.menu-btn { display: none; }
.menu-btn .i-shut { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-shut { display: block; }
.drawer { display: none; }

/* ---------- 按钮 ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { height: 52px; display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; border-radius: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0.03em; white-space: nowrap; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.btn .i { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--fg); }

/* ---------- 首屏 ---------- */
.hero { padding: 164px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 64px; align-items: center; }
.over { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--font); letter-spacing: 0.24em; color: var(--fg-2); }
.over i { width: 36px; height: 1px; background: var(--line-2); }
.hero h1 { margin-top: 34px; display: flex; flex-direction: column; font-size: clamp(44px, 4.5vw, 66px); line-height: 1.18; font-weight: 300; letter-spacing: -0.02em; }
.hero h1 span { white-space: nowrap; }
.hero h1 .dim { color: var(--fg-3); }
.lead { margin-top: 30px; max-width: 500px; font-size: 17px; line-height: 1.9; color: var(--fg-2); }
.endpoint { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; width: min(100%, 500px); height: 54px; margin-top: 18px; border: 1px solid var(--line-2); border-radius: 2px; }
.ep-k { padding: 0 18px; font: 600 10.5px/1 var(--font-latin); letter-spacing: 0.22em; color: var(--fg-3); border-right: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
.ep-v { padding: 0 18px; font-size: 14.5px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-copy { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-left: 1px solid var(--line); font-size: 13px; color: var(--fg-2); transition: color 0.25s ease, background-color 0.25s ease; }
.ep-copy:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 4%, transparent); }
.ep-copy .i { width: 15px; height: 15px; }
.copied .i-check { color: var(--accent); }
.focus { display: flex; align-items: center; gap: 16px; margin-top: 30px; font-size: 13px; }
.focus-k { display: inline-flex; align-items: center; gap: 8px; font: 600 10.5px/1 var(--font-latin); letter-spacing: 0.24em; color: var(--accent); }
.focus-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.focus-v { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.focus-v.swap { opacity: 0; transform: translateY(3px); }
.focus-v b { font-weight: 400; color: var(--fg-3); white-space: nowrap; }
.focus-v span { color: var(--fg); white-space: nowrap; }
.focus-v code { font-size: 12.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(118%, 720px, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 181, 122, 0.08), rgba(215, 181, 122, 0.025) 62%, transparent 76%); pointer-events: none; }
[data-theme="light"] .hero-visual::before { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), transparent 74%); }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 96px 0 0; border-top: 1px solid var(--line); }
.spec > div { padding: 24px 24px 0 0; }
.spec dt { font-size: 12px; letter-spacing: 0.22em; color: var(--fg-3); }
.spec dd { margin: 10px 0 0; font-size: 16px; color: var(--fg); }

/* ---------- 镜头 ---------- */
.lens { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; }
.lens-body { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(120% 120% at 30% 18%, #1d1d1d 0%, #0b0b0b 44%, #050505 100%); box-shadow: var(--lens-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.lens-glass { position: absolute; inset: 20%; overflow: hidden; border-radius: 50%; background: #020202; }
.lens-glass::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 50%; box-shadow: inset 0 0 46px 12px rgba(0, 0, 0, 0.82); pointer-events: none; }
.shot { position: absolute; inset: 0; opacity: 0; }
.shot.on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.shot.on img { animation: drift 5.2s linear both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.shot-audio { display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #1a160f 0%, #070707 70%); }
.shot-audio svg { width: 78%; height: 46%; overflow: visible; }
.shot-audio rect { fill: url(#wave-gold); transform-box: fill-box; transform-origin: center; animation: audio-level var(--level-duration) linear infinite; animation-delay: var(--level-delay); }
@keyframes audio-level {
  0%, 60%, 100% { transform: scaleY(var(--level-low)); }
  12%, 46% { transform: scaleY(1); }
  28%, 72% { transform: scaleY(var(--level-mid)); }
  88% { transform: scaleY(0.78); }
}
.shot-text { display: grid; place-items: center; padding: 18%; background: radial-gradient(circle at 50% 40%, #121212 0%, #050505 75%); text-align: left; }
.shot-text p { margin: 0; font-size: clamp(11px, 1.15vw, 15px); line-height: 1.85; color: rgba(236, 233, 226, 0.84); }
.shot-text .h { display: block; margin-bottom: 8px; font-size: 0.78em; letter-spacing: 0.22em; color: var(--lens-accent); }
.caret { display: inline-block; width: 1px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lens-iris { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.blade-edge { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.5; }
.lens-coat { position: absolute; inset: 20%; z-index: 3; border-radius: 50%; pointer-events: none; }
.lens-coat::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.2), transparent 15%), radial-gradient(circle at 70% 76%, rgba(255, 255, 255, 0.05), transparent 20%); mix-blend-mode: screen; }
.lens-coat::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 200deg, transparent 0 5%, rgba(160, 120, 255, 0.13) 8%, transparent 13%, transparent 46%, rgba(90, 210, 170, 0.08) 51%, transparent 58%); mix-blend-mode: screen; animation: coat 70s linear infinite; }
@keyframes coat { to { transform: rotate(360deg); } }
.lens-plate, .lens-ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.lens-ring { transform-origin: 50% 50%; transition: transform 1.3s cubic-bezier(0.65, 0, 0.35, 1); }
.r-grip-base { fill: none; stroke: #121212; stroke-width: 44; }
.r-grip { fill: none; stroke: #060606; stroke-width: 44; stroke-dasharray: 3 3.4; }
.r-edge { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.4; }
.r-band { fill: none; stroke: #0c0c0c; stroke-width: 68; }
.r-minor { fill: none; stroke: #4a4844; stroke-width: 9; stroke-dasharray: 1.6 21.44; }
.r-major { stroke: #8a867f; stroke-width: 2.2; }
.r-label { font: 600 18px var(--font-latin); letter-spacing: 3.2px; fill: #8b8780; transition: fill 0.5s ease; pointer-events: auto; cursor: pointer; }
.r-label:hover { fill: #d9d5cc; }
.r-label.on { fill: var(--lens-accent); }
.p-band { fill: none; stroke: #0a0a0a; stroke-width: 48; }
.p-bevel { fill: none; stroke: url(#p-bevel); stroke-width: 28; }
.p-text { font: 600 13px var(--font-latin); letter-spacing: 5px; fill: #57544e; }
.p-index { fill: var(--lens-accent); }

/* ---------- 分区通用 ---------- */
.sec { padding: 152px 0 0; }
.sec-head { max-width: 720px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.sec-head-row .sec-lead { max-width: 400px; margin: 0; }
.sec-no { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.16em; color: var(--fg-2); }
.sec-no em { font: italic 400 17px/1 var(--serif); letter-spacing: 0; color: var(--accent); }
.sec-no em::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--line-2); }
.sec h2 { margin-top: 26px; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.25; font-weight: 300; letter-spacing: -0.015em; }
.sec-lead { margin-top: 22px; max-width: 560px; font-size: 16.5px; line-height: 1.9; color: var(--fg-2); }
.sec-lead code { font-size: 0.9em; color: var(--fg); }

/* ---------- 01 模型阵列 ---------- */
.lineup { display: flex; gap: 10px; height: 580px; margin-top: 64px; }
.lp { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 2px; background: #0b0b0b; color: #ece9e2; cursor: pointer; transition: flex-grow 0.9s var(--ease); }
.lp.is-open { flex-grow: 2.5; }
.lp:focus-visible { outline-offset: 3px; }
.lp-media { position: absolute; inset: 0; }
.lp-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.48); transform: scale(1.06); transition: filter 1s ease, transform 1.6s var(--ease); }
.lp.is-open .lp-media img { filter: none; transform: none; }
.lp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.86) 100%); pointer-events: none; }
.lp-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px 30px 32px; }
.lp-no { font: italic 400 16px/1 var(--serif); color: var(--lens-accent); }
.lp h3 { margin-top: 12px; font-size: 30px; font-weight: 300; letter-spacing: 0.04em; }
.lp-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.8s var(--ease), opacity 0.4s ease; }
.lp.is-open .lp-more { max-height: 220px; opacity: 1; transition-delay: 0.25s; }
.lp-more p { margin-top: 12px; font-size: 14.5px; color: rgba(236, 233, 226, 0.7); }
.lp-more ul { list-style: none; margin: 20px 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font: 500 13px/1.4 var(--font-latin); letter-spacing: 0.04em; color: rgba(236, 233, 226, 0.88); }
.lp-audio .lp-media { display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #191510 0%, #080808 72%); }
.lp-wave { width: 82%; height: 42%; margin-top: -18%; overflow: visible; }
.lp-wave rect { fill: url(#lp-wave-gold); transform-box: fill-box; transform-origin: center; }
.lp-audio.is-open .lp-wave rect { animation: audio-level var(--level-duration) linear infinite; animation-delay: var(--level-delay); }
.lp-audio:not(.is-open) .lp-wave { opacity: 0.4; }
.lp-text .lp-media { background: radial-gradient(circle at 30% 20%, #151515 0%, #080808 75%); }
.lp-script { position: absolute; left: 34px; right: 34px; top: 40px; font-size: 17px; line-height: 2; color: rgba(236, 233, 226, 0.62); min-width: 420px; transition: opacity 0.6s ease; }
.lp-text:not(.is-open) .lp-script { opacity: 0.35; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 92%); mask-image: linear-gradient(90deg, #000 55%, transparent 92%); }
.lp-script p { margin: 0 0 14px; }
.lp-script .s-h { margin-bottom: 4px; font-size: 12px; letter-spacing: 0.24em; color: var(--lens-accent); }
.lp-script .s-c { color: rgba(236, 233, 226, 0.36); }

/* ---------- 02 模型目录 ---------- */
.cat { margin-top: 56px; }
.cat-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.cat-tabs button { position: relative; height: 52px; font-size: 15px; color: var(--fg-3); transition: color 0.25s ease; }
.cat-tabs button:hover { color: var(--fg-2); }
.cat-tabs button[aria-selected="true"] { color: var(--fg); }
.cat-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg); }
.cat-tabs sup { margin-left: 5px; font: 500 11px/1 var(--font-latin); color: var(--fg-3); }
.cat-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cat-table th { padding: 20px 0 12px; text-align: left; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; color: var(--fg-3); border-bottom: 1px solid var(--line); }
.cat-table th:nth-child(1) { width: 27%; }
.cat-table th:nth-child(2) { width: 11%; }
.cat-table th:nth-child(3) { width: 31%; }
.cat-table td { padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); vertical-align: middle; }
.cat-table tbody tr { transition: background-color 0.25s ease; }
.cat-table tbody tr:hover { background: color-mix(in srgb, var(--fg) 2.5%, transparent); }
.cat-table .m { color: var(--fg); font-size: 16px; font-weight: 400; }
.cat-table .t { font-size: 14px; }
.id-btn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font: 400 13.5px/1.4 var(--mono); color: var(--fg-2); transition: color 0.25s ease; }
.id-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-btn .i { width: 14px; height: 14px; opacity: 0; transition: opacity 0.25s ease; }
.id-btn:hover { color: var(--fg); }
.id-btn:hover .i, .id-btn:focus-visible .i { opacity: 0.8; }
.cat-more { display: flex; justify-content: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cat-more[hidden] { display: none; }
.cat-more-btn { height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--fg-2); transition: color 0.25s ease, box-shadow 0.25s ease; }
.cat-more-btn:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.cat-more-btn .i { width: 15px; height: 15px; transform: rotate(90deg); }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; font-size: 13.5px; color: var(--fg-3); }
.cat-foot a, .link { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.cat-foot a .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.cat-foot a:hover .i { transform: translateX(3px); }

/* ---------- 03 接入 ---------- */
.int-grid, .bill-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: end; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps em { font: italic 400 19px/1.3 var(--serif); color: var(--accent); }
.steps h3 { font-size: 18px; font-weight: 400; }
.steps p { margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--fg-2); }
.code { margin-top: 6px; overflow: hidden; border-radius: 4px; background: #0a0a0a; color: #cfccc4; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -50px rgba(0, 0, 0, 0.8); }
.code-bar { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 0 10px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.code-tabs { display: flex; gap: 6px; height: 100%; }
.code-tabs button { position: relative; height: 100%; padding: 0 12px; font-size: 14px; color: #7a776f; transition: color 0.25s ease; }
.code-tabs button:hover { color: #bdb9b0; }
.code-tabs button[aria-selected="true"] { color: #ece9e2; }
.code-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px; background: var(--lens-accent); }
.code-copy { height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 2px; font-size: 13px; color: #a29f97; transition: background-color 0.25s ease, color 0.25s ease; }
.code-copy:hover { background: rgba(255, 255, 255, 0.06); color: #ece9e2; }
.code-copy .i { width: 15px; height: 15px; }
.code-copy.copied .i-check { color: var(--lens-accent); }
.code-body { margin: 0; min-height: 352px; padding: 28px 30px; overflow-x: auto; font: 400 13.5px/1.95 var(--mono); white-space: pre; tab-size: 2; scrollbar-width: thin; }
.code-body:focus-visible { outline-offset: -4px; }
.tk-cmd, .tk-url { color: #ece9e2; }
.tk-flag { color: #6a6761; }
.tk-str { color: #d7b57a; }
.tk-key { color: #98a1b3; }
.tk-num { color: #e8c99a; }
.tk-com { color: #5c5a55; }
.mval { display: inline-block; color: #fff; box-shadow: inset 0 -1px 0 rgba(215, 181, 122, 0.7); transition: opacity 0.22s ease, transform 0.22s ease; }
.mval.swap { opacity: 0; transform: translateY(-5px); }
.code-foot { display: flex; justify-content: space-between; gap: 16px; padding: 15px 22px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 12.5px; color: #77746d; }
.code-hint b { font-family: var(--mono); font-weight: 400; color: #ece9e2; }

/* ---------- 04 计费 ---------- */
.facts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.facts .i { width: 19px; height: 19px; margin-top: 3px; color: var(--accent); stroke-width: 1.4; }
.facts h3 { font-size: 16px; font-weight: 400; }
.facts p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--fg-2); }
.stmt { margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); transition: background-color 0.5s ease; }
.stmt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 28px 28px 26px; border-bottom: 1px solid var(--line); }
.stmt-k { display: block; font-size: 12px; letter-spacing: 0.22em; color: var(--fg-3); }
.stmt-bal { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 200 52px/1 var(--font-latin); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.zap { fill: var(--accent); stroke: none; }
.stmt-bal .zap { width: 28px; height: 28px; }
.stmt-tag { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 12px; color: var(--fg-3); }
.stmt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stmt-table th { padding: 16px 0 12px; text-align: left; font-size: 12px; font-weight: 400; letter-spacing: 0.16em; color: var(--fg-3); border-bottom: 1px solid var(--line); }
.stmt-table td { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.stmt-table td:nth-child(3) { color: var(--fg); }
.stmt-table th:first-child, .stmt-table td:first-child { padding-left: 28px; font-variant-numeric: tabular-nums; }
.stmt-table th:last-child, .stmt-table td:last-child { padding-right: 28px; }
.stmt-table .num { padding-right: 28px; text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.stmt-table th.num { color: var(--fg-3); }
.src { display: inline-block; min-width: 40px; padding: 3px 0; text-align: center; border: 1px solid var(--line-2); border-radius: 2px; font: 500 11px/1.2 var(--font); letter-spacing: 0.1em; color: var(--fg-2); }
.src.cv { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
.st { display: inline-flex; align-items: center; gap: 8px; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.st.back { color: var(--fg-3); }
.st.back::before { background: var(--fg-3); }
.stmt-foot { padding: 16px 28px; font: 400 12px/1.4 var(--mono); color: var(--fg-3); }

/* ---------- 05 画布 ---------- */
.cine { position: relative; display: block; overflow: hidden; aspect-ratio: 2.39 / 1; border-radius: 2px; background: #000; isolation: isolate; }
.cine-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.6s var(--ease); }
.cine:hover .cine-img { transform: scale(1.015); }
.cine::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0) 72%); }
.cine-copy { position: absolute; left: 64px; bottom: 60px; z-index: 2; max-width: 520px; color: #ece9e2; }
.cine-copy .sec-no { color: rgba(236, 233, 226, 0.7); }
.cine-copy .sec-no em { color: var(--lens-accent); }
.cine-copy .sec-no em::after { background: rgba(236, 233, 226, 0.3); }
.cine-copy h2 { margin-top: 24px; font-size: clamp(30px, 3vw, 44px); line-height: 1.3; font-weight: 300; }
.cine-copy p { margin-top: 18px; font-size: 16px; line-height: 1.85; color: rgba(236, 233, 226, 0.72); }
.cine-copy .btn { margin-top: 32px; background: #ece9e2; color: #0a0a0a; }
.cine-meta { position: absolute; right: 30px; top: 26px; z-index: 2; font: 600 10.5px/1 var(--font-latin); letter-spacing: 0.26em; color: rgba(236, 233, 226, 0.5); }

/* ---------- 页脚 ---------- */
.ft { padding: 176px 0 44px; }
.ft-cta { padding-bottom: 128px; text-align: center; border-bottom: 1px solid var(--line); }
.ft-cta h2 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; }
.ft-cta p { margin: 22px auto 0; max-width: 520px; font-size: 16.5px; line-height: 1.9; color: var(--fg-2); }
.ft-cta .actions { justify-content: center; }
.ft-cols { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding: 64px 0 40px; }
.ft-brand p { margin-top: 14px; font-size: 14px; color: var(--fg-3); }
.ft-brand .brand { margin-bottom: 6px; }
.ft-col h4 { margin-bottom: 16px; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; color: var(--fg-3); }
.ft-col a { display: block; font-size: 14px; line-height: 2.3; color: var(--fg-2); transition: color 0.25s ease; }
.ft-col a:hover { color: var(--fg); }
.ft-word { margin: 8px 0 0; text-align: center; white-space: nowrap; user-select: none; font: 200 clamp(64px, 14.6vw, 212px)/0.92 var(--font-latin); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.ft-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.ft-bar a { color: var(--fg-2); }
.ft-bar a:hover { color: var(--fg); }

.toast { position: fixed; left: 50%; bottom: 32px; z-index: 80; padding: 11px 18px; border-radius: 2px; background: var(--fg); color: var(--bg); font-size: 13px; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero-copy { max-width: 620px; }
  .lens { max-width: 540px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .int-grid, .bill-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .sec-head-row .sec-lead { margin-top: 22px; max-width: 560px; }
  .lineup { height: 500px; }
  .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .drawer:not([hidden]) { display: grid; padding: 4px 36px 24px; background: var(--hdr-glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
  .drawer a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 300; color: var(--fg-2); }
  .drawer a[aria-current="page"] { color: var(--fg); }
}
@media (max-width: 760px) {
  .hdr-in { height: 64px; padding: 0 20px; gap: 16px; }
  .hdr-tools { gap: 6px; }
  .hdr-cta { height: 34px; padding: 0 12px; font-size: 13px; }
  .drawer:not([hidden]) { padding: 4px 20px 20px; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 112px; }
  .over { font-size: 11px; gap: 10px; }
  .over i { width: 22px; }
  .hero h1 { margin-top: 26px; font-size: clamp(34px, 10.2vw, 46px); }
  .lead { font-size: 16px; }
  .br-d { display: none; }
  .actions { margin-top: 32px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .endpoint { height: 50px; }
  .ep-k { padding: 0 12px; }
  .ep-v { padding: 0 12px; font-size: 13px; }
  .ep-copy { padding: 0 12px; }
  .ep-copy span { display: none; }
  .focus { align-items: flex-start; gap: 8px 14px; }
  .focus-k { margin-top: 5px; }
  .focus-v code { flex-basis: 100%; }
  .hero-grid { gap: 56px; }
  .spec { margin-top: 64px; grid-template-columns: minmax(0, 1fr); }
  .spec > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
  .spec dd { margin: 0; text-align: right; font-size: 15px; }
  .sec { padding-top: 120px; }
  .sec h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .sec-lead { font-size: 15.5px; }
  .lineup { flex-direction: column; height: auto; gap: 10px; margin-top: 44px; }
  .lp, .lp.is-open { flex: none; height: auto; display: flex; flex-direction: column; }
  .lp::after { display: none; }
  .lp-media { position: relative; height: 220px; flex: none; }
  .lp .lp-media img { filter: none; transform: none; }
  .lp .lp-more { max-height: 240px; opacity: 1; }
  .lp-body { position: relative; padding: 22px 22px 24px; }
  .lp-wave { margin-top: 0; height: 52%; }
  .lp-script { top: 22px; bottom: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .lp h3 { font-size: 26px; }
  .lp-script { left: 22px; right: 22px; min-width: 0; font-size: 14.5px; line-height: 1.85; }
  .lp-text .lp-script, .lp-audio .lp-wave { opacity: 1 !important; }
  .lp-text .lp-script, .lp-text:not(.is-open) .lp-script { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .cat-tabs { gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .cat-tabs button { flex: none; }
  .cat-table thead { display: none; }
  .cat-table, .cat-table tbody { display: block; }
  .cat-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cat-table tr[hidden] { display: none; }
  .cat-table td { padding: 0; border: 0; }
  .cat-table .c { display: none; }
  .cat-table .t { text-align: right; font-size: 13px; color: var(--fg-3); }
  .cat-table .id { grid-column: 1 / -1; }
  .cat-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .code-body { min-height: 0; padding: 20px; font-size: 12px; }
  .code-tabs button { padding: 0 9px; }
  .code-copy span { display: none; }
  .code-foot { flex-direction: column; gap: 6px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .stmt-head { padding: 22px 18px 20px; }
  .stmt-bal { font-size: 42px; }
  .stmt-table th:nth-child(2), .stmt-table td:nth-child(2), .stmt-table th:nth-child(4), .stmt-table td:nth-child(4) { display: none; }
  .stmt-table th:first-child, .stmt-table td:first-child { padding-left: 18px; }
  .stmt-table th:last-child, .stmt-table td:last-child, .stmt-table .num { padding-right: 18px; }
  .stmt-foot { padding: 14px 18px; }
  .cine { aspect-ratio: 4 / 5; }
  .cine::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.88) 78%); }
  .cine-copy { left: 22px; right: 22px; bottom: 30px; }
  .cine-copy h2 { font-size: 28px; }
  .cine-copy .btn { width: 100%; justify-content: center; }
  .cine-meta { right: 18px; top: 18px; }
  .ft { padding-top: 120px; }
  .ft-cta { padding-bottom: 88px; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 48px 0 28px; }
  .ft-bar { flex-direction: column; }
}

/* 减少动态：内容直接就位，去掉持续动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }

/* 同一作品铺满镜头；清晰画面在边缘柔和衔接，完整保留中央字标。 */
.shot-photo::before { content: ""; position: absolute; inset: -10%; background: var(--shot-image) center / cover no-repeat; filter: blur(18px) brightness(0.7); }
.shot img[data-real-work] { position: absolute; left: 10%; top: 50%; width: 80%; height: auto; translate: 0 -50%; object-fit: contain; box-sizing: border-box; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7% 93%, transparent), linear-gradient(0deg, transparent, #000 24% 76%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7% 93%, transparent), linear-gradient(0deg, transparent, #000 24% 76%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.real-work-media { overflow: hidden; isolation: isolate; }
.real-work-media::before { content: ""; position: absolute; inset: -12%; z-index: 0; background: var(--work-image) center / cover no-repeat; filter: blur(28px); opacity: 0.28; }
.real-work-media > img[data-real-work] { position: relative; z-index: 1; object-fit: contain; object-position: center 34%; box-sizing: border-box; padding: 18px; transform: none; }
.real-work-cine { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: center; gap: 30px; min-height: 460px; padding: 44px; aspect-ratio: auto; }
.real-work-cine::before { display: none; }
.real-work-cine .cine-img { position: static; grid-column: 2; grid-row: 1; width: 100%; height: auto; object-fit: contain; transform: none; }
.real-work-cine:hover .cine-img { transform: none; }
.real-work-cine .cine-copy { position: static; grid-column: 1; grid-row: 1; }
.real-work-cine .cine-copy h2 { font-size: clamp(28px, 2.35vw, 34px); }
.real-work-cine .cine-meta { font-size: 10px; letter-spacing: 0.12em; }
@media (max-width: 1024px) {
  .real-work-cine { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 56px 26px 32px; gap: 28px; }
  .real-work-cine .cine-img { grid-column: 1; grid-row: 1; }
  .real-work-cine .cine-copy { grid-column: 1; grid-row: 2; }
}
@media (max-width: 760px) {
  .real-work-cine { padding: 50px 20px 26px; gap: 24px; }
  .real-work-cine .cine-copy h2 { font-size: 28px; }
  .real-work-cine .cine-meta { right: 20px; top: 20px; font-size: 9px; }
}
