/* ============================================================
   EvalCall 官网样式
   视觉语言延续产品工作台（site-deploy/app.html）：
   米白画布 + 美团黄信号色 + 墨蓝主文字 + 蓝/绿语义色
   ============================================================ */

:root {
  --canvas: #eef2f6;
  --paper: #ffffff;
  --ink: #142039;
  --muted: #687386;
  --line: #d9e0e9;
  --subtle: #f7f9fb;

  --signal: #ffd100;
  --signal-dark: #6d5700;
  --signal-soft: #fff8dc;

  --input: #1f5f9d;
  --input-soft: #edf5fc;
  --output: #08755d;
  --output-soft: #e8f6f1;
  --danger: #bd352c;
  --danger-soft: #fdf0ee;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 54px rgba(20, 32, 57, .09);
  --shadow-sm: 0 5px 16px rgba(20, 32, 57, .05);

  --font-ui: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-data: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: var(--font-data); font-size: .82em; background: rgba(20,32,57,.07); border-radius: 5px; padding: 2px 7px; color: #3d4a63; word-break: break-all; }

a:focus-visible, button:focus-visible { outline: 3px solid rgba(255, 209, 0, .75); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--signal); color: #211b00; }

/* ============ 顶栏 ============ */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 32, 57, .08); }

.header-inner {
  max-width: 1240px; margin: 0 auto; height: var(--header-h);
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: var(--signal); color: #241d00;
  display: grid; place-items: center;
  font: 900 21px/1 "Arial Narrow", Arial, sans-serif;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08);
}
.brand-copy strong { display: block; font-size: 18px; letter-spacing: -.02em; line-height: 1.15; }
.brand-copy small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

.main-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.main-nav a { padding: 6px 2px; position: relative; transition: color .2s ease; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--signal); transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.header-cta:hover { background: #1e2f57; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20, 32, 57, .22); }

.menu-button { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 9px 10px; cursor: pointer; }
.menu-button span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-button span + span { margin-top: 5px; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ 通用节 ============ */

.section { padding: 96px 0; }
.section-canvas { background: var(--canvas); }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 max(24px, calc((100vw - 1240px) / 2)); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-data); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.kicker-bar { width: 26px; height: 3px; background: var(--signal); border-radius: 2px; }

.section-head { margin-bottom: 52px; max-width: 880px; }
.section-head h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.18; letter-spacing: -.03em; font-weight: 800;
}
.accent { color: var(--input); }
.section-head p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.13rem); }

.section-footnote {
  margin: 36px 0 0; padding: 18px 24px;
  background: var(--signal-soft); border-left: 4px solid var(--signal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
}
.section-footnote strong { color: var(--signal-dark); }

/* ============ HERO ============ */

.hero {
  position: relative; overflow: clip;
  padding: calc(var(--header-h) + 64px) 0 88px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 209, 0, .16), transparent 62%),
    radial-gradient(900px 480px at -10% 110%, rgba(31, 95, 157, .10), transparent 60%),
    var(--canvas);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20, 32, 57, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 57, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 560px at 70% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 560px at 70% 20%, #000 30%, transparent 75%);
}
.hero-orbit { position: absolute; border: 1.5px solid rgba(31, 95, 157, .22); border-radius: 50%; transform: rotate(-16deg); }
.hero-orbit-a { width: 56vw; height: 22vw; right: -14vw; top: 4vh; }
.hero-orbit-b { width: 44vw; height: 16vw; right: -6vw; top: 22vh; border-color: rgba(255, 209, 0, .5); }
.hero-glow {
  position: absolute; width: 15vw; height: 15vw; right: 8vw; top: 12vh;
  background: radial-gradient(circle, rgba(255, 209, 0, .5), transparent 68%);
  filter: blur(6px);
}

.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 max(24px, calc((100vw - 1240px) / 2)); }

