/* ==========================================================================
   豪泓科技 · H2 AIDM 官网设计系统 v5.0
   原则：大字、留白、少色；一屏一个观点；动画只用来解释技术。
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;

  --black: #000000;
  --graphite: #161617;
  --card-dark: #1d1d1f;
  --ink-dark: #f5f5f7;
  --ink-dark-2: #a1a1a6;
  --link-dark: #2997ff;

  /* 四层色：L0 → L3，同 Logo 横梁 */
  --l0: #40c8e0;
  --l1: #2997ff;
  --l2: #7d7aff;
  --l3: #bf5af2;
  --ok: #30d158;
  --warn: #ff9f0a;
  --bad: #ff453a;
  --spectrum: linear-gradient(90deg, var(--l0), var(--l1) 35%, var(--l2) 68%, var(--l3));

  --r-xl: 28px;
  --r-lg: 18px;
  --r-md: 12px;
  --wrap: 1068px;
  --wrap-wide: 1260px;
  --nav-h: 56px;
  --lnav-h: 52px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--lnav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.005em; }
b, strong { font-weight: 600; }
button { font: inherit; color: inherit; }
::selection { background: rgba(0, 113, 227, .22); }

.wrap { width: min(var(--wrap), calc(100% - 44px)); margin: 0 auto; }
.wrap-wide { width: min(var(--wrap-wide), calc(100% - 44px)); margin: 0 auto; }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 全局导航 ---------- */
.gnav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(22, 22, 23, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.gnav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.gnav-brand { display: flex; align-items: center; gap: 9px; color: #f5f5f7; font-size: 15px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.gnav-brand:hover { text-decoration: none; }
.gnav-brand svg.wordmark { height: 30px; width: auto; color: #f5f5f7; }
.gnav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.gnav-links a { color: rgba(245, 245, 247, .82); font-size: 14px; letter-spacing: .02em; white-space: nowrap; transition: color .2s; }
.gnav-links a:hover, .gnav-links a.on { color: #fff; text-decoration: none; }
.gnav-links .layer-tag { font-size: 10px; color: rgba(245, 245, 247, .45); margin-right: 3px; font-family: var(--mono); }
.gnav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; color: #f5f5f7; cursor: pointer; }
@media (max-width: 960px) {
  .gnav-toggle { display: block; }
  .gnav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 28px 28px; background: rgba(22, 22, 23, .97); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .gnav.open .gnav-links { transform: none; opacity: 1; pointer-events: auto; }
  .gnav-links a { font-size: 22px; font-weight: 600; padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- 产品页局部导航（吸顶） ---------- */
.lnav {
  position: sticky; top: var(--nav-h); z-index: 90;
  height: var(--lnav-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.lnav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lnav-title { font-size: 21px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lnav-title small { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 8px; font-family: var(--mono); }
.lnav-links { display: flex; align-items: center; gap: 22px; }
.lnav-links a { font-size: 12.5px; color: var(--ink); opacity: .82; white-space: nowrap; }
.lnav-links a:hover { opacity: 1; color: var(--link); text-decoration: none; }
.lnav-links a.on { opacity: 1; color: var(--ink-3); }
@media (max-width: 820px) { .lnav-links a:not(.btn) { display: none; } }

/* ---------- 按钮 / 链接 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 400; letter-spacing: 0;
  background: var(--blue); color: #fff !important;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 28px; padding: 0 13px; font-size: 12px; opacity: 1 !important; }
.btn.ghost { background: transparent; color: var(--link) !important; box-shadow: inset 0 0 0 1px var(--link); }
.btn.ghost:hover { background: var(--link); color: #fff !important; }
.dark .btn.ghost { color: var(--link-dark) !important; box-shadow: inset 0 0 0 1px var(--link-dark); }
.dark .btn.ghost:hover { background: var(--link-dark); color: #000 !important; }
.more { font-size: 17px; color: var(--link); white-space: nowrap; }
.more::after { content: " ›"; font-size: 1.1em; }
.dark .more { color: var(--link-dark); }
.play::after { content: ""; display: inline-block; margin-left: 7px; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; vertical-align: 1px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 30px; }
.cta-row.left { justify-content: flex-start; }

/* ---------- 版块 ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section.paper { background: var(--paper); }
.dark { background: var(--black); color: var(--ink-dark); }
.dark.graphite { background: var(--graphite); }
.dark a:not(.btn) { color: var(--link-dark); }

.eyebrow { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; margin-bottom: 10px; color: var(--ink-2); }
.dark .eyebrow { color: var(--ink-dark-2); }
.eyebrow.spectrum, .grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.headline { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -0.012em; }
.headline.xl { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.02em; }
.headline.md { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.14; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.42; color: var(--ink-2); font-weight: 500; max-width: 820px; margin-top: 22px; }
.center .lede { margin-left: auto; margin-right: auto; }
.dark .lede { color: var(--ink-dark-2); }
.lede b { color: var(--ink); }
.dark .lede b { color: var(--ink-dark); }
.body-copy { font-size: 17px; color: var(--ink-2); max-width: 680px; }
.dark .body-copy { color: var(--ink-dark-2); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(72px, 10vw, 128px) 0 0; text-align: center; overflow: hidden; }
.hero .product-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; margin-bottom: 8px; }
.hero .layer-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--ink-dark-2); margin-bottom: 22px; font-family: var(--mono); }
.hero .layer-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--l1)); box-shadow: 0 0 12px var(--c, var(--l1)); }
.hero-visual { margin: clamp(48px, 7vw, 80px) auto 0; position: relative; }

/* ---------- 口径徽标 ---------- */
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.tag.measured { background: rgba(48, 209, 88, .14); color: #1a8f3c; }
.tag.prod { background: rgba(41, 151, 255, .14); color: #0062c4; }
.tag.live { background: rgba(125, 122, 255, .16); color: #5552d6; }
.tag.plan { background: rgba(255, 159, 10, .16); color: #b36200; }
.tag.demo { background: rgba(134, 134, 139, .16); color: #6e6e73; }
.dark .tag.measured { color: #5be07f; } .dark .tag.prod { color: #64b5ff; } .dark .tag.live { color: #a8a6ff; } .dark .tag.plan { color: #ffb84d; } .dark .tag.demo { color: #a1a1a6; }

/* ---------- 数字条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.dark .stats { border-color: #333336; }
.stat { padding: 30px 22px 6px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.dark .stat + .stat { border-color: #333336; }
.stat .num { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; }
.stat .num small { font-size: .46em; font-weight: 600; margin-left: 2px; letter-spacing: 0; }
.stat .cap { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.dark .stat .cap { color: var(--ink-dark-2); }
.stat .tag { margin-top: 10px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .dark .stat:nth-child(n+3) { border-color: #333336; } }

/* ---------- 方块（Bento） ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { grid-column: span 6; background: var(--paper); border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 12px; }
.section.paper .tile { background: var(--white); }
.dark .tile { background: var(--card-dark); }
.tile.s4 { grid-column: span 4; } .tile.s8 { grid-column: span 8; } .tile.s12 { grid-column: span 12; } .tile.s3 { grid-column: span 3; }
.tile .k { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); font-family: var(--mono); }
.tile h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; }
.tile p { color: var(--ink-2); font-size: 16px; }
.dark .tile p { color: var(--ink-dark-2); }
.tile .big { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tile .foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .tile, .tile.s4, .tile.s8, .tile.s3 { grid-column: span 12; } }

/* ---------- 动画舞台 ---------- */
.stage { position: relative; border-radius: var(--r-xl); background: #0b0b0c; color: var(--ink-dark); overflow: hidden; padding: clamp(22px, 3vw, 36px); }
.section:not(.dark) .stage { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.stage canvas, .stage svg.viz { width: 100%; height: auto; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.stage-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-dark-2); font-family: var(--mono); }
.stage-note { margin-top: 14px; font-size: 13px; color: var(--ink-dark-2); line-height: 1.5; }
.stage-note b { color: var(--ink-dark); }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.09); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink-dark-2); font-size: 13px; padding: 6px 14px; border-radius: 99px; cursor: pointer; transition: .25s var(--ease); white-space: nowrap; }
.seg button.on { background: #f5f5f7; color: #1d1d1f; font-weight: 600; }
.section:not(.dark) .seg.light { background: rgba(0,0,0,.06); }
.section:not(.dark) .seg.light button { color: var(--ink-2); }
.section:not(.dark) .seg.light button.on { background: var(--ink); color: #fff; }
.replay { border: 0; background: rgba(255,255,255,.1); color: var(--ink-dark); font-size: 12px; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.replay:hover { background: rgba(255,255,255,.18); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-dark-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.range { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-dark-2); }
.range input { flex: 1; accent-color: var(--l1); }
.range output { font-family: var(--mono); color: var(--ink-dark); min-width: 56px; text-align: right; }

/* ---------- 双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide-r { grid-template-columns: 5fr 7fr; }
.split.wide-l { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split, .split.wide-r, .split.wide-l { grid-template-columns: 1fr; } }

/* ---------- 列表 / 要点 ---------- */
.points { display: grid; gap: 26px; }
.point h4 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.point p { font-size: 16px; color: var(--ink-2); }
.dark .point p { color: var(--ink-dark-2); }
.point .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 6px; display: block; }
.points.cols3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.points.cols2 { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
@media (max-width: 860px) { .points.cols3, .points.cols2 { grid-template-columns: 1fr; } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
table.spec th, table.spec td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
table.spec tbody th { font-weight: 600; white-space: nowrap; }
table.spec td { color: var(--ink-2); }
table.spec td.us { color: var(--ink); font-weight: 500; background: rgba(0,113,227,.04); }
.dark table.spec th, .dark table.spec td { border-color: #333336; }
.dark table.spec td { color: var(--ink-dark-2); }
.dark table.spec td.us { color: var(--ink-dark); background: rgba(41,151,255,.08); }

/* ---------- 生态关系 ---------- */
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rel { border-radius: var(--r-lg); padding: 26px 28px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; }
.rel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); text-decoration: none; }
.section.paper .rel { background: #fff; }
.rel .dir { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); font-family: var(--mono); }
.rel h4 { font-size: 19px; color: var(--ink); }
.rel p { font-size: 15px; color: var(--ink-2); }
.rel .more { font-size: 15px; margin-top: auto; }
@media (max-width: 760px) { .rel-grid { grid-template-columns: 1fr; } }

/* ---------- 影片 ---------- */
.film { position: relative; display: block; width: 100%; border-radius: var(--r-xl); overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; aspect-ratio: 16 / 9; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.film:hover img { transform: scale(1.025); opacity: 1; }
.film .film-meta { position: absolute; inset: auto 0 0 0; padding: 22px 26px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.film .film-meta b { display: block; font-size: 19px; }
.film .film-meta span { font-size: 13px; color: #c7c7cc; }
.film .pbtn { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.88); display: grid; place-items: center; transition: transform .3s var(--ease); }
.film:hover .pbtn { transform: scale(1.08); }
.film .pbtn::after { content: ""; border-left: 15px solid #1d1d1f; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .films { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.modal.open { display: flex; animation: fade .3s var(--ease); }
.modal video { width: min(1280px, 100%); max-height: 86vh; border-radius: 14px; background: #000; }
.modal .x { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 下载卡 ---------- */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc { background: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.section:not(.paper) .doc { background: var(--paper); }
.doc .k { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; display: flex; justify-content: space-between; }
.doc h4 { font-size: 19px; line-height: 1.3; }
.doc p { font-size: 14px; color: var(--ink-2); }
.doc .acts { margin-top: auto; display: flex; gap: 18px; font-size: 15px; }
.doc .bar { height: 4px; border-radius: 4px; background: var(--c, var(--l1)); width: 36px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } }

/* ---------- 上下篇 ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { display: block; border-radius: var(--r-lg); padding: 26px 28px; background: var(--paper); color: var(--ink); transition: background .25s; }
.pager a:hover { background: #ebebef; text-decoration: none; }
.pager a.next { text-align: right; }
.pager small { display: block; color: var(--ink-3); font-size: 13px; margin-bottom: 4px; }
.pager b { font-size: 19px; }

/* ---------- 下一步 ---------- */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: ns; }
.next-steps div { padding: 30px; border-radius: var(--r-lg); background: var(--card-dark); }
.next-steps b { display: block; font-size: 21px; margin: 6px 0; }
.next-steps p { color: var(--ink-dark-2); font-size: 15px; }
.next-steps div::before { counter-increment: ns; content: "0" counter(ns); font-family: var(--mono); font-size: 12px; color: var(--ink-dark-2); }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.gfoot { background: var(--paper); color: var(--ink-2); font-size: 12px; line-height: 1.6; padding: 44px 0 26px; }
.gfoot .note { padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.gfoot .dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.gfoot .dir h5 { margin: 0 0 8px; font-size: 12px; color: var(--ink); font-weight: 600; }
.gfoot .dir a { display: block; color: var(--ink-2); margin: 6px 0; }
.gfoot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; }
.gfoot .legal .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.gfoot .legal svg.wordmark { height: 24px; width: auto; color: var(--ink); } .gfoot .legal .brand span { font-weight: 500; color: var(--ink-2); margin-left: 6px; }
@media (max-width: 760px) { .gfoot .dir { grid-template-columns: 1fr 1fr; } }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.scale-in { opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.scale-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .scale-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- 打印 / PDF ---------- */
.print-only { display: none; }
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  :root { --paper: #f5f5f7; }
  html, body { background: #fff !important; font-size: 10.5pt; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gnav, .lnav, .gfoot, .no-print, .modal, .cta-row, .films, .film, .replay, .seg, .range, .pager { display: none !important; }
  .print-only { display: block; }
  .reveal, .scale-in { opacity: 1 !important; transform: none !important; }
  .section { padding: 26px 0 !important; }
  .section.paper { background: #fff !important; }
  .dark:not(.stage):not(.keep-dark) { background: #fff !important; color: var(--ink) !important; }
  .dark:not(.keep-dark) .eyebrow, .dark:not(.keep-dark) .lede, .dark:not(.keep-dark) .body-copy, .dark:not(.keep-dark) .stat .cap, .dark:not(.keep-dark) .point p, .dark:not(.keep-dark) .tile p, .dark:not(.keep-dark) table.spec td { color: var(--ink-2) !important; }
  .dark:not(.keep-dark) .lede b, .dark:not(.keep-dark) table.spec td.us { color: var(--ink) !important; }
  .dark:not(.keep-dark) .tile { background: var(--paper) !important; }
  .dark:not(.keep-dark) .stats, .dark:not(.keep-dark) .stat, .dark:not(.keep-dark) table.spec th, .dark:not(.keep-dark) table.spec td { border-color: var(--line) !important; }
  .dark:not(.keep-dark) .tag.measured { color: #1a8f3c; } .dark:not(.keep-dark) .tag.prod { color: #0062c4; } .dark:not(.keep-dark) .tag.live { color: #5552d6; } .dark:not(.keep-dark) .tag.plan { color: #b36200; }
  .dark:not(.keep-dark) .next-steps div { background: var(--paper); }
  .dark:not(.keep-dark) .next-steps p { color: var(--ink-2); }
  .hero { padding-top: 0 !important; }
  .headline.xl { font-size: 40pt; } .headline { font-size: 24pt; } .headline.md { font-size: 18pt; }
  .lede { font-size: 12.5pt; }
  .stat .num { font-size: 24pt; }
  .tile, .stage, .rel, .doc, table.spec tr, .point, .next-steps div { break-inside: avoid; }
  .section-head { margin-bottom: 18px; }
  .stage { box-shadow: none !important; }
  .rel:hover { transform: none; box-shadow: none; }
  a { color: inherit !important; }
  table.spec { min-width: 0; font-size: 9pt; }
  .page-break { break-before: page; }
  .eyebrow.spectrum, .grad { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--l1) !important; }
  .hero .layer-chip { background: none !important; padding: 0; color: var(--ink-2) !important; }
  .hero .layer-chip i { display: none; }
  .hero .product-name { color: var(--ink); }
  .section-head, .stats, .split > *, .deploy, .walls > * { break-inside: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  #films, #downloads, .print-hide { display: none !important; }
}
.print-cover { height: 267mm; display: none; flex-direction: column; justify-content: space-between; padding: 6mm 2mm; }
@media print { .print-cover { display: flex; break-after: page; } }
.print-cover .pc-logo { width: 62mm; }
.print-cover .pc-k { font-family: var(--mono); font-size: 10pt; letter-spacing: .14em; color: var(--ink-3); }
.print-cover h1 { font-size: 40pt; line-height: 1.08; margin: 8mm 0 5mm; letter-spacing: -0.01em; }
.print-cover .pc-sub { font-size: 15pt; color: var(--ink-2); max-width: 150mm; line-height: 1.45; }
.print-cover .pc-bar { height: 3mm; width: 60mm; border-radius: 2mm; background: var(--spectrum); margin-top: 12mm; }
.print-cover .pc-meta { font-size: 9.5pt; color: var(--ink-3); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 5mm; }

/* ---------- v5.1 补充：排版、外链、真实素材 ---------- */
.headline, .lede, .tile h3, .point h4, .rel h4 { text-wrap: balance; }
.lede, .body-copy, .tile p, .point p, .rel p { text-wrap: pretty; }
.lede.sm { font-size: 19px; }
@media (max-width: 600px) { .lede br { display: none; } }
a.ext::after { content: " ↗"; font-size: .85em; }
.site-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--paper); color: var(--ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background .2s; }
.site-link:hover { background: #e8e8ed; }
.site-link small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.dark .site-link { background: #1c1c1e; color: var(--ink-dark) !important; }
.dark .site-link:hover { background: #2c2c2e; }
.dark .site-link small { color: var(--ink-dark-2); }
.site-link::after { content: "↗"; color: var(--ink-3); }
.reel { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.reel figure { margin: 0; grid-column: span 4; position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.reel figure.wide { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; } .reel figure.half { grid-column: span 6; } .reel figure.full { grid-column: span 12; aspect-ratio: 21 / 9; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: 14px 16px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.reel figcaption b { display: block; font-size: 15px; }
@media (max-width: 760px) { .reel figure, .reel figure.wide, .reel figure.half { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; } }
.shot { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); border: 1px solid rgba(0,0,0,.06); background: #000; }
.shot img { width: 100%; display: block; }
.shot-cap { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.dark .shot-cap { color: var(--ink-dark-2); }
.source-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
@media print { .dark:not(.keep-dark) .tag.demo { color: #6e6e73; } .reel video { display: none; } .reel figure { background-size: cover; background-position: center; } }
@media print {
  .tiles { grid-template-columns: repeat(12, 1fr) !important; gap: 10px !important; }
  .tile.s4 { grid-column: span 4 !important; } .tile.s8 { grid-column: span 8 !important; } .tile.s3 { grid-column: span 3 !important; } .tile { grid-column: span 6; padding: 16px !important; }
  .reel { grid-template-columns: repeat(12, 1fr) !important; gap: 8px !important; }
  .reel figure { grid-column: span 4 !important; } .reel figure.half { grid-column: span 6 !important; } .reel figure.wide { grid-column: span 8 !important; } .reel figure.full { grid-column: span 12 !important; }
  .shot { box-shadow: none !important; }
  .reel figure { break-inside: avoid; }
  .reel figcaption { font-size: 8pt; padding: 6px 8px; }
  .points.cols3 { grid-template-columns: repeat(3, 1fr) !important; } .points.cols2 { grid-template-columns: repeat(2, 1fr) !important; }
  .rel-grid { grid-template-columns: 1fr 1fr !important; } .docs { grid-template-columns: repeat(3, 1fr) !important; }
  .split, .split.wide-r, .split.wide-l { grid-template-columns: 1fr !important; }
  .site-links { display: none !important; }
}
