/**
 * DocuXray / XCELP landing — light theme, accent #16a34a
 */

:root,
:root.theme-light,
.theme-light {
  --seg-badge-bg-custom: #fafafa;
  --stat-value-custom: #059669;
  --dxl-bg: #f4f4f5;
  --dxl-bg-mid: #fafafa;
  --dxl-bg-elevated: #ffffff;
  --dxl-surface: rgba(255, 255, 255, 0.94);
  --dxl-border: rgba(24, 24, 27, 0.12);
  --dxl-text: #18181b;
  --dxl-muted: #52525b;
  --dxl-accent: #16a34a;
  --dxl-accent-dim: rgba(22, 163, 74, 0.14);
  --dxl-glow: rgba(22, 163, 74, 0.12);
  --dxl-header-bg: rgba(255, 255, 255, 0.92);
  --dxl-header-border: rgba(24, 24, 27, 0.08);
}

html,
html.theme-light,
html.theme-light body {
  background-color: var(--dxl-bg);
  color: var(--dxl-text);
}

/* Atmospheric background + subtle data lines */
.dxl-page-bg {
  background-color: var(--dxl-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--dxl-glow), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(22, 163, 74, 0.06), transparent 45%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(22, 163, 74, 0.04) 100px,
      rgba(22, 163, 74, 0.04) 101px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(24, 24, 27, 0.04) 80px,
      rgba(24, 24, 27, 0.04) 81px
    );
  background-attachment: fixed;
}

body.docuxray-landing {
  /* Semantic type scale */
  --dxl-h1-size: clamp(1.5rem, 0.5rem + 2.8vw, 3.75rem);
  --dxl-h2-size: clamp(2.5rem, 1.4rem + 3vw, 4.75rem);
  --dxl-h3-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.375rem);
  --dxl-eyebrow-size: clamp(0.75rem, 0.65rem + 0.25vw, 1rem);
  --dxl-body-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.3125rem);
  --dxl-text-sm: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);

  /* Aliases (backward compatibility) */
  --dxl-title-size: var(--dxl-h2-size);
  --dxl-text-base: var(--dxl-body-size);
  --dxl-text-xl: var(--dxl-h3-size);
  --dxl-text-lg: clamp(1.1875rem, 1.05rem + 0.65vw, 1.5rem);

  --dxl-card-pad: clamp(1.25rem, 1rem + 0.7vw, 2.25rem);
  --dxl-grid-gap: clamp(1rem, 0.6rem + 1vw, 2rem);
  --dxl-seg-grid-gap: clamp(1rem, 0.4rem + 1.2vw, 2.25rem);
  --dxl-fw-grid-gap: clamp(1.5rem, 0.6rem + 1.5vw, 2.75rem);
  --dxl-section-px: clamp(0.625rem, 0.25rem + 1vw, 1.25rem);

  padding-top: 0;
  background-color: transparent;
  color: var(--dxl-text);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  font-size: 100%;
  transition: color 0.25s ease;
}

/* Desktop floor: prevent OS-scaled viewports from shrinking below 1280×720 sizes */
@media (min-width: 1024px) {
  body.docuxray-landing {
    --dxl-h1-size: clamp(2.75rem, 0.5rem + 2.8vw, 3.75rem);
    --dxl-h2-size: clamp(3.8rem, 1.4rem + 3vw, 5rem);
  }

  .dxl-stats-section .dxl-stat-value {
    font-size: clamp(4.5rem, 2.2rem + 4.5vw, 5rem);
  }
}

/* Large desktop: taller screens (e.g. 1680×1050) get bumped typography */
@media (min-width: 1280px) and (min-height: 800px) {
  body.docuxray-landing {
    --dxl-h1-size: clamp(2.75rem, 0.5rem + 2.8vw, 3.75rem);
    --dxl-h2-size: clamp(3.25rem, 1.75rem + 3.4vw, 5.75rem);
    --dxl-h3-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.625rem);
    --dxl-body-size: clamp(1.25rem, 1.08rem + 0.65vw, 1.5625rem);
    --dxl-eyebrow-size: clamp(0.9375rem, 0.8rem + 0.35vw, 1.1875rem);
    --dxl-text-sm: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
    --dxl-section-px: clamp(0.375rem, 0.1rem + 0.3vw, 0.75rem);
    --dxl-seg-grid-gap: clamp(1rem, 0.5rem + 0.9vw, 1.75rem);
    --dxl-card-pad: clamp(1.5rem, 1.15rem + 0.85vw, 2.625rem);
  }

  body.docuxray-landing .dxl-segments-section-inner,
  body.docuxray-landing .dxl-ocr-section-inner,
  body.docuxray-landing .dxl-use-section-inner,
  body.docuxray-landing .dxl-framework-section > div:first-child,
  body.docuxray-landing .dxl-trusted-section [class*='100rem'] {
    max-width: none !important;
    width: 100%;
    padding-inline: clamp(1rem, 2vw, 2.5rem);
  }

  body.docuxray-landing .dxl-seg-header {
    max-width: none !important;
  }

  .dxl-seg-card-head {
    --seg-badge-size: clamp(4rem, 3.25rem + 1.2vw, 5.5rem);
  }

  .dxl-seg-icon-img {
    width: clamp(1.875rem, 1.5rem + 0.65vw, 2.375rem);
    height: clamp(1.875rem, 1.5rem + 0.65vw, 2.375rem);
  }
}

/* 1680×1050 @150% OS scaling: 1120×700 CSS px — height 700 misses the 800px tier */
@media (min-width: 1024px) and (min-height: 700px) and (max-height: 719px) {
  body.docuxray-landing {
    --dxl-h1-size: clamp(2.75rem, 0.5rem + 2.8vw, 3.75rem);
    --dxl-h2-size: clamp(3.25rem, 1.75rem + 3.4vw, 5.75rem);
    --dxl-h3-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.625rem);
    --dxl-body-size: clamp(1.25rem, 1.08rem + 0.65vw, 1.5625rem);
    --dxl-eyebrow-size: clamp(0.9375rem, 0.8rem + 0.35vw, 1.1875rem);
    --dxl-text-sm: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
    --dxl-section-px: clamp(0.375rem, 0.1rem + 0.3vw, 0.75rem);
    --dxl-seg-grid-gap: clamp(1rem, 0.5rem + 0.9vw, 1.75rem);
    --dxl-card-pad: clamp(1.5rem, 1.15rem + 0.85vw, 2.625rem);
  }

  body.docuxray-landing .dxl-segments-section-inner,
  body.docuxray-landing .dxl-ocr-section-inner,
  body.docuxray-landing .dxl-use-section-inner,
  body.docuxray-landing .dxl-framework-section > div:first-child,
  body.docuxray-landing .dxl-trusted-section [class*='100rem'] {
    max-width: none !important;
    width: 100%;
    padding-inline: clamp(1rem, 2vw, 2.5rem);
  }

  body.docuxray-landing .dxl-seg-header {
    max-width: none !important;
  }

  .dxl-seg-card-head {
    --seg-badge-size: clamp(4rem, 3.25rem + 1.2vw, 5.5rem);
  }
}

