/* Homepage chapters keep their original full-screen composition. */
.homepage main>.section,.homepage main>.section.fitted-section { height:100svh; min-height:100svh; padding:clamp(24px,3.8svh,46px) 0; }
.homepage .hero { height:100svh; min-height:0; }
.homepage .architecture-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.homepage .architecture { grid-template-rows:60px auto 45px; }
.homepage .hardware-layout { grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:15px; }
.homepage .hardware-layout>img { width:100%; height:145px; object-fit:contain; aspect-ratio:auto; }
.homepage .hardware-layout>div>p:last-child { font-size:13px; }
.homepage .architecture-heading h3 { font-size:18px; }
.homepage .architecture-flow { gap:8px; font-size:12px; }
.mobile-only-cycle { display:none; }
.about-mobile-stage { display:none; }

/* Matching translucent menus inherit the visual tone of their header. */
.header { --menu-surface:rgba(11,24,41,.86); }
.header .product-menu { background:var(--menu-surface); backdrop-filter:blur(22px) saturate(125%); -webkit-backdrop-filter:blur(22px) saturate(125%); }
.product-huolang-erp { --hero-tint:#f1f3ff; --header-surface:rgba(241,243,255,.88); --light-menu:rgba(241,243,255,.90); --product-accent:#5365cc; }
.product-huolang-plms { --hero-tint:#fcf3eb; --header-surface:rgba(252,243,235,.88); --light-menu:rgba(252,243,235,.90); --product-accent:#95603e; }
.product-huolang-agent { --hero-tint:#edf6ff; --header-surface:rgba(237,246,255,.88); --light-menu:rgba(237,246,255,.90); --product-accent:#3476af; }
.light-masthead .product-masthead { background:var(--hero-tint); }
.light-masthead .header { background:var(--header-surface); backdrop-filter:none; border-color:#b7c8dc66; --menu-surface:var(--light-menu); }
.light-masthead .header .product-menu { color:#24374d; border-color:#8fa4bc5c; box-shadow:0 18px 44px #18304d22; }
.light-masthead .product-menu-top,.light-masthead .product-menu-bottom,.light-masthead .menu-footnote { border-color:#71859b38; }
.light-masthead .menu-group-heading>strong { color:#31465e; }
.light-masthead .menu-product-copy>small,.light-masthead .menu-group-heading>span,.light-masthead .menu-agent small,.light-masthead .menu-footnote,.light-masthead .product-menu-bottom>p { color:#61768c; }
.light-masthead .product-menu-top>a,.light-masthead .product-menu-bottom>a,.light-masthead .menu-agent>svg { color:var(--product-accent); }
.light-masthead .menu-product-icon,.light-masthead .menu-group:nth-of-type(3) .menu-product-icon { background:#617eaa14; color:var(--product-accent); }
.light-masthead .header .menu-agent { background:#7f9ab510; border-color:#8196ab42; }
.light-masthead .menu-product:hover,.light-masthead .menu-product:focus-visible { background:#738aaa16; }
.light-masthead .product-menu a:focus-visible { outline-color:var(--product-accent); }

/* Detail images and videos share one physical frame and one column alignment. */
.product-page { --media-height:calc(50svh - 96px); }
.product-page .compact-chapter h2 { text-wrap:balance; }
.product-page .media-chapter .section-canvas>.container,.product-page .demo-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr); gap:48px; align-items:center; }
.product-page .media-chapter .media-zoom,.product-page .chapter-art>img,.product-page .demo-layout video { display:block; width:min(100%,calc(var(--media-height)*16/9)); max-width:100%; height:auto; max-height:var(--media-height); aspect-ratio:16/9; margin-inline:auto; object-fit:contain; background:transparent; border:0; }
.product-page .media-chapter .media-zoom { display:flex; justify-content:center; align-items:center; }
.product-page .media-chapter .media-zoom>img { width:100%; height:100%; max-width:none; max-height:none; object-fit:contain; }
.product-page .interface-figure figcaption,.product-page .chapter-art figcaption,.product-page .demo-layout figcaption { width:100%; max-width:calc(var(--media-height)*16/9); margin-inline:auto; padding-top:8px; color:#8192a7; font-size:12px; line-height:1.6; }
.product-page .media-chapter .interface-figure figcaption>span { line-height:1.6; }
.product-page .demo-layout h3 { font-size:clamp(24px,2.1vw,34px); line-height:1.5; text-wrap:balance; margin-bottom:16px; }
.product-page .compact-chapter .detail-section-heading h2 { font-size:clamp(25px,2.1vw,34px); }
.product-page .compact-chapter:has(.detail-features.columns-3) .detail-section-heading { margin-bottom:18px; }
.product-page .detail-features { gap:14px 28px; }
.product-page .detail-features>article { padding-top:12px; }
.product-page .detail-features h3 { font-size:18px; }
.product-page .detail-features p { font-size:14px; line-height:1.7; }
.product-page .detail-section-heading .eyebrow { margin-bottom:10px; }
.product-page .feature-index { margin-bottom:5px; }
.product-page .detail-hero-media .media-zoom { height:calc(50svh - 150px); }
.product-page .detail-hero-media .media-zoom>img { width:100%; height:100%; object-fit:contain; }
.product-page .hardware-options { --board-height:calc(50svh - 180px); }

@media(max-width:1100px) and (min-width:761px) {
 .homepage .architecture { padding:16px 14px 0; }
 .homepage .hardware-layout { grid-template-columns:1fr; }
 .homepage .hardware-layout>img { height:100px; width:100%; }
 .homepage .hardware-layout>div>p:last-child { font-size:12px; }
 .homepage .architecture-flow { flex-wrap:wrap; justify-content:flex-start; font-size:11px; }
 .product-page .media-chapter .section-canvas>.container,.product-page .demo-layout { gap:30px; }
}
@media(max-width:760px) {
 .homepage .eyebrow-en { display:none; }
 .homepage .product-heading>div:first-child h2 { display:none; }
 .homepage .product-heading-description h3 { font-size:18px; }
 .homepage .product-heading-description p { font-size:13px; line-height:1.7; }
 .homepage .intro-layout { margin-bottom:24px; }
 .homepage .family-grid,.homepage .huolang-grid,.homepage .architecture-grid,.homepage .production-showcase,.homepage .feature-row,.homepage .workflow,.homepage .capabilities,.homepage .delivery-steps,.homepage .delivery-progress,.homepage .application-strip { display:flex; flex-wrap:nowrap; overflow-x:auto; scroll-snap-type:x mandatory; gap:22px; padding-bottom:10px; }
 .homepage .family-grid>article,.homepage .huolang-grid>article,.homepage .architecture-grid>article,.homepage .production-showcase>figure,.homepage .feature-row>article,.homepage .workflow>article,.homepage .capabilities>article,.homepage .delivery-steps>article,.homepage .delivery-progress>article,.homepage .application-strip>div { flex:0 0 93%; min-width:0; scroll-snap-align:start; }
 .homepage .product-family { padding:22px; }
 .homepage .product-family .family-heading h3 { font-size:25px; }
 .homepage .family-product { padding:12px 0; }
 .homepage .product-heading { margin-bottom:20px; }
 .homepage .product-heading h2 { font-size:27px; }
 .homepage .security-screen>img { height:180px; object-fit:contain; }
 .homepage .screen-bar { height:24px; font-size:10px; }
 .homepage .product-screen figcaption { font-size:11px; padding:8px; }
 .homepage .security-section .feature-row { flex-direction:row; margin-top:20px; }
 .homepage .security-section .feature-row h3 { font-size:18px; }
 .homepage .security-section .feature-row p { font-size:13px; }
 .homepage .security-details { margin-top:16px; padding-top:12px; }
 .homepage .security-details>div { gap:8px 17px; }
 .homepage .production-view { display:block; }
 .homepage .production-view>img { height:200px; object-fit:contain; }
 .homepage .view-heading { padding-bottom:10px; }
 .homepage .workflow { margin-top:20px; }
 .homepage .huolang-product img { height:190px; object-fit:contain; }
 .homepage .huolang-product-heading { min-height:0; margin-bottom:12px; }
 .homepage .huolang-product-heading h3 { font-size:23px; }
 .homepage .huolang-product-heading p { font-size:13px; }
 .homepage .agent-preview { display:block; margin-top:18px; padding-top:15px; }
 .homepage .agent-preview h3 { font-size:21px; }
 .homepage .agent-preview p { margin:8px 0; font-size:13px; }
 .homepage .agent-preview .text-link { font-size:13px; }
 .homepage .architecture { padding:15px 18px; grid-template-rows:48px auto 34px; }
 .homepage .hardware-layout { grid-template-columns:1fr 1.2fr; }
 .homepage .hardware-layout>img { height:110px; }
 .homepage .capabilities { margin-top:22px; }
 .homepage .capabilities article { padding:12px 0; }
 .homepage .architecture-grid { margin-top:20px; }
 .homepage .model-cycle { display:none; }
 .homepage .architecture-cycle { display:block; }
 .homepage .architecture-cycle h3 { font-size:18px; margin-bottom:12px; }
 .homepage .architecture-cycle p { font-size:13px; }
 .homepage .architecture-cycle ol { display:grid; grid-template-columns:1fr 1fr; padding:0; list-style:none; gap:12px; margin:16px 0 0; font-size:13px; }
 .homepage .model-cycle { margin-top:16px; }
 .homepage .model-cycle h3 { font-size:17px; }
 .homepage .model-cycle p,.homepage .model-cycle li { font-size:12px; }
 .homepage .about .about-mission { font-size:20px; margin-bottom:12px; }
 .homepage .about .about-copy { font-size:13px; }
 .homepage .about-layout>div { margin-top:18px; }
 .homepage .delivery { margin-top:20px; padding-top:18px; }
 .homepage .delivery-heading h3 { font-size:20px; }
 .homepage .delivery-heading>p { display:none; }
 .homepage .delivery-steps { margin-top:15px; }
 .homepage .delivery-steps h4 { margin:0 0 8px; }
 .homepage .application-strip { margin-top:15px; padding-top:15px; }
 .homepage .delivery-progress { margin-top:15px; }
 .homepage .about .contact { display:flex; align-items:center; gap:20px; justify-content:space-between; margin-top:15px; padding:15px 0 0; }
 .homepage .contact p { font-size:18px; }
 .homepage .contact span { display:none; }
 .homepage .contact>a { margin:0; font-size:21px; white-space:nowrap; }
 .homepage .contact small { font-size:10px; }
 .homepage .mobile-about-original { display:none; }
 .homepage .about-mobile-stage { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:20px; padding-bottom:10px; margin-top:18px; }
 .homepage .about-stage-slide { flex:0 0 94%; min-width:0; scroll-snap-align:start; }
 .homepage .about-mobile-stage .delivery { padding:0; margin:0; border:0; }
 .homepage .about-mobile-stage .delivery-heading h3 { font-size:18px; }
 .homepage .about-mobile-stage .delivery-steps { display:grid; grid-template-columns:1fr 1fr; gap:12px; overflow:visible; padding:0; }
 .homepage .about-mobile-stage .delivery-steps article { padding-left:10px; }
 .homepage .about-mobile-stage .delivery-steps h4 { font-size:14px; margin-bottom:5px; }
 .homepage .about-mobile-stage .delivery-steps p { font-size:12px; line-height:1.7; }
 .homepage .about-mobile-stage .application-strip,.homepage .about-mobile-stage .delivery-progress { display:grid; grid-template-columns:1fr; margin:0; padding:0; gap:18px; overflow:visible; border:0; }
 .light-masthead .header nav { background:var(--light-menu); color:#24374d; border-color:#91a5bb44; }
 .light-masthead .header nav>a { border-color:#91a5bb44; }
 .header .product-menu { backdrop-filter:none; }
 .light-masthead .header .product-menu { background:transparent; box-shadow:none; border:0; }
 .product-page { --media-height:calc(50svh - 140px); }
 .product-page .media-chapter .section-canvas>.container,.product-page .demo-layout { display:block; }
 .product-page .media-chapter .detail-section-heading { margin-bottom:12px; }
 .product-page .compact-chapter .detail-section-heading h2 { font-size:22px; }
 .product-page .demo-layout h3 { font-size:22px; margin-bottom:12px; }
 .product-page .demo-layout .eyebrow { margin-bottom:8px; }
 .product-page .detail-hero-media .media-zoom { height:calc(50svh - 165px); }
 .product-page .product-masthead .breadcrumbs>span:last-child,.product-page .product-masthead .breadcrumbs>span:nth-last-child(2) { display:none; }
 .product-page .product-masthead .detail-label { font-size:13px; line-height:1.6; }
 .product-page .product-masthead .detail-description { margin-top:8px; }
 .product-page .product-masthead .actions { margin-top:12px; }
 .product-page .detail-hero-media .media-zoom>img { width:100%; height:100%; object-fit:contain; }
 .product-page .hardware-options { --board-height:calc(50svh - 175px); }
 .product-page .hardware-options img,.product-page .hardware-options figure>div { max-height:210px; }
 .product-page .compact-chapter .detail-section-heading>p { display:none; }
 .product-page .agent-platforms article { padding:14px 18px; }
 .product-page .agent-platforms h3 { font-size:20px; margin:8px 0; }
 .product-page .agent-platforms p { font-size:13px; line-height:1.7; }
 .product-page .agent-platforms .text-link { margin-top:12px; font-size:12px; }
}
