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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a2b3c;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Top Bar */
.top-bar {
  background: #1a2b3c;
  color: #fff;
  font-size: 13px;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  height: 40px;
}

.top-link {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.top-link:hover {
  opacity: 0.8;
}

.top-link svg {
  width: 8px;
  height: 5px;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  display: block;
}

/* Logo + Switcher */
.logo-and-switcher {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-use-case-toggle {
  display: flex;
  background: #f0f3f7;
  border-radius: 20px;
  padding: 3px;
  border: 1px solid #e0e4ea;
}

.nav-toggle-option {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 16px;
  color: #5a6670;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-toggle-option:hover:not(.active) {
  color: #1a2b3c;
}

.nav-toggle-option.active {
  background: #1a2b3c;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #1a2b3c;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  height: 100%;
  cursor: pointer;
}

.nav-link svg {
  transition: transform 0.2s;
}

.nav-link:hover {
  color: #00b7e5;
}

/* Mega Menu */
.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  width: 100vw;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #e8eaed;
  display: none;
  z-index: 9999;
}

.nav-item.active .mega-menu {
  display: block;
}

.nav-item.active .nav-link {
  color: #00b7e5;
}

.nav-item.active .nav-link svg {
  transform: rotate(180deg);
}

.mega-menu-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 28px;
  display: flex;
  gap: 40px;
}

.mega-col-sidebar {
  min-width: 260px;
  max-width: 280px;
  padding-right: 32px;
  border-right: 1px solid #e8eaed;
}

.mega-col-main {
  flex: 1;
}

.mega-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a2b3c;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mega-desc {
  font-size: 13px;
  color: #5a6670;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.btn-dark {
  background: #1a2b3c;
  color: #fff;
}

.btn-dark:hover {
  background: #2a3f52;
}

.btn-cta {
  background: #7ed321;
  color: #001e39;
  white-space: nowrap;
}

.btn-cta:hover {
  background: #ffd012;
}

/* Product Dropdown */
.product-logos {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-logo-link {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a2b3c;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-logo-link:hover {
  background: #f4f5f7;
}

.product-logo-link.active {
  background: #f4f5f7;
  border-color: #e0e3e8;
}

.product-logo-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-logo-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a2b3c;
  line-height: 1.3;
}

.product-logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #8a939d;
  margin-top: 1px;
}

.product-logo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #00b7e5;
  background: #d9f4fb;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Product Panels */
.product-panel {
  display: none;
}

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

/* FSM Coming Soon */
.fsm-coming-soon {
  padding: 8px 0;
}

.fsm-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.fsm-hero h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.fsm-badge-large {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #00b7e5;
  background: #d9f4fb;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fsm-description {
  font-size: 14px;
  color: #5a6670;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 640px;
}

.fsm-features-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin-bottom: 28px;
}

.fsm-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a2b3c;
  padding: 8px 0;
}

.fsm-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid #e8eaed;
}

.fsm-learn-link {
  font-size: 14px;
  font-weight: 600;
  color: #00b7e5;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.fsm-learn-link:hover {
  gap: 10px;
}

.product-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8eaed;
}

.product-hero-text {
  flex: 1;
}

.product-hero-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 4px;
}

.product-hero-desc {
  font-size: 13px;
  color: #5a6670;
  line-height: 1.55;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  white-space: nowrap;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
}

.feature-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 8px;
}

.feature-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5a6670;
  padding: 4px 0;
  transition: color 0.15s;
}

.feature-group a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #a0a8b0;
  transition: color 0.15s;
}

.feature-group a:hover {
  color: #00b7e5;
}

.feature-group a:hover svg {
  color: #00b7e5;
}

.feature-group a.more-link {
  color: #00b7e5;
  font-weight: 600;
  margin-top: 2px;
}

.feature-group a.more-link svg {
  color: #00b7e5;
}


/* Mega Menu - Explore Further Buttons */
.feature-group .mega-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 16px;
  background: #7ed321;
  color: #001e39;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  transition: background 0.2s, transform 0.15s;
}
.feature-group .mega-explore-btn:hover {
  background: #ffd012;
  transform: translateY(-1px);
  color: #001e39;
}
.feature-group .mega-explore-btn span {
  font-size: 13px;
  transition: transform 0.2s;
}
.feature-group .mega-explore-btn:hover span {
  transform: translateX(2px);
}

.integration-more {
  font-size: 13px;
  font-weight: 600;
  color: #00b7e5;
  white-space: nowrap;
}
/* Integrations Showcase */
.integrations-showcase {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e8eaed;
}

.integrations-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.integrations-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1a2b3c;
}

.integrations-sub {
  font-size: 12px;
  color: #8a939d;
}

.integrations-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.integrations-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: #f4f5f7;
  border-radius: 6px;
  transition: all 0.15s;
}

.integration-logo:hover {
  background: #e8eaed;
}

.integration-wordmark {
  font-size: 13px;
  font-weight: 700;
  color: #8a939d;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.integration-logo-img {
  height: 20px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.integrations-features {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  border-left: 1px solid #e8eaed;
}

.integrations-features a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5a6670;
  white-space: nowrap;
  transition: color 0.15s;
}

.integrations-features a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #a0a8b0;
  transition: color 0.15s;
}

.integrations-features a:hover,
.integrations-features a:hover svg {
  color: #00b7e5;
}

.integrations-more {
  font-size: 13px;
  font-weight: 600;
  color: #00b7e5;
  white-space: nowrap;
  margin-left: auto;
  transition: gap 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.integrations-more:hover {
  gap: 8px;
}

/* Industries Dropdown */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

/* Industries Mega Menu Columns */
.industry-columns {
  display: flex;
  gap: 32px;
}

.industry-column {
  flex: 1;
}

.industry-column-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9199;
  padding: 0 12px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eceef0;
}

.industry-card {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.15s;
  align-items: flex-start;
}

.industry-card:hover {
  background: #f4f5f7;
}

.industry-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: #f0f4f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 3px;
}

.industry-card p {
  font-size: 12px;
  color: #5a6670;
  line-height: 1.5;
}

.industry-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2b3c;
  line-height: 1.3;
}

/* Resources & Support Dropdown */
.resources-columns {
  display: flex;
  gap: 48px;
}

.resource-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 8px;
}

.resource-group a {
  display: block;
  font-size: 13px;
  color: #5a6670;
  padding: 4px 0;
  transition: color 0.15s;
}

.resource-group a:hover {
  color: #00b7e5;
}

/* Resource Feature Cards (Resources dropdown) */
.resource-cards-grid {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.resource-feature-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  background: #fafbfc;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.resource-feature-card:hover {
  background: #eff5f6;
  border-color: #b7d9eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.resource-feature-card:hover .resource-feature-icon {
  background: #d9f4fb;
  border-color: #cde5f2;
}

.resource-feature-card:hover .resource-feature-arrow {
  opacity: 1;
  transform: translateX(0);
}

.resource-feature-icon {
  width: 44px;
  height: 44px;
  background: #f0f2f4;
  border: 1px solid #e0e3e7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.resource-feature-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.resource-feature-text p {
  font-size: 12.5px;
  color: #5a6670;
  line-height: 1.5;
  margin: 0;
}

.resource-feature-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

/* Mega Footer */
.mega-footer-bg {
  background: #fafbfc;
  border-top: 1px solid #e8eaed;
}

.mega-footer {
  padding: 14px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.mega-footer-enhanced {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mega-footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1a2b3c;
  border: 1px solid #d0d5dd;
  background: #fff;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: #1a2b3c;
  background: #f4f5f7;
}

.btn-cta-solid {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #001e39;
  background: #7ed321;
  border: 1px solid #7ed321;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-cta-solid:hover {
  background: #ffd012;
  border-color: #ffd012;
}

/* Overlay */
.header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.header-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  background: #f0f3f7;
  border-bottom: none;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
  padding-bottom: 32px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #5a6670;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  color: #1a2b3c;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-rotate-word {
  color: #2B9FD9;
  background: none;
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-width: 320px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: uppercase;
}

.hero-rotate-word.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.hero-anchor {
  font-size: 22px;
  font-weight: 600;
  color: #1a2b3c;
  margin-bottom: 20px;
  letter-spacing: 0.1px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #5a6670;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-actions .btn-cta {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 6px;
}

.hero-cta-qualifier {
  font-size: 14px;
  color: #5a6a7a;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 0.1px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.trust-review {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-review img {
  height: 44px;
  width: auto;
  display: block;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: #c8ced6;
  flex-shrink: 0;
}

.trust-compliance {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-compliance img {
  height: 42px;
  width: auto;
  display: block;
}

.trust-compliance svg {
  flex-shrink: 0;
}

.hero-video-link {
  font-size: 16px;
  font-weight: 600;
  color: #1a2b3c;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.hero-video-link:hover {
  color: #00b7e5;
}

.play-icon {
  display: flex;
}

.hero-image {
  flex: 1;
  max-width: 600px;
  align-self: flex-end;
}

.hero-image-placeholder {
  width: 100%;
}

.hero-image-placeholder svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Logo Band */
.logo-band {
  background: #f0f3f7;
  padding: 24px 0 40px;
  text-align: center;
  border-top: 2px solid #d5dbe3;
  border-bottom: 1px solid #e0e4ea;
}

.logo-band-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #5a6670;
  margin-bottom: 28px;
}

