/**
 * MDCX shared landing shell — header + footer.
 * Requires tokens.css. Use on marketing pages for layout consistency.
 *
 * Header: [wordmark] … nav … [day/night] [flag dropdown] [TCO]
 * Accent rule: X Blue = TCO button only.
 * Theme/lang: shell.js · html[data-theme] · html[data-lang] only.
 */

/* Language dual-copy — single source: html[data-lang] (never mix with body alone) */
html[data-lang="en"] .zh-only { display: none !important; }
html[data-lang="zh"] .en-only { display: none !important; }
/* fallback before FOUC: prefer English visible */
html:not([data-lang]) .zh-only { display: none !important; }

/* Default typeface for shell + page content (pages may restate on body) */
html {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/*
 * Section leads / descriptive prose: fluid width + automatic wrap.
 * Do NOT put <br> in .sec-lead / .section-sub copy — only in hero titles / CTAs / addresses.
 */
.sec-lead,
.section-sub,
.mdc-hero-sub,
.prose > p,
.prose p {
  max-width: min(42rem, 100%);
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* Reduce orphan words on last line where supported */
  text-wrap: pretty;
}

/* ── Fixed header (theme-aware — THEME v2.0 §10) ─────────────── */
.mdc-shell-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--mdc-header-h, 56px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  background: var(--mdc-header-bg-solid);
  border-bottom: 1px solid var(--mdc-header-line);
  color: var(--mdc-header-ink);
}
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .mdc-shell-header {
    background: var(--mdc-header-bg);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
  }
}

.mdc-shell-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--mdc-header-ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.mdc-shell-logo img {
  height: 22px;
  width: auto;
  display: block;
}
.mdc-shell-logo mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--mdc-brand);
  color: var(--mdc-brand-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 2px;
  font-style: normal;
}
.mdc-shell-logo:hover { opacity: 0.9; }

/* Primary nav */
.mdc-shell-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex: 1;
  min-width: 0;
  margin-left: 8px;
}
.mdc-shell-nav a,
.mdc-shell-nav-top {
  color: var(--mdc-header-ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--mdc-duration) linear,
    border-color var(--mdc-duration) linear;
}
.mdc-shell-nav a:hover,
.mdc-shell-nav-dd:hover > .mdc-shell-nav-top,
.mdc-shell-nav-dd:focus-within > .mdc-shell-nav-top {
  color: var(--mdc-header-ink);
}
.mdc-shell-nav a[aria-current="page"],
.mdc-shell-nav-top[aria-current="page"] {
  color: var(--mdc-header-ink);
  border-bottom-color: var(--mdc-accent);
}
.mdc-shell-nav a code {
  font-family: var(--mdc-font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  color: var(--mdc-header-ink-muted);
  margin-left: 5px;
  letter-spacing: 0;
  text-transform: none;
}

/* Liquid / Immersion SKU power dropdown (hover open) */
.mdc-shell-nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
}
.mdc-shell-nav-dd > .mdc-shell-nav-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.mdc-shell-nav-dd > .mdc-shell-nav-top::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
}
.mdc-shell-nav-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 280px;
  max-width: min(360px, 86vw);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  background: var(--mdc-header-bg-solid, var(--mdc-surface-2));
  border: 1px solid var(--mdc-header-line, var(--mdc-line));
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms linear, visibility 120ms linear, transform 120ms linear;
  z-index: 140;
}
/* Bridge gap so hover doesn't drop when moving into menu */
.mdc-shell-nav-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.mdc-shell-nav-dd:hover .mdc-shell-nav-menu,
.mdc-shell-nav-dd:focus-within .mdc-shell-nav-menu,
.mdc-shell-nav-dd.is-open .mdc-shell-nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mdc-shell-nav-menu a {
  display: block;
  padding: 10px 16px;
  margin: 0;
  border-bottom: 0 !important;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  color: var(--mdc-header-ink-muted, var(--mdc-ink-tertiary));
}
.mdc-shell-nav-menu a:hover,
.mdc-shell-nav-menu a:focus-visible {
  color: var(--mdc-header-ink, var(--mdc-ink-primary));
  background: var(--mdc-header-fill-hover, rgba(255, 255, 255, 0.06));
}
.mdc-shell-nav-menu a[aria-current="page"] {
  color: var(--mdc-header-ink, var(--mdc-ink-primary));
  background: var(--mdc-header-fill-hover, rgba(255, 255, 255, 0.08));
  border-bottom: 0 !important;
}
@media (max-width: 720px) {
  /* Mobile drawer: open on .is-open only (set by JS tap) */
  .mdc-shell-nav-dd:hover .mdc-shell-nav-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .mdc-shell-nav-dd.is-open .mdc-shell-nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: static;
    transform: none;
    margin: 4px 0 8px;
    box-shadow: none;
    border-color: var(--mdc-header-line, var(--mdc-line));
  }
  .mdc-shell-nav-menu::before {
    display: none;
  }
}