.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.chip {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted);
}
.chip-yellow { background: var(--signal); border-color: var(--signal); color: #241d00; }
.chip-red { background: var(--danger-soft); border-color: rgba(189, 53, 44, .35); color: var(--danger); }
.chip-blue { background: var(--input-soft); border-color: rgba(31, 95, 157, .3); color: var(--input); }

.hero h1 {
  margin: 0; max-width: 900px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.12; letter-spacing: -.04em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--input), #0d7ec2); -webkit-background-clip: text; background-clip: text; }

.hero-sub { margin: 24px 0 0; max-width: 760px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #3d4a63; }
.hero-sub strong { color: var(--ink); }

.hero-roles {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 30px 0 0; padding: 16px 20px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: var(--radius);
  width: fit-content; max-width: 100%;
}
.hero-roles li { font-size: 13px; line-height: 1.4; }
.hero-roles li b { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; font-family: var(--font-data); }
.hero-roles li span { font-weight: 700; }
.hero-roles .arrow { color: var(--signal-dark); font-weight: 900; font-size: 16px; align-self: center; padding-bottom: 12px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 800; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(20, 32, 57, .12); font-size: 11px; }
.btn-primary { background: var(--signal); color: #211b00; box-shadow: 0 10px 24px rgba(173, 135, 0, .25), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(173, 135, 0, .32), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--input); color: var(--input); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; padding-inline: 16px; }
.btn-ghost:hover { color: var(--ink); }
.btn-large { padding: 18px 32px; font-size: 16px; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-outline:hover { border-color: var(--signal); color: var(--signal); transform: translateY(-2px); }

.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
.metric {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.metric b { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-data); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.metric b i { font-style: normal; font-size: .55em; font-weight: 700; color: var(--muted); }
.metric span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #3d4a63; line-height: 1.45; }
.metric span em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12px; }
.metric-green b { color: var(--output); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-data); font-size: 10px; letter-spacing: .3em; color: var(--muted);
}
.arrow-down {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1.5px solid currentColor; border-radius: 50%; font-size: 15px;
  animation: cue-bounce 2.2s ease-in-out infinite;
}
@keyframes cue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============ 痛点卡 ============ */

.card-grid { display: grid; gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.pain-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; background: var(--input-soft); color: var(--input);
  font-size: 21px; font-weight: 900; margin-bottom: 18px;
  font-family: var(--font-data);
}
.pain-card h3 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: -.01em; }
.pain-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.pain-card-alert { border-color: rgba(189, 53, 44, .4); background: linear-gradient(180deg, #fffdfc, var(--paper)); }
.pain-card-alert .pain-icon { background: var(--danger-soft); color: var(--danger); }
.pain-card-alert strong { color: var(--danger); }

/* ============ 六步 ============ */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31, 95, 157, .4); }
.step-index {
  font-family: var(--font-data); font-size: 12px; font-weight: 800;
  color: var(--input); letter-spacing: .1em; margin-bottom: 14px;
}
.step h3 { margin: 0 0 10px; font-size: 1.14rem; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.step-io {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--muted); font-family: var(--font-data);
}
.step-io b {
  display: inline-block; margin-right: 6px;
  background: rgba(31, 95, 157, .1); color: var(--input);
  border-radius: 5px; padding: 1px 7px; font-size: 10px; letter-spacing: .08em;
}

.step-core {
  background: linear-gradient(180deg, #fffbe8, #fff8dc);
  border: 2px solid var(--signal);
  box-shadow: 0 14px 34px rgba(173, 135, 0, .18);
}
.step-core:hover { border-color: var(--signal); box-shadow: 0 18px 42px rgba(173, 135, 0, .26); }
.step-core .step-index { color: var(--signal-dark); }
.step-core .step-io b { background: rgba(255, 209, 0, .35); color: var(--signal-dark); }
.core-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; font-weight: 900; letter-spacing: .14em;
  background: var(--signal); color: #241d00;
  padding: 4px 10px; border-radius: 999px;
}

.dual-entry {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.dual-entry-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.dual-entry-item b { flex: 0 0 auto; font-size: .98rem; padding-top: 2px; }
.dual-entry-item b::before { content: "⇄"; display: block; font-size: 18px; color: var(--input); margin-bottom: 6px; }
.dual-entry-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ============ 三层闭环 ============ */

.loop-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin: 0 0 40px;
}
.loop-item {
  padding: 13px 30px; border-radius: 12px;
  font-size: 1.15rem; font-weight: 800; letter-spacing: .04em;
}
.loop-model { background: var(--input-soft); color: var(--input); border: 1.5px solid rgba(31, 95, 157, .4); }
.loop-instruction { background: var(--signal-soft); color: var(--signal-dark); border: 1.5px solid rgba(255, 209, 0, .6); }
.loop-judge { background: #f3ecff; color: #6b3fa0; border: 1.5px solid rgba(139, 92, 246, .4); }
.loop-arrow { color: var(--muted); font-size: 22px; font-weight: 700; }
.loop-return { color: var(--signal-dark); }

.trust-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-card header { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.trust-model header { background: linear-gradient(180deg, var(--input-soft), transparent); }
.trust-instruction header { background: linear-gradient(180deg, var(--signal-soft), transparent); }
.trust-judge header { background: linear-gradient(180deg, #f3ecff, transparent); }

.trust-tag {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-data); font-size: 10px; font-weight: 800; letter-spacing: .2em;
  color: var(--muted); text-transform: uppercase;
}
.trust-card h3 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.02em; }
.trust-q { margin: 0; color: var(--muted); font-size: .95rem; }

.mini-pipeline { list-style: none; margin: 0; padding: 18px 24px 8px; flex: 1; }
.mini-pipeline li { position: relative; padding: 10px 0 10px 26px; }
.mini-pipeline li + li { border-top: 1px dashed var(--line); }
.mini-pipeline li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--input);
}
.trust-instruction .mini-pipeline li::before { background: var(--signal); }
.trust-judge .mini-pipeline li::before { background: #8b5cf6; }
.mini-pipeline b { display: block; font-size: .95rem; margin-bottom: 2px; }
.mini-pipeline span { color: var(--muted); font-size: .86rem; line-height: 1.55; }

.trust-result {
  margin: 18px 24px 24px; padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--subtle); border: 1px solid var(--line);
  font-size: .86rem; line-height: 1.6; color: #3d4a63;
}
.trust-result b {
  display: inline-block; margin-right: 8px; margin-bottom: 4px;
  font-family: var(--font-data); font-size: 10px; letter-spacing: .18em;
  color: #fff; background: var(--ink); border-radius: 5px; padding: 2px 8px;
}
.trust-result strong { color: var(--ink); }

/* ============ 实证 ============ */

.evidence-block {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px; box-shadow: var(--shadow-sm);
}
.evidence-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.evidence-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.01em; }
.evidence-meta { font-family: var(--font-data); font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--paper); min-width: 560px; }
th, td { padding: 13px 18px; text-align: left; font-size: .93rem; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--subtle); color: var(--muted);
  font-family: var(--font-data); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(31, 95, 157, .04); }