.logo-band-track-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-band-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.logo-band-track img {
  max-height: 52px;
  max-width: 160px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.62;
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}

.logo-band-track img:hover {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}

/* Stacked / square crest logos: allow more vertical room so they don't look tiny next to wide wordmarks */
.logo-band-track img[src*="berkmann"],
.logo-band-track img[src*="centrado"],
.logo-band-track img[src*="qcatering"],
.logo-band-track img[src*="unisnacks"],
.logo-band-track img[src*="wedge"] {
  max-height: 72px;
  max-width: 110px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   STACKING SCROLL-DRIVEN SECTION
   ============================================ */

.reality-sticky-header {
  flex-shrink: 0;
  text-align: center;
  padding-bottom: 20px;
}

.reality-intro-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: #2B9FD9;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.reality-intro-title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.reality-intro-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.reality-scroll-track {
  position: relative;
  background: #0f1c28;
}

.reality-sticky-pane,
.reality-sticky-pane * {
  pointer-events: none !important;
}

.reality-sticky-pane {
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 24px 48px 0;
  z-index: 10;
  background: #0f1c28;
}

/* Stage - wraps ops cockpit + clock + overlay layer for callouts/bubbles */
.reality-stage {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 0;
  min-height: 0;
  box-sizing: border-box;
}

.reality-stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1000; /* must sit above Leaflet's internal panes (~700) */
  overflow: hidden;
}

/* Ops cockpit - bar + body (map left, sheet right) */
.reality-ops {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.reality-ops-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
  flex-shrink: 0;
}

.reality-ops-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(43, 159, 217, 0.16);
  color: #2B9FD9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.reality-ops-meta {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.4px;
}

.reality-ops-meta-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.18);
}

.reality-ops-body {
  flex: 1;
  display: flex;
  gap: 14px;
  min-height: 0;
}

.reality-ops-pane {
  flex: 1;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.reality-ops-map-pane { flex: 1.15; }
.reality-ops-sheet-pane { flex: 1; }

.reality-ops-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}

.reality-ops-pane-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.reality-ops-pane-meta {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.4px;
}

/* Map pane - real NYC map via Leaflet (dark tiles) with overlay routes */
.ops-map {
  flex: 1;
  position: relative;
  background: #0a1722;
  min-height: 0;
  overflow: hidden;
}

/* Leaflet container styling */
.ops-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #0a1722;
  font-family: inherit;
  outline: none;
}

.ops-map .leaflet-control-container,
.ops-map .leaflet-control-attribution {
  display: none !important;
}

/* Tone down OSM tiles to match the dark UI */
.ops-map .leaflet-tile-pane {
  filter: brightness(0.85) saturate(0.7);
}

/* Route polyline styling (set via Leaflet path-options too, but CSS for the SVG paths) */
.ops-map-route-path {
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

.ops-map-route-path.is-focus {
  filter: drop-shadow(0 0 6px currentColor);
}

/* Stop markers - styled via classes on Leaflet circleMarker SVG paths */
.ops-map-stop-marker {
  fill: rgba(255, 255, 255, 0.6);
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.ops-map-stop-marker.is-focus {
  fill: #ef4444;
  stroke: #ef4444;
}

.ops-map-depot-marker {
  fill: #fbbf24;
  stroke: rgba(251, 191, 36, 0.55);
  stroke-width: 1.5;
}

.ops-map-depot-label-icon { background: transparent !important; border: none !important; }

.ops-map-depot-label {
  display: inline-block;
  font-size: 9px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(251, 191, 36, 0.92);
  background: rgba(10, 23, 34, 0.8);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 600;
}

/* Pulse layer (a separate marker we add at the focus stop) */
.ops-map-pulse-marker {
  fill: rgba(239, 68, 68, 0.35);
  animation: ops-map-pulse-anim 1.6s ease-in-out infinite;
}

@keyframes ops-map-pulse-anim {
  0%, 100% { transform: scale(0.6); opacity: 0.85; }
  50%      { transform: scale(1.6); opacity: 0; }
}

.ops-map-pulse-marker {
  transform-box: fill-box;
  transform-origin: center;
}

/* Vehicle legend - compact panel tucked into the top-right of the map */
.ops-map-legend {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  background: rgba(10, 23, 34, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  pointer-events: none;
  z-index: 500;
  max-width: 168px;
}

.ops-map-legend-head {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 4px;
}

.ops-map-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.2px;
  line-height: 1.2;
  font-weight: 500;
}

.ops-map-legend-swatch {
  width: 10px;
  height: 2px;
  border-radius: 1px;
  flex-shrink: 0;
}

.ops-map-attrib {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 8.5px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.2px;
  z-index: 500;
  pointer-events: none;
}

/* Spreadsheet pane - Excel-style stops table */
.ops-sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.18);
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  min-height: 0;
  overflow: hidden;
}

