/* ==========================================================================
   ZENO-Indices — Premium Institutional Website
   Design System v3.0 — Quantexa-inspired, ZENO brand identity
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Navy ramp */
  --color-navy-50: #eceffe;
  --color-navy-100: #c0c9ef;
  --color-navy-300: #7b8fce;
  --color-navy-500: #3d54a0;
  --color-navy-700: #263579;
  --color-navy-900: #16205c;

  /* Orange ramp */
  --color-orange-50: #fdf0e8;
  --color-orange-100: #f5c9a8;
  --color-orange-300: #ec9a65;
  --color-orange-500: #e46c2c;
  --color-orange-700: #b8521a;
  --color-orange-900: #7a3310;

  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f7f7fa;
  --color-gray-100: #ededf2;
  --color-gray-200: #d5d5dc;
  --color-gray-300: #babac5;
  --color-gray-400: #9e9e9e;
  --color-gray-500: #7a7a86;
  --color-gray-600: #57575f;
  --color-gray-700: #3a3a40;
  --color-ink: #1a1a2e;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Anchored sections land below the 72px sticky header */
[id] {
  scroll-margin-top: 88px;
}

/* Visible keyboard focus on all interactive elements */
:focus-visible {
  outline: 3px solid var(--color-orange-500);
  outline-offset: 2px;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background-color: var(--color-gray-50);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Long URLs and email addresses must not push the page sideways */
  overflow-wrap: break-word;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.125rem;
}

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

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--color-navy-500);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-orange-500);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

/* ---------- Shared Components ---------- */

/* Eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange-500);
  margin-bottom: var(--space-sm);
  display: block;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-orange-500);
  color: var(--color-white);
  border-color: var(--color-orange-500);
}

.btn-primary:hover {
  background-color: var(--color-orange-700);
  border-color: var(--color-orange-700);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy-700);
  border-color: var(--color-navy-300);
}

.btn-secondary:hover {
  background-color: var(--color-navy-50);
  border-color: var(--color-navy-700);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

/* Text Link CTA */
.link-cta {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-orange-500);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.link-cta::after {
  content: '→';
  transition: transform 0.2s;
}

.link-cta:hover {
  color: var(--color-orange-700);
}

.link-cta:hover::after {
  transform: translateX(4px);
}

/* ===================================================================
   HEADER / NAVIGATION
   =================================================================== */
header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-gray-100);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--color-navy-700);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--color-navy-700);
}

.nav-link .chevron {
  font-size: 0.6875rem;
  margin-left: 0.375rem;
  color: var(--color-gray-400);
  transition: transform 0.2s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-actions .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Dropdown mega-menu */
.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-top: 2px solid var(--color-navy-700);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 16px 48px rgba(26, 26, 46, 0.08);
  padding: var(--space-lg);
  width: 560px;
  z-index: 200;
}

.dropdown:hover .mega-menu,
.dropdown:focus-within .mega-menu {
  display: block;
  animation: megaIn 0.15s ease-out;
}

.dropdown:hover .chevron,
.dropdown:focus-within .chevron {
  transform: rotate(180deg);
}

.mega-grid {
  display: grid;
  gap: 0.25rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.875rem var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
  color: var(--color-ink);
}

.mega-item:hover {
  background-color: var(--color-gray-50);
  color: var(--color-ink);
}

.mega-icon {
  width: 36px;
  height: 36px;
  background: var(--color-navy-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--color-navy-700);
}

.mega-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.mega-label {
  flex: 1;
}

