/* ==========================================================================
   Zhejiang Xudong Packaging Co., Ltd. (xudongpack.com)
   Official B2B English Landing Page Stylesheet
   Architecture: Pure CSS3, Custom Properties, Fluid Clamp Typography, WCAG AA
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Corporate Foundation Palette */
  --color-primary-navy: #0B132B;          /* Dominant deep dark navy: header, hero, footer */
  --color-navy-surface: #1E293B;          /* Elevated dark slate-navy for cards */
  --color-navy-card: #162035;             /* Secondary dark container */
  --color-navy-border: #2D3A58;           /* Subtle dark border */

  /* Clean Canvas & Neutral Light Backgrounds */
  --color-bg-canvas: #F8FAFC;             /* Page canvas background (Slate 50) */
  --color-bg-card: #FFFFFF;               /* Crisp pure white card containers */
  --color-bg-subtle: #F1F5F9;             /* Secondary light container (Slate 100) */
  --color-bg-alt: #E2E8F0;                /* Light separator background (Slate 200) */

  /* Text & Typography Spectrum */
  --color-text-main: #0F172A;             /* Slate 900: Primary high-contrast body & headings */
  --color-text-body: #334155;             /* Slate 700: Main paragraph text */
  --color-text-muted: #64748B;            /* Slate 500: Secondary specs labels */
  --color-text-light: #94A3B8;            /* Slate 400: Timestamps, captions */
  --color-text-inverse: #FFFFFF;          /* Pure white text on dark surfaces */
  --color-text-inverse-muted: #94A3B8;    /* Muted white text on dark surfaces */

  /* Structural Borders */
  --color-border-subtle: #E2E8F0;         /* Slate 200: Default card and table border */
  --color-border-strong: #CBD5E1;         /* Slate 300: High-definition inputs & buttons */
  --color-border-hover: #94A3B8;          /* Slate 400: Active hover border */

  /* Precision Industrial Cobalt Blue */
  --color-accent-blue: #2563EB;           /* Blue 600: Links, active states */
  --color-accent-blue-hover: #1D4ED8;     /* Blue 700: Button hover */
  --color-accent-blue-active: #1E40AF;    /* Blue 800: Button active pressed */
  --color-accent-blue-subtle: #EFF6FF;    /* Blue 50: Pill badge background */
  --color-accent-blue-border: #BFDBFE;    /* Blue 200: Accent border */

  /* High-Visibility Industrial Amber */
  --color-accent-amber: #D97706;          /* Amber 600: Primary conversion CTAs */
  --color-accent-amber-hover: #B45309;    /* Amber 700: Amber button hover */
  --color-accent-amber-active: #92400E;   /* Amber 800: Amber button pressed */
  --color-accent-amber-subtle: #FEF3C7;   /* Amber 100: Highlight callout cards */
  --color-accent-amber-border: #FDE68A;   /* Amber 200: Amber highlight border */

  /* Operational Status & Compliance Badges */
  --color-status-emerald: #059669;        /* Emerald 600: In-stock, certified */
  --color-status-emerald-bg: #ECFDF5;     /* Emerald 50: Background badge */
  --color-status-emerald-border: #A7F3D0; /* Emerald 200: Badge border */
  --color-status-red: #DC2626;            /* Red 600: Validation error */
  --color-status-red-bg: #FEF2F2;         /* Red 50: Error field background */
  --color-status-red-border: #FECACA;     /* Red 200: Error field border */

  /* Typography Stacks */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Fluid Responsive Font Size Scale */
  --font-size-2xs: clamp(0.6875rem, 0.65rem + 0.15vw, 0.75rem);   /* 11px - 12px */
  --font-size-xs:  clamp(0.75rem, 0.70rem + 0.25vw, 0.8125rem);   /* 12px - 13px */
  --font-size-sm:  clamp(0.875rem, 0.825rem + 0.25vw, 0.9375rem); /* 14px - 15px */
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);      /* 16px - 17px */
  --font-size-lg:  clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);     /* 18px - 20px */
  --font-size-xl:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);        /* 20px - 24px */
  --font-size-2xl: clamp(1.5rem, 1.35rem + 0.8vw, 2rem);           /* 24px - 32px */
  --font-size-3xl: clamp(1.875rem, 1.6rem + 1.4vw, 2.75rem);       /* 30px - 44px */
  --font-size-4xl: clamp(2.25rem, 1.85rem + 2.0vw, 3.5rem);        /* 36px - 56px */

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.15;
  --line-height-snug: 1.30;
  --line-height-normal: 1.50;
  --line-height-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.10em;

  /* Spacing Scale */
  --space-0-5: 0.125rem; /* 2px */
  --space-1:   0.25rem;  /* 4px */
  --space-2:   0.5rem;   /* 8px */
  --space-3:   0.75rem;  /* 12px */
  --space-4:   1rem;     /* 16px */
  --space-5:   1.25rem;  /* 20px */
  --space-6:   1.5rem;   /* 24px */
  --space-8:   2rem;     /* 32px */
  --space-10:  2.5rem;   /* 40px */
  --space-12:  3rem;     /* 48px */
  --space-16:  4rem;     /* 64px */
  --space-20:  5rem;     /* 80px */
  --space-24:  6rem;     /* 96px */

  /* Container Widths */
  --container-max: 1280px;
  --container-narrow: 840px;
  --container-padding: clamp(1rem, 3vw, 2rem);
  --section-padding-y: clamp(3.5rem, 6vw, 6rem);

  /* Border Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.10), 0 8px 10px -6px rgb(15 23 42 / 0.05);
  --shadow-amber: 0 4px 14px 0 rgba(217, 119, 6, 0.35);
  --shadow-blue: 0 4px 14px 0 rgba(37, 99, 235, 0.30);
  --shadow-card-hover: 0 16px 32px -8px rgba(11, 19, 43, 0.12), 0 4px 8px -2px rgba(11, 19, 43, 0.04);

  /* Motion & Timing */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-sticky-bar: 50;
  --z-nav: 100;
  --z-drawer: 500;
  --z-backdrop: 1000;
  --z-modal: 1001;
  --z-toast: 2000;
}

