:root {
  --font-ui: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --type-display: clamp(2.5rem, calc(2rem + 1.8vw), 3.5rem);
  --type-section: clamp(2rem, calc(1.5rem + 1.7vw), 3rem);
  --type-title: clamp(1.25rem, calc(1.1rem + .55vw), 1.625rem);
  --type-body: clamp(1rem, calc(.94rem + .21vw), 1.125rem);
  --type-small: .875rem;
}
body { font-family: var(--font-ui); font-size: var(--type-body); line-height: 1.5; }
button,input,textarea,select { font-family: inherit; }
.primary-nav,.utilities { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.primary-nav > a { white-space: nowrap; }
.brand-line { font-size: clamp(16px,1.1vw,20px); }
.hero-intro h1 { max-width: 17ch; font-size: var(--type-display); line-height: 1.09; font-weight: 650; letter-spacing: -.047em; text-wrap: balance; margin: .32em 0 .32em; }
.hero-intro .deck { font-size: var(--type-body); line-height: 1.5; letter-spacing: 0; max-width: 46ch; font-weight: 400; }
.hero-links .action,.action.primary-action { font-size: 1rem; line-height: 1.25; letter-spacing: -.015em; }
.path-copy h2 { font-size: var(--type-title); letter-spacing: -.03em; line-height: 1.18; font-weight: 650; }
.path-copy p { font-size: var(--type-body); line-height: 1.42; font-weight: 400; letter-spacing: 0; }
.product-path .path-copy .tags { position: static; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; }
.tags span { font-size: .8125rem; font-weight: 560; line-height: 1.3; letter-spacing: 0; padding: .28em .55em; }
.factory-story h2,#route-view .inner-banner h1 { font-size: var(--type-section); line-height: 1.13; font-weight: 620; letter-spacing: -.042em; }
.factory-story h3,.factory-story .built-project h3,.cat-card h2,.model-information > h2 { font-size: var(--type-title); line-height: 1.22; font-weight: 620; letter-spacing: -.023em; }
.section-label,.document-issuer,.doc-data,.cat-status,.cat-meta { font-size: var(--type-small); }
.cat-card .cat-img > span,.model-variants span { font-size: .75rem; }
.section-intro > p,.delivery-steps dd,.built-project div > p:not(.document-issuer),.document-item div > p:not(.document-issuer),.model-overview,#route-view .ab-lead {
  font-size: var(--type-body); line-height: 1.5;
}
.editorial-link,.delivery-steps dt,.model-information .model-specs dt,.model-information .model-specs dd,.cat-search input,#model-detail,.aq-brief .ab-field input,.aq-brief .ab-field textarea,.aq-brief .ab-field select { font-size: 1rem; }
#challenge-list small,.project-review ul { font-size: 1rem; line-height: 1.5; }
.water-guide h2 { font-size: clamp(26px,2vw,36px); }
.project-planning {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.3fr); align-items: start;
  gap: clamp(24px,5vw,110px); margin-top: clamp(36px,4vw,80px);
  padding: clamp(22px,3.1vw,64px);
  border-radius: 16px; border: 1px solid #cae0ed; background: linear-gradient(115deg,#ebf5fb,#f8fbfe 72%,#f1f8fe);
  scroll-margin-top: calc(var(--nav-h,70px) + 12px);
}
.planner-intro h2 { max-width: 17ch; text-wrap: balance; }
.planner-intro p:last-child { color: #3d5671; max-width: 42ch; margin: 14px 0 0; font-size: var(--type-body); }
.planner-controls fieldset { margin: 0; min-width: 0; border: 0; padding: 0; }
.planner-controls legend { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.planner-controls label { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 13px; padding: 12px 8px; border-top: 1px solid #c3d7e6; cursor: pointer; }
.planner-controls label:last-child { border-bottom: 1px solid #c3d7e6; }
.planner-controls label:hover,.planner-controls label:has(input:checked) { background-color: #e0effb; }
.planner-controls input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #0754c1; cursor: pointer; }
.planner-controls strong { display: block; color: #143657; font-size: clamp(17px,1.4vw,21px); font-weight: 600; line-height: 1.35; }
.planner-controls label span span { display: block; color: #425a6b; font-size: var(--type-body); line-height: 1.5; margin-top: 3px; }
#planner-enquiry { margin-top: 17px; }
@media(min-width:801px) {
  .showcase { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(min-content,1fr) auto; aspect-ratio: auto; min-height: clamp(560px,51.67vw,1312px); }
  .hero-intro { grid-area: 1/1; position: relative; inset: auto; align-self: start; width: 39.5%; margin: clamp(20px,2.65vw,68px) 0 24px 4.2%; }
  .benefits { grid-area: 1/1; position: relative; inset: auto; align-self: end; justify-self: end; margin: 0 2.1% clamp(37px,4vw,96px) 0; }
  .product-paths { grid-area: 2/1; position: relative; inset: auto; height: auto; min-height: clamp(160px,14.4vw,365px); margin: 0 var(--home-right) clamp(15px,1.35vw,36px) var(--home-left); }
  .path-copy { justify-content: center; padding-block: clamp(12px,1.2vw,26px); }
  .path-copy h2 { padding-right: 1.5rem; }
  .path-arrow { top: 19%; width: 20px; height: 20px; }
}
@media(min-width:801px) and (max-width:1140px) {
  .showcase { grid-template-rows: minmax(310px,auto) auto auto; min-height: auto; background: linear-gradient(110deg,#eef7ff,#d2ecff); }
  .water-stage { grid-area: 1/1; left: 40%; }
  .water-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#e5f4ff,transparent 29%); }
  .hero-intro { width: 42%; }
  .hero-intro h1 { font-size: clamp(40px,4.45vw,48px); }
  .hero-links { flex-wrap: wrap; gap: 8px; }
  .hero-links .action { white-space: nowrap; font-size: .875rem; padding-inline: 1em; }
  .benefits { grid-area: 2/1; margin: 10px var(--home-right) 16px var(--home-left); width: auto; justify-self: stretch; justify-content: center; display: flex; gap: 32px; }
  .benefits li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
  .benefits li + li::before { display: none; }
  .benefits .icon { width: 21px; height: 21px; }
  .product-paths { grid-row: 3; }
  .product-path .machine-visual { width: 44%; }
  .product-path .path-copy { margin-left: 45%; padding-inline-end: 10px; }
  .product-path .path-copy h2 { font-size: 20px; }
}
@media(max-width:800px) {
  .hero-intro { width: auto; }
  .hero-links .action,.top-cta.action { font-size: .875rem; }
  .product-path .machine-visual { width: 40%; }
  .product-path .path-copy { margin-left: 41%; padding: 14px 10px 14px 0; }
  .path-copy h2 { padding-right: 18px; }
  .path-arrow { top: 18px; }
  .product-path .path-copy .tags { margin-top: 8px; }
  .tags span { font-size: .75rem; }
  .project-planning { grid-template-columns: 1fr; gap: 20px; }
  .planner-intro h2,.planner-intro p:last-child { max-width: 52ch; }
}
@media(max-width:420px) {
  .planner-controls label { padding-inline: 0; gap: 10px; }
  .hero-links { flex-wrap: wrap; }
  .doc-data div { display: block; }
}