.mega-title {
  font-weight: 700;
  color: var(--color-navy-700);
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.mega-desc {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

/* Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-700);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: all 0.2s;
}

.mobile-toggle span {
  top: 21px;
}

.mobile-toggle span::before {
  content: '';
  top: -7px;
}

.mobile-toggle span::after {
  content: '';
  top: 7px;
}

.mobile-toggle.open span {
  background: transparent;
}

.mobile-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===================================================================
   HERO — Contained dark card (Quantexa pattern)
   =================================================================== */
.hero-wrapper {
  padding: var(--space-lg) var(--space-lg) 0;
}

.hero-card {
  background: var(--color-navy-900);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

/* Override standard container to allow a wide, cinematic 1/3 text and 2/3 carousel split */
.hero-card > .container {
  max-width: 1560px;
}

/* Subtle ambient glow */
.hero-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 53, 121, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 108, 44, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Grid items must be allowed to shrink below their min-content width,
   otherwise the track outgrows the card and .hero-card clips the overflow. */
.hero-content,
.hero-visual {
  min-width: 0;
}

.hero-content .eyebrow {
  color: var(--color-orange-300);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 92%;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

/* Hero regulatory context line */
.hero-reg-line {
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

/* Hero variant for pages without a visual: single centred column */
.hero-inner-solo {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  text-align: center;
}

.hero-inner-solo .hero-content p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-inner-solo .hero-ctas {
  justify-content: center;
}

/* Hero visual container */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

/* Hero Carousel — Z-CAT progressive showcase */
.hero-carousel {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 120px rgba(228, 108, 44, 0.06);
  position: relative;
}

/* Window chrome bar */
.hero-carousel-chrome {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-carousel-dots {
  display: flex;
  gap: 6px;
}

.hero-carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-carousel-dots span:nth-child(1) { background: #ff5f57; }
.hero-carousel-dots span:nth-child(2) { background: #ffbd2e; }
.hero-carousel-dots span:nth-child(3) { background: #28ca41; }

.hero-carousel-chrome-title {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-carousel-chrome-spacer {
  width: 48px;
}

/* Viewport & slides */
.hero-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-white);
}

.hero-carousel-track {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
}

.hero-slide {
  grid-area: slide;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  cursor: zoom-in;
}

/* Image Modal (Lightbox) */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 18, 48, 0.95);
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
}

.image-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease-out forwards;
}

.image-modal-content {
  position: relative;
  width: min(95vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel.fullscreen {
  width: 100%;
  max-width: 100%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.hero-carousel.fullscreen .hero-slide {
  cursor: zoom-out;
}

.hero-carousel.fullscreen .hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: var(--color-orange-500);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.image-modal-close:hover {
  transform: scale(1.1);
  background: var(--color-orange-700);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Combined Footer */
.hero-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--color-navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Captions */
.hero-carousel-captions {
  position: relative;
  height: 1.5rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-carousel-caption.active {
  opacity: 1;
  transform: translateY(0);
}

.caption-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-orange-500);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.caption-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation dots + progress */
.hero-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.hero-carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

.hero-carousel-arrow:hover {
  border-color: var(--color-orange-500);
  color: var(--color-orange-500);
}

/* Comfortable touch targets on touch devices */
@media (pointer: coarse) {
  .hero-carousel-arrow {
    width: 44px;
    height: 44px;
  }
}

.hero-carousel-pause svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hero-carousel-pause .icon-play {
  display: none;
}

.hero-carousel-pause.paused .icon-pause {
  display: none;
}

.hero-carousel-pause.paused .icon-play {
  display: block;
}

.hero-carousel-progress {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-left: 0.5rem;
  overflow: hidden;
}

.hero-carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-orange-500);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Proof bar inside hero card bottom */
.hero-proof {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.proof-item {
  flex: 1;
  min-width: 150px;
}

.proof-stat {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.proof-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: 1.4;
}

/* ===================================================================
   SECTION: UBO Blind Spot
   =================================================================== */
.section-ubo {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-gray-600);
  font-size: 1.0625rem;
}

.section-header .lead {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

/* Comparison grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.comparison-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-col.old {
  background: var(--color-white);
  border: 1px solid var(--color-navy-300);
}

.comparison-col.new {
  background: var(--color-white);
  border: 2px solid var(--color-navy-700);
  box-shadow: 0 8px 32px rgba(38, 53, 121, 0.08);
}

.comparison-header {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-col.old .comparison-header {
  background: var(--color-gray-100);
  color: var(--color-ink);
}

.comparison-col.new .comparison-header {
  background: var(--color-navy-700);
  color: var(--color-white);
}

.comparison-list {
  padding: var(--space-xs) 0;
}

.comparison-item {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-gray-100);
  font-size: 0.9375rem;
  line-height: 1.6;
  position: relative;
}

.comparison-item:last-child {
  border-bottom: none;
}

.comparison-col.old .comparison-item {
  color: var(--color-ink);
  padding-left: calc(var(--space-lg) + 1.25rem);
}

.comparison-col.old .comparison-item::before {
  content: '×';
  position: absolute;
  left: var(--space-lg);
  top: var(--space-md);
  font-size: 1rem;
  font-weight: 800;
  color: #d04040;
  line-height: 1.6;
}

.comparison-col.new .comparison-item {
  color: var(--color-ink);
  padding-left: calc(var(--space-lg) + 1.25rem);
}

.comparison-col.new .comparison-item::before {
  content: '';
  position: absolute;
  left: var(--space-lg);
  top: calc(var(--space-md) + 0.45rem);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange-500);
}

.section-ubo .closing-statement {
  text-align: center;
  max-width: 860px;
  margin: var(--space-2xl) auto 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-ink);
}

/* ===================================================================
   SECTION: Solutions (Vertical Tabs)
   =================================================================== */
.section-solutions {
  background: var(--color-gray-50);
  padding: var(--space-4xl) 0;
}

.vtabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-100);
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.04);
  overflow: hidden;
  margin-top: var(--space-2xl);
}

.vtabs-nav {
  display: flex;
  flex-direction: column;
  background: var(--color-gray-50);
  border-right: 1px solid var(--color-gray-100);
}

.vtab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: var(--space-lg);
  cursor: pointer;
  border-bottom: 1px solid var(--color-gray-100);
  position: relative;
  transition: background 0.15s;
}

.vtab-btn:last-child {
  border-bottom: none;
}

.vtab-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.vtab-btn.active {
  background: var(--color-white);
}

.vtab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--color-orange-500);
}

.vtab-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-navy-700);
  margin-bottom: 0.25rem;
}

.vtab-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

.vtabs-body {
  padding: var(--space-2xl) var(--space-xl);
}

.vtab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.vtab-panel.active {
  display: block;
}

.vtab-panel h3 {
  color: var(--color-navy-900);
  margin-bottom: var(--space-md);
}

.vtab-panel p {
  color: var(--color-ink);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.use-case-box {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
}

.use-case-box h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy-500);
  margin-bottom: var(--space-sm);
}