/* ==========================================================================
   2. CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-body);
  background-color: var(--color-bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-blue-hover);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.tabular-nums,
table td,
.data-metric,
.data-imperial,
.spec-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--font-size-4xl); font-weight: var(--font-weight-extrabold); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); font-weight: var(--font-weight-semibold); }
h4 { font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold); }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--font-family-mono);
  font-size: 0.9em;
  background-color: var(--color-bg-subtle);
  padding: 0.15em 0.35em;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-primary-navy);
}

/* Screen Reader Utility */
.xd-sr-only, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Common Layout Containers */
.xd-container, .container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.xd-container--narrow, .container-narrow {
  max-width: var(--container-narrow);
}

/* Generic Section Wrapper */
.xd-section, .section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.xd-section--dark, .section-dark {
  background-color: var(--color-primary-navy);
  color: var(--color-text-inverse);
}

/* Section Headers */
.xd-section-header, .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12) auto;
}

.xd-section-header__subtitle, .section-badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-blue);
  background-color: var(--color-accent-blue-subtle);
  border: 1px solid var(--color-accent-blue-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.xd-section-header__title, .section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-main);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
}

.xd-section-header__desc, .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* Text Highlights */
.xd-text-accent {
  color: #60A5FA;
}

/* Generic Badge Elements */
.xd-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1;
}

.xd-badge--stock, .badge-emerald {
  background-color: var(--color-status-emerald-bg);
  color: var(--color-status-emerald);
  border: 1px solid var(--color-status-emerald-border);
}

.xd-badge--accent, .badge-amber {
  background-color: var(--color-accent-amber-subtle);
  color: #92400E;
  border: 1px solid var(--color-accent-amber-border);
}

.xd-badge--neutral, .badge-blue {
  background-color: var(--color-accent-blue-subtle);
  color: var(--color-accent-blue);
  border: 1px solid var(--color-accent-blue-border);
}

/* ==========================================================================
   3. BUTTON ENGINE (.xd-btn & .btn)
   ========================================================================== */
.xd-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.2;
  text-decoration: none;
}

.xd-btn--sm, .btn-sm {
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: 44px;
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xd-btn--md, .btn-md {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-sm);
}

.xd-btn--lg, .btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
}

.xd-btn--xl, .btn-xl {
  padding: 1.15rem 2.25rem;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
}

/* Primary Amber Button */
.xd-btn--primary, .btn-amber {
  background-color: var(--color-accent-amber);
  color: #FFFFFF;
  border-color: var(--color-accent-amber);
  box-shadow: var(--shadow-amber);
}