.ops-sheet-row {
  display: grid;
  grid-template-columns: 32px 1fr 1.4fr 96px 64px 80px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.ops-sheet-cell {
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  letter-spacing: 0.2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.ops-sheet-cell:last-child { border-right: none; }

.ops-sheet-row.is-head .ops-sheet-cell {
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 8px;
}

.ops-sheet-row.is-foot .ops-sheet-cell {
  background: rgba(43, 159, 217, 0.06);
  color: rgba(43, 159, 217, 0.85);
  font-weight: 700;
  border-top: 1px solid rgba(43, 159, 217, 0.18);
}

/* Cell highlight states */
.ops-sheet-cell.is-yellow { background: rgba(251, 191, 36, 0.18); color: #fbbf24; }
.ops-sheet-cell.is-red    { background: rgba(239, 68, 68, 0.18);  color: #fca5a5; }
.ops-sheet-cell.is-accent { background: rgba(0, 183, 229, 0.16);  color: #4cdbff; }
.ops-sheet-cell.is-blue   { background: rgba(43, 159, 217, 0.14); color: #7dd3fc; }
.ops-sheet-cell.is-cancelled { color: rgba(255, 255, 255, 0.3); text-decoration: line-through; }
.ops-sheet-cell.is-bold   { font-weight: 700; }

.ops-sheet-row.is-focus {
  outline: 1px solid rgba(239, 68, 68, 0.55);
  outline-offset: -1px;
  background: rgba(239, 68, 68, 0.04);
}

.ops-sheet-row.is-new {
  background: rgba(251, 191, 36, 0.05);
}

.ops-sheet-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Fade-out at the bottom of the visible body to imply rows continue beyond */
.ops-sheet-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(8,18,28,0.85) 70%, #0a1722);
}

/* Damage counter bar */
.reality-damage-bar {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 48px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reality-damage-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.reality-damage-value {
  font-size: 28px;
  font-weight: 800;
  color: #2B9FD9;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.reality-damage-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.reality-damage-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.reality-amplifier {
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0);
  padding: 8px 48px 0;
  line-height: 1.4;
  transition: color 0.6s ease;
}

.reality-amplifier.visible {
  color: rgba(255, 255, 255, 0.35);
}

/* Operation clock axis - horizontal day timeline beneath the cockpit */
.reality-clock {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 0 0;
}

.reality-clock-line {
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.reality-clock-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, rgba(43, 159, 217, 0.4), #2B9FD9);
  border-radius: 1px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.reality-clock-markers {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
}

.reality-clock-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.reality-clock-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #0f1c28;
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 15px;
}

.reality-clock-marker.is-past .reality-clock-dot {
  background: rgba(43, 159, 217, 0.55);
  border-color: rgba(43, 159, 217, 0.55);
}

.reality-clock-marker.is-active .reality-clock-dot {
  background: #2B9FD9;
  border-color: #2B9FD9;
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(43, 159, 217, 0.18);
}

.reality-clock-time {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.reality-clock-marker.is-past .reality-clock-time { color: rgba(255, 255, 255, 0.5); }
.reality-clock-marker.is-active .reality-clock-time { color: #2B9FD9; font-weight: 700; }

/* Callout - pops UP from the active clock marker, points down at the timeline */
.stage-callout {
  position: absolute;
  background: #1a2a3a;
  border: 1px solid rgba(43, 159, 217, 0.55);
  border-radius: 10px;
  padding: 10px 14px 11px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  max-width: 280px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 6;
}

.stage-callout.is-on { opacity: 1; transform: translate(-50%, 0); }

.stage-callout::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: calc(50% + var(--arrow-shift, 0px));
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #1a2a3a;
  border-right: 1px solid rgba(43, 159, 217, 0.55);
  border-bottom: 1px solid rgba(43, 159, 217, 0.55);
}

.stage-callout-time {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: #2B9FD9;
  letter-spacing: 0.6px;
  font-weight: 700;
  margin-bottom: 3px;
}

.stage-callout-text {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  letter-spacing: -0.1px;
}

.stage-callout-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-top: 4px;
  font-weight: 400;
}

/* Bubble - drifts in from a side, alternating per beat */
.stage-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 13px 11px;
  max-width: 240px;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stage-bubble.from-left  { transform: translateX(-20px); }
.stage-bubble.from-right { transform: translateX(20px); }
.stage-bubble.from-top   { transform: translateY(-12px); }
.stage-bubble.is-on      { opacity: 1; transform: translate(0, 0); }

.stage-bubble-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.stage-bubble-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(43, 159, 217, 0.22);
  color: #7dd3fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.stage-bubble-name {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.stage-bubble-role {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.stage-bubble-text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
}

.stage-bubble--alert {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(252, 165, 165, 0.32);
}

.stage-bubble--alert .stage-bubble-avatar { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.stage-bubble--alert .stage-bubble-name {
  color: #fca5a5;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.8px;
}
.stage-bubble--alert .stage-bubble-text { color: rgba(255, 255, 255, 0.86); font-style: normal; }

.stage-bubble--call .stage-bubble-avatar { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }
.stage-bubble--email .stage-bubble-avatar { background: rgba(43, 159, 217, 0.22); color: #7dd3fc; }

/* Mobile */
@media (max-width: 900px) {
  .reality-sticky-pane { padding: 28px 20px 24px; }
  .reality-intro-title { font-size: 26px; }
  .reality-intro-sub { font-size: 13px; }
  .reality-damage-bar {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 6px 0;
    border-radius: 18px;
  }
  .reality-damage-stat { flex: 0 0 50%; padding: 6px 4px; }
  .reality-damage-value { font-size: 22px; }
  .reality-damage-label { font-size: 9px; margin-top: 4px; }
  .reality-damage-divider { display: none; }
  .reality-ops-body { flex-direction: column; gap: 10px; }
  .reality-ops-map-pane, .reality-ops-sheet-pane { flex: 1; }
  .reality-ops-pane-head { padding: 8px 12px; }
  .ops-sheet-row {
    grid-template-columns: 28px 1fr 1.2fr 80px 56px 64px;
  }
  .reality-clock-time { font-size: 9px; }
  .reality-amplifier { padding: 14px 16px 0; font-size: 13px; }
}

/* Base message */
.chaos-msg {
  max-width: 85%;
}

.chaos-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timestamp */
.chaos-msg-time {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 2px;
}

/* Role tag next to sender name */
.chaos-msg-role {
  font-weight: 400;
  opacity: 0.5;
  font-size: 11px;
}

/* WhatsApp messages */
.chaos-msg--whatsapp {
  align-self: flex-start;
}

.chaos-msg--whatsapp .chaos-msg-bubble {
  background: #1a3a2a;
  border-radius: 12px 12px 12px 4px;
  padding: 8px 12px;
  border: 1px solid rgba(74, 222, 128, 0.1);
}

.chaos-msg--whatsapp .chaos-msg-sender {
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chaos-msg--whatsapp .chaos-msg-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
}

.chaos-msg--whatsapp .chaos-msg-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* Internal chat messages */
.chaos-msg--internal {
  align-self: flex-start;
}

.chaos-msg--internal .chaos-msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chaos-msg--internal .chaos-msg-sender {
  font-size: 12px;
  font-weight: 700;
  color: #7aa2c4;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chaos-msg--internal .chaos-msg-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(122, 162, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #7aa2c4;
}

.chaos-msg--internal .chaos-msg-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

/* System alerts */
.chaos-msg--alert {
  max-width: 100%;
  align-self: stretch;
}

.chaos-msg--alert .chaos-msg-banner {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.chaos-msg--alert .chaos-msg-label {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.chaos-msg--alert .chaos-msg-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}

.chaos-msg--alert-amber .chaos-msg-banner {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
}

.chaos-msg--alert-amber .chaos-msg-label {
  color: #f59e0b;
}

.chaos-msg--alert-red .chaos-msg-banner {
  background: rgba(220, 38, 38, 0.08);
  border-left: 3px solid #dc2626;
}

.chaos-msg--alert-red .chaos-msg-label {
  color: #ef4444;
}

/* Email messages */
.chaos-msg--email {
  align-self: flex-start;
}

.chaos-msg--email .chaos-msg-bubble {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px 12px 12px 4px;
  padding: 8px 12px;
}

.chaos-msg--email .chaos-msg-sender {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.chaos-msg--email .chaos-msg-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Missed call */
.chaos-msg--call {
  max-width: 100%;
  align-self: center;
}

.chaos-msg--call .chaos-msg-call-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
}

.chaos-msg--call .chaos-msg-call-icon {
  color: #ef4444;
  flex-shrink: 0;
  animation: chaos-pulse 1.5s ease-in-out 3;
}

@keyframes chaos-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.chaos-msg--call .chaos-msg-text {
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
}

/* Inline insight cards */
.chaos-msg--insight {
  max-width: 100%;
  align-self: stretch;
}

.chaos-insight-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(43, 159, 217, 0.08);
  border-left: 3px solid #2B9FD9;
  border-radius: 4px 10px 10px 4px;
  padding: 10px 14px;
}

.chaos-insight-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.chaos-insight-text {
  font-size: 13px;
  font-weight: 600;
  color: #2B9FD9;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .reality-sticky-pane { padding: 24px 20px 0; }
  .reality-card { flex-direction: column; }
  .reality-card-info { flex: none; }
  .reality-card-msgs { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); padding-left: 0; padding-top: 12px; }
  .reality-damage-bar { padding: 12px 16px; }
  .reality-damage-stat { padding: 0 16px; }
  .reality-damage-value { font-size: 22px; }
}

/* What Changes Section */
.changes-section {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
  z-index: 20;
}

.changes-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.changes-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.changes-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #00b7e5;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.changes-hero {
  font-size: 48px;
  font-weight: 800;
  color: #1a2b3c;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

/* Rotating word slot */
.changes-rotate-slot {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: #00b7e5;
  text-align: center;
}

.changes-rotate-word {
  color: #00b7e5;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.changes-rotate-word.active {
  opacity: 1;
}

.changes-rotate-word:not(.active) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.changes-rotate-word.exiting {
  opacity: 0;
}

.changes-supporting {
  font-size: 17px;
  line-height: 1.65;
  color: #5a6670;
}

.changes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.changes-item {
  text-align: center;
  padding: 32px 24px;
  background: #f8fafb;
  border-radius: 14px;
  border: 1px solid #e8ecf0;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.changes-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00b7e5;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.changes-item:hover {
  background: #ffffff;
  border-color: rgba(0, 183, 229, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 43, 60, 0.08);
}

.changes-item:hover::before {
  opacity: 1;
}

.changes-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 183, 229, 0.08);
  border-radius: 10px;
}

.changes-icon svg {
  width: 20px;
  height: 20px;
  stroke: #00b7e5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.changes-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #1a2b3c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.changes-human {
  font-size: 14px;
  color: #7a8a9a;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .changes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .changes-section {
    padding: 48px 0;
  }
  .changes-hero {
    font-size: 32px;
  }
  .changes-grid {
    grid-template-columns: 1fr;
  }
}

/* Tool Stack Section */
.toolstack-section {
  background: linear-gradient(180deg, #1a2b3c 0%, #162536 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.toolstack-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.toolstack-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.toolstack-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.toolstack-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #00b7e5;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.toolstack-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.toolstack-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.toolstack-orbit {
  overflow: hidden;
  margin-bottom: 48px;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  padding: 8px 0;
}

.toolstack-orbit-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: orbit-scroll 60s linear infinite;
}

.toolstack-orbit-track:hover {
  animation-play-state: paused;
}

.toolstack-chip {
  flex-shrink: 0;
  padding: 12px 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  position: relative;
  overflow: hidden;
}

.toolstack-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.toolstack-chip:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
}

.toolstack-chip img {
  height: 20px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.toolstack-chip:hover img {
  opacity: 1;
}

.toolstack-chip span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.toolstack-chip:hover span {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes orbit-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Category cards */
.toolstack-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.toolstack-card {
  padding: 28px 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.toolstack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.toolstack-card-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.toolstack-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.toolstack-connector {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .toolstack-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .toolstack-cards {
    grid-template-columns: 1fr;
  }
}

/* Platform Section */
.platform {
  background: #fff;
  padding: 80px 0 0;
}

.platform-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.platform-header-text {
  max-width: 700px;
}

.platform-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #00b7e5;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.platform-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2b3c;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.platform-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6670;
}

/* Platform Tabs */
.platform-tabs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.platform-tab-bar {
  display: flex;
  border: 1px solid #e0e4ea;
  border-radius: 0;
}

.platform-tab {
  flex: 1;
  padding: 20px 16px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #5a6670;
  text-align: center;
  cursor: pointer;
  position: relative;
  border-right: 1px solid #e0e4ea;
  background: #fff;
  transition: color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platform-tab:last-child {
  border-right: none;
}

.platform-tab.active {
  color: #1a2b3c;
  font-weight: 700;
  background: #fdf3f0;
}

.platform-tab:hover:not(.active) {
  color: #1a2b3c;
  background: #f8f9fb;
}

.tab-progress {
  display: block;
  width: 100%;
  height: 3px;
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}

.platform-tab.active .tab-progress {
  background: #f0d5ca;
}

.tab-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: #7ed321;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.platform-tab.active .tab-progress-bar {
  animation: tab-fill 6s linear forwards;
}

@keyframes tab-fill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Platform Panels */
.platform-panels {
  padding: 60px 0 80px;
}

.platform-panel {
  display: none;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.platform-panel.active {
  display: flex;
}

.panel-image {
  flex: 1;
  max-width: 560px;
}

.panel-image svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.panel-text {
  flex: 1;
  max-width: 500px;
}

.panel-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #00b7e5;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.panel-text h4 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #1a2b3c;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.panel-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6670;
  margin-bottom: 28px;
}

.panel-link {
  font-size: 16px;
  font-weight: 700;
  color: #1a2b3c;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.panel-link:hover {
  gap: 14px;
  color: #00b7e5;
}

/* Journey Section */
.journey-section {
  background: #1a2b3c;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.journey-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.journey-header {
  margin-bottom: 52px;
}

.journey-eyebrow {
  font-size: 10px;
  font-weight: 600;
  color: rgba(0, 183, 229, 0.6);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.journey-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -1px;
}

.journey-title-dim {
  color: rgba(255,255,255,0.12);
  transition: color 1.2s ease;
}

.journey-title-dim.lit {
  color: #ffffff;
}

/* Track */
.journey-track-outer {
  position: relative;
  margin-bottom: 0;
}

/* Fade edges */
.journey-track-outer::before,
.journey-track-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}

.journey-track-outer::before {
  left: 0;
  background: linear-gradient(90deg, #1a2b3c, transparent);
}

.journey-track-outer::after {
  right: 0;
  background: linear-gradient(270deg, #1a2b3c, transparent);
}

.journey-track {
  display: flex;
  gap: 6px;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0;
  cursor: grab;
  user-select: none;
}

/* Spacers to allow first/last card to center */
.journey-spacer-start {
  flex: 0 0 40px;
  pointer-events: none;
}

.journey-spacer-end {
  flex: 0 0 40px;
  pointer-events: none;
}

.journey-track::-webkit-scrollbar { display: none; }

.journey-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.journey-track:not(.dragging) {
  scroll-behavior: smooth;
}

/* Card */
.journey-card {
  flex: 0 0 184px;
  min-height: 156px;
  padding: 22px 20px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  background: rgba(255,255,255,0.006);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Top accent line */
.journey-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  border-radius: 1px;
  transition: all 0.7s ease;
  background: transparent;
}

.journey-card-step {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: color 0.7s ease;
  color: rgba(255,255,255,0.04);
}

.journey-card-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.1px;
  transition: color 0.7s ease;
}

.journey-card-text {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,0.03);
  transition: color 0.7s ease;
  flex: 1;
}

.journey-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.03);
  transition: color 0.7s ease;
}