.mdc-shell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Day/Night + language flag dropdown (header right) */
.mdc-shell-prefs {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.mdc-shell-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--mdc-header-line);
  border-radius: var(--mdc-radius, 2px);
  background: transparent;
  color: var(--mdc-header-ink-muted);
  cursor: pointer;
}
.mdc-shell-theme:hover {
  color: var(--mdc-header-ink);
  background-image: linear-gradient(var(--mdc-state-hover), var(--mdc-state-hover));
}
.mdc-shell-theme svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}
/* Night UI shows moon (click → day); Day UI shows sun (click → night) */
.mdc-shell-theme .mdc-icon-sun { display: none; }
.mdc-shell-theme .mdc-icon-moon { display: block; }
.mdc-shell-theme[data-theme-active="light"] .mdc-icon-sun { display: block; }
.mdc-shell-theme[data-theme-active="light"] .mdc-icon-moon { display: none; }

.mdc-shell-lang {
  position: relative;
}
.mdc-shell-lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--mdc-header-line);
  border-radius: var(--mdc-radius, 2px);
  background: transparent;
  color: var(--mdc-header-ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.mdc-shell-lang-trigger:hover,
.mdc-shell-lang-trigger[aria-expanded="true"] {
  background-image: linear-gradient(var(--mdc-state-hover), var(--mdc-state-hover));
}
.mdc-shell-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  min-width: 44px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--mdc-surface-4);
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius, 2px);
  box-shadow: var(--mdc-shadow-2);
}
.mdc-shell-lang-menu[hidden] {
  display: none !important;
}
.mdc-shell-lang-menu li { margin: 0; padding: 0; }
.mdc-shell-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: var(--mdc-ink-primary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.mdc-shell-flag:hover {
  background-image: linear-gradient(var(--mdc-state-hover), var(--mdc-state-hover));
}
.mdc-shell-flag.is-active,
.mdc-shell-flag[aria-selected="true"] {
  background-image: linear-gradient(var(--mdc-state-selected), var(--mdc-state-selected));
}

.mdc-shell-back {
  color: var(--mdc-header-ink-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--mdc-duration) linear;
}
.mdc-shell-back:hover { color: var(--mdc-header-ink); }

/* Page-local CTAs (designer, etc.) — mono invert, not accent */
.mdc-shell-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--mdc-brand);
  color: var(--mdc-brand-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--mdc-radius, 2px);
  border: 1px solid var(--mdc-brand);
  transition: background var(--mdc-duration) linear;
}
.mdc-shell-cta:hover {
  background: var(--mdc-brand-hover);
}

/* TCO — the only X Blue accent in the header */
.mdc-shell-cta-tco {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--mdc-accent);
  color: var(--mdc-accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--mdc-radius, 2px);
  border: 1px solid var(--mdc-accent);
  transition: background var(--mdc-duration) linear;
}
.mdc-shell-cta-tco:hover {
  background: var(--mdc-accent-hover);
  border-color: var(--mdc-accent-hover);
}

/* Mobile toggle */
.mdc-shell-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius, 2px);
  color: var(--mdc-ink-primary);
  cursor: pointer;
  padding: 0;
}
.mdc-shell-menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.mdc-shell-menu-btn span::before,
.mdc-shell-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.mdc-shell-menu-btn span::before { top: -5px; }
.mdc-shell-menu-btn span::after { top: 5px; }

/* ── Product identity (D-13: friendly title + alias · SKU small under) ─ */
.mdc-product-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.mdc-product-id .mdc-alias {
  font-size: inherit;
  font-weight: 700;
  color: inherit;
  line-height: 1.25;
}
.mdc-product-id .mdc-code {
  font-weight: 700;
  white-space: nowrap;
}
.mdc-product-id .mdc-sku {
  font-family: var(--mdc-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--mdc-ink-muted);
  line-height: 1.3;
}
.mdc-product-id .mdc-gloss {
  font-size: 12px;
  font-weight: 400;
  color: var(--mdc-ink-tertiary);
  line-height: 1.4;
  margin-top: 2px;
}
.mdc-coming-soon {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius, 2px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mdc-ink-tertiary);
  vertical-align: middle;
}
.mdc-product-teaser {
  display: block;
  text-decoration: none;
  background: var(--mdc-surface-3);
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius, 2px);
  padding: 20px 18px;
  opacity: 0.92;
  pointer-events: none; /* draft: no full-page CTA */
  cursor: default;
}
.mdc-product-teaser .mdc-product-id .mdc-alias {
  font-size: 14px;
  color: var(--mdc-ink-primary);
}
.mdc-product-teaser p {
  font-size: 12px;
  color: var(--mdc-ink-tertiary);
  line-height: 1.55;
  margin: 10px 0 0;
}