.xd-btn--primary:hover, .btn-amber:hover {
  background-color: var(--color-accent-amber-hover);
  border-color: var(--color-accent-amber-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.xd-btn--primary:active, .btn-amber:active {
  background-color: var(--color-accent-amber-active);
  transform: translateY(0);
}

/* Secondary Blue Button */
.xd-btn--secondary, .btn-blue {
  background-color: var(--color-accent-blue);
  color: #FFFFFF;
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-blue);
}

.xd-btn--secondary:hover, .btn-blue:hover {
  background-color: var(--color-accent-blue-hover);
  border-color: var(--color-accent-blue-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Amber Button Modifier */
.xd-btn--amber {
  background-color: var(--color-accent-amber);
  color: #FFFFFF;
  border-color: var(--color-accent-amber);
  box-shadow: var(--shadow-amber);
}

.xd-btn--amber:hover {
  background-color: var(--color-accent-amber-hover);
  border-color: var(--color-accent-amber-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Outline Buttons */
.xd-btn--outline {
  background-color: transparent;
  color: var(--color-accent-blue);
  border-color: var(--color-accent-blue-border);
}

.xd-btn--outline:hover {
  background-color: var(--color-accent-blue-subtle);
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue-hover);
}

.xd-btn__subtext {
  display: block;
  font-size: 0.72em;
  font-weight: var(--font-weight-medium);
  opacity: 0.9;
}

.xd-btn__icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* Button Loading Spinner */
.xd-btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: xd-spin 0.75s infinite linear;
}

.btn-loading .xd-btn__spinner {
  display: inline-block;
}

@keyframes xd-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   4. SECTION 1: GLOBAL STICKY HEADER & NAVIGATION (.xd-header)
   ========================================================================== */
.xd-header, .site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  z-index: var(--z-nav);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.xd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Identity */
.xd-brand, .brand-identity {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.xd-brand__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.xd-brand__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.xd-brand__text-group {
  display: flex;
  flex-direction: column;
}

.xd-brand__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-inverse);
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.xd-brand__badge {
  font-size: var(--font-size-2xs);
  color: #94A3B8;
  font-weight: var(--font-weight-medium);
}

/* Desktop Nav Links */
.xd-nav__list, .nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.xd-nav__link, .nav-link {
  color: #CBD5E1;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-2) 0;
  text-decoration: none;
}

.xd-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-amber);
  transition: width var(--transition-fast);
}

.xd-nav__link:hover {
  color: var(--color-text-inverse);
}

.xd-nav__link:hover::after,
.xd-nav__link.is-active::after {
  width: 100%;
}

/* Header Actions */
.xd-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Live Metric / Imperial Switcher */
.xd-unit-toggle, .unit-toggle-wrapper {
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.8);
  padding: 2px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.xd-unit-toggle__btn, .unit-btn {
  padding: 0.5rem 0.75rem;
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
  color: #94A3B8;
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  width: 48px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xd-unit-toggle__btn.is-active, .unit-btn.active {
  background-color: var(--color-accent-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.xd-header__cta {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0.9rem;
  line-height: 1.1;
  text-align: center;
}

/* Hamburger Button */
.xd-burger, .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.xd-burger__bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-inverse);
  border-radius: 1px;
  transition: all var(--transition-base);
}

/* Mobile Off-Canvas Drawer */
.xd-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
}

.xd-mobile-drawer.is-open,
.xd-mobile-drawer[aria-hidden="false"] {
  display: block;
}

.xd-mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(4px);
}

.xd-mobile-drawer__body {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: var(--color-primary-navy);
  color: var(--color-text-inverse);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.xd-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-4);
}

.xd-mobile-drawer__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.xd-mobile-drawer__close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #94A3B8;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xd-mobile-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.xd-mobile-drawer__link {
  color: #E2E8F0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) 0;
  display: block;
}

.xd-mobile-drawer__link--highlight {
  color: var(--color-accent-amber);
  font-weight: var(--font-weight-bold);
}

.xd-mobile-drawer__footer {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-xs);
  color: #94A3B8;
}

/* ==========================================================================
   5. SECTION 2: HERO SECTION (.xd-hero)
   ========================================================================== */
.xd-hero, .hero-section {
  background-color: var(--color-primary-navy);
  color: var(--color-text-inverse);
  padding-top: clamp(2.5rem, 5vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 6.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.xd-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(11, 19, 43, 0) 70%);
  pointer-events: none;
}

