/* X2D inherits H2D's light hero, black sections and Bambu green. */
.x2d { --x2d-green: #00ae42; background: #000; color: #fff; font-size: 16px; line-height: 1.85; }
.x2d *, .x2d *::before, .x2d *::after { box-sizing: border-box; }
.x2d .x2d-wrap { width: min(1200px, 90%); margin-inline: auto; }
.x2d img { display: block; max-width: 100%; height: auto; }
.x2d figure, .x2d p { margin: 0; }
.x2d h1, .x2d h2, .x2d h3 { padding: 0; border: 0; background: none; font-weight: 700; line-height: 1.4; }
.x2d h2 { margin: 0 0 28px; color: var(--x2d-green); font-size: clamp(26px, 3vw, 38px); text-align: center; }
.x2d h3 { margin: 24px 0 16px; color: #fff; font-size: 24px; }
.x2d a { text-underline-offset: 5px; }
.x2d a:focus-visible { outline: 3px solid #00ae42; outline-offset: 5px; }
.x2d ::selection { color: #000; background: #8de5a7; }
.x2d .x2d-hero { background: #e9eaea; color: #111; border-bottom: 12px solid var(--x2d-green); }
.x2d .x2d-hero-inner { min-height: 720px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding-block: 64px; }
.x2d .x2d-hero-copy { padding-left: 40px; }
.x2d .x2d-logo { width: 300px; margin-bottom: 38px; }
.x2d h1 { color: #111; font-size: clamp(60px, 6vw, 80px); margin: 0 0 18px; }
.x2d .x2d-lead { font-size: 22px; font-weight: 700; line-height: 1.6; }
.x2d .x2d-hero-product { max-height: 600px; width: auto; justify-self: center; }
.x2d .x2d-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.x2d .x2d-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 30px; background: var(--x2d-green); color: #001b09; font-weight: 700; text-decoration: none; border: 2px solid var(--x2d-green); transition: background-color .2s, color .2s; }
.x2d .x2d-button:hover { background: #fff; color: #005c23; }
.x2d .x2d-spec-link { display: inline-flex; min-height: 44px; align-items: center; color: inherit; }
.x2d .x2d-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-block: 24px; border-bottom: 1px solid #353535; }
.x2d .x2d-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.x2d .x2d-section { padding-block: 90px; scroll-margin-top: 90px; }
.x2d .x2d-section + .x2d-section { border-top: 1px solid #194d2c; }
.x2d .x2d-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.x2d .x2d-wide-image { width: 100%; margin: 36px 0 48px; }
.x2d figcaption { padding-top: 18px; }
.x2d .x2d-wide-image figcaption { color: #bdbdbd; font-size: 14px; text-align: center; }
.x2d .x2d-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.x2d .x2d-pair article > img { width: 100%; border-bottom: 4px solid var(--x2d-green); }
.x2d .x2d-feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; margin-top: 80px; }
.x2d .x2d-feature h3 { color: var(--x2d-green); margin-top: 0; font-size: 28px; }
.x2d .x2d-note { color: #bdbdbd; font-size: 14px; margin-top: 20px; }
.x2d .x2d-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.x2d .x2d-examples img { width: 100%; }
.x2d .x2d-examples h3 { font-size: 22px; margin-top: 0; }
.x2d small { display: block; margin-top: 16px; color: #bdbdbd; font-size: 12px; overflow-wrap: anywhere; }
.x2d .x2d-specs { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.x2d .x2d-specs caption { text-align: left; padding-bottom: 16px; color: #bdbdbd; }
.x2d .x2d-specs th, .x2d .x2d-specs td { padding: 20px 24px; border: 1px solid #414141; text-align: left; vertical-align: top; color: #fff; }
.x2d .x2d-specs th { width: 32%; background: #181818; font-weight: 600; }
.x2d .x2d-specs td { background: #080808; }
.x2d .x2d-contact { padding: 76px 0; border-top: 8px solid var(--x2d-green); background: #e9eaea; color: #111; text-align: center; }
.x2d .x2d-contact h2 { color: #111; font-size: 40px; }
.x2d .x2d-contact .x2d-actions { justify-content: center; }
@media (max-width: 767px) {
  .x2d { font-size: 15px; }
  .x2d .x2d-hero-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 44px; min-height: 0; }
  .x2d .x2d-hero-copy { padding: 0; text-align: center; }
  .x2d .x2d-logo { width: 210px; margin: 0 auto 24px; }
  .x2d .x2d-lead { font-size: 18px; }
  .x2d .x2d-actions { justify-content: center; gap: 16px; }
  .x2d .x2d-hero-product { max-height: 440px; max-width: 85%; }
  .x2d .x2d-nav { gap: 4px 22px; font-size: 14px; }
  .x2d .x2d-section { padding-block: 56px; }
  .x2d h3 { font-size: 21px; }
  .x2d .x2d-intro { margin-bottom: 28px; text-align: left; }
  .x2d .x2d-pair, .x2d .x2d-feature, .x2d .x2d-examples { grid-template-columns: 1fr; gap: 36px; }
  .x2d .x2d-feature { margin-top: 48px; }
  .x2d .x2d-feature h3 { font-size: 24px; }
  .x2d .x2d-text-pair { gap: 20px; }
  .x2d .x2d-specs { font-size: 13px; table-layout: fixed; overflow-wrap: anywhere; }
  .x2d .x2d-specs th, .x2d .x2d-specs td { padding: 14px 10px; }
  .x2d .x2d-specs th { width: 37%; }
  .x2d .x2d-contact { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) { .x2d .x2d-button { transition: none; } }

/* H2D-style image hero, with copy kept clear of the printer. */
.x2d .x2d-hero { position: relative; isolation: isolate; overflow: hidden; }
.x2d .x2d-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; z-index: -1; }
.x2d .x2d-hero-inner { display: flex; min-height: 640px; }
.x2d .x2d-hero-copy { width: 48%; padding-left: 0; }
.x2d .x2d-lead { font-size: 20px; }
.x2d .x2d-text-pair { margin-top: 48px; }
.x2d .x2d-feature > img { width: 100%; max-height: 460px; object-fit: contain; }
.x2d img.x2d-wide-image { width: auto; max-width: 100%; max-height: 440px; margin-inline: auto; object-fit: contain; }
.x2d .x2d-pair article > img { width: 100%; height: 320px; object-fit: contain; background: #080808; }
@media (max-width: 767px) {
  .x2d .x2d-hero-inner { min-height: 0; padding-block: 38px 30px; }
  .x2d .x2d-hero-copy { width: 100%; }
  .x2d .x2d-hero-image { position: static; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: 70% center; }
  .x2d .x2d-hero { display: flex; flex-direction: column-reverse; }
  .x2d .x2d-lead { font-size: 18px; }
  .x2d .x2d-feature > img { max-height: 340px; }
  .x2d .x2d-pair article > img { height: auto; max-height: 300px; }
  .x2d img.x2d-wide-image { max-height: 300px; }
}

/* Match X1E hero proportions at desktop, tablet and phone widths. */
.x2d .x2d-hero { border-bottom-width: 2px; }
.x2d .x2d-hero-inner { min-height: 0; height: calc(32.5vw + 219px); }
@media (min-width: 768px) and (max-width: 1199px) {
  .x2d .x2d-hero-inner { height: calc(51.5625vw + 3px); padding-block: 30px; }
  .x2d .x2d-logo { width: 210px; margin-bottom: 20px; }
  .x2d h1 { font-size: 60px; margin-bottom: 12px; }
  .x2d .x2d-lead { font-size: 18px; }
  .x2d .x2d-actions { margin-top: 20px; gap: 16px; }
}
@media (max-width: 767px) {
  .x2d .x2d-hero-inner { height: auto; padding-block: 30px; }
  .x2d .x2d-logo { width: 40vw; max-width: 210px; margin-bottom: 20px; }
  .x2d h1 { font-size: 50px; margin-bottom: 20px; }
  .x2d .x2d-hero-image { aspect-ratio: 1480 / 1304; }
  .x2d .x2d-hero .x2d-actions { margin-top: 20px; }
}

/* Supporting features use the existing bounded image layout. */
.x2d .x2d-detail-pair { margin-top: 48px; }

.x2d .x2d-video { min-width: 0; }
.x2d .x2d-video video { display: block; width: 100%; height: 360px; max-height: 460px; object-fit: contain; background: #080808; }
.x2d .x2d-video figcaption { color: #bdbdbd; font-size: 14px; line-height: 1.7; }
@media (max-width: 767px) { .x2d .x2d-video video { height: 260px; } }

/* Explain the nozzle roles before showing their switching mechanism. */
.x2d .x2d-dual-explainer { max-width: 900px; margin: 48px auto 0; }
.x2d .x2d-nozzle-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 0; padding: 28px 0; border-block: 1px solid #414141; }
.x2d .x2d-nozzle-roles dt { color: #bdbdbd; font-size: 15px; }
.x2d .x2d-nozzle-roles dd { margin: 8px 0 0; font-size: 28px; font-weight: 700; color: #fff; line-height: 1.5; }
.x2d .x2d-nozzle-roles dd span { display: block; margin-top: 8px; font-size: 15px; font-weight: 400; }
.x2d .x2d-dual-result { margin: 24px 0 48px; }
.x2d .x2d-dual-result strong { color: #00ae42; }
.x2d .x2d-dual-explainer h3 { font-size: 28px; margin: 0 0 12px; }
.x2d .x2d-motion-guide { margin-bottom: 20px; }
.x2d .x2d-dual-explainer video { height: auto; aspect-ratio: 12 / 5; max-height: none; }
.x2d .x2d-mechanism { margin-top: 28px; border-block: 1px solid #414141; padding-block: 16px; }
.x2d .x2d-mechanism summary { cursor: pointer; min-height: 32px; }
.x2d .x2d-mechanism summary:focus-visible { outline: 2px solid #00ae42; outline-offset: 4px; }
.x2d .x2d-mechanism p { margin-top: 16px; }
@media (max-width: 767px) {
 .x2d .x2d-nozzle-roles { gap: 20px; }
 .x2d .x2d-nozzle-roles dd { font-size: 20px; }
 .x2d .x2d-nozzle-roles dd span { font-size: 13px; }
 .x2d .x2d-dual-explainer h3 { font-size: 23px; }
 .x2d .x2d-dual-result { margin-bottom: 32px; }
}

.x2d .x2d-use-notes { border-top: 1px solid #414141; padding-top: 24px; }