.use-case-box li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.use-case-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-orange-500);
}

/* Condensed tab text */
.vtab-problem,
.vtab-solution {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-ink);
}

.vtab-problem strong,
.vtab-solution strong {
  color: var(--color-navy-700);
}

/* Inline use-case tags */
.use-case-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.use-case-inline span {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy-700);
}

/* ===================================================================
   SECTION: Z-CAT Engine
   =================================================================== */
.section-engine {
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: var(--space-4xl) 0;
}

.section-engine .eyebrow {
  color: var(--color-orange-300);
}

.section-engine .section-header h2 {
  color: var(--color-white);
}

.section-engine .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* Engine placeholder (old) — replaced by dashboard */
.engine-placeholder {
  display: none;
}

/* ---------- Z-CAT Screenshot Mockup ---------- */
.zcat-screenshot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #ffffff;
}

/* Faux window chrome */
.zcat-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: #f0f0f3;
  border-bottom: 1px solid #ddd;
}

.zcat-dots {
  display: flex;
  gap: 6px;
}

.zcat-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.zcat-dots span:nth-child(1) {
  background: #ff5f57;
}

.zcat-dots span:nth-child(2) {
  background: #febc2e;
}

.zcat-dots span:nth-child(3) {
  background: #28c840;
}

.zcat-chrome-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.02em;
}

.zcat-chrome-spacer {
  width: 52px;
}

/* App body */
.zcat-app {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 420px;
}