.xd-hero__grid, .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.xd-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  z-index: var(--z-base);
}

/* Trust Pill Badge */
.xd-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  color: #E2E8F0;
  font-weight: var(--font-weight-medium);
  width: fit-content;
}

.xd-pill-badge__dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-status-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-status-emerald);
}

.xd-hero__title, .hero-title {
  color: var(--color-text-inverse);
  font-size: var(--font-size-4xl);
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
}

.xd-hero__lead, .hero-lead {
  font-size: var(--font-size-lg);
  color: #94A3B8;
  line-height: var(--line-height-relaxed);
  max-width: 620px;
}

/* Hero Bullet Points */
.xd-hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-2) 0;
}

.xd-hero__bullet-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: #CBD5E1;
  line-height: 1.45;
}

.xd-icon--check {
  color: var(--color-status-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.xd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-start;
  margin-top: var(--space-2);
}

.xd-hero__action-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.xd-hero__reassurance {
  font-size: var(--font-size-2xs);
  color: #94A3B8;
  padding-left: var(--space-1);
}

/* Right Column Hero Visual Card */
.xd-card--hero-visual, .hero-visual-card {
  background: var(--color-navy-surface);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.xd-card__header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xd-card__status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-status-emerald);
  border-radius: 50%;
}

.xd-card__header-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: #E2E8F0;
  flex-grow: 1;
}

.xd-card__figure {
  width: 100%;
  background: #0F172A;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-4);
}

.xd-card__diagram-img {
  width: 100%;
  height: auto;
  display: block;
}

.xd-card__specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.xd-spec-chip {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
}

.xd-spec-chip__label {
  display: block;
  font-size: var(--font-size-2xs);
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.xd-spec-chip__val {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: #60A5FA;
}

.xd-card__footer-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: #CBD5E1;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}

/* ==========================================================================
   6. SECTION 3: PROOF BAR (.xd-proof)
   ========================================================================== */
.xd-proof, .proof-bar {
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: var(--z-sticky-bar);
  margin-top: -36px;
  border-radius: var(--radius-md);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container-max);
}

.xd-proof__grid, .proof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.xd-proof__card, .proof-item {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-right: 1px solid var(--color-border-subtle);
}

.xd-proof__card:last-child {
  border-right: none;
}

.xd-proof__number, .proof-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary-navy);
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.xd-proof__unit, .proof-unit {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: #B45309;
  margin-left: var(--space-0-5);
}

.xd-proof__label, .proof-label {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-1);
}

.xd-proof__desc {
  font-size: var(--font-size-2xs);
  color: #475569;
  line-height: 1.35;
}

/* ==========================================================================
   7. SECTION 4: CORE PRODUCT MATRIX & TABS (.xd-products)
   ========================================================================== */
.xd-products {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-tabs, .tab-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.xd-tabs__trigger, .tab-btn {
  padding: 0.65rem 1.35rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
}

.xd-tabs__trigger:hover {
  color: var(--color-text-main);
  background-color: #E2E8F0;
}

.xd-tabs__trigger.is-active, .tab-btn.active {
  color: #FFFFFF;
  background-color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-sm);
}

/* Panel Display States */
.xd-products__panel {
  display: none;
}

.xd-products__panel.is-active {
  display: block;
}

.xd-product-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.xd-product-card, .product-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
}

.xd-product-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 360px 1fr;
}

.xd-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-hover);
}

.xd-product-card__badge-wrap {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: var(--z-base);
  display: flex;
  gap: var(--space-2);
}

.xd-product-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border-subtle);
}

.xd-product-card--wide .xd-product-card__media {
  aspect-ratio: auto;
  height: 100%;
  border-bottom: none;
  border-right: 1px solid var(--color-border-subtle);
}

.xd-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.xd-product-card:hover .xd-product-card__img {
  transform: scale(1.04);
}

.xd-product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xd-product-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: var(--space-1);
}

.xd-product-card__sku {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.xd-product-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-4);
}

.xd-product-card__specs {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
}

.xd-product-card__specs strong {
  color: var(--color-text-main);
}

.xd-product-card__footer {
  margin-top: auto;
}

/* ==========================================================================
   DYNAMIC SPECIFICATIONS TABLE & UNIT TOGGLE
   ========================================================================== */
