/* AgentReins 首页：海军蓝铺底，品牌红只给 Logo，琥珀只标证据与重点。 */
:root {
  --ink: #0D1B2A;
  --ink-2: #16293D;
  --ink-3: #1F3650;
  --line: rgba(143, 163, 179, .22);
  --text: #EEF3F6;
  --muted: #8FA3B3;
  --red: #C92335;
  --amber: #F2A93B;
  --amber-soft: rgba(242, 169, 59, .14);
  --ok: #4FD1A5;
  --ok-soft: rgba(79, 209, 165, .14);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Cascadia Mono", Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
code, pre { font-family: var(--mono); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { position: relative; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.16; font-weight: 800; letter-spacing: -.01em; }
.kicker { color: var(--amber); font: 500 14px/1.4 var(--mono); letter-spacing: .08em; margin-bottom: 18px; }
.section-lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 700px; margin-top: 22px; }
.sample { color: var(--muted); font-size: 13px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; }
.progress i { display: block; height: 100%; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }

.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 32px; height: 68px; padding: 0 clamp(20px, 4vw, 48px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(13, 27, 42, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav nav a { transition: color .2s; }
.nav nav a:hover, .nav nav a.on { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--amber); color: var(--ink); }
.btn.primary:hover { background: #ffbd5c; }
.btn.ghost { border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; border: 1px solid var(--line); }
.btn.small:hover { border-color: var(--amber); color: var(--amber); }

/* 首屏 */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(900px 620px at 76% 44%, var(--ink-2), transparent 70%), var(--ink); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; width: min(1180px, 100% - 48px); margin-inline: auto; pointer-events: none; padding-top: 68px; }
.hero-copy a { pointer-events: auto; }
h1 { font-size: clamp(35px, 6.4vw, 88px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 span { white-space: nowrap; }
h1 em { font-style: normal; color: var(--amber); }
.lead { max-width: 580px; margin-top: 26px; font-size: clamp(18px, 1.8vw, 21px); color: #C7D3DC; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pledges { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 44px; color: var(--muted); font-size: 15px; }
.pledges li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--amber); vertical-align: 3px; }
.hero-hint { position: absolute; right: clamp(20px, 4vw, 48px); bottom: 26px; z-index: 2; color: var(--muted); font-size: 13px; }

/* 质疑 */
.doubt { padding: clamp(90px, 13vw, 170px) 0; background: var(--ink); }
.doubt-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 56px; }
.doubt article { border-radius: 20px; padding: 32px; min-height: 280px; }
.label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.said { background: var(--ink-2); }
.said p { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.5; font-weight: 600; }
.said b { color: var(--amber); font-weight: 600; }
.done { border: 1px solid var(--line); }
.done li { display: flex; gap: 16px; padding: 9px 0; font: 400 15px/1.5 var(--mono); border-bottom: 1px dashed var(--line); opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.done.in li { opacity: 1; transform: none; }
.done li:nth-child(2) { transition-delay: .25s; } .done li:nth-child(3) { transition-delay: .5s; }
.done li:nth-child(4) { transition-delay: .9s; } .done li:nth-child(5) { transition-delay: 1.3s; }
.done time { color: var(--muted); flex: none; }
.done code { color: inherit; }
.done .hot { color: var(--amber); }
.note { margin-top: 36px; font-size: clamp(19px, 2vw, 24px); max-width: 820px; }
.doubt .sample { margin-top: 12px; }

/* 是什么 */
.what { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.pillar { position: relative; padding: 34px 30px 38px; background: var(--ink); border-radius: 20px; overflow: hidden; border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease); }
.pillar:hover { border-color: var(--line); transform: translateY(-4px); }
.spot::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--amber-soft), transparent 70%); }
.spot:hover::before { opacity: 1; }
.num { font: 500 14px var(--mono); color: var(--amber); }
.pillar h3 { font-size: 34px; line-height: 1.2; margin: 14px 0 14px; }
.pillar p { color: var(--muted); }