@media (max-width: 639px) {
  body.docuxray-landing {
    --dxl-h1-size: clamp(1rem, 4.8vw, 1.75rem);
  }
}

.dxl-segments-section,
.dxl-framework-section,
.dxl-ocr-section,
.dxl-use-section {
  padding-left: var(--dxl-section-px);
  padding-right: var(--dxl-section-px);
}

body.docuxray-landing #wrap {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

body.docuxray-landing #wrap :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a,
  button,
  input,
  textarea,
  select,
  label,
  li
) {
  font-family: 'Inter', sans-serif;
}

body.docuxray-landing #dxl-hero-heading {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500 !important;
}

/* Unified body typography — one size across all sections */
body.docuxray-landing :is(
  .dxl-seg-desc,
  .dxl-seg-bullet,
  .dxl-seg-btn,
  .dxl-fw-desc,
  .dxl-fw-intro,
  .dxl-ocr-subtitle,
  .dxl-ocr-card-body,
  .dxl-use-subtitle,
  .dxl-use-bullet,
  .dxl-use-tab
) {
  font-size: var(--dxl-body-size);
  line-height: 1.55;
}

.dxl-hero-eyebrow {
  font-size: var(--dxl-eyebrow-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.32em;
}

.dxl-accent-text {
  color: var(--dxl-accent);
}

.dxl-btn-primary {
  background-color: var(--dxl-accent);
  color: #000000;
  box-shadow: 0 8px 32px rgba(74, 222, 128, 0.25);
  font-size: var(--dxl-body-size);
}

.dxl-btn-primary:hover {
  filter: brightness(1.08);
}

/* Landing header logo: centered via grid middle column (.dxl-header inner wrapper uses grid-cols-[1fr_auto_1fr]) */
.dxl-header .dxl-nav-logo {
  position: relative;
  z-index: 30;
  color: var(--dxl-text);
}

/* Full-viewport hero: video + emerald read overlay */
.dxl-hero-full {
  scroll-margin-top: 0;
}

.dxl-hero-full video {
  min-height: 100%;
  min-width: 100%;
}

.dxl-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.dxl-hero-logo {
  display: block;
  flex-shrink: 0;
  width: min(100%, 18rem);
  height: auto;
  margin: 0 0 1.5rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .dxl-hero-logo {
    width: min(100%, 22rem);
    margin-bottom: 2rem;
  }
}

/* Hero typewriter headline — matches section-hero.php animation */
#dxl-hero-heading.dxl-hero-headline {
  color: #fff;
  margin: 0 0 2.5rem;
  letter-spacing: 0.01em;
  font-size: var(--dxl-h1-size);
  font-weight: 500;
  line-height: 1.4;
  font-family: GCGatuzoDemo, sans-serif !important;
  min-height: 1.4em;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}

#dxl-hero-heading .hero-accent {
  color: #00e57a;
  font-family: GCGatuzoDemo, sans-serif !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

#dxl-hero-heading .typing-cursor::after {
  content: '|';
  display: inline;
  color: #00e57a;
  animation: dxl-hero-blink 0.65s step-end infinite;
  margin-left: 1px;
}

#dxl-hero-heading .typing-cursor.typing-cursor--pause::after {
  animation: dxl-hero-blink 0.65s step-end 3 forwards;
}

@keyframes dxl-hero-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (max-width: 639px) {
  #dxl-hero-heading.dxl-hero-headline {
    white-space: normal;
    width: auto;
  }
}

.dxl-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dxl-hero-subheading {
  text-wrap: balance;
}

.dxl-hero-overlay {
  background:
    radial-gradient(ellipse 75% 55% at 50% 40%, rgba(22, 163, 74, 0.14), transparent 58%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent 38%, rgba(0, 0, 0, 0.55));
}

/* Cards */
.dxl-card {
  background: var(--dxl-surface);
  border: 1px solid var(--dxl-border);
  border-radius: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.dxl-card:hover {
  border-color: rgba(22, 163, 74, 0.28);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(22, 163, 74, 0.1);
}

.dxl-card-image {
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--dxl-border);
  background-color: #e4e4e7;
}

/* DocuXray Segments — three deployment tiers with themed cards */
.dxl-segments-section {
  --seg-bg: #ffffff;
  --seg-head: #0f172a;
  --seg-eyebrow: #7fb59c;
  --seg-accent: #0d9668;
  --seg-muted: #475569;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--seg-bg);
  color: var(--seg-head);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

/* Opaque fill blocks page grid from bleeding through screen-blended overlay */
.dxl-segments-section-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--seg-bg);
}

.dxl-segments-section-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  max-width: 480px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: multiply;
  background: no-repeat center center / 120% auto url("../images/static/bg-segments-wave.svg");
}

.dxl-segments-section-bg--left {
  left: -6%;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
}

.dxl-segments-section-bg--right {
  right: -6%;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
}

.dxl-segments-section-inner {
  position: relative;
  z-index: 2;
}