.xd-specs-table-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-8);
}

.xd-specs-table-header {
  margin-bottom: var(--space-4);
}

.xd-specs-table-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
}

.xd-specs-table-subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.xd-table-responsive {
  overflow-x: auto;
  width: 100%;
}

.xd-table {
  width: 100%;
  font-size: var(--font-size-xs);
  text-align: left;
}

.xd-table th {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-main);
  font-weight: var(--font-weight-bold);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-border-strong);
  white-space: nowrap;
}

.xd-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-body);
}

.xd-table tr:hover td {
  background-color: var(--color-bg-subtle);
}

.xd-table--compact th, .xd-table--compact td {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-2xs);
}

.xd-table__row--highlight td {
  background-color: var(--color-accent-amber-subtle);
  font-weight: var(--font-weight-semibold);
}

/* Metric / Imperial Visibility Handling */
body[data-unit="imperial"] .data-metric {
  display: none !important;
}

body[data-unit="imperial"] .data-imperial {
  display: inline !important;
}

body:not([data-unit="imperial"]) .data-imperial {
  display: none !important;
}

body:not([data-unit="imperial"]) .data-metric {
  display: inline !important;
}

/* ==========================================================================
   8. SECTION 5: TECHNICAL SPECS & BARRIER SCIENCE (.xd-specs)
   ========================================================================== */
.xd-specs {
  background-color: var(--color-bg-subtle);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: flex-start;
}

.xd-specs__layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.xd-layer-card {
  display: flex;
  gap: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.xd-layer-card:hover {
  transform: translateX(4px);
  border-color: var(--color-accent-blue);
}

.xd-layer-card__num {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent-blue);
  line-height: 1;
  font-family: var(--font-family-mono);
}

.xd-layer-card__content {
  flex-grow: 1;
}

.xd-layer-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: var(--space-1);
}

.xd-layer-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-2);
}

.xd-layer-card__tag {
  display: inline-block;
  font-size: var(--font-size-2xs);
  font-family: var(--font-family-mono);
  background-color: var(--color-bg-subtle);
  color: var(--color-accent-blue);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  font-weight: var(--font-weight-semibold);
}

.xd-card--benchmark {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.xd-card--benchmark .xd-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-card--benchmark .xd-card__subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.xd-benchmark-callout {
  margin-top: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-accent-blue-subtle);
  border: 1px solid var(--color-accent-blue-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
}

/* ==========================================================================
   9. SECTION 6: FACTORY CAPABILITIES (.xd-factory)
   ========================================================================== */
.xd-factory {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-factory__grid, .factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.xd-factory-card, .factory-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.xd-factory-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.xd-factory-card__header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

.xd-factory-card__step {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  display: block;
}

.xd-factory-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
}

.xd-factory-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0F172A;
  overflow: hidden;
}

.xd-factory-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xd-factory-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xd-factory-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-4);
}

.xd-factory-card__specs {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
}

.xd-factory-card__specs strong {
  color: var(--color-text-main);
}

/* ==========================================================================
   10. SECTION 7: QA TESTING LAB & PSI AUDIT (.xd-qa)
   ========================================================================== */
.xd-qa {
  background-color: var(--color-bg-subtle);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-qa__equipment-grid, .qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.xd-qa-card, .qa-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: all var(--transition-fast);
}

.xd-qa-card:hover {
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-md);
}

.xd-qa-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-blue-subtle);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.xd-qa-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-qa-card__standard {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  color: #B45309;
  margin-bottom: var(--space-2);
}

.xd-qa-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

/* Pre-Shipment Inspection (PSI) Deliverables Box */
.xd-psi-banner {
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent-blue);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.xd-psi-banner__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-8) auto;
}

.xd-psi-banner__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  margin: var(--space-2) 0;
}

.xd-psi-banner__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.xd-psi-banner__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
}

.xd-psi-step {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
}

.xd-psi-step--video {
  background: var(--color-status-red-bg);
  border-color: var(--color-status-red-border);
}

.xd-psi-step__num {
  display: inline-block;
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-extrabold);
  padding: 0.15rem 0.5rem;
  background: var(--color-accent-blue);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.xd-psi-step--video .xd-psi-step__num {
  background: var(--color-status-red);
}

.xd-psi-step__title {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: var(--space-1);
}