/* 证据链 */
.chain { height: 480vh; background: var(--ink); }
.chain-pin { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: 84px 0 24px; }
.chain-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.chain-side h2 { font-size: clamp(32px, 3.8vw, 48px); margin-bottom: 26px; }
.thread { position: relative; padding-left: 34px; }
.thread::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.thread .fill { position: absolute; left: 9px; top: 12px; width: 2px; height: var(--fill, 0px); background: var(--amber); transition: height .6s var(--ease); }
.thread li button { position: relative; display: block; width: 100%; text-align: left; padding: 6px 0; color: var(--muted); font-size: 16px; transition: color .25s; }
.thread li button::before { content: ""; position: absolute; left: -30px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid var(--muted); transition: background .3s, border-color .3s; z-index: 1; }
.thread li.past button { color: #C7D3DC; }
.thread li.past button::before { border-color: var(--amber); background: var(--amber); }
.thread li.on button { color: var(--text); font-weight: 600; }
.thread li.on button::before { border-color: var(--amber); background: var(--ink); }
.spider { position: absolute; left: -2px; top: 0; width: 24px; height: 24px; z-index: 2; color: var(--amber); transition: transform .7s var(--ease); pointer-events: none; }
.spider path { transform-origin: 12px 12px; }
.spider.walk .legs-a { animation: leg .18s linear 4 alternate; }
.spider.walk .legs-b { animation: leg .18s linear 4 alternate-reverse; }
@keyframes leg { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.trace { background: var(--ink-2); border-radius: 22px; padding: clamp(24px, 3vw, 36px); min-height: 500px; border: 1px solid var(--line); }
.trace header { display: flex; align-items: center; gap: 10px; color: var(--amber); font: 500 13px var(--mono); }
.trace header .sample { margin-left: auto; font-family: var(--sans); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.trace h3 { font-size: clamp(25px, 3vw, 34px); line-height: 1.3; margin-top: 18px; }
.trace > p { color: var(--muted); margin-top: 10px; min-height: 60px; }
.trace dl { display: grid; grid-template-columns: 96px 1fr; gap: 8px 16px; margin-top: 20px; font-size: 15px; }
.trace dt { color: var(--muted); }
.trace dd { overflow-wrap: anywhere; }
.trace pre, .raw pre { margin: 20px 0 0; padding: 16px; border-radius: 12px; background: var(--ink); font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: #C7D3DC; min-height: 88px; }

/* 风险控制台 */
.console-section { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink-2); }
.console { margin-top: 52px; border-radius: 20px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.console-bar span { margin-left: 8px; }
.console-bar em { margin-left: auto; font-style: normal; color: var(--amber); }
.console-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 560px; }
.risk-list { border-right: 1px solid var(--line); padding: 10px; }
.risk-item { display: block; width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; transition: background .2s; }
.risk-item + .risk-item { margin-top: 4px; }
.risk-item:hover { background: var(--ink-2); }
.risk-item[aria-selected="true"] { background: var(--ink-3); }
.risk-item b { display: block; font-size: 16px; font-weight: 600; }
.risk-item small { display: block; color: var(--muted); font: 400 13px/1.5 var(--mono); overflow-wrap: anywhere; margin-top: 2px; }
.sev { display: inline-block; font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: 6px; margin-bottom: 7px; background: var(--amber-soft); color: var(--amber); }
.sev.low { background: rgba(143, 163, 179, .16); color: var(--muted); }
.risk-detail { padding: 24px; max-height: 620px; overflow-y: auto; }
.risk-detail h3 { font-size: 22px; line-height: 1.35; }
.why { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font: 500 12px var(--mono); padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: #C7D3DC; }
.meta { display: grid; grid-template-columns: 70px 1fr; gap: 3px 14px; margin-top: 14px; font-size: 14px; }
.meta dt { color: var(--muted); }
.sub-h { font-weight: 600; margin: 20px 0 10px; }
.ev { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.ev > button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; font-size: 14px; align-items: baseline; }
.ev > button time { color: var(--muted); font: 400 13px var(--mono); flex: none; }
.ev > button:hover { background: var(--ink-2); }
.ev .inner { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.ev .inner > div { overflow: hidden; }
.ev.open .inner { grid-template-rows: 1fr; }
.ev .content { padding: 2px 14px 14px; font-size: 14px; }
.ev dl { display: grid; grid-template-columns: 70px 1fr; gap: 3px 12px; }
.ev dt { color: var(--muted); }
.ev dd { overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; }
.basis { margin: 12px 0 6px; padding: 8px 12px; border-radius: 8px; background: var(--amber-soft); color: var(--amber); font-size: 13px; line-height: 1.6; }
.pair span { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; }
.pair code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
.raw { margin-top: 10px; }
.raw summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.raw pre { margin-top: 6px; min-height: 0; font-size: 12.5px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ack { min-height: 40px; padding: 0 18px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, color .2s; }
.ack:hover:not(:disabled) { border-color: var(--amber); color: var(--amber); }
.ack:disabled { color: var(--muted); cursor: default; }
.pack-toast { margin-top: 10px; font-size: 13px; color: var(--ok); }

/* 不编不瞒 */
.honest { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink); }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.link-tabs { display: flex; gap: 8px; margin-top: 32px; }
.link-tabs button { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.link-tabs button[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.link-desc { margin-top: 18px; min-height: 84px; max-width: 520px; }
.link-stage svg { width: 100%; height: auto; }
.node rect { fill: var(--ink-2); stroke: var(--line); }
.node text { fill: var(--text); font: 600 16px var(--sans); text-anchor: middle; }
.node text.sub { fill: var(--muted); font-weight: 400; font-size: 13px; }
#linkPath { fill: none; stroke: var(--amber); stroke-width: 3; transition: stroke .3s, opacity .3s; }
#linkPath.solid { animation: draw .7s var(--ease); stroke-dasharray: 120; }
#linkPath.dashed { stroke-dasharray: 8 7; animation: march 1s linear infinite; }
#linkPath.broken { stroke: var(--muted); stroke-dasharray: 44 32; opacity: .7; }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes march { to { stroke-dashoffset: -15; } }
#linkBreak { display: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
#linkBreak.show { display: inline; }
#linkLabel { fill: var(--amber); font: 500 14px var(--sans); text-anchor: middle; }

/* 数字 */
.stats { padding: clamp(60px, 8vw, 100px) 0; background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat b { display: block; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.05; color: var(--amber); font-weight: 800; }
.stat span { display: block; font-size: 17px; font-weight: 600; margin-top: 6px; }
.stat small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.6; }

/* 覆盖 */
.coverage { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink); }
.layers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 48px; }
.layer { position: relative; min-height: 112px; padding: 14px; text-align: left; border-radius: 12px; background: var(--ink-2); border: 1px solid transparent; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.layer:hover { transform: translateY(-3px); border-color: var(--line); }
.layer[aria-pressed="true"] { border-color: var(--amber); background: var(--ink-3); }
.layer i { display: block; font: 500 12px var(--mono); color: var(--amber); }
.layer b { display: block; font-size: 15px; line-height: 1.4; margin-top: 8px; font-weight: 600; }
.layer-note { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin-top: 18px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); min-height: 96px; }
.layer-note span { display: block; color: var(--muted); font-size: 13px; }
.risks-row { margin-top: 60px; }
.risks-row h3 { font-size: 22px; margin-bottom: 16px; }
.risks-row ul { display: flex; flex-wrap: wrap; gap: 10px; }
.risks-row li { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: #C7D3DC; font-size: 15px; }
.risks-row li.hot-pill { border-color: rgba(242, 169, 59, .55); color: var(--amber); }

/* 工具治理、合规与留痕 */
.enterprise { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink-2); }
.ent-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ent-tabs button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: all .2s; }
.ent-tabs button:hover { color: var(--text); border-color: var(--muted); }
.ent-tabs button[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.ent-panel { margin-top: 22px; background: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.ent-panel.swap { animation: rise .4s var(--ease); }
.ent-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 28px; align-items: start; }
.ent-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ent-table th, .ent-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); }
.ent-table th { color: var(--muted); font-weight: 500; font-size: 13px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 500 12px var(--mono); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.muted { background: rgba(143, 163, 179, .16); color: var(--muted); }
.ent-side { background: var(--ink-2); border-radius: 14px; padding: 22px; }
.ent-side h3 { font-size: 18px; margin-bottom: 12px; }
.ent-side ul li { padding: 7px 0 7px 18px; position: relative; color: var(--muted); font-size: 14.5px; }
.ent-side ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 2px; background: var(--amber); }
.fw-note { color: #C7D3DC; font-size: 15px; }
.fw-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fw-pills span { padding: 5px 12px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--line); font-size: 13px; }

/* 用途 */
.use { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink); }
.use-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; border-bottom: 1px solid var(--line); }
.use-tabs button { padding: 12px 20px; color: var(--muted); font-size: 17px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.use-tabs button:hover { color: var(--text); }
.use-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--amber); font-weight: 600; }
.use-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); padding-top: 40px; min-height: 240px; }
.use-panel h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.use-panel ul li { padding: 11px 0 11px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.use-panel ul li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 2px; background: var(--amber); }
.use-panel.swap { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* 产品 */
.product { padding: clamp(90px, 12vw, 160px) 0; background: var(--ink-2); overflow: hidden; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.agents { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 30px; }
.agents li { display: flex; align-items: center; gap: 12px; }
.agents span { color: var(--muted); font-size: 14px; }
.agents b { display: block; color: var(--text); font-size: 16px; }
.plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px dashed var(--muted); font-style: normal; color: var(--muted); }
.shot { margin: 0; perspective: 1200px; }
.shot img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.shot.tilt img { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s var(--ease); }
.shot figcaption { color: var(--muted); font-size: 13px; margin-top: 16px; text-align: right; }

/* 新功能实机界面图与点击放大预览 */
.ui-shot { margin: 28px 0 0; }
.ui-shot-compact { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.shot-trigger { position: relative; display: block; width: 100%; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--ink); box-shadow: 0 24px 64px rgba(0, 0, 0, .42); transition: border-color .25s, transform .25s var(--ease); }
.shot-trigger:hover { border-color: rgba(242, 169, 59, .55); transform: translateY(-2px); }
.shot-trigger img { width: 100%; height: auto; display: block; }
.shot-hint { position: absolute; right: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(13, 27, 42, .88); border: 1px solid var(--line); color: var(--text); font-size: 12px; backdrop-filter: blur(8px); }
.shot-trigger:hover .shot-hint { border-color: var(--amber); color: var(--amber); }
.ui-shot figcaption { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 10px; }
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.shot-pair .ui-shot-compact { margin-top: 0; padding-top: 0; border-top: 0; }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 28px; background: rgba(8, 17, 27, .88); backdrop-filter: blur(10px); }
.lightbox-card { position: relative; max-width: min(1320px, 94vw); max-height: 92vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox-card img { max-width: 100%; max-height: calc(92vh - 76px); width: auto; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 32px 96px rgba(0, 0, 0, .65); object-fit: contain; }
.lightbox-card p { color: #C7D3DC; font-size: 14px; text-align: center; }
.lightbox-close { align-self: flex-end; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); font-size: 13px; }
.lightbox-close:hover { border-color: var(--amber); color: var(--amber); }

/* 边界 */
.limits { padding: clamp(80px, 10vw, 130px) 0; background: var(--ink); }
.limit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border-radius: 16px; overflow: hidden; }
.limit-grid article { background: var(--ink-2); padding: 28px 24px; }
.limit-grid h3 { font-size: 21px; margin-bottom: 8px; }
.limit-grid p { color: var(--muted); font-size: 15px; }