.dxl-seg-eyebrow {
  font-size: var(--dxl-eyebrow-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.32em;
  color: var(--seg-eyebrow);
}

.dxl-seg-title {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dxl-seg-title-plain,
.dxl-seg-title-accent {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
}

.dxl-seg-title-plain {
  color: var(--seg-head);
}

.dxl-seg-title-accent {
  color: var(--seg-accent);
}

.dxl-seg-title--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 768px) {
  .dxl-seg-title--stacked {
    gap: 0.5rem;
  }
}

.dxl-seg-grid {
  align-items: stretch;
  gap: var(--dxl-seg-grid-gap);
}

.dxl-seg-card {
  --seg-card-bg: #ffffff;
  --seg-btn-bg: #059669;
  --seg-btn-border: #059669;
  --seg-btn-fg: #ffffff;
  --seg-btn-hover-bg: #047857;
  --seg-btn-hover-fg: #ffffff;
  min-height: clamp(22rem, 18rem + 8vw, 28rem);
  padding: var(--dxl-card-pad);
  background: var(--seg-card-bg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.625rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dxl-seg-card:hover {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.dxl-seg-card--saas {
  --seg-badge-bg: rgba(10, 37, 64, 0.12);
  --seg-badge-fg: #042c53;
}

.dxl-seg-card--enterprise {
  --seg-badge-bg: rgba(61, 43, 31, 0.12);
  --seg-badge-fg: #412502;
}

.dxl-seg-card--government {
  --seg-badge-bg: rgba(27, 44, 35, 0.12);
  --seg-badge-fg: #29453b;
}

.dxl-seg-card-head {
  --seg-badge-size: clamp(3.5rem, 3rem + 1vw, 4.75rem);
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.375rem;
}

@media (min-width: 768px) {
  .dxl-seg-card-head {
    margin-bottom: 1.5rem;
  }
}

.dxl-seg-icon {
  flex: 0 0 var(--seg-badge-size);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--seg-badge-size);
  min-height: var(--seg-badge-size);
  color: var(--seg-badge-fg);
  background-color: var(--seg-badge-bg-custom);
  border-radius: 0.3125rem;
}

.dxl-seg-icon-img {
  display: block;
  width: clamp(1.625rem, 1.4rem + 0.5vw, 2rem);
  height: clamp(1.625rem, 1.4rem + 0.5vw, 2rem);
  object-fit: contain;
}

.dxl-seg-label {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: var(--seg-badge-size);
  padding: 0 clamp(0.875rem, 0.75rem + 0.5vw, 1.375rem);
  font-size: var(--dxl-h3-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--seg-badge-bg-custom);
  color: var(--seg-badge-fg);
  border-radius: 0.3125rem;
}

@media (max-width: 639px) {
  .dxl-seg-label {
    white-space: normal;
    text-wrap: balance;
  }
}

.dxl-seg-desc {
  color: var(--seg-muted);
  font-size: var(--dxl-body-size);
  line-height: 1.55;
  font-weight: 400;
}

.dxl-seg-bullets {
  margin-top: 1rem;
}

.dxl-seg-bullet {
  position: relative;
  padding-left: 1rem;
  color: var(--seg-muted);
  font-size: var(--dxl-body-size);
  line-height: 1.55;
}

.dxl-seg-bullet + .dxl-seg-bullet {
  margin-top: 0.375rem;
}

.dxl-seg-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: rgba(100, 116, 139, 0.75);
}

.dxl-seg-card-foot {
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .dxl-seg-card-foot {
    padding-top: 2.25rem;
  }
}

.dxl-seg-btn {
  width: 100%;
  max-width: 100%;
  min-height: clamp(2.625rem, 2.4rem + 0.5vw, 3rem);
  padding: clamp(0.875rem, 0.75rem + 0.35vw, 1.125rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  font-size: var(--dxl-body-size);
  font-weight: 500;
  line-height: 1.25;
  border-width: 1px;
  border-style: solid;
  border-color: var(--seg-btn-border);
  background: var(--seg-btn-bg);
  color: var(--seg-btn-fg);
}

@media (min-width: 640px) {
  .dxl-seg-btn {
    width: auto;
    max-width: calc(100% - 1rem);
  }
}

.dxl-seg-btn:hover {
  background: var(--seg-btn-hover-bg);
  border-color: var(--seg-btn-hover-bg);
  color: var(--seg-btn-hover-fg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

/* Framework section — reference 2×2 */
.dxl-framework-section {
  --fw-bg: #f4f6f8;
  --fw-surface: #ffffff;
  --fw-border: rgba(15, 23, 42, 0.1);
  --fw-head: #0f172a;
  --fw-muted: #475569;
  --fw-eyebrow: #64748b;
  --fw-accent: #0d9668;
  --fw-chip-bg: #638b75;
  --fw-chip-text: #ffffff;
  --fw-chip-border: #638b75;
  --fw-num-bg: transparent;
  --fw-num-fg: #0f172a;
  --fw-num-ring: rgba(15, 23, 42, 0.22);
  --fw-guide: rgba(71, 85, 105, 0.35);
  --fw-shade-rest: radial-gradient(
    ellipse 140% 110% at 0% 0%,
    rgba(13, 150, 104, 0.06) 0%,
    rgba(13, 150, 104, 0.02) 25%,
    transparent 50%
  );
  --fw-shade-hover: radial-gradient(
    ellipse 140% 110% at 0% 0%,
    rgba(13, 150, 104, 0.14) 0%,
    rgba(13, 150, 104, 0.05) 35%,
    transparent 75%
  );

  background-color: var(--fw-bg);
  color: var(--fw-head);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

.dxl-framework-section .dxl-fw-eyebrow,
.dxl-use-section .dxl-use-eyebrow {
  font-size: var(--dxl-eyebrow-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.32em;
}

.dxl-framework-section .dxl-fw-eyebrow {
  color: #0d8a5a;
}

.dxl-use-section .dxl-use-eyebrow {
  color: var(--use-eyebrow);
}

.dxl-use-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size);
  font-weight: 500;
  line-height: 1.1;
  color: var(--use-head);
}

@media (min-width: 768px) {
  .dxl-use-title {
    margin-bottom: 1.25rem;
  }
}

.dxl-use-title-plain {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
  color: var(--use-head);
}

.dxl-use-section .dxl-use-title-accent,
.dxl-use-section .dxl-accent-text {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
  color: var(--use-accent);
}

.dxl-use-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  max-width: 56rem;
  font-size: var(--dxl-body-size);
  line-height: 1.625;
  color: var(--use-muted);
}

.dxl-fw-title {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.dxl-fw-title-plain,
.dxl-fw-title-accent {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
}

.dxl-fw-title-plain {
  color: var(--fw-head);
}

.dxl-framework-section .dxl-fw-title-accent {
  color: #7fb59c;
}

/* Keep “Multiple Capabilities.” + “One Intelligence Layer.” on one line when width allows */
.dxl-fw-title--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.35em;
  row-gap: 0.2em;
}

.dxl-fw-intro {
  font-size: var(--dxl-body-size);
  line-height: 1.55;
  font-weight: 400;
  color: var(--fw-muted);
  max-width: 48rem;
}

.dxl-fw-engine {
  font-size: var(--dxl-eyebrow-size);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: clamp(0.12em, 0.08em + 0.15vw, 0.2em);
  text-transform: uppercase;
  color: var(--fw-accent);
}

.dxl-fw-card-title {
  font-size: var(--dxl-h3-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fw-head);
}

.dxl-fw-desc {
  font-size: var(--dxl-body-size);
  line-height: 1.55;
  font-weight: 400;
  color: var(--fw-muted);
}

/* Full-height vertical guides (reference): left, gutter center, right — md+ only */
/* Must stack above the card grid (.tw-z-[1]); otherwise opaque cards hide the lines */
.dxl-fw-guide {
  display: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--fw-guide);
  z-index: 3;
}

@media (min-width: 768px) {
  .dxl-fw-guide {
    display: block;
  }
}

.dxl-fw-guide--left {
  left: 0;
}

.dxl-fw-guide--right {
  right: 0;
}

.dxl-fw-guide--center {
  left: 50%;
  transform: translateX(-50%);
}

.dxl-fw-grid {
  gap: var(--dxl-fw-grid-gap);
}

.dxl-framework-section .dxl-framework-card {
  padding: var(--dxl-card-pad);
  border-radius: 0rem;
  background-color: var(--fw-surface);
  border: 1px solid var(--fw-border);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.2s ease;
}

.dxl-framework-section .dxl-framework-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: top left;
  background: var(--fw-shade-rest);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

.dxl-framework-section .dxl-framework-card:hover::before {
  opacity: 1;
  transform: scale(1);
  background: var(--fw-shade-hover);
}

.dxl-framework-section .dxl-framework-card:hover {
  border-color: rgba(13, 150, 104, 0.2);
  box-shadow: none;
}

.dxl-framework-section .dxl-framework-card-num {
  top: 2.25rem;
  left: 2rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  font-size: var(--dxl-text-sm);
  background: var(--fw-num-bg);
  color: var(--fw-num-fg);
  border: 1px solid var(--fw-num-ring);
}

@media (min-width: 768px) {
  .dxl-framework-section .dxl-framework-card-num {
    top: 2.75rem;
    left: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .dxl-framework-section .dxl-framework-card-num {
    top: 3rem;
    left: 2.75rem;
  }
}

.dxl-framework-section .dxl-framework-card .dxl-card-image {
  border-radius: 0.75rem;
  border-color: rgba(15, 23, 42, 0.08);
}

/* Thumbnail ~50–60% card width (reference), centered */
.dxl-fw-card-image-shell {
  margin-left: auto;
  margin-right: auto;
  width: min(72%, clamp(14rem, 12rem + 8vw, 22rem));
  max-width: 100%;
}

.dxl-framework-card-image {
  aspect-ratio: 16 / 10;
  max-height: clamp(9rem, 7rem + 4vw, 13rem);
}

/* Pills: centered wrap, one or two rows */
.dxl-fw-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  align-content: center;
  column-gap: 0.625rem;
  row-gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .dxl-fw-tags {
    column-gap: 0.75rem;
    row-gap: 0.5rem;
  }
}

.dxl-framework-section .dxl-framework-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.4375rem, 0.35rem + 0.25vw, 0.625rem) clamp(0.875rem, 0.75rem + 0.5vw, 1.25rem);
  font-size: var(--dxl-text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  border-radius: 0.375rem;
  text-transform: none;
  color: var(--fw-chip-text);
  background: var(--fw-chip-bg);
  border: 1px solid var(--fw-chip-border);
  width: max-content;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.dxl-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  background: var(--dxl-accent-dim);
  color: var(--dxl-accent);
  border: 1px solid rgba(74, 222, 128, 0.28);
  text-transform: uppercase;
}

.dxl-o-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--dxl-accent-dim);
  color: var(--dxl-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* “What DocuXray does” — OCR → decision feature grid */
.dxl-ocr-section {
  --ocr-bg: #ffffff;
  --ocr-surface: #ffffff;
  --ocr-border: rgba(15, 23, 42, 0.08);
  --ocr-guide: transparent;
  --ocr-muted: #475569;
  --ocr-accent: #29453b;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ocr-bg);
  color: #0f172a;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

.dxl-ocr-section-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--ocr-bg);
}

.dxl-ocr-section-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.dxl-ocr-section-bg--wave {
  right: -6%;
  width: 34%;
  max-width: 480px;
  opacity: 0.38;
  mix-blend-mode: multiply;
  background: no-repeat center center / 120% auto url("../images/static/bg-segments-wave.svg");
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.75) 0%, transparent 88%);
}