/* Left pane */
.zcat-pane-left {
  background: #fafbfd;
  border-right: 1px solid #e8e8ec;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.zcat-pane-left::-webkit-scrollbar {
  width: 4px;
}

.zcat-pane-left::-webkit-scrollbar-track {
  background: transparent;
}

.zcat-pane-left::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.zcat-pane-left::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.zcat-section {
  margin-bottom: 0.5rem;
}

.zcat-section-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy-700);
  margin-bottom: 0.625rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #e8e8ec;
}

/* Fields */
.zcat-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.zcat-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 0.125rem;
}

.zcat-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy-900);
}

.zcat-value.zcat-dim {
  color: #bbb;
  font-weight: 400;
}

.zcat-value.zcat-accent {
  color: var(--color-orange-500);
}

/* Chips */
.zcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.125rem;
}

.zcat-chip {
  background: #eceffe;
  color: var(--color-navy-700);
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
}

/* Table */
.zcat-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
}

.zcat-tbl thead th {
  text-align: left;
  padding: 0.375rem 0.5rem;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  border-bottom: 1px solid #e8e8ec;
}

.zcat-tbl tbody td {
  padding: 0.375rem 0.5rem;
  border-bottom: 1px solid #f0f0f3;
  color: var(--color-ink);
  font-weight: 500;
}

.zcat-row-uco {
  background: #fdf0e8;
}

.zcat-row-uco td {
  font-weight: 700;
  color: var(--color-navy-900);
}

/* Power Index badges */
.zcat-pi {
  display: inline-block;
  padding: 0.0625rem 0.375rem;
  border-radius: 3px;
  font-size: 0.625rem;
  font-weight: 800;
}

.zcat-pi-high {
  background: rgba(228, 108, 44, 0.15);
  color: var(--color-orange-700);
  border: 1px solid rgba(228, 108, 44, 0.3);
}

.zcat-pi-med {
  background: rgba(236, 154, 101, 0.12);
  color: var(--color-orange-500);
  border: 1px solid rgba(236, 154, 101, 0.25);
}

.zcat-pi-low {
  background: #f5f5f5;
  color: #bbb;
  border: 1px solid #e8e8ec;
}

.zcat-tbl-foot {
  font-size: 0.5625rem;
  color: #999;
  font-style: italic;
  padding: 0.375rem 0.5rem;
  border-top: 1px solid #e8e8ec;
}

/* Right pane — graph */
.zcat-pane-right {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.zcat-graph-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #e8e8ec;
  background: #fafbfd;
}

.zcat-graph-bar-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy-700);
}

.zcat-legend-bar {
  display: flex;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #999;
}

.zcat-legend-bar i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

/* Cytoscape container */
.zcat-cy {
  flex: 1;
  min-height: 380px;
}

/* Dashboard responsive */
@media (max-width: 768px) {
  .zcat-app {
    grid-template-columns: 1fr;
  }

  .zcat-pane-left {
    border-right: none;
    border-bottom: 1px solid #e8e8ec;
    max-height: 300px;
  }

  .zcat-cy {
    min-height: 300px;
  }
}

.engine-footnote {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-sm);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Z-CAT interpretive legend */
.zcat-legend {
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  max-width: 780px;
  margin: var(--space-lg) auto var(--space-xs);
  line-height: 1.6;
}

/* ===================================================================
   SECTION: Social Proof
   =================================================================== */
.section-proof {
  background: var(--color-gray-50);
  padding: var(--space-2xl) 0;
}

.proof-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-left: 4px solid var(--color-orange-500);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.04);
}

.proof-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-orange-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.proof-card-body {
  flex: 1;
}

.proof-card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.proof-card-text strong {
  color: var(--color-navy-700);
  font-weight: 700;
}

.proof-card-source {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  font-style: italic;
  margin-bottom: 0;
}

/* ===================================================================
   SECTION: Resources
   =================================================================== */
.section-resources {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
}

.resource-grid {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-md); /* space for scrollbar */
  -webkit-overflow-scrolling: touch;
}