/* TCO highlight strip — shared catalog / home */
.mdc-tco-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 2px;
  background: var(--mdc-accent);
  color: var(--mdc-accent-ink);
  border: 1px solid var(--mdc-accent);
}
.mdc-tco-highlight-copy {
  min-width: 0;
  flex: 1 1 240px;
}
.mdc-tco-highlight-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 4px;
}
.mdc-tco-highlight-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mdc-tco-highlight-sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.88;
  max-width: 42rem;
}
.mdc-tco-highlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: 2px;
  background: var(--mdc-on-media, #fff);
  color: var(--mdc-on-media-ink, #111);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.mdc-tco-highlight-cta:hover {
  filter: brightness(0.96);
}
.mdc-band .mdc-tco-highlight {
  background: var(--mdc-accent);
  color: var(--mdc-accent-ink);
}
@media (max-width: 640px) {
  .mdc-tco-highlight { flex-direction: column; align-items: flex-start; }
}

/* ── Unified footer (all marketing pages) ───────────────────── */
.mdc-footer {
  border-top: 1px solid var(--mdc-line-subtle);
  background: var(--mdc-surface-1);
  padding: 48px 32px 24px;
}
.mdc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px 40px;
  max-width: 1080px;
  margin: 0 auto;
}
.mdc-footer-brand img { height: 20px; width: auto; display: block; }
.mdc-footer-tagline {
  margin-top: 14px;
  font-size: 12px; line-height: 1.6;
  color: var(--mdc-ink-muted);
  max-width: 260px;
}
.mdc-footer-addr {
  margin-top: 12px;
  font-style: normal;
  font-size: 11px; line-height: 1.7;
  color: var(--mdc-ink-muted);
}
.mdc-footer-h {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mdc-ink-tertiary);
  margin-bottom: 12px;
}
.mdc-footer-col a {
  display: block;
  font-size: 12px; font-weight: 500;
  color: var(--mdc-ink-tertiary);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--mdc-duration) linear;
}
.mdc-footer-col a:hover { color: var(--mdc-ink-primary); }
.mdc-footer-col a code {
  font-family: var(--mdc-font-mono);
  font-size: 10px; color: var(--mdc-ink-muted); margin-left: 4px;
}
.mdc-footer-contact .mdc-footer-mail {
  font-size: 13px; font-weight: 600;
  color: var(--mdc-ink-secondary);
}
.mdc-footer-contact .mdc-footer-mail:hover { color: var(--mdc-ink-primary); }
.mdc-footer-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  height: 34px; padding: 0 16px;
  background: var(--mdc-brand); color: var(--mdc-brand-ink) !important;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--mdc-radius, 2px);
  text-decoration: none;
  transition: background var(--mdc-duration) linear;
}
.mdc-footer-cta:hover { background: var(--mdc-brand-hover); }
.mdc-footer-legal {
  max-width: 1080px; margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--mdc-line-subtle);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: var(--mdc-ink-muted);
}
.mdc-footer--compact { padding: 32px 32px 18px; }
.mdc-footer--compact .mdc-footer-tagline,
.mdc-footer--compact .mdc-footer-addr { display: none; }
.mdc-footer--compact .mdc-footer-legal { margin-top: 20px; padding-top: 14px; }

@media (max-width: 860px) {
  .mdc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mdc-footer { padding: 36px 20px 20px; }
  .mdc-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .mdc-footer-legal { flex-direction: column; }
}

/* ── Body offset under fixed header ─────────────────────────── */
body.mdc-has-shell {
  padding-top: 0;
}
body.mdc-shell-pad {
  padding-top: var(--mdc-header-h, 56px);
}

