/* ===== css/inner-common.css
   模块组成：inner-common.css + inner-hero.css
   ===== */
.inner-page{background:var(--color-surface);color:var(--color-paper);accent-color:var(--color-brand)}
.inner-page .container{width:var(--layout-content-width,calc(100% - 64px));max-width:1600px;margin-inline:auto}
.inner-page .site-header{background:transparent;transition:background var(--motion-nav) var(--ease-nav)}
.inner-page .site-header.flow-scrolled{background:#111719f5}
.inner-page .nav-item>a[aria-current=page]{color:var(--color-brand)}
.inner-page section[id]{scroll-margin-top:calc(var(--header-height) + 24px)}
.inner-hero{height:880px;position:relative;isolation:isolate;overflow:hidden;background:#15191b}
.inner-hero-image,.inner-hero-shade{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
/* Match the confirmed contact hero: image-only settle, never scale live text. */
:is(.solutions-page,.products-page,.software-page) .inner-hero-image{animation:inner-hero-settle 6s cubic-bezier(.16,1,.3,1) both}
@keyframes inner-hero-settle{from{transform:scale(1.035)}to{transform:scale(1)}}
.inner-hero-shade{background:linear-gradient(90deg,rgba(13,20,26,.93),rgba(13,20,26,.18))}
.inner-hero>.container{height:100%;position:relative;display:flex;flex-direction:column;justify-content:center}
.inner-breadcrumb{position:absolute;top:160px;left:0;display:flex;align-items:center;gap:8px;color:#bac1c4;line-height:24px}
.inner-breadcrumb img{flex:none;max-width:18px}
.inner-breadcrumb a{color:var(--color-brand)}
.inner-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.inner-hero h1{font-size:64px;line-height:88px;font-weight:700;margin:0}
.inner-hero-copy{max-width:1040px}
.inner-hero-copy>p{line-height:40px;color:#bac1c4;margin-top:16px}
.inner-kicker{line-height:24px;color:var(--color-brand)}
.inner-page .footer-screen{height:auto;min-height:950px;position:relative;overflow:hidden}
.inner-page .footer-inner{min-height:950px;padding-block:120px 40px;display:flex;flex-direction:column;justify-content:flex-start;gap:0}
.inner-page .footer-top{margin-bottom:64px}
.inner-page .footer-columns{padding-block:56px;grid-template-columns:repeat(5,minmax(0,1fr));gap:64px}
.inner-page .footer-links a{white-space:normal}
.inner-page .footer-product-items{max-height:none!important;overflow:visible!important}
.inner-page .footer-bottom{margin-top:auto;padding-top:48px}
.inner-page .footer-lines{width:68%;left:auto;right:0}
.inner-page .footer-intro h2{line-height:72px}
.inner-back-top{position:fixed;right:24px;bottom:24px;width:48px;height:48px;z-index:40;display:grid;place-items:center;background:#202629ed;border:1px solid #ffffff40;color:#fff;cursor:pointer;opacity:0;visibility:hidden;transition:opacity 300ms,background 300ms,visibility 300ms}
.inner-back-top.visible{opacity:1;visibility:visible}
.inner-back-top:hover{background:var(--color-brand);color:var(--color-ink)}
.inner-close{position:absolute;right:16px;top:16px;width:48px;height:48px;display:grid;place-items:center;background:#15191b;color:white;border:1px solid var(--color-rule);line-height:40px;cursor:pointer}
.inner-page .inner-close:hover{background:var(--color-brand);color:var(--color-ink)}
.inner-page :focus-visible{outline:2px solid var(--color-brand);outline-offset:4px}
.inner-page ::selection{background:var(--color-brand);color:var(--color-ink)}
/* 内页滚动区统一用全站滚动条外观：宽度/轨道/滑块/悬停态全部取 base.css 的 --scrollbar-*，
   使 about.html#news 的新闻列表等容器与浏览器滚动条完全一致。
   这里只能写 ::-webkit 伪元素；一旦给元素补 scrollbar-width/scrollbar-color，
   Chromium 121+ 会改走标准滚动条（滑块内缩、宽度变窄），反而和 html 那条对不上。 */
.inner-page *::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}
.inner-page *::-webkit-scrollbar-track{background:var(--scrollbar-track)}
.inner-page *::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:0;border-radius:0}
.inner-page *::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}
.inner-page *::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb-active)}
.inner-page *::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
@supports (-moz-appearance:none){.inner-page *{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}}
@media(max-width:1439px){.inner-hero{height:784px}.inner-hero h1{font-size:56px;line-height:80px}.inner-breadcrumb{top:128px}.inner-page .footer-columns{gap:32px}.inner-page .footer-lines{width:62%}.inner-page .footer-intro h2{line-height:64px}}
@media(max-width:1023px){.inner-hero{height:704px}.inner-hero h1{font-size:48px;line-height:64px}.inner-page .footer-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.inner-page .footer-intro h2{line-height:56px}.inner-page .footer-lines{width:54%}.inner-page .footer-inner{padding-top:80px}.inner-page .footer-screen,.inner-page .footer-inner{min-height:0}}
@media(max-width:767px){.inner-page .container{width:calc(100% - 32px)}.inner-hero{height:auto;min-height:576px}.inner-hero>.container{min-height:576px;padding-block:365px 64px;justify-content:center}.inner-breadcrumb{top:104px;flex-wrap:wrap;right:0}.inner-hero h1{font-size:40px;line-height:56px}.inner-hero-copy>p{line-height:32px}.inner-hero-image{object-position:62% center}.inner-page .footer-inner{padding-block:64px 32px}.inner-page .footer-top{margin-bottom:48px}.inner-page .footer-intro h2{line-height:48px}.inner-page .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 24px;padding-block:40px}.inner-page .footer-lines{display:none}.inner-page .footer-bottom{padding-top:24px}.inner-back-top{right:16px;bottom:16px}.inner-page .copyright{font-size:12px;line-height:24px}}
@media(max-width:374px){.inner-hero h1{font-size:32px;line-height:48px}.inner-page .footer-columns{gap:32px 16px}.inner-page .footer-column h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.inner-page *,.inner-page *::before,.inner-page *::after{transition:none!important;animation:none!important}.inner-page{scroll-behavior:auto}}

/* Inner-page first-screen type; homepage styles are not targeted. */
body.inner-page {
  --inner-hero-title-size: 52px;
  --inner-hero-title-leading: 64px;
  --inner-hero-subtitle-size: 24px;
  --inner-hero-subtitle-leading: 40px;
  --inner-hero-copy-gap: 20px;
}

body.inner-page .inner-hero .inner-hero-copy > h1,
body.inner-page .contact-hero h1,
body.inner-page .article-heading h1 {
  font-size: var(--inner-hero-title-size);
  line-height: var(--inner-hero-title-leading);
  letter-spacing: normal;
}

body.inner-page .inner-hero .inner-hero-copy > h1 ~ p,
body.inner-page .contact-hero p,
body.inner-page .article-heading .article-summary {
  font-size: var(--inner-hero-subtitle-size);
  line-height: var(--inner-hero-subtitle-leading);
  letter-spacing: normal;
  margin-top: var(--inner-hero-copy-gap);
}

/* Latest Figma copy uses different supporting roles per section. */
body.inner-page.products-page .products-hero-copy > h1 + p {
  color: var(--color-paper, #fff);
}

@media (min-width: 768px) {
  body.inner-page.products-page,
  body.inner-page.about-page {
    --inner-hero-subtitle-size: 18px;
    --inner-hero-subtitle-leading: 32px;
  }

  body.inner-page.software-page {
    --inner-hero-subtitle-size: 16px;
    --inner-hero-subtitle-leading: 32px;
  }
}

@media (max-width: 767px) {
  body.inner-page {
    --inner-hero-title-size: 32px;
    --inner-hero-title-leading: 48px;
    --inner-hero-subtitle-size: 16px;
    --inner-hero-subtitle-leading: 32px;
  }
}