.journey-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  transition: background 0.7s ease;
  background: rgba(255,255,255,0.03);
}

/* Divider */
.journey-divider {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.journey-divider-pip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(72, 187, 120, 0.06);
  border: 1px solid rgba(72, 187, 120, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.7s ease;
}

.journey-divider-pip svg {
  width: 10px;
  height: 10px;
  stroke: rgba(72, 187, 120, 0.4);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.7s ease;
}

.journey-divider.lit .journey-divider-pip {
  background: rgba(72, 187, 120, 0.12);
  border-color: rgba(72, 187, 120, 0.35);
  box-shadow: 0 0 20px rgba(72, 187, 120, 0.1);
}

.journey-divider.lit .journey-divider-pip svg {
  stroke: #48bb78;
}

/* === LIT PRE === */
.journey-card.lit {
  border-color: rgba(0, 183, 229, 0.06);
  background: rgba(0, 183, 229, 0.012);
}
.journey-card.lit::before { background: rgba(0, 183, 229, 0.15); }
.journey-card.lit .journey-card-step { color: rgba(0, 183, 229, 0.3); }
.journey-card.lit .journey-card-title { color: rgba(255,255,255,0.4); }
.journey-card.lit .journey-card-text { color: rgba(255,255,255,0.18); }
.journey-card.lit .journey-card-meta { color: rgba(0, 183, 229, 0.25); }
.journey-card.lit .journey-meta-dot { background: rgba(0, 183, 229, 0.25); }

/* === ACTIVE PRE === */
.journey-card.active {
  border-color: rgba(0, 183, 229, 0.18);
  background: rgba(0, 183, 229, 0.035);
  box-shadow:
    0 0 0 1px rgba(0, 183, 229, 0.04),
    0 8px 32px rgba(0, 183, 229, 0.06),
    0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.journey-card.active::before { background: #7ed321; height: 2px; }
.journey-card.active .journey-card-step { color: #00b7e5; }
.journey-card.active .journey-card-title { color: #ffffff; }
.journey-card.active .journey-card-text { color: rgba(255,255,255,0.5); }
.journey-card.active .journey-card-meta { color: #00b7e5; }
.journey-card.active .journey-meta-dot { background: #7ed321; }

/* === LIT POST === */
.journey-card.lit-post {
  border-color: rgba(72, 187, 120, 0.06);
  background: rgba(72, 187, 120, 0.01);
}
.journey-card.lit-post::before { background: rgba(72, 187, 120, 0.15); }
.journey-card.lit-post .journey-card-step { color: rgba(72, 187, 120, 0.3); }
.journey-card.lit-post .journey-card-title { color: rgba(255,255,255,0.4); }
.journey-card.lit-post .journey-card-text { color: rgba(255,255,255,0.18); }
.journey-card.lit-post .journey-card-meta { color: rgba(72, 187, 120, 0.25); }
.journey-card.lit-post .journey-meta-dot { background: rgba(72, 187, 120, 0.25); }

/* === ACTIVE POST === */
.journey-card.active-post {
  border-color: rgba(72, 187, 120, 0.18);
  background: rgba(72, 187, 120, 0.03);
  box-shadow:
    0 0 0 1px rgba(72, 187, 120, 0.04),
    0 8px 32px rgba(72, 187, 120, 0.05),
    0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.journey-card.active-post::before { background: #48bb78; height: 2px; }
.journey-card.active-post .journey-card-step { color: #48bb78; }
.journey-card.active-post .journey-card-title { color: #ffffff; }
.journey-card.active-post .journey-card-text { color: rgba(255,255,255,0.5); }
.journey-card.active-post .journey-card-meta { color: #48bb78; }
.journey-card.active-post .journey-meta-dot { background: #48bb78; }

/* Progress */
.journey-progress {
  margin: 20px 48px 0;
  height: 2px;
  background: rgba(255,255,255,0.025);
  border-radius: 1px;
  overflow: hidden;
}

.journey-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 1px;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1), background 0.7s ease;
  background: #7ed321;
}

.journey-progress-fill.green {
  background: #7ed321;
}

/* CTA */
.journey-cta {
  text-align: center;
  margin-top: 44px;
}

.journey-cta-line {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.journey-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7ed321;
  color: #001e39;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-cta-btn:hover {
  background: #d4632e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 183, 229, 0.3);
}

.journey-cta-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.journey-cta-btn:hover svg { transform: translateX(3px); }

/* Stats Section */
.stats {
  background: #152232;
  padding: 80px 0 88px;
  text-align: center;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.stats-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 60px;
  font-style: italic;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stat-number {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #a0b0c0;
}

/* Industries We Serve Section */
.industries {
  background: #f4f5f7;
  padding: 80px 0 88px;
}

.industries-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.industries-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.industries-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #a0b0c0;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.industries-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2b3c;
  text-transform: uppercase;
}

.industries-arrows {
  display: flex;
  gap: 8px;
  padding-top: 30px;
}

.industries-arrow {
  width: 40px;
  height: 40px;
  border: 1.5px solid #c0c8d0;
  border-radius: 4px;
  background: #fff;
  color: #5a6670;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.industries-arrow:hover {
  border-color: #1a2b3c;
  color: #1a2b3c;
}

.industries-carousel {
  overflow: hidden;
}

.industries-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.industry-slide {
  min-width: calc((100% - 48px) / 3);
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.industry-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.industry-slide-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.industry-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.industry-slide-icon {
  position: absolute;
  bottom: 64px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.industry-slide-name {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 120px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.industry-slide-link {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.industry-slide-link:hover {
  color: #fff;
}

.industry-slide-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .industries-title {
    font-size: 32px;
  }

  .industry-slide {
    min-width: calc((100% - 24px) / 2);
  }

  .industry-slide-image {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .industries {
    padding: 56px 0 64px;
  }

  .industries-inner {
    padding: 0 20px;
  }

  .industries-title {
    font-size: 26px;
  }

  .industries-header {
    flex-direction: column;
    gap: 16px;
  }

  .industries-arrows {
    padding-top: 0;
  }

  .industry-slide {
    min-width: 100%;
  }
}

/* Resources / Featured Blogs Section */
.resources {
  background: #f0f2f5;
  padding: 80px 0 88px;
}

.resources-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.resources-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #1a2b3c;
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #1a2b3c;
  border-radius: 4px;
  color: #1a2b3c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-outline-dark:hover {
  background: #1a2b3c;
  color: #fff;
}

.resources-divider {
  height: 1px;
  background: #d0d8e0;
  margin-bottom: 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 0;
}

.resources-featured {
  padding: 48px 48px 48px 0;
  border-right: 1px solid #d0d8e0;
}

.resources-featured-image {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.resources-featured-image svg {
  width: 100%;
  height: auto;
  display: block;
}

.resources-featured-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: #1a2b3c;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.resources-featured-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6670;
  margin-bottom: 24px;
}

.resources-link {
  font-size: 15px;
  font-weight: 700;
  color: #00b7e5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.resources-link:hover {
  gap: 14px;
}

.resources-sidebar {
  display: flex;
  flex-direction: column;
}

.resources-card {
  padding: 40px 0 40px 48px;
  border-bottom: 1px solid #d0d8e0;
}

.resources-card:last-child {
  border-bottom: none;
}

.resources-card-rule {
  display: none;
}

.resources-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: #1a2b3c;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.resources-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6670;
  margin-bottom: 24px;
}

/* Request A Demo Section */
.demo {
  background: #1a2b3c;
  padding: 80px 0;
}

.demo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.demo-left {
  color: #fff;
}

.demo-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #2B6CB0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.demo-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.demo-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 32px;
}

.demo-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.demo-bullet svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.demo-bullet span {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.demo-right {
  display: flex;
  flex-direction: column;
}

.demo-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.demo-form-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.demo-form-sub {
  font-size: 14px;
  color: #5a6670;
  margin-bottom: 28px;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-form-row {
  display: flex;
  gap: 12px;
}

.demo-input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid #e0e4ea;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1a2b3c;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-input:focus {
  border-color: #2B6CB0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.demo-input-full {
  width: 100%;
}

.demo-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e4ea;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #5a6670;
  background: #fff;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%235a6670' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-select:focus {
  border-color: #2B6CB0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.demo-submit {
  width: 100%;
  padding: 16px 36px;
  background: #2B6CB0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}

.demo-submit:hover {
  background: #235a94;
  transform: translateY(-1px);
}

.demo-disclaimer {
  font-size: 12.5px;
  color: #a0b0c0;
  text-align: center;
  margin-top: 16px;
}

/* Demo form success state — swap form for confirmation message */
.demo-form-card.success .demo-form,
.demo-form-card.success .demo-form-title,
.demo-form-card.success .demo-form-sub,
.demo-form-card.success .demo-disclaimer { display: none; }

.demo-success {
  display: none;
  text-align: center;
  padding: 16px 6px 6px;
}
.demo-form-card.success .demo-success { display: block; }
.demo-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #3e7f3a;
  display: grid; place-items: center;
}
.demo-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1a2b3c;
  margin-bottom: 8px;
}
.demo-success p {
  font-size: 14px;
  color: #5a6670;
  line-height: 1.55;
}

/* Customer Stories / Testimonials Section */
.testimonials-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 64px;
  overflow: hidden;
  background: #fff;
}

.testimonials-section::before {
  display: none;
}

.testimonials-section::after {
  display: none;
}

.testimonials-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.testimonials-title {
  font-size: 44px;
  font-weight: 800;
  color: #1a2b3c;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.testimonials-title span {
  color: #00b7e5;
}

/* ─── Stories Container (crossfade) ─── */
.stories-stage {
  position: relative;
  min-height: 440px;
  isolation: isolate;
}

.story {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
  z-index: 2;
}

.story.exiting {
  opacity: 0;
  transform: translateY(-6px);
  visibility: visible;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.25s ease-out,
              transform 0.25s ease-out;
}

/* ─── Company Badge ─── */
.story-company-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.story-company-name {
  font-size: 13px;
  font-weight: 700;
  color: #00b7e5;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.story-company-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 183, 229, 0.6), transparent);
}

.story-context {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.story-quote-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.story-quote-mark {
  position: absolute;
  top: -18px;
  left: -8px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 183, 229, 0.15);
  line-height: 1;
  user-select: none;
  font-family: Georgia, 'Times New Roman', serif;
}

.story-quote {
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: #2a3f52;
  line-height: 1.55;
  letter-spacing: -0.3px;
  max-width: 880px;
  position: relative;
}

.story-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.story-attr-dash {
  width: 24px;
  height: 2px;
  background: #7ed321;
  border-radius: 1px;
}

.story-person-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a2b3c;
}

.story-person-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  margin-left: 4px;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.story-stat {
  padding: 28px 32px;
  position: relative;
  text-align: center;
}

.story-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.story-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #00b7e5;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.story-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* ─── Read More Link ─── */
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #00b7e5;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  letter-spacing: 0.2px;
}

.story-link:hover {
  gap: 12px;
  color: #d4693b;
}

.story-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.story-link:hover svg {
  transform: translateX(2px);
}

/* ─── Navigation ─── */
.stories-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.stories-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.stories-nav-btn:hover {
  border-color: rgba(0, 183, 229, 0.5);
  background: rgba(0, 183, 229, 0.08);
  color: #00b7e5;
}

.stories-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* ─── Dot Navigation with Progress ─── */
.stories-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stories-dot {
  position: relative;
  width: 40px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}

.stories-dot:hover {
  background: rgba(0, 0, 0, 0.15);
}

.stories-dot-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #7ed321;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.stories-dot.active .stories-dot-fill {
  transform: scaleX(0);
}

.stories-dot.completed .stories-dot-fill {
  transform: scaleX(1);
}

/* ─── CTA Button ─── */
.testimonials-cta {
  text-align: center;
  margin-top: 44px;
}

.testimonials-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2b3c;
  background: transparent;
  border: 1px solid rgba(0, 183, 229, 0.5);
  border-radius: 60px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  font-family: inherit;
}

.testimonials-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 183, 229, 0.15), rgba(0, 183, 229, 0.05));
  border-radius: 60px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonials-cta-btn:hover {
  border-color: rgba(0, 183, 229, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 183, 229, 0.15);
}

.testimonials-cta-btn:hover::before {
  opacity: 1;
}

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

.testimonials-cta-btn svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.testimonials-cta-btn:hover svg {
  transform: translateX(3px);
}

/* ─── Video Embed ─── */
.story-video-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9;
  background: #f0f3f7;
}

.story-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Testimonials Responsive ─── */
@media (max-width: 900px) {
  .testimonials-section {
    min-height: auto;
    padding: 72px 0 60px;
  }

  .testimonials-inner {
    padding: 0 24px;
  }

  .testimonials-title {
    font-size: 32px;
  }

  .testimonials-header {
    margin-bottom: 48px;
  }

  .story-quote {
    font-size: 22px;
  }

  .story-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-stat:not(:last-child)::after {
    right: 20%;
    top: auto;
    bottom: 0;
    height: 1px;
    width: 60%;
  }

  .story-stat {
    padding: 20px 24px;
  }

  .story-stat-value {
    font-size: 28px;
  }

  .stories-stage {
    min-height: auto;
  }

  .stories-nav {
    gap: 20px;
  }

  .stories-dot {
    width: 28px;
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 56px 0 48px;
  }

  .testimonials-inner {
    padding: 0 20px;
  }

  .testimonials-title {
    font-size: 26px;
    letter-spacing: -1px;
  }

  .story-quote {
    font-size: 19px;
    line-height: 1.5;
  }

  .story-quote-mark {
    font-size: 48px;
    top: -12px;
    left: -4px;
  }

  .story-attribution {
    flex-wrap: wrap;
  }

  .story-person-title {
    margin-left: 0;
  }

  .story-stat-value {
    font-size: 24px;
  }

  .stories-nav-btn {
    width: 40px;
    height: 40px;
  }

  .testimonials-cta-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
}

/* Page Content */
.page-content {
  min-height: 100vh;
  background: #f8f9fb;
}

/* Footer */
.footer {
  background: #1a2b3c;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links-sublabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #5a7088;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #8a9bab;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #8a9bab;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #8a9bab;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bar {
  border-top: 1px solid #2a3f52;
}

.footer-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar p {
  font-size: 13px;
  color: #8a9bab;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-legal a {
  color: #8a9bab;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal span {
  color: #3a5568;
}

/* Before & After / The Shift Section */
.shift-section {
  background: linear-gradient(180deg, #111e2b 0%, #0d1820 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}

.shift-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
}

.shift-header {
  text-align: center;
  margin-bottom: 64px;
}

.shift-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #2B9FD9;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.shift-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -1px;
}

/* Grid layout for perfect column alignment */
.shift-table {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 128px;
  gap: 0;
}

/* Column headers */
.shift-col-head {
  padding: 0 24px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.shift-col-head.today { color: rgba(255,255,255,0.25); }
.shift-col-head.arrow { }
.shift-col-head.elogii { color: #2B9FD9; }
.shift-col-head.impact { color: rgba(255,255,255,0.2); text-align: center; }

/* Row cells — each row is 4 grid cells */
.shift-row-today,
.shift-row-arrow,
.shift-row-elogii,
.shift-row-delta {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Row grouping for animation */
.shift-row-today { background: rgba(255,255,255,0.02); }
.shift-row-arrow {
  background: rgba(255,255,255,0.01);
  align-items: center;
  padding: 20px 0;
}
.shift-row-elogii { background: rgba(43, 159, 217, 0.03); }
.shift-row-delta {
  background: rgba(43, 159, 217, 0.03);
  align-items: center;
  padding: 20px 8px;
}

/* Row animation wrapper */
.shift-row-group {
  display: contents;
  opacity: 0;
}
.shift-row-group.visible {
  opacity: 1;
}
.shift-row-group > * {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.shift-row-group.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.shift-row-group.visible .shift-row-arrow { transition-delay: 0.15s; }
.shift-row-group.visible .shift-row-elogii { transition-delay: 0.25s; }
.shift-row-group.visible .shift-row-delta { transition-delay: 0.4s; }

/* Brighten eLogii side once loaded */
.shift-row-group.loaded .shift-row-elogii {
  background: rgba(43, 159, 217, 0.06);
}
.shift-row-group.loaded .shift-row-delta {
  background: rgba(43, 159, 217, 0.06);
}
.shift-row-group.loaded .shift-solution {
  color: rgba(255,255,255,0.85);
}
.shift-row-group.loaded .shift-cat-right {
  color: #ffffff;
}

/* First row rounded top */
.shift-row-group:first-of-type .shift-row-today { border-radius: 10px 0 0 0; border-top: none; }
.shift-row-group:first-of-type .shift-row-arrow { border-top: none; }
.shift-row-group:first-of-type .shift-row-elogii { border-top: none; }
.shift-row-group:first-of-type .shift-row-delta { border-radius: 0 10px 0 0; border-top: none; }
/* Last row rounded bottom */
.shift-row-group:last-of-type .shift-row-today { border-radius: 0 0 0 10px; }
.shift-row-group:last-of-type .shift-row-delta { border-radius: 0 0 10px 0; }

.shift-cat {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}

.shift-cat-right {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3px;
  transition: color 0.5s ease;
}

.shift-pain {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.3);
}

.shift-solution {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  transition: color 0.5s ease;
}

/* Arrow */
.shift-arrow-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(43, 159, 217, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shift-arrow-icon svg {
  width: 13px;
  height: 13px;
  stroke: #2B9FD9;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Delta badge — uniform size */
.shift-delta-badge {
  width: 108px;
  height: 56px;
  background: rgba(43, 159, 217, 0.1);
  border: 1px solid rgba(43, 159, 217, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.shift-delta-number {
  font-size: 16px;
  font-weight: 800;
  color: #2B9FD9;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.shift-delta-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(43, 159, 217, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Summary */
.shift-summary {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(43, 159, 217, 0.08) 0%, rgba(43, 159, 217, 0.04) 100%);
  border: 1px solid rgba(43, 159, 217, 0.15);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.shift-summary.visible {
  opacity: 1;
  transform: translateY(0);
}

.shift-summary-left { flex: 1; }

.shift-summary-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.shift-summary-text {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.shift-summary-right {
  text-align: right;
  flex-shrink: 0;
  margin-left: 40px;
}

.shift-summary-number {
  font-size: 44px;
  font-weight: 800;
  color: #2B9FD9;
  letter-spacing: -2px;
  line-height: 1;
  transition: all 0.4s ease;
}

.shift-summary-sub {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Calculator */
.shift-calculator {
  margin-top: 20px;
  padding: 24px 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.shift-calculator.visible {
  opacity: 1;
  transform: translateY(0);
}

.shift-calc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shift-calc-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.shift-calc-label strong {
  color: rgba(255,255,255,0.8);
}

.shift-calc-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(43, 159, 217, 0.08);
  border: 1px solid rgba(43, 159, 217, 0.25);
  border-radius: 8px;
  color: #2B9FD9;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 36px 10px 16px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232B9FD9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.shift-calc-select:hover,
.shift-calc-select:focus {
  border-color: rgba(43, 159, 217, 0.5);
}

.shift-calc-select option {
  background: #1a2b3c;
  color: #ffffff;
}

.shift-calc-result {
  text-align: right;
}

.shift-calc-amount {
  font-size: 28px;
  font-weight: 800;
  color: #2B9FD9;
  letter-spacing: -1px;
  line-height: 1;
  transition: all 0.3s ease;
}

.shift-calc-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .shift-table { grid-template-columns: 1fr; }
  .shift-col-head { display: none; }
  .shift-row-arrow { display: none; }
  .shift-row-today { border-radius: 8px 8px 0 0 !important; }
  .shift-row-elogii { border-radius: 0 !important; }
  .shift-row-delta { border-radius: 0 0 8px 8px !important; margin-bottom: 8px; flex-direction: row; justify-content: center; }
  .shift-title { font-size: 28px; }
  .shift-summary { flex-direction: column; text-align: center; gap: 20px; }
  .shift-summary-right { margin-left: 0; text-align: center; }
  .shift-calculator { flex-direction: column; text-align: center; }
  .shift-calc-left { flex-direction: column; }
  .journey-title { font-size: 24px; }
  .journey-card { flex: 0 0 160px; min-height: 140px; padding: 18px 16px 16px; }
  .journey-track { padding: 8px 24px; }
  .journey-progress { margin: 16px 24px 0; }
  .journey-inner { padding: 0 24px; }
  .journey-track-outer::before,
  .journey-track-outer::after { width: 32px; }
}

/* ── Use-case notification bar ── */
.use-case-bar {
  background: #1a2028;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.use-case-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.use-case-bar-text {
  font-size: 14px;
  color: #a8b2bd;
  margin: 0;
  line-height: 1.4;
}

.use-case-bar-text strong {
  color: #fff;
}

.use-case-bar-link {
  color: #e09060;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.use-case-bar-link:hover {
  color: #f0a878;
  text-decoration: underline;
}

.use-case-bar-close {
  background: none;
  border: none;
  color: #5a6670;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.use-case-bar-close:hover {
  color: #fff;
}

/* ============================================
   Distribution hero & platform image composites
   ============================================ */

.hero-composite,
.panel-composite {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.hero-composite { aspect-ratio: 6 / 5; }
.panel-composite { aspect-ratio: 620 / 480; }

.hero-composite .comp-photo,
.panel-composite .comp-photo {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 22px 46px -22px rgba(17, 43, 75, 0.32),
    0 8px 18px -10px rgba(17, 43, 75, 0.16);
  transform: translateZ(0);
}

.panel-composite .comp-photo { border-radius: 14px; }

.hero-composite .comp-photo img,
.panel-composite .comp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-composite .comp-photo::after,
.panel-composite .comp-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 46, 0) 55%, rgba(14, 28, 46, 0.22) 100%),
    linear-gradient(90deg, rgba(43, 159, 217, 0.04), rgba(42, 100, 150, 0) 45%);
  pointer-events: none;
}

.hero-composite .comp-glow,
.panel-composite .comp-glow {
  position: absolute;
  z-index: -1;
  inset: -8% -6%;
  background:
    radial-gradient(58% 52% at 72% 28%, rgba(43, 159, 217, 0.20), transparent 70%),
    radial-gradient(48% 42% at 18% 85%, rgba(42, 100, 150, 0.14), transparent 70%);
  filter: blur(38px);
  pointer-events: none;
}

.hero-composite .comp-float,
.panel-composite .comp-float {
  position: absolute;
  background: #fdfcfa;
  border-radius: 14px;
  padding: 9px;
  box-shadow:
    0 18px 36px -18px rgba(17, 43, 75, 0.26),
    0 6px 14px -8px rgba(17, 43, 75, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.panel-composite .comp-float {
  border-radius: 12px;
  padding: 8px;
}

.hero-composite .comp-float img,
.panel-composite .comp-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Hero floats — straight, filling the natural empty space */
.hero-composite .comp-float-primary {
  bottom: 9%;
  left: 16%;
  width: 48%;
  transform: none;
  z-index: 3;
}
.hero-composite .comp-float-secondary {
  top: 5%;
  right: 3%;
  width: 28%;
  transform: none;
  z-index: 2;
}

/* Status badge */
.hero-composite .comp-live {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 12px;
  background: rgba(20, 32, 48, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 4;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.5);
}
.hero-composite .comp-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a9a5c;
  box-shadow: 0 0 0 0 rgba(58, 154, 92, 0.55);
  animation: compPulse 2s ease-out infinite;
}
@keyframes compPulse {
  0%   { box-shadow: 0 0 0 0 rgba(58, 154, 92, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(58, 154, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 154, 92, 0); }
}

/* Planning composite — staggered so cards breathe, longer card drops below */
.panel-composite.panel-planning .comp-float-primary {
  bottom: -3%;
  left: 3%;
  width: 34%;
  z-index: 3;
}
.panel-composite.panel-planning .comp-float-secondary {
  bottom: -14%;
  right: -6%;
  width: 58%;
  z-index: 2;
}

/* Field composite — assignment card enlarged for legibility */
.panel-composite.panel-field .comp-float-primary {
  bottom: -4%;
  right: 3%;
  width: 36%;
  z-index: 3;
}
.panel-composite.panel-field .comp-float-secondary {
  bottom: -14%;
  left: 3%;
  width: 44%;
  z-index: 2;
}

/* Comms composite — delivery email and review enlarged for legibility */
.panel-composite.panel-comms .comp-float-primary {
  top: 6%;
  left: 3%;
  width: 38%;
  z-index: 3;
}
.panel-composite.panel-comms .comp-float-secondary {
  bottom: -4%;
  right: 2%;
  width: 54%;
  z-index: 2;
}

/* Analytics composite — no face (cropped), cards float top corners */
.panel-composite.panel-analytics .comp-float-primary {
  top: 4%;
  right: 3%;
  width: 32%;
  z-index: 3;
}
.panel-composite.panel-analytics .comp-float-secondary {
  bottom: -10%;
  left: 3%;
  width: 46%;
  z-index: 2;
}

/* Integrations composite — no photo. Two product UIs sit on a clean surface:
   HTTP request form (no-code workflow builder) on the left, cURL request/
   response (REST API) on the right. Stock background photo dropped entirely. */
.panel-composite.panel-integrations .comp-surface {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 78% 22%, rgba(43, 159, 217, 0.12), transparent 65%),
    radial-gradient(70% 60% at 18% 92%, rgba(42, 100, 150, 0.08), transparent 65%),
    linear-gradient(180deg, #f6f9fc 0%, #e9eff5 100%);
  box-shadow:
    0 22px 46px -22px rgba(17, 43, 75, 0.32),
    0 8px 18px -10px rgba(17, 43, 75, 0.16);
}
.panel-composite.panel-integrations .comp-float-secondary {
  top: 50%;
  left: 5%;
  width: 54%;
  transform: translateY(-50%);
  z-index: 2;
}
.panel-composite.panel-integrations .comp-float-primary {
  top: 50%;
  right: 5%;
  width: 28%;
  transform: translateY(-50%);
  z-index: 3;
}


@media (max-width: 1100px) {
  .hero-composite { aspect-ratio: 1 / 1; }
  .hero-composite .comp-float-primary { width: 56%; }
  .hero-composite .comp-float-secondary { width: 34%; }
}

@media (max-width: 860px) {
  .panel-composite .comp-float { padding: 6px; border-radius: 10px; }
  .panel-composite.panel-planning .comp-float-secondary,
  .panel-composite.panel-field .comp-float-secondary,
  .panel-composite.panel-comms .comp-float-secondary,
  .panel-composite.panel-analytics .comp-float-secondary { bottom: -3%; }
  .hero-composite .comp-live { font-size: 10px; padding: 5px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-composite .comp-live::before { animation: none; }
}


/* ============================================================
   === MOBILE: SITE-WIDE FOUNDATIONS ===
   Phase 1 — drawer + chrome. Loaded by every page that links
   styles.css (i.e. all but the Distribution homepage, which has
   its own forked stack and is mirrored separately).
   ============================================================ */

/* --- Hamburger button: hidden by default, visible at ≤1024 --- */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  flex-shrink: 0;
  color: #1a2b3c;
  z-index: 1001;
}
.mobile-nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}
.mobile-nav-toggle-bars > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.mobile-nav-toggle-bars > span:nth-child(1) { top: 0; }
.mobile-nav-toggle-bars > span:nth-child(2) { top: 7px; }
.mobile-nav-toggle-bars > span:nth-child(3) { top: 14px; }
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars > span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars > span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars > span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* --- Backdrop: shown when [hidden] is removed by JS --- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease;
  z-index: 999;
}
.mobile-nav-backdrop[hidden] { display: none; }
body.drawer-open .mobile-nav-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

@media (max-width: 1024px) {
  /* Site-wide overflow safety net (clip preserves position:sticky) */
  html, body { overflow-x: clip; }

  /* Show hamburger; hide desktop CTA in header (drawer hosts CTAs) */
  .mobile-nav-toggle { display: inline-flex; }
  .header-inner > .btn-cta { display: none; }
  .header-inner > .header-cta { display: none; }   /* about/careers wrapper */

  /* Compress header chrome */
  .header-inner { padding: 12px 16px; gap: 8px; }
  .logo-and-switcher { gap: 12px; }
  .logo img { height: 24px; width: auto; }
  .top-bar { padding: 0 16px; font-size: 13px; }

  /* --- Drawer: .main-nav becomes off-canvas right panel --- */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    max-width: 100%;
    background: #fff;
    box-shadow: -16px 0 36px rgba(10, 20, 35, .18);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.2,.7,.2,1);
    z-index: 1000;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 88px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.drawer-open .main-nav { transform: translateX(0); }

  /* Drawer items */
  .main-nav .nav-item {
    width: 100%;
    height: auto;       /* desktop sets height:100% which fills the drawer */
    display: block;
    position: static;
    align-items: stretch;
  }
  .main-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;       /* desktop sets 100% which fills the drawer */
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1a2b3c;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(10, 20, 35, .08);
    text-align: left;
    cursor: pointer;
    line-height: 1.3;
    text-decoration: none;
  }
  .main-nav .nav-link svg {
    transition: transform .2s ease;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .main-nav .has-dropdown.is-open > .nav-link svg { transform: rotate(180deg); }

  /* --- Mega menu becomes accordion content --- */
  /* Force visibility to be driven solely by .is-open — the desktop
     hover handler can add .active on tap (mouseenter), and that
     would otherwise keep the mega-menu visible after .is-open
     toggles off. */
  .main-nav .has-dropdown:not(.is-open) > .mega-menu,
  .main-nav .nav-item.active:not(.is-open) > .mega-menu {
    display: none !important;
  }
  .main-nav .mega-menu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 4px 0 12px 8px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 0;
    top: auto;
    left: auto;
  }
  .main-nav .has-dropdown.is-open > .mega-menu { display: block; }
  .main-nav .mega-menu-content {
    display: block;
    padding: 0;
    grid-template-columns: none;
    gap: 0;
  }
  .main-nav .mega-col-sidebar,
  .main-nav .mega-footer-bg,
  .main-nav .integrations-showcase,
  .main-nav .fsm-coming-soon,
  .main-nav .product-hero,
  .main-nav .industry-icon,
  .main-nav .resource-feature-icon,
  .main-nav .resource-feature-arrow,
  .main-nav .mega-explore-btn { display: none; }
  .main-nav .mega-col-main { padding: 0; }
  .main-nav .product-panel { display: none; }
  .main-nav .product-panel.active,
  .main-nav .product-panel:first-of-type { display: block; }   /* show first by default at mobile */
  .main-nav .product-features,
  .main-nav .industry-columns,
  .main-nav .resource-cards-grid {
    display: block;
    padding: 0;
    grid-template-columns: none;
    gap: 0;
  }
  .main-nav .feature-group,
  .main-nav .industry-column {
    margin: 4px 0 12px;
  }
  .main-nav .feature-group h4,
  .main-nav .industry-column-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6f7a85;
    margin: 8px 0 4px;
    font-weight: 600;
  }
  .main-nav .feature-group a,
  .main-nav .industry-card,
  .main-nav .resource-feature-card {
    display: block;
    padding: 10px 4px;
    font-size: 15px;
    color: #1a2b3c;
    text-decoration: none;
    border: 0;
    background: transparent;
    line-height: 1.4;
  }
  .main-nav .feature-group a svg,
  .main-nav .industry-card svg,
  .main-nav .resource-feature-card svg { display: none; }
  .main-nav .industry-card span { display: inline; }
  .main-nav .resource-feature-text h4 { margin: 0; font-size: 15px; font-weight: 500; }
  .main-nav .resource-feature-text p { display: none; }

  /* Tap targets */
  .btn,
  .btn-cta,
  .btn-cta-solid,
  .btn-dark,
  .btn-ghost,
  .btn-primary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Inputs: 16px to prevent iOS auto-zoom on focus */
  input, textarea, select {
    font-size: 16px !important;
  }

  /* Footer: stack columns. Match the 16 px section rhythm. */
  .footer-inner { padding: 48px 16px !important; }
  .footer-bar-inner { padding: 0 16px !important; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .top-bar { font-size: 12px; padding: 0 12px; }
  .header-inner { padding: 10px 14px; gap: 6px; }
  .header .nav-use-case-toggle { display: none; }   /* drawer hosts use-case at this width */
  .footer-columns { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .main-nav { width: 92vw; padding: 80px 16px 24px; }
  .logo img { height: 22px; }
}

/* ============================================================
   === MOBILE: HOMEPAGE (Phase 2A) ===
   index.html only — section-by-section polish.
   ============================================================ */

@media (max-width: 1024px) {
  /* Generic safety: any section that uses an inner container should fit */
  .hero,
  .logo-band,
  .changes-section,
  .toolstack-section,
  .platform,
  .platform-section,
  .shift-section,
  .journey-section,
  .testimonials-section,
  .industries,
  .demo {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* === Hero === */
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 28px 0 32px;
  }
  .hero-text {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  .hero-image {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-composite {
    width: 100%;
    aspect-ratio: 1.1 / 1;
    overflow: hidden;     /* clip .comp-glow which has -27px left/right */
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  /* Section padding tightens */
  .hero,
  .logo-band,
  .changes-section,
  .toolstack-section,
  .platform,
  .platform-section,
  .shift-section,
  .journey-section,
  .testimonials-section,
  .industries,
  .demo {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* === Hero typography ladder === */
  .hero-title {
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero-anchor { font-size: 18px; line-height: 1.35; }
  .hero-desc { font-size: 16px; line-height: 1.5; }
  .hero-cta-qualifier { font-size: 14px; }
  .hero-rotate-word { display: inline-block; }

  /* CTA pair containers — keep side-by-side on phone, share equally */
  .hero-actions,
  .hero-ctas,
  .prod-hero-ctas,
  .prod-cta-buttons,
  .feat-cta-buttons,
  .cs-cta-buttons,
  .ind-cta-buttons,
  .about-cta-buttons,
  .so-hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  /* All CTAs in pair containers — same size everywhere */
  .hero-actions > a,
  .hero-actions > button,
  .hero-ctas > a,
  .hero-ctas > button,
  .prod-hero-ctas > a,
  .prod-hero-ctas > button,
  .prod-cta-buttons > a,
  .prod-cta-buttons > button,
  .feat-cta-buttons > a,
  .feat-cta-buttons > button,
  .cs-cta-buttons > a,
  .cs-cta-buttons > button,
  .ind-cta-buttons > a,
  .ind-cta-buttons > button,
  .about-cta-buttons > a,
  .about-cta-buttons > button,
  .so-hero-ctas > a,
  .so-hero-ctas > button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  /* Single-CTA container — cap at 320 px, center */
  .hero-actions > :only-child,
  .hero-ctas > :only-child,
  .prod-hero-ctas > :only-child,
  .prod-cta-buttons > :only-child,
  .feat-cta-buttons > :only-child,
  .cs-cta-buttons > :only-child,
  .ind-cta-buttons > :only-child,
  .about-cta-buttons > :only-child,
  .so-hero-ctas > :only-child {
    flex: 0 1 320px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Standalone primary CTAs */
  .platform-header .btn,
  .platform-header .btn-cta,
  .journey-cta-btn,
  .demo-submit,
  .changes-cta-btn,
  .shift-cta-btn {
    width: 100% !important;
    max-width: 320px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Hero "See How It Works" — outline style to pair with Get A Demo */
  .hero-actions .hero-video-link {
    border: 1px solid #1a2b3c !important;
    background: transparent !important;
    color: #1a2b3c !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    gap: 8px;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-trust-bar .trust-divider { display: none; }

  /* === Section h2 scaling — applies to most homepage sections === */
  .changes-section h2,
  .toolstack-section h2,
  .platform-section h2,
  .platform h2,
  .shift-section h2,
  .journey-section h2,
  .testimonials-section h2,
  .industries h2,
  .demo h2 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  /* === Logo band (trusted by …) — horizontal scroll-snap on phone === */
  .logo-band-track,
  .logo-band-inner {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .logo-band-track::-webkit-scrollbar,
  .logo-band-inner::-webkit-scrollbar { display: none; }

  /* === Platform header (title + CTA) stacks === */
  .platform-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }
  .platform-header-text { width: 100% !important; max-width: 100% !important; }
  .platform-title { font-size: 30px !important; line-height: 1.1 !important; }
  .platform-header .btn { width: auto; min-width: 160px; }

  /* === Platform panel (tab content) — text + image stack === */
  .platform-panel {
    flex-direction: column !important;
    gap: 20px;
  }
  .platform-panel-text,
  .platform-panel-image,
  .platform-panel > * {
    width: 100% !important;
    max-width: 100% !important;
  }
  .platform-panel img,
  .platform-panel .panel-image {
    width: 100%;
    height: auto;
  }

  /* === Platform tabs — all 5 visible, stacked as a vertical pill list */
  .platform-tabs,
  .platform-tab-bar {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    border: 0 !important;
    gap: 8px;
    padding: 0 !important;
    margin: 0 !important;
  }
  .platform-tab {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
    border: 1px solid #e0e4ea !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #5a6670 !important;
    white-space: normal;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .platform-tab.active {
    background: #eef6fb !important;     /* distribution blue tint */
    border-color: #2b9fd9 !important;
    color: #1a2b3c !important;
  }
  .platform-tab .tab-progress { display: none !important; }

  .platform-panels {
    padding: 32px 0 0 !important;
    margin: 0 !important;
  }
  .platform-panel {
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* === Demo (form CTA) section === */
  .demo-inner {
    grid-template-columns: minmax(0, 1fr) !important;   /* minmax(0,...) lets fr shrink below content size */
    gap: 28px !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .demo-left,
  .demo-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }
  .demo-form-card {
    width: 100%;
    max-width: 100%;
    padding: 24px !important;
    box-sizing: border-box;
    min-width: 0;
  }
  .demo-form,
  .demo-form-title,
  .demo-form-sub {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .demo-form-row {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .demo-input,
  .demo-select,
  .demo-submit {
    width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
  }
  .demo-title { font-size: 28px !important; line-height: 1.15 !important; }
  .demo-bullet { width: 100% !important; }
  .demo h2 { font-size: 28px; }
  .demo-text { padding-right: 0; }
  .demo-list li { font-size: 15px; line-height: 1.5; }

  /* === Industries grid 4 → 2 → 1 === */
  .industries-grid,
  .industry-grid,
  .industries .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .hero-anchor { font-size: 16px; }
}

/* ============================================================
   === MOBILE: DISTRIBUTION-SPECIFIC (Phase 2B) ===
   Distribution-only widgets that aren't on field-service.
   ============================================================ */

@media (max-width: 1024px) {
  /* Operations map (Leaflet) — ops-map is a flex:1 child of a flex
     parent that collapses on mobile. Force flex-basis so it gets a
     proper size for the Leaflet tiles. */
  .ops-map {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    flex: 0 0 320px !important;
    box-sizing: border-box;
  }
  .reality-ops-pane,
  .reality-ops-map-pane {
    min-height: auto;
    height: auto;
  }

  /* Operations sheet (table-like grid of cells) — horizontal scroll */
  .ops-sheet,
  .ops-sheet-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .ops-sheet-cell {
    min-width: 100px;
  }
}


/* === Re-mirrored from root styles.css (Phase 4b) === */

/* hero-trust-bar: 4 high-recognition badges + thin divider on phone */
@media (max-width: 640px) {
  .hero-trust-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    margin-top: 24px;
  }
  .hero-trust-bar .trust-review img:nth-child(n + 3) { display: none; }
  .hero-trust-bar .trust-review,
  .hero-trust-bar .trust-compliance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0;
  }
  .hero-trust-bar .trust-divider {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(10, 20, 35, 0.12);
    flex-shrink: 0;
    margin: 0;
  }
  .hero-trust-bar img,
  .hero-trust-bar svg { height: 40px; width: auto; flex-shrink: 0; }
  .hero-trust-bar .trust-compliance svg { height: 42px; }
}

@media (max-width: 360px) {
  .hero-trust-bar { gap: 10px 12px; }
  .hero-trust-bar img,
  .hero-trust-bar svg { height: 36px; }
  .hero-trust-bar .trust-divider { display: none; }
}

/* === MOBILE: CONSISTENT SECTION RHYTHM (mirror, generalized) === */
@media (max-width: 1024px) {
  /* Generalized: any *-inner wrapper pads 16 at the side. */
  [class$="-inner"],
  [class*="-inner "] {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }
  /* Re-zero cohort A homepage inners (their section provides the 16). */
  .hero-inner, .logo-band-inner, .changes-inner, .toolstack-inner,
  .platform-inner, .platform-header, .shift-inner, .journey-inner,
  .testimonials-inner, .industries-inner, .demo-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  section[style*="padding:80px"], section[style*="padding: 80px"] {
    padding-left: 0 !important; padding-right: 0 !important;
  }
  div[style*="padding:0 40px"], div[style*="padding: 0 40px"] {
    padding-left: 16px !important; padding-right: 16px !important;
  }
}

@media (max-width: 1024px) {
  /* Cohort A: section provides outer 16 px padding — inner gets 0 */
  .hero-inner, .logo-band-inner, .changes-inner, .toolstack-inner,
  .platform-inner, .platform-header, .shift-inner, .journey-inner,
  .testimonials-inner, .industries-inner, .demo-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  /* Cohort B: section has no outer padding — inner provides 16 */
  .ind-pain-inner, .ind-integrations-inner, .ind-cta-inner,
  .pa-all-caps-inner, .pa-related-inner, .pa-pain-inner, .pa-outcomes-inner,
  .feat-inner, .feat-hero-inner, .feat-cta-inner,
  .prod-inner, .prod-hero-inner, .prod-section-inner,
  .prod-showcase-inner, .prod-stats-inner, .prod-cta-inner,
  .prod-quote-inner, .prod-nav-inner, .ind-faq-inner, .pa-faq-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }
  section[style*="padding:80px"], section[style*="padding: 80px"] {
    padding-left: 0 !important; padding-right: 0 !important;
  }
  div[style*="padding:0 40px"], div[style*="padding: 0 40px"] {
    padding-left: 16px !important; padding-right: 16px !important;
  }
}

/* prod-showcase stacking + reversed override */
@media (max-width: 1024px) {
  .prod-showcase .prod-showcase-inner,
  .prod-showcase.reversed .prod-showcase-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .prod-showcase.reversed .prod-showcase-text { order: 1 !important; }
  .prod-showcase.reversed .prod-showcase-visual { order: 2 !important; }
  .prod-showcase-text, .prod-showcase-visual,
  .prod-showcase-text > *, .prod-showcase-visual > * {
    max-width: 100% !important; min-width: 0 !important;
  }
}
@media (max-width: 640px) {
  .prod-showcase { padding: 56px 0 !important; }
  .prod-showcase-title { font-size: 26px !important; line-height: 1.2 !important; }
  .prod-showcase-desc { font-size: 15px !important; }
}

/* Rotating-word headlines wrap on mobile (mirror from root) */
@media (max-width: 640px) {
  .hero-rotate-word,
  .changes-rotate-word {
    white-space: normal !important;
  }
  .changes-hero { font-size: 28px !important; line-height: 1.2 !important; }
  .changes-rotate-slot { display: inline; }
  .changes-rotate-word:not(.active) { display: none; }
}