/* ── Mobile (<720px) ────────────────────────────────────────── */
@media (max-width: 720px) {
  .mdc-shell-header {
    padding: 0 12px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--mdc-header-h, 56px);
  }
  .mdc-shell-menu-btn { display: inline-flex; }
  .mdc-shell-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--mdc-line-subtle);
  }
  .mdc-shell-header.is-open .mdc-shell-nav {
    display: flex;
  }
  .mdc-shell-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--mdc-line-subtle);
  }
  .mdc-shell-nav a[aria-current="page"] {
    border-bottom-color: var(--mdc-line-strong);
  }
  .mdc-shell-logo span:not(mark) {
    font-size: 12px;
  }
  /* Horizontal scroll fallback when menu closed: show nav as scroll row */
  .mdc-shell-nav.mdc-shell-nav-scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    order: 0;
    width: auto;
    flex: 1;
    border: 0;
    padding: 0;
    margin-left: 4px;
    gap: 14px;
  }
  .mdc-shell-nav.mdc-shell-nav-scroll::-webkit-scrollbar { display: none; }
  .mdc-shell-nav.mdc-shell-nav-scroll a {
    border-bottom: 2px solid transparent;
    padding: 6px 0;
  }
}

@media (max-width: 640px) {
  .mdc-shell-cta,
  .mdc-shell-cta-tco {
    font-size: 10px;
    padding: 0 10px;
  }
}

/* ── Shared hero / banner (all marketing pages) ─────────────── */
.mdc-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100svh - var(--mdc-header-h, 56px));
  padding: 88px 24px 56px;
}
.mdc-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, var(--mdc-brand-glow) 0%, transparent 62%);
  pointer-events: none;
}
/* Photo hero / photo band: set --hero-img on the element.
   ::before = photo · ::after = scrim. Works with or without .mdc-hero. */
.mdc-hero--img {
  position: relative;
  overflow: hidden;
  background-color: var(--mdc-band-dark);
}
.mdc-hero--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  pointer-events: none;
}
.mdc-hero--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--mdc-band-dark-scrim);
  pointer-events: none;
}
.mdc-hero--img > *,
.mdc-hero > * {
  position: relative;
  z-index: 1;
}

.mdc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mdc-on-media-fill);
  border: 1px solid var(--mdc-on-media-line);
  color: var(--mdc-on-media-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
/* Heroes (often photo) — always on-media type, both Day and Night */
.mdc-hero h1 {
  color: var(--mdc-on-media);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.mdc-hero h1 span {
  color: var(--mdc-on-media-muted);
}
.mdc-hero-sub {
  color: var(--mdc-on-media-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: min(42rem, 100%);
  margin: 18px auto 0;
}
.mdc-hero .mdc-product-id {
  align-items: center;
  text-align: center;
}
.mdc-hero-sub strong {
  color: var(--mdc-ink-secondary);
  font-weight: 600;
}

/* Shared stat band */
.mdc-statband {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto 0;
  max-width: 760px;
  border: 1px solid var(--mdc-line-subtle);
  border-radius: 2px;
  background: var(--mdc-surface-2);
  overflow: hidden;
}
.mdc-statband .stat {
  flex: 1 1 180px;
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--mdc-line-subtle);
}
.mdc-statband .stat:last-child {
  border-right: none;
}
.mdc-statband .stat-val {
  color: var(--mdc-ink-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mdc-statband .stat-val em {
  color: var(--mdc-ink-primary);
  font-style: normal;
}
.mdc-statband .stat-key {
  color: var(--mdc-ink-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Content figures */
.mdc-figure {
  margin: 28px 0 0;
}
.mdc-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--mdc-line-subtle);
  border-radius: 2px;
}
.mdc-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mdc-ink-muted);
}

/* ── Media facade (D-12 · X-like) ─────────────────────────────
 * Canonical: .mdc-media · legacy alias: .mdc-3d
 * Poster + click-to-load only. See design-system/media.js
 */
.mdc-media,
.mdc-3d {
  position: relative;
  margin-top: 28px;
  border: 1px solid var(--mdc-line-subtle);
  border-radius: var(--mdc-radius, 2px);
  overflow: hidden;
  background: var(--mdc-surface-3);
}
.mdc-media::before,
.mdc-3d::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 default */
}
.mdc-media--4x3::before {
  padding-top: 75%;
}
.mdc-media--1x1::before {
  padding-top: 100%;
}
.mdc-media > img,
.mdc-media > picture,
.mdc-media > iframe,
.mdc-media > video,
.mdc-media > model-viewer,
.mdc-3d > img,
.mdc-3d > picture,
.mdc-3d > iframe,
.mdc-3d > model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
/* model-viewer: custom element must be block + opaque or poster shows through */
.mdc-media > model-viewer,
.mdc-3d > model-viewer {
  display: block;
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
  background: var(--mdc-surface-3, #0c0d10);
  z-index: 2;
  --poster-color: transparent;
}
.mdc-media.is-loaded > img,
.mdc-media.is-loaded > picture,
.mdc-media.is-loaded > .mdc-media-poster,
.mdc-3d.is-loaded > img,
.mdc-3d.is-loaded > picture {
  display: none !important;
  pointer-events: none;
}
.mdc-media > picture img,
.mdc-media .mdc-media-poster,
.mdc-3d > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mdc-media-play,
.mdc-3d-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--mdc-band-dark-scrim);
  border: 0;
  cursor: pointer;
  color: var(--mdc-on-media);
  font: 700 14px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  /* mono / ink only — not TCO blue */
}
.mdc-media-play span,
.mdc-3d-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--mdc-on-media-line);
  border-radius: 50%;
  font-size: 20px;
  background: var(--mdc-band-dark);
  color: var(--mdc-on-media);
}
.mdc-media-play:hover span,
.mdc-3d-btn:hover span {
  background: var(--mdc-brand);
  color: var(--mdc-brand-ink);
  border-color: var(--mdc-brand);
}
.mdc-media-play:focus-visible,
.mdc-3d-btn:focus-visible {
  outline: 2px solid var(--mdc-ink-primary);
  outline-offset: -4px;
}
.mdc-media.is-loaded .mdc-media-play,
.mdc-media.is-loaded .mdc-3d-btn,
.mdc-3d.is-loaded .mdc-3d-btn {
  display: none;
}