.dxl-ocr-section-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(52vw, 12rem);
  height: min(52vw, 12rem);
  top: -2.5rem;
  left: -1.5rem;
  border-radius: 1rem;
  background-color: #E1F0EB;
}

@media (min-width: 768px) {
  .dxl-ocr-section-accent {
    top: -2.5rem;
    left: -2rem;
    width: min(44vw, 15rem);
    height: min(44vw, 15rem);
  }
}

@media (min-width: 1024px) {
  .dxl-ocr-section-accent {
    top: -3rem;
    left: -2.5rem;
  }
}

.dxl-ocr-grid-shell {
  position: relative;
  z-index: 1;
}

.dxl-ocr-grid {
  position: relative;
  z-index: 1;
  gap: var(--dxl-grid-gap);
}

.dxl-ocr-section-inner {
  position: relative;
  z-index: 3;
}

.dxl-ocr-section::before {
  content: none;
}

.dxl-ocr-eyebrow {
  color: var(--ocr-accent);
  line-height: 1.35;
}

.dxl-ocr-title {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dxl-ocr-title-plain,
.dxl-ocr-title-accent {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
}

.dxl-ocr-title-plain {
  color: #1a1a1a;
}

.dxl-ocr-section .dxl-ocr-title-accent {
  color: #7fb59c;
}

.dxl-ocr-subtitle {
  color: var(--ocr-muted);
  font-size: var(--dxl-body-size);
  font-weight: 400;
}

/* Full-height vertical rules in column gutters (painted in grid gap; lg 3-col + gap-8) */
@media (min-width: 1024px) {
  .dxl-ocr-section .dxl-ocr-grid {
    --ocr-col-gap: var(--dxl-seg-grid-gap);
    background-image:
      linear-gradient(var(--ocr-guide), var(--ocr-guide)),
      linear-gradient(var(--ocr-guide), var(--ocr-guide));
    background-size: 1px 100%;
    background-repeat: no-repeat;
    background-position:
      calc((100% - 2 * var(--ocr-col-gap)) / 3 + var(--ocr-col-gap) / 2 - 0.5px) 0,
      calc(2 * (100% - 2 * var(--ocr-col-gap)) / 3 + 1.5 * var(--ocr-col-gap) - 0.5px) 0;
  }
}

.dxl-ocr-section .dxl-ocr-icon {
  border-radius: 0.35rem;
  background-color: rgba(118, 192, 157, 0.22);
  border: 1px solid rgba(118, 192, 157, 0.45);
  color: #29453b;
  box-shadow: none;
}

.dxl-ocr-card-title {
  color: #29453b;
  font-size: var(--dxl-h3-size);
}

.dxl-ocr-card-body {
  color: #475569;
  font-size: var(--dxl-body-size);
  line-height: 1.55;
}

.dxl-ocr-card {
  background-color: var(--ocr-surface);
  border: 1px solid var(--ocr-border);
  border-radius: 0.875rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: var(--dxl-card-pad);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dxl-ocr-card:hover {
  border-color: rgba(22, 163, 74, 0.28);
  background-color: rgba(22, 163, 74, 0.04);
}

.dxl-ocr-section::before {
  content: none;
}

@media (min-width: 1024px) {
  .dxl-ocr-section .dxl-ocr-grid {
    background-image: none;
  }
}

/* Use cases — tabbed module (light theme) */
.dxl-use-section {
  --use-head: #0f172a;
  --use-muted: #475569;
  --use-accent: #0d9668;
  --use-eyebrow: #0d9668;
  --use-bullet: #475569;
  --use-media-border: rgba(15, 23, 42, 0.12);
  --use-media-bg: #ffffff;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #f8faf9;
  background-image: radial-gradient(
    ellipse 90% 70% at 50% 100%,
    rgba(118, 192, 157, 0.1) 0%,
    transparent 68%
  );
  color: var(--use-head);
}

.dxl-use-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background: no-repeat center 85% / 130% auto url("../images/static/bg-usercases-overlayout.png");
}

.dxl-use-section-inner {
  position: relative;
  z-index: 1;
}

.dxl-use-head {
  text-align: center;
}
.dxl-use-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .dxl-use-tablist {
    gap: 0.75rem;
  }
}

