:root {
    color-scheme: light;
    --brand: #3366ff;
    --brand-hover: #2454df;
    --ink: light-dark(#181a20, #f1f2f4);
    --muted: light-dark(#5f6572, #a8afbc);
    --surface: light-dark(#ffffff, #111315);
    --subtle: light-dark(#f5f6f8, #191c20);
    --line: light-dark(#dfe2e8, #343940);
    --link: light-dark(#2454df, #9bb4ff);
    --shadow: light-dark(rgb(20 25 40 / 6%), rgb(0 0 0 / 22%));
    --content-width: 1440px;
    --gutter: clamp(20px, 4.2vw, 60px);
    --text-small: .875rem;
    --text-body: 1rem;
    --text-heading: 1.5rem;
    --text-section: 2rem;
    --text-hero: 3.5rem;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 400 var(--text-body)/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.4; text-wrap: pretty; }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-heading); }
h4 { font-size: var(--text-body); font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
ol { margin: 0; padding-left: 1.5em; }
li + li { margin-top: 8px; }
[hidden] { display: none !important; }
/* 纯静态上线阶段关闭所有咨询入口；恢复时同时接回 contact.js。 */
[data-contact], .closing-cta { display: none !important; }
::selection { color: white; background: var(--brand); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.container, .header-inner { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 96px; }
.subtle { background: var(--subtle); }
.icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; vertical-align: middle; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-button { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 1px solid var(--line); flex-shrink: 0; }
.icon-button:hover { color: var(--link); }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 12px 24px; z-index: 100; background: var(--surface); color: var(--ink); }
.skip-link:focus { top: 16px; }
.eyebrow, .note { font-size: var(--text-small); color: var(--muted); }
.eyebrow { margin-bottom: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-heading > p { max-width: 520px; color: var(--muted); }
.section-heading h2 { white-space: normal; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 24px; background: var(--brand); border: 1px solid var(--brand); color: white; font-size: var(--text-body); }
.button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; color: var(--link); }
.text-link .icon, .button .icon { transition: transform .18s; }
.text-link:hover .icon, .button:hover .icon { transform: translateX(4px); }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
/* 首屏复用原视频构图、30% 遮罩与点阵；原始 HEVC 素材不转码。 */
.hero { height: 100svh; position: relative; isolation: isolate; color: white; background: #000; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media video, .hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); opacity: 0; }
.hero-frame { transition: opacity .9s ease; }
.hero-frame.is-active, .hero-media.is-playing video { opacity: 1; }
.hero-media video { z-index: 1; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: rgb(0 0 0 / 30%) url('assets/bg-dot.webp') repeat; }
.page-hero { height: 390px; position: relative; display: grid; align-items: center; background: #080f20; color: white; isolation: isolate; overflow: hidden; }
.mesh-scene { position: absolute; inset: 0; z-index: -2; }
.mesh-scene canvas { display: block; width: 100%; height: 100%; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgb(5 12 28 / 16%); z-index: -1; pointer-events: none; }
.page-hero-copy { padding-top: 40px; text-align: center; pointer-events: none; transform: translateX(var(--pointer-x, 0px)); transition: transform .3s ease-out; }
.page-hero-copy h1 { text-shadow: 0 2px 20px #080f20; }
.mesh-3 .page-hero-copy h1 { width: fit-content; margin-inline: auto; transform: perspective(900px) rotateY(var(--pointer-turn, 0deg)); transition: transform .3s ease-out; }
.site-footer { background: #101214; color: #d7dbe4; font-size: var(--text-small); line-height: 1.65; }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.35fr .8fr 1.4fr; gap: 24px; padding-block: 48px; }
.footer-brand p { max-width: 240px; color: #a8afbc; }
.footer-logo { width: 144px; height: auto; margin-bottom: 24px; }
.footer-column { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.footer-column h2 { font-family: inherit; font-size: var(--text-small); font-weight: 500; line-height: 1.5; letter-spacing: .06em; margin-bottom: 16px; color: #a8afbc; }
.footer-column a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; }
.footer-address p { color: #a8afbc; max-width: 320px; margin-bottom: 8px; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px; border-top: 1px solid #343940; color: #a8afbc; font-size: var(--text-small); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom .back-top { justify-content: center; }
.footer-preferences { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.site-footer .icon-button { border-color: #343940; color: #f1f2f4; }
.site-footer a:hover, .site-footer button:hover { color: #9bb4ff; }
@media (max-width: 1023px) {
    html { scroll-padding-top: 92px; scrollbar-gutter: auto; }
    .three-grid { gap: 24px; }
    .footer-main { gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    :root { --text-hero: 2rem; }
    .section { padding-block: 64px; }
    h2 { font-size: var(--text-heading); }
    .section-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 32px; }
    .three-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-hero { height: 290px; }
    .page-hero-copy { padding-top: 24px; }
    .footer-main { gap: 32px 24px; padding-block: 40px 32px; }
    .footer-brand, .footer-address { grid-column: 1 / -1; }
    .footer-logo { margin-bottom: 16px; }
    .footer-brand p { max-width: none; }
    .footer-bottom { gap: 8px 16px; }
    .footer-bottom > p { width: 100%; }
    .footer-bottom > a:not(.back-top) { width: 100%; }
    .footer-preferences { margin-left: auto; margin-right: 0; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