.resource-grid::-webkit-scrollbar {
  display: none;
}
.resource-grid {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Carousel Additions */
.resource-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 64px; /* Reserve space for arrows so they do not overlap */
}

.carousel-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26,26,46,0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-navy-700);
  font-family: monospace; /* for proper arrow alignment */
}

.carousel-btn:hover {
  background: var(--color-navy-50);
  color: var(--color-orange-500);
  border-color: var(--color-navy-100);
  box-shadow: 0 8px 24px rgba(26,26,46,0.15);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

@media (max-width: 1024px) {
  .carousel-btn {
    display: none; /* Rely on touch scrolling on tablets/mobiles */
  }
  .resource-carousel-wrapper {
    padding: 0; /* Free up space on mobile since arrows are hidden */
  }
}

.resource-card {
  flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
  min-width: 300px;
  scroll-snap-align: start;
  
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-ink);
  position: relative;
  overflow: hidden;
}

.resource-card-img {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--color-navy-50);
}

.resource-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}

.resource-card:hover .resource-card-img img {
  transform: scale(1.05);
}

.resource-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
  border-color: transparent;
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  background: var(--color-navy-50);
  color: var(--color-navy-700);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.resource-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy-900);
  margin-bottom: var(--space-sm);
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

/* Mobile: narrower cards so the next card visibly peeks in */
@media (max-width: 600px) {
  .resource-card {
    flex: 0 0 85%;
    min-width: 0;
  }
}

.resource-card .link-cta {
  margin-top: auto;
}

/* ===================================================================
   SECTION: CTA Strip
   =================================================================== */
.section-cta {
  background: var(--color-gray-50);
  padding: var(--space-3xl) 0;
}

.cta-strip {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--color-navy-900);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.cta-strip::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 108, 44, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 53, 121, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
}