.dxl-use-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: var(--dxl-body-size);
  font-weight: 500;
  line-height: 140%;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  border: 1px solid rgba(107, 114, 128, 0.75);
  background-color: transparent;
  color: rgba(107, 114, 128, 1);
  box-shadow: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .dxl-use-tab {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.dxl-use-tab:hover:not(.dxl-tab-active) {
  border-color: rgba(107, 114, 128, 0.9);
  color: rgba(107, 114, 128, 1);
}

.dxl-use-tab.dxl-tab-active {
  border-color: rgba(106, 169, 141, 0.75);
  background-color: rgba(118, 192, 157, 0.14);
  color: #0d9668;
  font-weight: 500;
}

.dxl-use-tab.dxl-tab-active:hover {
  border-color: rgba(106, 169, 141, 0.9);
  background-color: rgba(118, 192, 157, 0.18);
  color: #0d9668;
}

.dxl-use-case-panel {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .dxl-use-case-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 3.5rem;
  }
}

.dxl-use-media {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--use-media-border);
  background-color: var(--use-media-bg);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.dxl-use-media-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 640px) {
  .dxl-use-media-img {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1024px) {
  .dxl-use-media {
    display: flex;
    min-height: 0;
  }

  .dxl-use-media-img {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .dxl-use-copy {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
  }

  .dxl-use-bullet-list {
    flex: 1;
    justify-content: space-between;
    gap: 1rem;
  }
}

.dxl-use-copy {
  position: relative;
}

.dxl-use-bullet-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dxl-use-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: var(--dxl-body-size);
  font-weight: 500;
  line-height: 1.6;
  color: var(--use-bullet);
}

.dxl-use-bullet-text {
  min-width: 0;
  flex: 1;
}

.dxl-use-diamond {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: calc((1lh - 24px) / 2);
  align-items: center;
  justify-content: center;
}

.dxl-use-diamond img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Check bullets (other sections) */
.dxl-check-icon {
  background: rgba(74, 222, 128, 0.15);
  color: var(--dxl-accent);
}

.dxl-check-icon svg {
  stroke: currentColor;
}

/* Stats — muted sage metrics on charcoal tiles (marketing reference) */
.dxl-stats-section {
  position: relative;
  z-index: 2;
  --stat-bg: #f4f4f5;
  --stat-bg-hover: #ffffff;
  --stat-border: transparent;
  --stat-border-hover: rgba(13, 150, 104, 0.18);
  --stat-value: #4f7264;
  --stat-value-stroke: #16a34a;
  --stat-value-fill: #4f7264;
  --stat-caption: #71717a;
  --stat-caption-hover: #64748b;
  --stat-detail: #475569;
}

.theme-light .dxl-stats-section {
  --stat-bg: #f4f4f5;
  --stat-bg-hover: #ffffff;
  --stat-border: transparent;
  --stat-border-hover: rgba(13, 150, 104, 0.18);
  --stat-value: #4f7264;
  --stat-value-stroke: #16a34a;
  --stat-value-fill: #4f7264;
  --stat-caption: #71717a;
  --stat-caption-hover: #64748b;
  --stat-detail: #475569;
}

.dxl-stats-section .dxl-stat-value {
  font-size: clamp(3.5rem, 2.2rem + 4.5vw, 4.5rem);
  color: var(--stat-value-custom);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0 transparent;
  transition:
    color 0.3s ease,
    -webkit-text-stroke 0.3s ease,
    -webkit-text-fill-color 0.3s ease;
}

.dxl-stats-section .dxl-stat-body {
  width: 100%;
  max-width: 100%;
  padding: 0 0.25rem;
}

.dxl-stats-section .dxl-stat-main {
  width: 100%;
}

.dxl-stats-section .dxl-stat-caption {
  width: 100%;
  max-width: 100%;
  font-size: var(--dxl-text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--stat-caption);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.dxl-stats-section .dxl-stat-detail {
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: clamp(0.8125rem, 0.72rem + 0.32vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--stat-detail);
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
}

.dxl-stats-section .dxl-stat-detail-line {
  display: block;
}

.dxl-stats-section .dxl-stat-detail-line + .dxl-stat-detail-line {
  margin-top: 0.35rem;
}

.dxl-stat-card {
  position: relative;
  z-index: 1;
  background-color: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  pointer-events: auto;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.dxl-stats-section.is-visible .dxl-stat-card {
  animation: dxl-stat-enter 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dxl-stats-section.is-visible .dxl-stat-card:nth-child(1) {
  animation-delay: calc(var(--fade-stagger, 0.18s) * 4);
}

.dxl-stats-section.is-visible .dxl-stat-card:nth-child(2) {
  animation-delay: calc(var(--fade-stagger, 0.18s) * 5);
}

.dxl-stats-section.is-visible .dxl-stat-card:nth-child(3) {
  animation-delay: calc(var(--fade-stagger, 0.18s) * 6);
}

.dxl-stats-section.is-visible .dxl-stat-card:nth-child(4) {
  animation-delay: calc(var(--fade-stagger, 0.18s) * 7);
}

@keyframes dxl-stat-enter {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dxl-stat-card.is-hovered,
.dxl-stat-card:hover {
  background-color: var(--stat-bg-hover);
  border-color: var(--stat-border-hover);
}

.dxl-stat-card.is-hovered .dxl-stat-value,
.dxl-stat-card:hover .dxl-stat-value {
  color: var(--stat-value-fill);
  -webkit-text-fill-color: var(--stat-value-fill);
  -webkit-text-stroke: 1.5px var(--stat-value-stroke);
  paint-order: stroke fill;
}

.dxl-stat-card.is-hovered .dxl-stat-caption,
.dxl-stat-card:hover .dxl-stat-caption {
  color: var(--stat-caption-hover);
}

.dxl-stats-section .dxl-stat-card.is-hovered .dxl-stat-detail,
.dxl-stats-section .dxl-stat-card:hover .dxl-stat-detail {
  max-height: 3.75rem;
  margin-top: 0.875rem;
  opacity: 1 !important;
}

/* Trusted — headline + full-bleed charcoal band (reference strip) */
.dxl-trusted-eyebrow {
  color: rgba(22, 101, 52, 0.78);
}

.dxl-trusted-bleed,
.dxl-stats-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Flush metrics row on large screens (edge-to-edge band) */
@media (min-width: 1024px) {
  .dxl-stats-bleed .dxl-stat-card {
    border-radius: 0;
  }
}

.dxl-trusted-band {
  background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(235, 235, 238, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dxl-trusted-band.dxl-trusted-band--full {
  background-color: #12141d;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Reference: logos ~60–70% of band height — large, readable strip */
.dxl-trusted-strip-shell {
  box-sizing: border-box;
}

.dxl-trusted-strip-img {
  display: block;
  width: 100%;
  max-width: 96rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  /* Scale up vs previous 5rem cap — prominent row on all breakpoints */
  max-height: clamp(5.25rem, min(28vw, 18vh), 11rem);
}

@media (min-width: 768px) {
  .dxl-trusted-strip-img {
    max-height: clamp(6rem, min(22vw, 14vh), 11.5rem);
  }
}

@media (min-width: 1280px) {
  .dxl-trusted-strip-img {
    max-height: min(12rem, 32vw);
  }
}

/* Large individual partner marks (reference: prominent row) */
.dxl-logo-strip--large .dxl-trusted-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  max-height: clamp(5rem, min(18vw, 22vh), 11rem);
}

@media (min-width: 640px) {
  .dxl-logo-strip--large .dxl-trusted-logo {
    max-height: clamp(5.75rem, min(15vw, 18vh), 12.5rem);
  }
}

@media (min-width: 1024px) {
  .dxl-logo-strip--large .dxl-trusted-logo {
    max-height: min(13.5rem, 22vw);
  }
}

@media (min-width: 1280px) {
  .dxl-logo-strip--large .dxl-trusted-logo {
    max-height: min(14.5rem, 20vw);
  }
}

.dxl-trusted-band .dxl-trusted-logo {
  filter: grayscale(1) brightness(0.42) contrast(1);
  opacity: 0.9;
}

/* Supplied partner PNGs are already on black — show without extra wash */
.dxl-trusted-band .dxl-logo-strip--large .dxl-trusted-logo {
  filter: none;
  opacity: 1;
}

/* CTA wave band */
.dxl-cta-wave {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #ffffff;
}

.dxl-cta-wave-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background: no-repeat center 42% / 110% auto var(--dxl-cta-wave-bg);
  mix-blend-mode: multiply;
}

.dxl-cta-wave > div:not(.dxl-cta-wave-overlay) {
  position: relative;
  z-index: 1;
}

.dxl-cta-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 2.5rem;
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
  color: #1a1a1a;
}

@media (min-width: 768px) {
  .dxl-cta-heading {
    gap: 0.5rem;
    margin-bottom: 3rem;
  }
}

.dxl-cta-heading-line,
.dxl-cta-heading-suffix {
  display: block;
  max-width: 64rem;
}

.dxl-cta-heading-line {
  white-space: nowrap;
}

.dxl-cta-heading-plain,
.dxl-cta-heading-accent {
  display: inline;
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
}

.dxl-cta-heading-suffix,
.dxl-cta-heading-line {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500;
}

.dxl-cta-heading-accent {
  color: #059669;
}

.dxl-cta-heading-suffix {
  color: #1a1a1a;
}

html.theme-light .dxl-cta-heading-suffix {
  color: #1a1a1a;
}

/* Footer — forest green, lighter left → darker right */
.dxl-footer-landing {
  background: linear-gradient(
    90deg,
    #3f6f55 0%,
    #2d5840 42%,
    #183424 78%,
    #0f1a13 100%
  );
  border-top: none;
  color: rgba(255, 255, 255, 0.92);
}

.dxl-footer-landing--tight .dxl-footer-landing-certs {
  grid-template-columns: repeat(5, minmax(0, 4rem));
  gap: 0.55rem;
  max-width: 24rem;
}

.dxl-footer-landing--tight .dxl-footer-landing-cert {
  padding: 0.42rem;
}

.dxl-footer-landing--tight .dxl-social-btn.dxl-social-btn {
  width: 3.125rem;
  height: 3.125rem;
}

.dxl-footer-landing-certs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 3.5rem));
  gap: 0.5rem;
  max-width: 22rem;
}

.dxl-footer-landing-cert {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.dxl-footer-landing-cert img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.dxl-footer-landing a.dxl-footer-contact {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.dxl-footer-landing a.dxl-footer-contact:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dxl-footer-landing a.dxl-footer-link {
  color: rgba(255, 255, 255, 0.95);
}

.dxl-footer-landing a.dxl-footer-link:hover {
  color: #4ade80;
}

.dxl-footer-landing .dxl-social-btn.dxl-social-btn {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
}

.dxl-footer-landing .dxl-social-btn:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.dxl-social-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--dxl-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dxl-text);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dxl-social-btn:hover {
  border-color: var(--dxl-accent);
  color: var(--dxl-accent);
}

.dxl-subscribe-input:focus {
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}

/* Legacy nav panel helper (drawer uses tw-hidden) */
.dxl-nav-panel {
  pointer-events: auto;
}

/* Landing mobile drawer: expandable sections (accordion) */
.dxl-mobile-nav-disclosure {
  cursor: pointer;
  touch-action: manipulation;
}

.dxl-mobile-nav-disclosure .dxl-mobile-nav-chevron {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.dxl-mobile-nav-disclosure.dxl-mobile-nav-disclosure-open .dxl-mobile-nav-chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .dxl-mobile-nav-disclosure .dxl-mobile-nav-chevron {
    transition-duration: 0.01ms;
  }
}

/* Header bar border + nav links (theme tokens) */
.dxl-header {
  border-bottom: 1px solid var(--dxl-header-border);
}

a.dxl-nav-link:not(.dxl-accent-text) {
  color: var(--dxl-muted);
}

.dxl-header .dxl-nav-submenu {
  background-color: #ffffff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dxl-header .dxl-nav-submenu .dxl-nav-submenu-link {
  color: #171717 !important;
}

.dxl-header .dxl-nav-submenu .dxl-nav-submenu-link:hover {
  background-color: #f5f5f5 !important;
}

.theme-light .dxl-stat-card {
  background-color: var(--stat-bg);
  border-color: var(--stat-border);
}

.theme-light .dxl-stat-card.is-hovered,
.theme-light .dxl-stat-card:hover {
  background-color: var(--stat-bg-hover);
  border-color: var(--stat-border-hover);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.theme-light .dxl-stat-value {
  color: var(--stat-value-custom);
}

.theme-light .dxl-stat-caption {
  color: var(--stat-caption);
}

.theme-light .dxl-trusted-eyebrow {
  color: rgba(22, 101, 52, 0.78);
}

.theme-light .dxl-trusted-band {
  background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(235, 235, 238, 0.98) 100%);
  border-color: rgba(24, 24, 27, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-light .dxl-trusted-band.dxl-trusted-band--full {
  background-color: #12141d;
  border: none !important;
  box-shadow: none;
}

.theme-light .dxl-trusted-band .dxl-trusted-logo {
  filter: grayscale(1) brightness(0.42) contrast(1);
  opacity: 0.9;
}

.theme-light .dxl-trusted-band.dxl-trusted-band--full .dxl-trusted-logo {
  filter: grayscale(1) brightness(1.38) contrast(0.94);
  opacity: 0.92;
}

.theme-light .dxl-trusted-band.dxl-trusted-band--full .dxl-logo-strip--large .dxl-trusted-logo {
  filter: none;
  opacity: 1;
}

.theme-light .dxl-use-tab {
  border-color: rgba(107, 114, 128, 0.75);
  background-color: transparent;
  color: rgba(107, 114, 128, 1);
}

.theme-light .dxl-use-tab:hover:not(.dxl-tab-active) {
  border-color: rgba(107, 114, 128, 0.9);
  color: rgba(107, 114, 128, 1);
}

.theme-light .dxl-use-tab.dxl-tab-active {
  border-color: rgba(106, 169, 141, 0.75);
  background-color: rgba(118, 192, 157, 0.14);
  color: #0d9668;
}

.theme-light .dxl-cta-wave-overlay {
  opacity: 1;
}

.theme-light .dxl-cta-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--dxl-border) !important;
}

.theme-light .dxl-footer-landing {
  background: linear-gradient(
    90deg,
    #3f6f55 0%,
    #2d5840 42%,
    #183424 78%,
    #0f1a13 100%
  );
}

.theme-light .dxl-footer-landing .dxl-social-btn.dxl-social-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.95);
}

.theme-light .dxl-footer-landing .dxl-social-btn:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.theme-light .dxl-social-btn {
  background: rgba(255, 255, 255, 0.9);
}

.theme-light .dxl-subscribe-input:focus {
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

/* Landing main: map Tailwind light text utilities when in light mode */
html.theme-light main h2.tw-text-white,
html.theme-light main h3.tw-text-white {
  color: var(--dxl-text) !important;
}

html.theme-light main .tw-text-zinc-400,
html.theme-light main .tw-text-zinc-300,
html.theme-light footer:not(.dxl-footer-landing) .tw-text-zinc-500,
html.theme-light footer:not(.dxl-footer-landing) .tw-text-zinc-400,
html.theme-light footer:not(.dxl-footer-landing) .tw-text-zinc-300 {
  color: var(--dxl-muted) !important;
}

html.theme-light main .dxl-stat-caption {
  color: var(--stat-caption) !important;
}

html.theme-light main .dxl-stat-card.is-hovered .dxl-stat-caption,
html.theme-light main .dxl-stat-card:hover .dxl-stat-caption {
  color: var(--stat-caption-hover) !important;
}

html.theme-light main .dxl-stat-card.is-hovered .dxl-stat-detail,
html.theme-light main .dxl-stat-card:hover .dxl-stat-detail {
  color: var(--stat-detail);
  opacity: 1;
}

html.theme-light .tw-border-zinc-800,
html.theme-light .tw-border-zinc-700\/50,
html.theme-light .tw-border-zinc-700\/40 {
  border-color: #e4e4e7 !important;
}

html.theme-light .tw-bg-zinc-900 {
  background-color: #f4f4f5 !important;
}

html.theme-light footer:not(.dxl-footer-landing) .tw-text-white {
  color: var(--dxl-text) !important;
}

html.theme-light footer:not(.dxl-footer-landing) input.tw-border-zinc-600.tw-bg-black\/40 {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-color: #d4d4d8 !important;
  color: var(--dxl-text) !important;
}

html.theme-light #dxl-nav-drawer {
  background-color: #fafafa !important;
  border-color: #e4e4e7 !important;
}

html.theme-light #dxl-nav-drawer .tw-text-zinc-500,
html.theme-light #dxl-nav-drawer .tw-text-zinc-300,
html.theme-light #dxl-nav-drawer .tw-text-zinc-100 {
  color: var(--dxl-muted) !important;
}