.verdict {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: .9rem;
  padding: 4px 12px; border-radius: 999px;
}
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict-bad { background: var(--danger-soft); color: var(--danger); }
.verdict-good { background: var(--output-soft); color: var(--output); }

.delta-up { color: var(--output); font-weight: 700; }
.delta-flat { color: var(--muted); }

.table-note { margin: 16px 0 0; font-size: .86rem; color: var(--muted); line-height: 1.7; }
.table-note strong { color: var(--ink); }

.evidence-extra { margin-top: 22px; }
.evidence-card {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.evidence-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.evidence-card .chip { margin-bottom: 16px; }
.evidence-card h3 { margin: 0 0 12px; font-size: 1.14rem; letter-spacing: -.01em; line-height: 1.4; }
.evidence-card p { margin: 0 0 10px; color: var(--muted); font-size: .93rem; }
.evidence-card strong { color: var(--ink); }
.evidence-card code { font-size: .84em; }
.evidence-action { margin: 4px 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--input) !important; font-weight: 600; }

.calibration-strip {
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cal-cell {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; text-align: left; box-shadow: var(--shadow-sm);
}
.cal-cell b { display: block; font-family: var(--font-data); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--output); }
.cal-cell span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cal-cell span code { font-size: .78em; }
.cal-cell-warn b { color: var(--danger); }

/* ============ 截图画廊 ============ */

.gallery { display: grid; gap: 22px; }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.shot { margin: 0; }
.shot-frame {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.shot:hover .shot-frame { box-shadow: var(--shadow); transform: translateY(-3px); }
.shot-frame img { border-radius: 9px; width: 100%; height: auto; }
.shot-frame-mobile { max-width: 340px; margin: 0 auto; }
.shot-frame-mobile img { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; }
.shot-wide .shot-frame img { max-height: 700px; object-fit: cover; object-position: top; }
.shot figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px;
  padding: 14px 6px 0;
}
.shot figcaption b { font-size: .95rem; }
.shot figcaption span { font-family: var(--font-data); font-size: 11px; color: var(--muted); letter-spacing: .05em; }

/* ============ 诚实边界 ============ */

.boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.boundary-item {
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.boundary-item b { display: flex; align-items: center; gap: 10px; font-size: 1.04rem; margin-bottom: 10px; }
.boundary-item b::before { content: "◆"; color: var(--signal-dark); font-size: 13px; }
.boundary-item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ============ FINAL CTA ============ */

.final-cta {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 209, 0, .12), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 110px 0;
}
.cta-inner { max-width: 1240px; margin: 0 auto; padding: 0 max(24px, calc((100vw - 1240px) / 2)); }
.cta-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-data); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--signal);
}
.cta-inner h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 800; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.cta-code {
  margin-top: 44px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 16px 22px;
}
.code-label { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .55); text-transform: uppercase; }
.cta-code code {
  background: transparent; padding: 0; color: #ffd968;
  font-family: var(--font-data); font-size: .95rem;
}
.cta-code .cmt { color: rgba(255, 255, 255, .45); }

/* ============ FOOTER ============ */

.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 44px 0 52px; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.footer-brand strong { display: block; font-size: 16px; }
.footer-brand small { display: block; color: var(--muted); font-size: 11.5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { flex-basis: 100%; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-meta p { margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }

/* ============ Reveal 动画 ============ */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="transition-delay"] { /* stagger 由 JS 内联 */ }

/* ============ 响应式 ============ */

@media (max-width: 1060px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .calibration-strip { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .menu-button { display: grid; gap: 0; place-items: center; }
  .main-nav.is-open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; box-shadow: 0 18px 36px rgba(20, 32, 57, .12);
  }
  .main-nav.is-open a { padding: 13px 4px; border-bottom: 1px dashed var(--line); }
  .main-nav.is-open a::after { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
  .card-grid.four, .card-grid.two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .calibration-strip { grid-template-columns: 1fr 1fr; }
  .dual-entry { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .header-cta span[aria-hidden] { display: none; }
  .brand-copy small { display: none; }
  .scroll-cue { display: none; }
  .evidence-block { padding: 20px 18px; }
  .final-cta { padding: 76px 0; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .calibration-strip { grid-template-columns: 1fr; }
  .hero-roles { gap: 6px 10px; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