/* 收尾 */
.closing { padding: clamp(120px, 16vw, 210px) 0; text-align: center; overflow: hidden; background: var(--ink-2); }
#closingField { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing .wrap { position: relative; }
.closing-mark { margin: 0 auto 30px; }
.closing h2 { font-size: clamp(38px, 6vw, 76px); margin-bottom: 40px; }
.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer .brand { font-size: 15px; color: var(--text); margin-right: auto; }
.footer .brand span { color: var(--muted); font-size: 13px; }

/* 入场 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-hint { display: none; }
  .doubt-grid, .pillars, .honest-grid, .ent-grid, .use-panel, .console-body, .chain-grid, .shot-pair { grid-template-columns: minmax(0, 1fr); }
  .chain { height: auto; padding: 80px 0; }
  .chain-pin { position: static; min-height: 0; padding: 0; }
  .trace { min-height: 0; }
  .risk-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .risk-detail { max-height: none; }
  .console-body { min-height: 0; }
  .stats-grid, .limit-grid { grid-template-columns: repeat(2, 1fr); }
  .layers { grid-template-columns: repeat(3, 1fr); }
  .shot.tilt img { transform: none; }
  #field { opacity: .6; }
  .layer-note { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero-copy { width: calc(100% - 32px); }
  .layers { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .limit-grid { grid-template-columns: minmax(0, 1fr); }
  .doubt article { padding: 24px; min-height: 0; }
  .done li { font-size: 13.5px; gap: 10px; }
  .trace dl { grid-template-columns: 76px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .done li { opacity: 1; transform: none; }
}