html.theme-light #dxl-nav-drawer .tw-border-zinc-700,
html.theme-light #dxl-nav-drawer .hover\:tw-bg-zinc-900:hover {
  border-color: #e4e4e7 !important;
}

html.theme-light #dxl-nav-drawer a:hover {
  background-color: #f4f4f5 !important;
}

html.theme-light #dxl-nav-drawer .dxl-mobile-nav-rule {
  border-color: #e4e4e7 !important;
}

html.theme-light #dxl-nav-drawer .dxl-mobile-nav-branch {
  border-color: #e4e4e7 !important;
  background-color: rgba(244, 244, 245, 0.65) !important;
}

html.theme-light #dxl-nav-drawer .dxl-mobile-nav-submenu {
  border-color: #e4e4e7 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
}

html.theme-light #dxl-nav-drawer .dxl-mobile-nav-submenu a {
  color: #52525b !important;
}

html.theme-light #dxl-nav-drawer .dxl-mobile-nav-submenu a:hover {
  background-color: #f4f4f5 !important;
  color: #18181b !important;
}

html.theme-light #dxl-nav-toggle {
  color: #3f3f46;
}

html.theme-light .dxl-theme-btn {
  border-color: #d4d4d8;
}

/* ── Home parity: light DocuXray page on xelp-home shell ── */
body.xelp-home.docuxray-landing.theme-light {
  background-color: #ffffff;
  color: #18181b;
}