.cta-strip .btn {
  position: relative;
  z-index: 1;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ===================================================================
   SECTION: About Strip
   =================================================================== */
.section-about {
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: var(--space-4xl) 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text .eyebrow {
  color: var(--color-orange-300);
}

.about-text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.about-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric {
  border-left: 2px solid var(--color-orange-500);
  padding-left: var(--space-md);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.metric-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--color-white);
  font-weight: 600;
  position: relative;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-orange-500);
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand p {
  color: var(--color-gray-400);
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  max-width: 320px;
}

.reg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.reg-tag {
  font-size: 0.6875rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  color: var(--color-gray-400);
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-col a.highlight {
  color: var(--color-orange-500);
  font-weight: 600;
}

.footer-col a.highlight:hover {
  color: var(--color-orange-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-lg);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* Button styled as a footer link (cookie preferences) */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-link-btn:hover {
  color: var(--color-white);
}

/* ===================================================================
   UTILITIES & ANIMATIONS
   =================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   ARTICLE PAGE TEMPLATE
   =================================================================== */
.article-page {
  background-color: var(--color-white);
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero {
  padding: var(--space-4xl) 0 var(--space-xl);
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-100);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.article-meta .resource-badge {
  margin-bottom: 0;
}

.article-date {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

.article-lead {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-top: var(--space-md);
}

.article-body {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.article-cover-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  margin-top: calc(-1 * var(--space-4xl));
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
  position: relative;
  z-index: 10;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-ink);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 2rem;
  color: var(--color-navy-900);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: 1.375rem;
  color: var(--color-navy-700);
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-navy-700);
  border-left: 4px solid var(--color-orange-500);
  padding-left: var(--space-lg);
  margin: var(--space-2xl) 0;
  font-style: italic;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: center;
    min-height: auto;
    margin-top: var(--space-xl);
  }

  .hero-carousel {
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-content p {
    max-width: 100%;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .vtabs {
    grid-template-columns: 1fr;
  }

  .vtabs-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .vtab-btn {
    border-bottom: none;
    border-right: 1px solid var(--color-gray-100);
    padding: var(--space-md);
  }

  .vtab-btn:last-child {
    border-right: none;
  }

  .vtab-btn.active::after {
    display: none;
  }

  .vtab-btn.active {
    border-bottom: 3px solid var(--color-orange-500);
  }

  .cta-strip {
    padding: var(--space-2xl) var(--space-lg);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  /* ---- Collapsed navigation ----
     The horizontal nav needs ~1064px to lay out; below that it overflowed the
     nav bar and gave the whole document a horizontal scrollbar. Collapse to the
     burger menu for the entire tablet range instead. */

  /* A long open menu (accordion expanded) can exceed the viewport. The header
     is sticky, so cap it and let it scroll internally: otherwise the pinned
     header hides its own lower items with no way to reach them. */
  header {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* The nav bar wraps: logo + burger on line 1, the open menu flows as
     full-width lines below it. No hardcoded offsets, no overlap. */
  .nav-bar {
    flex-wrap: wrap;
    height: auto;
    min-height: 72px;
    align-content: center;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    height: auto;
    padding: var(--space-xs) 0 var(--space-sm);
    border-top: 1px solid var(--color-gray-100);
  }

  .nav-links.active .nav-link {
    justify-content: space-between;
    padding: 0.875rem var(--space-xs);
    height: auto;
    min-height: 48px;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .nav-links.active .dropdown {
    display: block;
    height: auto;
  }

  .nav-links.active .mega-menu {
    display: none;
  }

  .nav-links.active .dropdown.mobile-open .mega-menu {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--color-gray-100);
    border-radius: 0;
    background: var(--color-gray-50);
    padding: var(--space-xs) 0;
    margin-top: 0;
    animation: none;
  }

  .nav-links.active .dropdown.mobile-open .mega-item {
    padding: 0.5rem var(--space-sm);
    align-items: center;
    gap: 0.75rem;
  }

  .nav-links.active .dropdown.mobile-open .mega-icon {
    width: 28px;
    height: 28px;
  }

  .nav-links.active .dropdown.mobile-open .mega-icon svg {
    width: 15px;
    height: 15px;
  }

  .nav-links.active .dropdown.mobile-open .mega-desc {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  /* A tappable chevron needs to read as one */
  .nav-links.active .nav-link .chevron {
    font-size: 0.875rem;
    color: var(--color-gray-600);
  }

  .nav-links.active .dropdown.mobile-open .nav-link {
    border-bottom: none;
  }

  .nav-links.active .dropdown.mobile-open .nav-link .chevron {
    transform: rotate(180deg);
  }

  /* Primary CTA becomes the last full-width line of the open menu */
  .nav-actions.active {
    display: flex;
    order: 4;
    flex-basis: 100%;
    width: 100%;
    padding: var(--space-sm) 0 var(--space-md);
  }

  .nav-actions.active .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
  }
}

@media (max-width: 768px) {

  .nav-bar {
    padding: 0 var(--space-sm);
  }

  .logo img {
    height: 40px;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  .hero-wrapper {
    padding: var(--space-sm) var(--space-sm) 0;
  }

  .hero-card {
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  /* .hero-card already provides the side gutter: drop the nested container's */
  .hero-card > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-inner {
    gap: var(--space-lg);
  }

  .hero-visual {
    margin-top: var(--space-sm);
  }

  .hero-ctas .btn {
    flex: 1 1 180px;
    justify-content: center;
  }

  .hero-proof {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-carousel-footer {
    padding: 0.625rem 0.875rem;
  }

  .proof-item {
    min-width: auto;
  }

  /* Long CTA labels are wider than a phone: let them wrap instead of
     overflowing their container. */
  .btn {
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  .cta-strip {
    padding: var(--space-xl) var(--space-md);
  }

  /* 8rem of section padding is desktop rhythm; far too much on a phone */
  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  h1 {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.625rem, 6.5vw, 2rem);
  }

  .vtabs-nav {
    flex-direction: column;
  }

  .vtab-btn {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .vtab-btn.active {
    border-bottom-color: var(--color-orange-500);
  }

  .vtabs-body {
    padding: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Narrow phones: the brand lockup scales fluidly so the burger always stays on
   the first line of the wrapping nav bar, down to ~280px. */
@media (max-width: 400px) {
  .nav-bar {
    padding: 0 var(--space-xs);
  }

  .logo {
    gap: 0.5rem;
  }

  .logo img {
    height: clamp(28px, 8.5vw, 34px);
  }

  .logo-text {
    font-size: clamp(0.875rem, 4vw, 1rem);
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-navy-900, #0b1420);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  animation: cookieSlideUp 0.3s ease-out;
}

.cookie-banner[hidden] {
  display: none !important;
}

@keyframes cookieSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
}

.cookie-banner-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--color-white, #fff);
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    padding: var(--space-md);
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ==========================================================================
   PRODUCT PAGE — UCO vs UBO
   Used by /solutions/uco-vs-ubo.html
   ========================================================================== */

.section-product {
  padding: var(--space-3xl) 0;
  background: var(--color-white);
}

.section-product .section-header {
  max-width: 820px;
  margin-bottom: var(--space-2xl);
}

.section-product .section-header h2 {
  margin-bottom: var(--space-md);
}

.section-product .lead {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.product-prose {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

/* ----- Demonstration section ----- */
.section-demo {
  background: var(--color-gray-50);
}

.scenario-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: 0;
  border: 1px solid var(--color-gray-100);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.scenario-block + .scenario-block {
  margin-top: var(--space-md);
}

.scenario-header {
  margin-bottom: var(--space-xl);
  max-width: 820px;
}

.scenario-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-orange-900);
  background: var(--color-orange-50);
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  margin-bottom: var(--space-md);
}

.scenario-header h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-navy-900);
  line-height: 1.25;
}

.scenario-header p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-gray-600);
}

.scenario-image {
  margin: 0 0 var(--space-xl) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
}

.scenario-image img {
  display: block;
  width: 100%;
  height: auto;
}

.scenario-image figcaption {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  font-style: italic;
}

/* ----- Verdict cards (on-brand: orange UCO / navy UBO / gray muted) ----- */
.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.verdict-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-gray-100);
  position: relative;
  transition: border-color 0.2s ease;
}

/* Highlight UCO card to reinforce the page's main message */
.verdict-card.is-highlight {
  border-color: var(--color-orange-500);
  box-shadow: 0 0 0 1px var(--color-orange-500);
}

/* Muted style when UBO is not retained: faded, no alarm */
.verdict-card.is-muted {
  background: var(--color-gray-50);
  border-color: var(--color-gray-200);
}

.verdict-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-navy-700);
  margin-bottom: var(--space-md);
}
.verdict-card.is-muted .verdict-label {
  color: var(--color-gray-500);
}

.verdict-value {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  align-self: flex-start;
}
.verdict-badge .badge-icon {
  font-size: 1rem;
  line-height: 1;
}

/* UCO Confirmed: orange — the page's main brand signal */
.badge-uco-confirmed {
  background: var(--color-orange-500);
  color: var(--color-white);
}

/* UBO Confirmed: navy — regulatory signal */
.badge-ubo-confirmed {
  background: var(--color-navy-900);
  color: var(--color-white);
}

/* Not retained: muted gray with dashed border, faded look */
.badge-not-retained {
  background: var(--color-gray-200);
  color: var(--color-gray-600);
  border: 1px dashed var(--color-gray-400);
}

/* Power Index data display — Syne 36px, hero data point */
.power-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--space-sm);
}
.power-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-orange-500);
}
.power-display {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: 'tnum';
}