.xd-psi-step__desc {
  font-size: var(--font-size-2xs);
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   11. SECTION 8: 48-HOUR PRECISION SAMPLE KIT (.xd-sample-kit)
   ========================================================================== */
.xd-sample-kit {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-sample-kit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.xd-card--sample {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.xd-card--sample:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.xd-card--sample .xd-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-card__purpose {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-blue);
  margin-bottom: var(--space-3);
}

.xd-card__list {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* The 2x Freight Credit Guarantee Card */
.xd-guarantee-card {
  background: var(--color-primary-navy);
  color: var(--color-text-inverse);
  border: 2px solid var(--color-accent-amber);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.25);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-8);
  align-items: center;
}

.xd-guarantee-card__icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.xd-guarantee-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-accent-amber);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-amber);
}

.xd-guarantee-badge__mult {
  font-size: 2.2rem;
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
}

.xd-guarantee-badge__sub {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: var(--tracking-wider);
}

.xd-guarantee-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: #FFFFFF;
  margin-bottom: var(--space-2);
}

.xd-guarantee-card__lead {
  font-size: var(--font-size-base);
  color: #FEF3C7;
  margin-bottom: var(--space-2);
}

.xd-guarantee-card__body {
  font-size: var(--font-size-sm);
  color: #CBD5E1;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

.xd-guarantee-card__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.xd-guarantee-card__note {
  font-size: var(--font-size-xs);
  color: #94A3B8;
}

/* ==========================================================================
   12. SECTION 9: REGULATORY CERTIFICATIONS (.xd-certs)
   ========================================================================== */
.xd-certs {
  background-color: var(--color-bg-subtle);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.xd-cert-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.xd-cert-card--featured {
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-md);
}

.xd-cert-card__icon-wrap {
  margin-bottom: var(--space-3);
  color: var(--color-accent-blue);
}

.xd-cert-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-cert-card__license {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-amber);
  margin-bottom: var(--space-2);
}

.xd-cert-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-3);
}