body.xelp-home.docuxray-landing.theme-light.dxl-page-bg,
body.xelp-home.docuxray-landing.theme-light {
  background-image: none;
}

/* Section titles — GCGatuzoDemo + segments header scale (DocuXray.php) */
body.xelp-home.docuxray-landing .dxl-seg-title,
body.xelp-home.docuxray-landing .dxl-fw-title,
body.xelp-home.docuxray-landing .dxl-ocr-title,
body.xelp-home.docuxray-landing .dxl-use-title,
body.xelp-home.docuxray-landing .dxl-cta-heading {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-size: var(--dxl-h2-size) !important;
  font-weight: 500 !important;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

body.xelp-home.docuxray-landing .dxl-seg-title-plain,
body.xelp-home.docuxray-landing .dxl-seg-title-accent,
body.xelp-home.docuxray-landing .dxl-fw-title-plain,
body.xelp-home.docuxray-landing .dxl-fw-title-accent,
body.xelp-home.docuxray-landing .dxl-ocr-title-plain,
body.xelp-home.docuxray-landing .dxl-ocr-title-accent,
body.xelp-home.docuxray-landing .dxl-use-title-plain,
body.xelp-home.docuxray-landing .dxl-use-title-accent,
body.xelp-home.docuxray-landing .dxl-cta-heading,
body.xelp-home.docuxray-landing .dxl-cta-heading-line,
body.xelp-home.docuxray-landing .dxl-cta-heading-plain,
body.xelp-home.docuxray-landing .dxl-cta-heading-accent,
body.xelp-home.docuxray-landing .dxl-cta-heading-suffix {
  font-family: 'GCGatuzoDemo', sans-serif !important;
  font-weight: 500 !important;
}

body.xelp-home.docuxray-landing .dxl-seg-eyebrow,
body.xelp-home.docuxray-landing .dxl-fw-eyebrow,
body.xelp-home.docuxray-landing .dxl-ocr-eyebrow,
body.xelp-home.docuxray-landing .dxl-use-eyebrow,
body.xelp-home.docuxray-landing .dxl-trusted-eyebrow.fade-trusted-label,
body.xelp-home.docuxray-landing .dxl-hero-eyebrow {
  font-size: var(--dxl-eyebrow-size) !important;
  line-height: 1.4;
  letter-spacing: 3px !important;
  font-weight: 600;
  color: #7fb59c !important;
}

body.xelp-home.docuxray-landing .dxl-seg-title-accent,
body.xelp-home.docuxray-landing .dxl-fw-title-accent,
body.xelp-home.docuxray-landing .dxl-ocr-title-accent,
body.xelp-home.docuxray-landing .dxl-use-title-accent,
body.xelp-home.docuxray-landing .dxl-cta-heading-accent {
  color: #059669 !important;
}

body.xelp-home.docuxray-landing .dxl-seg-title-plain,
body.xelp-home.docuxray-landing .dxl-fw-title-plain,
body.xelp-home.docuxray-landing .dxl-ocr-title-plain,
body.xelp-home.docuxray-landing .dxl-use-title-plain,
body.xelp-home.docuxray-landing .dxl-cta-heading-plain,
body.xelp-home.docuxray-landing .dxl-cta-heading-suffix {
  color: #1a1a1a !important;
}

body.xelp-home.docuxray-landing .dxl-fw-title,
body.xelp-home.docuxray-landing .dxl-use-title {
  margin-bottom: 0;
}

body.xelp-home.docuxray-landing .dxl-fw-intro,
body.xelp-home.docuxray-landing .dxl-ocr-subtitle,
body.xelp-home.docuxray-landing .dxl-use-subtitle {
  margin-top: 1.5rem;
}

body.xelp-home.docuxray-landing .dxl-ocr-section-accent {
  background-color: #E1F0EB;
}

body.xelp-home.docuxray-landing .dxl-ocr-card {
  position: relative;
  z-index: 1;
}

body.xelp-home.docuxray-landing .dxl-cta-wave {
  background-color: #ffffff;
}

body.xelp-home.docuxray-landing .dxl-btn-primary {
  background-color: #379267;
  color: #ffffff !important;
}

body.xelp-home.docuxray-landing .dxl-btn-primary:hover {
  background-color: #2f7a58;
  opacity: 1;
}

body.xelp-home.docuxray-landing .dxl-framework-card-image,
body.xelp-home.docuxray-landing .dxl-card-image.dxl-framework-card-image {
  background-color: #f4f6f8 !important;
}

.theme-light .dxl-trusted-band.dxl-trusted-band--full {
  background-color: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Fade-section: map DocuXray -title/-intro/-subtitle to home reveal timing */
.fade-section [class$="-title"]:not(.dxl-ocr-card-title):not(.dxl-fw-card-title),
.fade-section [class*="-intro"],
.fade-section [class*="-subtitle"] {
  opacity: 0;
  transform: translateY(var(--fade-distance-sm, 32px));
  transition:
    opacity var(--fade-duration, 1.05s) var(--fade-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--fade-duration, 1.05s) var(--fade-ease, cubic-bezier(0.22, 1, 0.36, 1));
  will-change: opacity, transform;
}

.fade-section.is-visible [class$="-title"]:not(.dxl-ocr-card-title):not(.dxl-fw-card-title),
.fade-section.is-visible [class*="-intro"],
.fade-section.is-visible [class*="-subtitle"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--fade-stagger, 0.18s) * 2);
}

.fade-section.is-visible [class*="-intro"],
.fade-section.is-visible [class*="-subtitle"] {
  transition-delay: calc(var(--fade-stagger, 0.18s) * 3);
}

/* Card hover transitions (home-style) */
.fade-section .fade-card {
  transition:
    opacity var(--fade-card-duration, 0.95s) var(--fade-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--fade-card-duration, 0.95s) var(--fade-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.fade-section.is-visible .fade-card:hover {
  transform: translateY(-4px);
}

.fade-section.is-visible .dxl-seg-card.fade-card:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

.fade-section.is-visible .dxl-ocr-card.fade-card:hover {
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.12);
}

.fade-section.is-visible .dxl-framework-card.fade-card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .fade-section [class$="-title"],
  .fade-section [class*="-intro"],
  .fade-section [class*="-subtitle"],
  .fade-section .fade-card,
  .dxl-stats-section .dxl-stat-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