.verdict-note {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.55;
  margin: 0;
}
.verdict-card.is-muted .verdict-note {
  color: var(--color-gray-600);
}

/* ----- Scenario A → B transition divider ----- */
.scenario-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 520px;
  margin: var(--space-2xl) auto;
}
.scenario-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-navy-300), transparent);
}
.scenario-divider-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-navy-900);
  color: var(--color-white);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.scenario-divider-pill .arrow {
  color: var(--color-orange-500);
  font-size: 1.125rem;
  line-height: 1;
}

/* ----- Mid-page micro-CTA ----- */
.midpage-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-100);
}
.midpage-cta p {
  font-size: 1rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.midpage-cta .link-cta {
  font-size: 1rem;
}

/* ----- Key takeaway callout ----- */
.callout-key {
  background: var(--color-navy-900);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.callout-key::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-orange-500);
}

.callout-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-orange-300);
  margin-bottom: var(--space-md);
}

.callout-key p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.92);
}

.callout-key .callout-strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* ----- Reasons / Use case grid ----- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.reason-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-200);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.reason-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange-500);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.reason-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.reason-card h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-sm);
  color: var(--color-navy-900);
  line-height: 1.35;
}

.reason-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-gray-600);
  margin: 0;
}

/* ----- Section background variants for rhythm ----- */
.section-product.section-bg-gray {
  background: var(--color-gray-50);
}
/* .section-proof now uses default (white) background to match site rhythm */