.xd-cert-card__authority {
  margin-top: auto;
  font-size: var(--font-size-2xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

/* Lab Reports Card */
.xd-lab-reports-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.xd-lab-reports-card__header {
  margin-bottom: var(--space-6);
}

.xd-lab-reports-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-lab-reports-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.xd-lab-reports-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.xd-report-item {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  position: relative;
}

.xd-report-item__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  background: var(--color-status-emerald-bg);
  color: var(--color-status-emerald);
  border: 1px solid var(--color-status-emerald-border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.xd-report-item__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.xd-report-item__subject {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.xd-report-item__list {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Regulatory Pills */
.xd-reg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.xd-reg-pill {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  padding: 0.25rem 0.65rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  color: var(--color-text-body);
}

/* ==========================================================================
   13. SECTION 10: COMMERCIAL TERMS & LOGISTICS (.xd-terms)
   ========================================================================== */
.xd-terms {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.xd-terms__tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.xd-tier-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.xd-tier-card--featured {
  border: 2px solid var(--color-accent-amber);
  box-shadow: var(--shadow-md);
}

.xd-tier-card__header {
  margin-bottom: var(--space-3);
}

.xd-tier-card__badge {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.xd-tier-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
}

.xd-tier-card__moq {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary-navy);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.xd-tier-card__moq small {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.xd-tier-card__list {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.xd-terms__details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.xd-card--terms {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.xd-card--terms .xd-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.xd-terms-list {
  list-style: none;
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ==========================================================================
   14. SECTION 11: LEAD CAPTURE & RFQ FORM ENGINE (.xd-rfq)
   ========================================================================== */
.xd-rfq {
  background-color: var(--color-bg-subtle);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Mode Selector Banner */
.xd-rfq-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.xd-rfq-mode__option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.xd-rfq-mode__option:hover {
  border-color: var(--color-border-strong);
}

.xd-rfq-mode__option.is-selected {
  border-color: var(--color-accent-amber);
  background-color: var(--color-accent-amber-subtle);
}

.xd-rfq-mode__indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  position: relative;
  flex-shrink: 0;
}

.xd-rfq-mode__option.is-selected .xd-rfq-mode__indicator {
  border-color: var(--color-accent-amber);
  background-color: var(--color-accent-amber);
}

.xd-rfq-mode__text {
  display: flex;
  flex-direction: column;
}

.xd-rfq-mode__text strong {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
}

.xd-rfq-mode__text small {
  font-size: var(--font-size-2xs);
  color: var(--color-text-muted);
}

/* Form Container & Form Styles */
.xd-form {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.xd-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.xd-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.xd-form__label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.xd-form__req {
  color: var(--color-status-red);
}

.xd-form__opt {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

.xd-form__input,
.xd-form__select,
.xd-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.xd-form__input:focus,
.xd-form__select:focus,
.xd-form__textarea:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.xd-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  padding-right: 2.5rem;
}

.xd-form__textarea {
  min-height: 110px;
  resize: vertical;
}

/* Error States */
.xd-form__input.is-invalid,
.xd-form__select.is-invalid,
.xd-form__textarea.is-invalid {
  border-color: var(--color-status-red);
  background-color: var(--color-status-red-bg);
}

.xd-form__error {
  font-size: var(--font-size-2xs);
  color: var(--color-status-red);
  min-height: 1.2em;
}

/* Checkbox & Radio Groups */
.xd-form__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.xd-form__section-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.xd-checkbox-group, .xd-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.xd-checkbox, .xd-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--font-size-xs);
  color: var(--color-text-body);
  user-select: none;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 0;
}

.xd-checkbox input, .xd-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xd-checkbox__box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-xs);
  background: #FFFFFF;
  display: inline-block;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.xd-checkbox input:checked ~ .xd-checkbox__box {
  background-color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3e%3c/svg%3e");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.xd-radio__circle {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition-fast);
}

.xd-radio input:checked ~ .xd-radio__circle {
  border-color: var(--color-accent-amber);
}

.xd-radio input:checked ~ .xd-radio__circle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-amber);
}

.xd-form__submit-row {
  margin-top: var(--space-2);
}

.xd-form__submit-row .xd-btn {
  width: 100%;
}

.xd-form__sla {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
}

/* ==========================================================================
   15. SECTION 12: MODALS (SUCCESS & FALLBACK) (.xd-modal)
   ========================================================================== */
.xd-modal, .modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.xd-modal.is-open,
.xd-modal[aria-hidden="false"] {
  display: flex;
}

.xd-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.xd-modal__dialog {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.xd-modal__dialog--wide {
  max-width: 680px;
}

.xd-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  z-index: 10;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xd-modal__close:hover {
  color: var(--color-text-main);
}

.xd-modal__header {
  padding: var(--space-6) var(--space-6) var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}

.xd-modal__icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}

.xd-modal__icon-wrap--success {
  background-color: var(--color-status-emerald-bg);
  color: var(--color-status-emerald);
}

.xd-modal__icon-wrap--warning {
  background-color: var(--color-accent-amber-subtle);
  color: var(--color-accent-amber);
}

.xd-modal__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
}

.xd-modal__subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

.xd-modal__ref {
  font-size: var(--font-size-sm);
  color: var(--color-accent-blue);
  font-family: var(--font-family-mono);
}

.xd-modal__body {
  padding: var(--space-6);
  overflow-y: auto;
  font-size: var(--font-size-sm);
  color: var(--color-text-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.xd-modal__card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--font-size-xs);
}

.xd-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.xd-modal__actions-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.xd-modal__code-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.xd-modal__code-label {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.xd-modal__code-box {
  background-color: #0F172A;
  color: #E2E8F0;
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-2xs);
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  resize: vertical;
}

.xd-modal__footer {
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xd-modal__footer-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   16. SECTION 13: PROFESSIONAL B2B LEGAL FOOTER (.xd-footer)
   ========================================================================== */
.xd-footer, .site-footer {
  background-color: var(--color-primary-navy);
  color: #94A3B8;
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.xd-footer__grid, .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.xd-footer__brand-title {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.xd-footer__brand-cn {
  display: block;
  font-size: var(--font-size-2xs);
  color: #64748B;
  margin-bottom: var(--space-2);
}

.xd-footer__desc, .footer-company-desc {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
  max-width: 360px;
}

.xd-footer__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.xd-footer__cred-tag {
  font-size: var(--font-size-2xs);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

.xd-footer__heading, .footer-col-title {
  color: #FFFFFF;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
}

.xd-footer__links, .footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.xd-footer__links a, .footer-link {
  color: #94A3B8;
  font-size: var(--font-size-xs);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.xd-footer__links a:hover, .footer-link:hover {
  color: #FFFFFF;
}

.xd-footer__address {
  font-style: normal;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
  color: #CBD5E1;
  margin-bottom: var(--space-4);
}

.xd-footer__contact-block p {
  font-size: var(--font-size-xs);
  color: #94A3B8;
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-3);
}

.xd-footer__contact-block a {
  color: #60A5FA;
}

.xd-footer__bottom, .footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--font-size-2xs);
  color: #64748B;
}

.xd-footer__disclaimer {
  margin-top: var(--space-1);
  max-width: 800px;
  line-height: 1.4;
}

.xd-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: #94A3B8;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.xd-back-to-top:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   17. RESPONSIVE VECTOR GRAPHICS UTILITIES
   ========================================================================== */
.xd-icon-inline {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  fill: currentColor;
}

.xd-icon-qa, .xd-icon-vp {
  width: 48px;
  height: 48px;
  color: var(--color-primary-navy);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.xd-card:hover .xd-icon-qa,
.xd-card:hover .xd-icon-vp {
  transform: translateY(-2px) scale(1.05);
  color: var(--color-accent-blue);
}

.xd-badge-medallion {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(11, 19, 43, 0.06));
}

.xd-badge-medallion:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15));
}

.xd-diagram-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(11, 19, 43, 0.08);
}

.xd-diagram-container img,
.xd-diagram-container svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .xd-nav {
    display: none;
  }

  .xd-burger, .mobile-menu-toggle {
    display: flex;
  }

  .xd-header__cta {
    display: none;
  }

  .xd-hero__grid, .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .xd-card--hero-visual, .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .xd-proof__grid, .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .xd-proof__card:nth-child(3) {
    border-right: none;
  }

  .xd-proof__card:nth-child(4),
  .xd-proof__card:nth-child(5),
  .xd-proof__card:nth-child(6) {
    border-top: 1px solid var(--color-border-subtle);
  }

  .xd-specs__grid {
    grid-template-columns: 1fr;
  }

  .xd-sample-kit__grid {
    grid-template-columns: 1fr;
  }

  .xd-guarantee-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .xd-guarantee-card__cta-row {
    justify-content: center;
  }

  .xd-terms__tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xd-terms__details-grid {
    grid-template-columns: 1fr;
  }

  .xd-footer__grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .xd-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .xd-hero__actions .xd-btn {
    width: 100%;
  }

  .xd-proof__grid, .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xd-proof__card:nth-child(2) {
    border-right: none;
  }

  .xd-proof__card:nth-child(3) {
    border-top: 1px solid var(--color-border-subtle);
    border-right: 1px solid var(--color-border-subtle);
  }

  .xd-proof__card:nth-child(4) {
    border-top: 1px solid var(--color-border-subtle);
    border-right: none;
  }

  .xd-proof__card:nth-child(5) {
    border-top: 1px solid var(--color-border-subtle);
    border-right: 1px solid var(--color-border-subtle);
  }

  .xd-proof__card:nth-child(6) {
    border-top: 1px solid var(--color-border-subtle);
    border-right: none;
  }

  .xd-product-card--wide {
    grid-template-columns: 1fr;
  }

  .xd-product-card--wide .xd-product-card__media {
    border-right: none;
    border-bottom: 1px solid var(--color-border-subtle);
    aspect-ratio: 4 / 3;
  }

  .xd-terms__tiers-grid {
    grid-template-columns: 1fr;
  }

  .xd-rfq-mode {
    grid-template-columns: 1fr;
  }

  .xd-form__grid {
    grid-template-columns: 1fr;
  }

  .xd-lab-reports-card__grid {
    grid-template-columns: 1fr;
  }

  .xd-footer__grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .xd-footer__bottom, .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   19. ACCESSIBILITY & PRINT OPTIMIZATION
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
}

.xd-btn:focus-visible,
.xd-form__input:focus-visible,
.xd-form__select:focus-visible,
.xd-form__textarea:focus-visible {
  outline: 2px solid var(--color-accent-amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .xd-header,
  .xd-mobile-drawer,
  .xd-burger,
  .xd-hero__actions,
  .xd-unit-toggle,
  .xd-tabs,
  .xd-rfq,
  .xd-modal,
  .xd-back-to-top {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 10pt;
  }

  .xd-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .xd-hero, .xd-specs, .xd-qa, .xd-certs, .xd-terms {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    page-break-inside: avoid;
  }
}