/* model-viewer fullscreen chrome — large circular “blob” (play-button language), D-12 */
.mdc-media-model-chrome {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  flex-direction: row;
  gap: 10px;
  pointer-events: none;
}
/* Big round control: white disc on dark media so it reads as a clear target */
.mdc-media-fs-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #ffffff;
  color: var(--mdc-on-media-ink, #0c0d10);
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(12, 13, 16, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease;
}
.mdc-media-fs-btn:hover {
  background: var(--mdc-brand, #e8ff47);
  color: var(--mdc-brand-ink, #0c0d10);
  border-color: var(--mdc-brand, #e8ff47);
  transform: scale(1.06);
  box-shadow:
    0 0 0 3px rgba(12, 13, 16, 0.4),
    0 8px 22px rgba(0, 0, 0, 0.5);
}
.mdc-media-fs-btn:active {
  transform: scale(0.98);
}
.mdc-media-fs-btn:focus-visible {
  outline: 2px solid var(--mdc-ink-primary, #f4f4f5);
  outline-offset: 3px;
}
.mdc-media-fs-btn[hidden] {
  display: none !important;
}
.mdc-media-fs-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.mdc-media-fs-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
}
/* Labels live in aria-label; keep text for i18n but hide visually */
.mdc-media-fs-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 560px) {
  .mdc-media-fs-btn {
    width: 48px;
    height: 48px;
  }
  .mdc-media-fs-icon,
  .mdc-media-fs-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Native Fullscreen API on .mdc-media */
.mdc-media:fullscreen,
.mdc-media:-webkit-full-screen,
.mdc-3d:fullscreen,
.mdc-3d:-webkit-full-screen {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #0c0d10;
  box-sizing: border-box;
}
.mdc-media:fullscreen::before,
.mdc-media:-webkit-full-screen::before,
.mdc-3d:fullscreen::before,
.mdc-3d:-webkit-full-screen::before {
  display: none;
  padding-top: 0;
  content: none;
}
.mdc-media:fullscreen > model-viewer,
.mdc-media:-webkit-full-screen > model-viewer,
.mdc-3d:fullscreen > model-viewer,
.mdc-3d:-webkit-full-screen > model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}
.mdc-media:fullscreen .mdc-media-model-chrome,
.mdc-media:-webkit-full-screen .mdc-media-model-chrome {
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
}

/* CSS fallback when Fullscreen API unavailable */
.mdc-media.is-fs-fallback,
.mdc-3d.is-fs-fallback {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #0c0d10;
}
.mdc-media.is-fs-fallback::before,
.mdc-3d.is-fs-fallback::before {
  display: none;
  padding-top: 0;
  content: none;
}
.mdc-media.is-fs-fallback > model-viewer,
.mdc-3d.is-fs-fallback > model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
html.mdc-media-fs-active,
html.mdc-media-fs-active body {
  overflow: hidden;
}

.mdc-media-credit,
.mdc-3d-credit {
  margin-top: 8px;
  font-size: 11px;
  color: var(--mdc-ink-muted);
  line-height: 1.5;
}
.mdc-media-credit a,
.mdc-3d-credit a {
  color: var(--mdc-ink-tertiary);
  text-decoration: none;
}
.mdc-media-credit a:hover,
.mdc-3d-credit a:hover {
  color: var(--mdc-ink-secondary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mdc-hero {
    padding: 80px 16px 40px;
    min-height: calc(100svh - var(--mdc-header-h, 56px));
  }
}