/* ----- Hero microcopy (under-CTA proof line) ----- */
.hero-microcopy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-md);
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

/* ----- Reassurance bar (under-hero credibility strip) ----- */
.reassurance-bar {
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-100);
  padding: var(--space-md) 0;
}
.reassurance-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-gray-600);
  text-align: center;
}
.reassurance-item strong {
  color: var(--color-navy-900);
  font-weight: 700;
}
.reassurance-sep {
  color: var(--color-gray-300);
  font-weight: 700;
}

/* ----- Demo lead note (illustrative case disclaimer) ----- */
.lead-note {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  font-style: italic;
  margin-top: var(--space-sm);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- UBO vs UCO comparison table ----- */
.compare-table {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--color-gray-100);
}
.compare-row:last-child {
  border-bottom: none;
}
.compare-row.compare-header {
  background: var(--color-navy-900);
  color: var(--color-white);
}
.compare-cell {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
}
.compare-row.compare-header .compare-cell {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-lg);
}
.compare-cell.cell-property {
  font-weight: 600;
  color: var(--color-navy-900);
  background: var(--color-gray-50);
  border-right: 1px solid var(--color-gray-100);
}
.compare-row.compare-header .compare-cell.cell-property {
  background: var(--color-navy-900);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.compare-cell.cell-ubo {
  color: var(--color-gray-600);
  border-right: 1px solid var(--color-gray-100);
}
.compare-cell.cell-uco {
  color: var(--color-navy-900);
  font-weight: 500;
  background: rgba(228, 108, 44, 0.04);
  border-left: 3px solid var(--color-orange-500);
}
.compare-row.compare-header .compare-cell.cell-uco {
  background: var(--color-orange-500);
  color: var(--color-white);
  border-left: none;
  border-right: none;
}
.compare-row.compare-header .compare-cell.cell-ubo {
  background: var(--color-navy-900);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile: compare-table stacks each row vertically */
@media (max-width: 700px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-cell.cell-property {
    background: var(--color-gray-100);
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
  }
  .compare-cell.cell-ubo {
    border-right: none;
    border-bottom: 1px dashed var(--color-gray-200);
  }
  .compare-cell.cell-uco {
    border-left: 3px solid var(--color-orange-500);
  }
  .compare-cell::before {
    content: attr(data-label);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-gray-500);
    display: block;
    margin-bottom: 4px;
  }
  .compare-cell.cell-property::before { display: none; }
  .compare-row.compare-header { display: none; }
}

/* ----- CTA disclaimer (sits on navy CTA strip) ----- */
.cta-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-md);
  font-style: italic;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .verdict-grid {
    grid-template-columns: 1fr;
  }
  .scenario-block {
    padding: var(--space-lg);
  }
  .scenario-header h3 {
    font-size: 1.375rem;
  }
  .callout-key {
    padding: var(--space-xl);
  }
  .callout-key .callout-strong {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  .section-product {
    padding: var(--space-2xl) 0;
  }
  .scenario-block {
    padding: var(--space-md);
  }
  .verdict-card {
    padding: var(--space-md);
  }
  .power-display {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Reduced motion: disable animations, transitions, and smooth scrolling
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
