/* Product overview: homepage navigation and copy alignment, looping films. */
.motion { height: auto; min-height: 0; }
.stage {
  --hero-nav-height: clamp(88px, 8.5svh, 112px);
  --hero-ratio: 2.4;
  position: relative;
  top: auto;
  height: max(720px, 88svh);
  min-height: 720px;
  background: #0b100f;
}
body[data-product="x5"] .stage { --hero-ratio: 1.5; }
.product-header {
  top: 12px;
  left: 16.2%;
  right: 16.2%;
  min-height: 0;
  padding: 10px 0;
  gap: 0;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.product-header .brand {
  display: block;
  flex: 0 0 auto;
  font-family: Manrope, Arial, sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #f2f1e9;
}
.product-header nav {
  position: static;
  min-height: 0;
  margin-left: 72px;
  margin-right: auto;
  gap: 64px;
}
.product-header nav > a,
.detail-menu-toggle { font-size: 14px; font-weight: 400; line-height: normal; color: #e0e3da; }
.product-header nav > a { padding: 12px 0; }
.product-header nav > a:hover,
.detail-menu-toggle:hover,
.detail-menu-toggle[aria-expanded="true"] { color: var(--lime); }
.detail-menu-toggle { padding: 12px 0; gap: 7px; }
.detail-menu-toggle > span { color: var(--lime); font-size: 13px; }
.detail-menu { background: #101713f5; width: 280px; border-radius: 16px; }
.detail-menu > a { padding: 17px 15px; font-size: 17px; color: #f2f1e9; }
.detail-menu small { font-size: 10px; margin-top: 6px; color: #a6b5a4; }

/*
.stage > video {
  position: absolute;
  inset: auto;
  left: 32%;
  top: 6svh;
  width: 68%;
  height: 80svh;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 95%, transparent);
  mask-composite: add;
}
*/

.x5-product-video > video {
position: absolute;
  inset: auto;
  left: 0;
  top: var(--hero-nav-height);
  width: 100%;
  height: calc(100% - var(--hero-nav-height));
  object-fit: cover;
  object-position: center;
  filter: none;
  opacity: 1;
  mask-image: none;
  mask-composite: add;
}

.c5c-product-video > video {
position: absolute;
  inset: auto;
  left: 0;
  top: var(--hero-nav-height);
  width: 100%;
  height: calc(100% - var(--hero-nav-height));
  object-fit: cover;
  object-position: center;
  filter: none;
  opacity: 1;
  mask-image: none;
  mask-composite: add;
}

.stage .shade {
  display: block;
  background: linear-gradient(90deg, #0b100f 0%, #0b100fe8 19%, transparent 60%);
  pointer-events: none;
}
.product-copy {
  position: absolute;
  z-index: 2;
  left: 12.5%;
  top: 20svh;
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.product-label { position: static; }
.product-label .eyebrow { font-size: 11px; font-weight: 600; color: var(--lime); letter-spacing: .2em; line-height: 1.8; }
.caption-area { position: static; width: 100%; max-width: none; min-height: 0; display: block; }
.caption { position: static; opacity: 1; visibility: visible; transform: none; transition: none; pointer-events: auto; }
.caption .eyebrow { font-size: 11px; font-weight: 600; color: var(--lime); line-height: 1.8; letter-spacing: .16em; }
.caption h1 { font-size: clamp(34px, 3vw, 60px); font-weight: 500; line-height: 1.08; margin: 16px 0 20px; }
.caption h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--lime); }
.caption > p { max-width: none; font-size: 17px; line-height: 1.65; color: #b7bfb9; margin: 0; }
.caption .metric { margin-top: 20px; padding-left: 16px; border-left: 1px solid #ffffff66; gap: 6px; }
.caption .metric strong { font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.04em; }
.caption .metric > span { font-size: 11px; line-height: 1.4; color: #a2aca5; }
.caption .shop,
.after .shop,
.video-play {
  min-width: 150px;
  min-height: 46px;
  padding: 12px 20px;
  margin-top: 28px;
  border: 1px solid #1763df;
  border-radius: 50px;
  background: #1763df;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  justify-content: center;
  gap: 0;
  transition: background .2s;
}
.caption .shop:hover,
.after .shop:hover,
.video-play:hover { background: #2b77f0; border-color: #2b77f0; }
.after .shop { gap: 20px; }
.video-status { position: absolute; z-index: 3; right: 8%; bottom: 10%; max-width: 320px; color: #c1c8ba; font-size: 13px; }
.video-play { position: absolute; z-index: 3; right: 12%; bottom: 10%; margin: 0; cursor: pointer; }
.video-status[hidden], .video-play[hidden] { display: none; }

/* Supplied artwork includes its own text, spacing and backgrounds. */
.product-artwork { width: 100%; margin: 0; padding: 0; background: #070c0a; }
.product-artwork > img { display: block; width: 96%; max-width: none; height: auto; margin: 0 auto; }
.x5-scenarios { padding: 0 24px 80px; background: #000; }
.x5-scenarios > img { display: block; width: 100%; max-width: 992px; height: auto; margin: 0 auto; }
.comparison-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; max-width: 804px; margin: 24px auto 0; }
.comparison-card { min-width: 0; margin: 0; }
.comparison-card figcaption { margin: 0 0 12px; color: #29b6eb; font-size: 20px; line-height: 1.4; text-align: center; }
.comparison-player { position: relative; width: 100%; aspect-ratio: 389 / 230; border-radius: 10px; overflow: hidden; background: #000; }
.comparison-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.comparison-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; padding: 0 0 0 3px; border: 1px solid #ffffffaa; border-radius: 50%; background: #0008; color: #fff; font-size: 23px; cursor: pointer; }
.comparison-play:hover { background: #1763df; }
.comparison-play[hidden] { display: none; }
@media (max-width: 600px) {
  .product-artwork > img { width: 100%; }
  .x5-scenarios { padding: 0 12px 40px; }
  .comparison-videos { grid-template-columns: minmax(0, 1fr); max-width: 389px; gap: 16px; margin-top: 16px; }
}

/* Match the About Us and Support footer without importing their page styles. */
.product-footer {
  display: block;
  min-height: 0;
  padding: 0;
  border-top: 1px solid #1c2635;
  background: #0a0e17;
  color: #8b99ae;
  font-family: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.product-footer .foot-inner {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'logo social links' 'fine fine fine';
  gap: 8px 32px;
  align-items: center;
  text-align: center;
}
.product-footer .logo { grid-area: logo; color: #3d8bff; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.product-footer .social { grid-area: social; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.product-footer .social-note { color: #8b99ae; font-size: 13px; letter-spacing: .04em; }
.product-footer .social-icons { display: flex; gap: 12px; }
.product-footer .social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1c2635;
  color: #8b99ae;
  transition: transform .25s, color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.product-footer .social-icons svg { width: 18px; height: 18px; display: block; }
.product-footer .social-icons a:hover {
  color: #fff;
  border-color: #3d8bff;
  background: rgba(61, 139, 255, .14);
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(61, 139, 255, .28);
}
.product-footer nav { grid-area: links; display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.product-footer nav a { transition: color .2s; }
.product-footer nav a:hover { color: #3d8bff; }
.product-footer .fine { grid-area: fine; color: #56627a; font-size: 12px; }

@media (min-width: 1001px) and (max-height: 900px) {
  .product-footer .foot-inner { padding: 10px 0; }
  .product-footer .social { flex-direction: row; justify-content: center; gap: 16px; }
  .product-footer .social-icons a { width: 32px; height: 32px; }
}
@media (max-width: 1000px) {
  .product-footer .foot-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'logo' 'social' 'links' 'fine';
    justify-items: center;
  }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .product-header { left: 8%; right: 8%; }
  .product-header nav { margin-left: 48px; gap: 36px; }
  .product-copy { left: 8%; width: 40%; top: 23svh; gap: 22px; }
  .caption h1 { font-size: 36px; }
  .caption > p { font-size: 15px; }
}
@media (min-width: 701px) and (max-height: 800px) {
  .product-copy { top: 19svh; gap: 20px; }
  .caption h1 { font-size: clamp(32px, 3vw, 44px); margin: 12px 0 16px; }
  .caption > p { font-size: 15px; }
  .caption .metric { margin-top: 16px; }
  .caption .shop { margin-top: 20px; }
}
@media (max-width: 700px) {
  .stage { height: auto; min-height: 0; display: flex; flex-direction: column; padding: var(--hero-nav-height) 24px 24px; }
  .product-header { left: 24px; right: 24px; top: 12px; justify-content: space-between; }
  .product-header .brand { font-size: 32px; }
  .product-header nav { display: none; position: absolute; top: 58px; left: 0; right: 0; width: 100%; margin: 0; padding: 20px; background: #142017f5; border: 1px solid #ffffff25; border-radius: 12px; }
  .product-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
  .product-header nav > a, .detail-menu-toggle { font-size: 14px; }
  .product-header .detail-menu { position: static; width: 100%; }
  .stage > video { position: relative; inset: auto; left: auto; top: auto; flex: 0 0 auto; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 10; margin: 0 -24px 32px; object-fit: cover; mask-image: none; background: #0b100f; }
  .stage .shade { display: none; }
  .product-copy { position: static; width: 100%; gap: 16px; }
  .caption h1 { font-size: clamp(29px, 8vw, 38px); margin: 12px 0 16px; }
  .caption > p { font-size: 14px; }
  .caption .metric strong { font-size: 24px; }
  .caption .shop { margin-top: 22px; }
  .video-status { right: 24px; bottom: auto; top: 90px; }
  .video-play { top: 280px; bottom: auto; right: calc(50% - 75px); }
  .product-footer .fine { overflow-wrap: anywhere; }
}
