/* ============================================
   VISIONAIRY — Design System
   Tech Premium Industrial
   ============================================ */


:root {
  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F5;
  --bg-tertiary: #F0F0EE;
  --bg-dark: #141422;
  --bg-dark-2: #1C1C2E;
  --bg-dark-3: #242438;

  /* Text */
  --text-title: #282846;     /* All titles (H1, H2, H3, card titles) */
  --text-primary: #0D0D1A;   /* Main body text */
  --text-secondary: #5C5C70; /* Secondary body, subtitles */
  --text-tertiary: #6B6B78;  /* Captions, tags, placeholders — WCAG AA 4.5:1 on white/grey */
  --text-on-dark: #F0F0EE;
  --text-on-dark-2: #B5B5C8;

  /* Borders */
  --border: #E2E2E8;
  --border-dark: #2A2A3E;

  /* Accent (cyan reserved for CTAs and accents only) */
  --accent: #33E7E4;
  --accent-hover: #22CCCB;
  --accent-dark: #141422;

  /* Layout */
  --radius: 4px;
  --max-width: 1280px;
  --pad-x: 80px;
  --section-py: 100px;

  /* Font */
  --font: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.t-h1 {
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.t-h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.t-h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.t-card {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 8px;
}

.t-stat {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
}

.subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-py) 0;
}

.section.alt {
  background: var(--bg-secondary);
}

.section.dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
}
.btn-dark:hover {
  background: #1a1a2e;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-secondary);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid var(--text-on-dark-2);
}
.btn-outline-dark:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-group.center {
  justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.nav-item {
  position: relative;
  padding: 0 16px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 64px;
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #9A9AAA;
  border-bottom: 2px solid #9A9AAA;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), border-color .15s ease;
}

.nav-link:hover::after,
.nav-item:hover > .nav-link::after {
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
  transform: rotate(-135deg) translateY(-2px);
}

.nav-link.no-chevron::after {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text-on-dark);
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.nav-dropdown a:hover {
  background: var(--bg-dark-2);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.nav-login {
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 400;
  padding: 7px 12px;
  text-decoration: none;
  transition: color .15s ease;
}

.nav-login:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-burger {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
}

/* ============================================
   NAV — LIGHT VARIANT (industry pages)
   ============================================ */

.nav.light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav.light .nav-brand,
.nav.light .nav-link,
.nav.light .nav-login,
.nav.light .nav-burger {
  color: var(--text-primary);
}

.nav.light .nav-link::after {
  border-right-color: var(--text-tertiary);
  border-bottom-color: var(--text-tertiary);
}

.nav.light .nav-link:hover,
.nav.light .nav-item:hover > .nav-link,
.nav.light .nav-login:hover {
  color: var(--accent-hover);
}

.nav.light .nav-link:hover::after,
.nav.light .nav-item:hover > .nav-link::after {
  border-right-color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.nav.light .nav-dropdown {
  background: #FFFFFF;
  border: 1px solid var(--border);
}

.nav.light .nav-dropdown a {
  color: var(--text-primary);
}

.nav.light .nav-dropdown a:hover {
  background: var(--bg-secondary);
  color: var(--accent-hover);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.hero-left {
  padding: 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

/* ===== HERO — LIGHT VARIANT (industry pages) ===== */
.hero.light {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.hero.light h1 {
  color: var(--text-title);
}

.hero.light .subtitle {
  color: var(--text-secondary);
}

.hero.light .breadcrumb {
  color: var(--text-tertiary);
}

.hero.light .breadcrumb .sep {
  color: var(--text-tertiary);
}

.hero.light .hero-mockup {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
}

.hero h1 {
  color: var(--text-on-dark);
}

/* ===== HERO — INDUSTRY VARIANT (dark, centered text, large image below) ===== */
.hero.industry .hero-inner {
  grid-template-columns: 1fr;
  min-height: auto;
  gap: 48px;
  text-align: center;
  padding-bottom: 80px;
}
.hero.industry .hero-left {
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 0 0;
}
.hero.industry .breadcrumb {
  justify-content: center;
  color: var(--text-on-dark-2);
}
.hero.industry .subtitle {
  margin: 0 auto;
  max-width: 660px;
}
.hero.industry .btn-group {
  justify-content: center;
  margin-top: 28px;
}
.hero.industry .hero-media {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.hero.industry .hero-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.35));
}

.hero .subtitle {
  color: var(--text-on-dark-2);
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

/* When the 3D animation is mounted, blend with the hero background */
#hero-canvas.hero-mockup {
  background: var(--bg-dark);
}

/* Hero animation video fills the mockup box */
.hero-mockup video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* ============================================
   STATS
   ============================================ */

.stats {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.stats-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.stats-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.stat {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.stat-value {
  font-size: 42px;
  font-weight: 600;
  color: var(--text-title);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   TRUST BAR (Client Logos)
   ============================================ */

.trust {
  background: var(--bg-secondary);
  padding: 40px 0;
  overflow: hidden;
}

.trust-marquee {
  width: 100%;
  overflow: hidden;
  /* Fade edges left/right for a clean infinite look */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.trust-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: trust-scroll 36s linear infinite;
}

/* Pause on hover */
.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-logo {
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.5;
  transition: opacity .15s ease;
  flex: 0 0 auto;
}

/* Per-logo size tuning to harmonize visual weight */
.trust-logo[alt="FORVIA"]      { height: 26px; }
.trust-logo[alt="Siemens"]     { height: 24px; }
.trust-logo[alt="Lactalis"]    { height: 38px; }
.trust-logo[alt="Krys Group"]  { height: 36px; }
.trust-logo[alt="Ecomaison"]   { height: 42px; }
.trust-logo[alt="Etria"]       { height: 26px; }
.trust-logo[alt="Sonepar"]     { height: 32px; }

.trust-logo:hover {
  opacity: 0.85;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   PLATFORM SECTION (AI vision made easy)
   ============================================ */

.platform {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.platform-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.platform-features {
  list-style: none;
  margin-top: 32px;
}

.platform-features li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.platform-features li:last-child {
  border-bottom: none;
}

/* Airy-disk animated bullet — replaces feat-num */
.feat-num {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Inner dot */
.feat-num::before {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: airy-core 2.4s ease-in-out infinite;
}

/* Outer diffraction ring */
.feat-num::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: airy-ring 2.4s ease-in-out infinite;
}

@keyframes airy-core {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.6; transform: translate(-50%, -50%) scale(0.75); }
}

@keyframes airy-ring {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.4); }
  30%  { opacity: 0.5; transform: translate(-50%, -50%) scale(1);   }
  70%  { opacity: 0.15;transform: translate(-50%, -50%) scale(1.6); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(2);   }
}

.feat-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 6px;
}

.feat-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.platform-visual {
  aspect-ratio: 4/3;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.howitworks {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.steps {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 0 32px;
  border-left: 1px solid var(--border);
}

.step:first-child {
  border-left: none;
  padding-left: 0;
}

.step-num {
  font-size: 48px;
  font-weight: 600;
  color: var(--bg-tertiary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.step-vis {
  height: 140px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- Interactive 3-step: big image left, selectable steps right ---- */
.steps-interactive {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.steps-media {
  position: relative;
  aspect-ratio: 1232 / 780;
}
.steps-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(20, 20, 34, 0.18));
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.steps-img.is-active {
  opacity: 1;
  transform: none;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.steps-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-left: 3px solid var(--border);
  padding: 18px 24px;
  cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.steps-item:hover {
  background: var(--bg-primary);
}
.steps-item.is-active {
  background: var(--bg-primary);
  border-left-color: var(--accent);
}
.steps-item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.steps-item-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.steps-item.is-active .steps-item-num {
  color: var(--accent-hover);
}
.steps-item-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-title);
}
.steps-item-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
@media (max-width: 820px) {
  .steps-interactive {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================
   KEY BENEFITS
   ============================================ */

.benefits {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.benefits-grid {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.benefit-tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SOLUTIONS BY USE CASE
   ============================================ */

.solutions {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.sol-grid {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sol-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color .2s ease, transform .2s ease;
}

.sol-card:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.sol-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  align-self: center;
}

.sol-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  align-self: center;
  line-height: 1.3;
}

.sol-body {
  grid-column: 1 / 3;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sol-cta {
  grid-column: 1 / 3;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

.sol-cta::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  transition: transform .15s ease;
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.testi-grid {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testi-card {
  background: var(--bg-primary);
  padding: 32px 28px;
  border-radius: var(--radius);
}

.testi-mark {
  font-size: 32px;
  color: var(--text-tertiary);
  line-height: 1;
  margin-bottom: 24px;
  font-family: Georgia, serif;
}

.testi-quote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.testi-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 4px;
}

.testi-title {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---- Enriched variant (.tm-logos) — used on the Contact page ---- */
.testimonials.tm-logos {
  background: var(--bg-secondary);
}
.testimonials.tm-logos .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Client logo strip above the cards */
.testi-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 52px;
  max-width: var(--max-width);
  margin: 8px auto 8px;
  padding: 0 var(--pad-x);
}
.testi-logo-mask {
  display: inline-block;
  background-color: #282846;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.testi-logo-mask:hover {
  opacity: 1;
}

.testimonials.tm-logos .testi-card {
  display: flex;
  flex-direction: column;
}
.testimonials.tm-logos .testi-mark {
  font-size: 40px;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 18px;
}
.testimonials.tm-logos .testi-quote {
  font-style: normal;
  line-height: 1.7;
  flex: 1;
}
.testimonials.tm-logos .testi-author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.testimonials.tm-logos .testi-title {
  line-height: 1.5;
}

/* Per-card brand logo + accent rule */
.testi-logo {
  height: 24px;
  width: auto;
  filter: brightness(0);
  opacity: 0.75;
  margin-bottom: 14px;
}
.testi-rule {
  width: 36px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Small round avatar footer (contact page testimonial cards) */
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.testi-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  flex: none;
}

/* ---- Featured slider (homepage) — one testimonial at a time ---- */
.testi-slider {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--pad-x);
}
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;           /* Firefox */
}
.testi-track::-webkit-scrollbar { display: none; } /* WebKit */

.testi-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 48px 52px;
}
.testi-body {
  display: flex;
  flex-direction: column;
}
.testi-slide .testi-mark {
  font-size: 56px;
  line-height: 0.7;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: Georgia, serif;
}
.testi-slide .testi-quote {
  font-size: 21px;
  font-style: normal;
  line-height: 1.55;
  color: var(--text-title);
  max-width: 840px;
  margin-bottom: 30px;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.testi-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  flex: none;
}
.testi-person-info {
  flex: 1;
}
.testi-slide .testi-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 3px;
}
.testi-slide .testi-title {
  font-size: 13px;
  color: var(--text-secondary);
}
.testi-person .testi-logo-mask {
  flex: none;
  opacity: 0.7;
}

/* controls: arrows + dots */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.testi-arrow:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}
.testi-dots {
  display: flex;
  gap: 10px;
}
.testi-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.testi-dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: var(--accent);
}

@media (max-width: 820px) {
  .testi-slide {
    padding: 32px 28px;
  }
  .testi-slide .testi-quote {
    font-size: 17px;
  }
  .testi-avatar {
    width: 48px;
    height: 48px;
  }
}

/* ============================================
   INDUSTRIES (Image Cards)
   ============================================ */

.industries {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.ind-grid {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ind-card {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease;
}

.ind-card:hover {
  transform: translateY(-3px);
}

.ind-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ind-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(180deg, rgba(20,20,34,0) 0%, rgba(20,20,34,0.85) 100%);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  z-index: 2;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
  background: var(--bg-primary);
  padding: 168px 0;
  text-align: center;
}
.cta-final.bg-grey {
  background: var(--bg-secondary);
}

.cta-final-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: var(--text-title);
}

.cta-final .subtitle {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 600px;
}

/* ============================================
   WHY SECTION (Recycling industry)
   ============================================ */

.why-section {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--pad-x);
}

.why-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
}

.why-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 10px;
}

.why-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-dark);
  padding: 80px 0 40px;
  color: var(--text-on-dark-2);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.footer-tag {
  color: var(--text-on-dark-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.footer-link {
  color: var(--text-on-dark-2);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.5;
  transition: color .15s ease;
}

.footer-link:hover {
  color: var(--text-on-dark);
}

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  color: #5C5C70;
  font-size: 13px;
}

.footer-copy {
  color: #5C5C70;
  font-size: 13px;
}

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

.footer-soc {
  color: var(--text-on-dark-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: color .15s ease;
}

.footer-soc:hover {
  color: var(--accent);
}

.footer-soc svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
  margin-bottom: 32px;
}

.breadcrumb span {
  color: inherit;
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #5C5C70;
}

/* ============================================
   APPLICATION CARDS (industry pages)
   ============================================ */

.applications {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.app-grid {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Image cards (Food & Beverages) — 2 per row */
.app-grid:has(.app-card.with-img) {
  grid-template-columns: repeat(2, 1fr);
}

.app-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 24px;
}

/* Horizontal card variant — text left, square image right */
.app-card.with-img {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
}

.app-card.with-img .app-card-body-inner {
  padding: 24px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.app-card.with-img .app-title {
  margin-bottom: 8px;
}

.app-card.with-img .app-body {
  margin: 0;
}

.app-card-img {
  aspect-ratio: 1 / 1;
  width: 160px;
  height: 160px;
  align-self: center;
  margin: 16px 16px 16px 0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.app-card-img img.img-zoom {
  transform: scale(1.4);
  transform-origin: center center;
}

@media (max-width: 720px) {
  .app-card-img {
    width: 120px;
    height: 120px;
  }
}

.app-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.app-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
   FEATURE CARDS WITH CYAN ACCENT BAR
   ============================================ */

.features {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.feat-grid {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
}

.feat-tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.feat-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feat-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
   APPLICATION CARDS — WITH ICON
   ============================================ */

.app-card.with-icon {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  row-gap: 10px;
  align-items: start;
}

.app-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  color: var(--text-secondary);
}

.app-card.with-icon .app-title {
  margin-bottom: 0;
  align-self: center;
}

.app-card.with-icon .app-body {
  grid-column: 1 / 3;
}

/* ============================================
   HOW IT WORKS — 4 STEPS WITH ARROWS
   ============================================ */

.steps.four {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0;
}

.steps.four .step {
  position: relative;
  padding: 0 24px;
  border-left: none;
}

.steps.four .step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 26px;
  right: -10px;
  font-size: 18px;
  color: var(--text-tertiary);
  font-weight: 300;
}

.steps.four .step:first-child {
  padding-left: 0;
}

.steps.four .step:last-child {
  padding-right: 0;
}

/* ============================================
   CUSTOMER STORY (text + video)
   ============================================ */

.story {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.story-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}

.story-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 24px 0;
}

.story-quote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  font-size: 15px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 24px 0 16px;
}

.story-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  font-style: normal;
}

.story-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
}

.story-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--text-title);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

.story-link::after {
  content: '→';
  margin-left: 6px;
  transition: transform .15s ease;
}

.story-link:hover {
  color: var(--accent);
}

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

.story-video {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}

/* ===== YouTube thumbnail embed ===== */
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.25s ease;
}

.yt-embed:hover .yt-thumb {
  opacity: 0.82;
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.yt-embed:hover .yt-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.yt-placeholder-label {
  font-size: 15px;
  color: #5c5c70;
  font-style: italic;
}

/* ===== Customer story — DARK variant ===== */
.story.dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.story.dark .tag {
  color: var(--text-on-dark-2);
}

.story.dark h2,
.story.dark .t-h2 {
  color: var(--text-on-dark);
}

.story.dark .story-body {
  color: var(--text-on-dark-2);
}

.story.dark .story-quote {
  border-left: 3px solid var(--accent);
  color: var(--text-on-dark);
}

.story.dark .story-quote cite {
  color: var(--text-on-dark-2);
}

.story.dark .story-author {
  color: var(--text-on-dark);
}

.story.dark .story-author-meta {
  color: var(--text-on-dark-2);
  font-weight: 400;
  font-size: 13px;
  margin-top: 4px;
}

.story.dark .story-link {
  color: var(--accent);
  font-weight: 600;
}
.story.dark .story-link:hover {
  color: var(--accent-hover);
}

/* ===== Story stats (used in dark Customer Story) ===== */
.success-stats {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.success-stat {
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
}

.success-stat:first-child {
  border-top: none;
}

.success-stat-value {
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.success-stat-label {
  font-size: 15px;
  color: var(--text-on-dark-2);
  line-height: 1.4;
}

/* ============================================
   CTA FINAL — WITH BADGE
   ============================================ */

.cta-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.cta-note {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --pad-x: 40px;
    --section-py: 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 40px;
  }

  .hero-left {
    padding: 56px 0;
  }

  .hero-right {
    padding: 0 0 56px;
  }

  .stats-grid,
  .benefits-grid,
  .sol-grid,
  .ind-grid,
  .testi-grid,
  .app-grid,
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px 0 0;
  }

  .step:first-child {
    border-top: none;
    padding-top: 0;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 720px) {
  :root {
    --pad-x: 24px;
    --section-py: 64px;
  }

  .nav-menu,
  .nav-actions .nav-login {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  /* backdrop-filter blur is very expensive on mobile — use a solid bar instead */
  .nav.light {
    backdrop-filter: none;
    background: #fff;
  }

  /* Mobile menu panel — revealed when the burger toggles .open */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    padding: 6px 0 10px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  }
  .nav.light .nav-menu.open {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
  }

  .nav-menu.open .nav-item {
    padding: 0;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav.light .nav-menu.open .nav-item {
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open .nav-link {
    height: auto;
    width: 100%;
    padding: 15px var(--pad-x);
    justify-content: space-between;
  }

  /* Submenus: inline, hidden until the item is tapped open */
  .nav-menu.open .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    border: none;
    border-radius: 0;
    padding: 0 0 6px;
    background: var(--bg-dark-2);
  }
  .nav.light .nav-menu.open .nav-dropdown {
    background: var(--bg-secondary);
  }
  .nav-menu.open .nav-item.open .nav-dropdown {
    display: block;
  }
  .nav-menu.open .nav-dropdown a {
    padding: 12px var(--pad-x) 12px calc(var(--pad-x) + 14px);
  }
  .nav-menu.open .nav-item.open > .nav-link::after {
    transform: rotate(-135deg) translateY(-2px);
  }

  .stats-grid,
  .benefits-grid,
  .sol-grid,
  .ind-grid,
  .testi-grid,
  .app-grid,
  .feat-grid {
    grid-template-columns: 1fr;
  }

  /* Override the :has() rule that forced 2-col for image cards */
  .app-grid:has(.app-card.with-img) {
    grid-template-columns: 1fr;
  }

  /* Stack image-card vertically: text on top, image full-width below */
  .app-card.with-img {
    grid-template-columns: 1fr;
  }

  .app-card.with-img .app-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    margin: 0;
    border-radius: 0;
  }

  .app-card.with-img .app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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

  .footer-bot {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================
   PARTNERS PAGE
   ============================================ */

/* ---- Centered hero variant ---- */
.hero.centered .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  min-height: 480px;
}

.hero.centered .hero-left {
  padding: 96px 0 80px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero.centered .breadcrumb {
  justify-content: center;
}

.hero.centered .subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.hero.centered .btn-group {
  justify-content: center;
}

/* ---- Section: Partnership benefits (3 cards) ---- */
.partnership {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.partnership-header {
  display: flex;
  align-items: center;
  gap: 64px;
  margin: 0 0 56px;
  width: 100%;
}
.partnership-header-text {
  flex: 1;
  max-width: 560px;
}
.partnership-header-text .tag { margin-bottom: 16px; display: block; }
.partnership-header-img {
  flex-shrink: 0;
  width: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
}
.partnership-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.partnership-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.partnership-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 12px;
}

.partnership-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- Section: Partner types (3 cards with top accent bar) ---- */
.partner-types {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.partner-types .section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 56px;
}

.partner-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.partner-type-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.partner-type-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.partner-type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-type-card .partner-type-tag,
.partner-type-card .partner-type-title,
.partner-type-card .partner-type-body {
  padding-left: 28px;
  padding-right: 28px;
}

.partner-type-card .partner-type-tag {
  padding-top: 28px;
}

.partner-type-card .partner-type-body {
  padding-bottom: 32px;
}

.partner-type-card::before {
  display: none;
}

.partner-type-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  display: block;
}

.partner-type-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 12px;
  line-height: 1.4;
}

.partner-type-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- Section: Partner benefits (dark, 2-column split) ---- */
.partner-benefits {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--section-py) 0;
}

.partner-benefits-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.partner-benefits-left .tag {
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.partner-benefits-left h2 {
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

.partner-benefits-left p {
  color: var(--text-on-dark-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 440px;
}

.partner-benefits-right {
  display: flex;
  flex-direction: column;
}

.benefit-row {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-row-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin: 0 0 8px;
}

.benefit-row-body {
  font-size: 15px;
  color: var(--text-on-dark-2);
  line-height: 1.6;
  margin: 0;
}

/* ---- Section: Our partners (logo band) ---- */
.our-partners {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.our-partners .section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 48px;
}

.our-partners .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.partner-logo {
  background: var(--bg-primary);
  border-radius: var(--radius);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform 0.2s ease;
}

.partner-logo-mask {
  display: block;
  width: 100%;
  height: 44px;
  background-color: var(--text-title);
  opacity: 0.85;
  transition: opacity 0.2s ease;
  -webkit-mask-image: var(--logo);
  mask-image: var(--logo);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.partner-logo:hover .partner-logo-mask {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .partnership-header {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
  }
  .partnership-header-img {
    width: 100%;
    border-radius: 4px;
  }

  .partnership-grid,
  .partner-types-grid {
    grid-template-columns: 1fr;
  }

  .partner-benefits-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero.centered .hero-left {
    padding: 64px 0 56px;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .partner-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SOLUTION PAGE — ANOMALY DETECTION
   ============================================ */

/* ---- Hero spec pills ---- */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 28px;
}

.hero-pill {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 12px 18px;
  min-width: 200px;
}

.hero-pill-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.2;
}

.hero-pill-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ---- How it works text-only variant ---- */
.howitworks-text {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.howitworks-text-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.howitworks-text-inner .section-header {
  max-width: 820px;
  text-align: left;
  margin: 0;
}

.howitworks-text-inner h2 {
  margin-bottom: 24px;
}

.howitworks-text-inner .subtitle {
  margin: 0;
}

/* ---- Platform section 2-col layout (diagram left, text right) ---- */
.howitworks-text-inner.plat-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}
.howitworks-text-inner.plat-layout .section-header {
  max-width: none;
  flex: 1;
}

/* Diagram container — fixed-size relative box for absolute card positioning */
.plat-diagram {
  flex-shrink: 0;
  width: 360px;
  height: 300px;
  position: relative;
}

/* Cards: diagonal — Lab top-left, Run bottom-right */
.plat-card-lab {
  position: absolute;
  top: 20px;
  left: 40px;
  width: 224px;
}
.plat-card-run {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 224px;
}

/* Cards */
.plat-card {
  background: var(--bg-primary);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
}
.plat-card.dark {
  background: var(--bg-dark);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}
.plat-card .sw-card-tag    { color: var(--text-tertiary); font-size: 11px; }
.plat-card .sw-card-title  { color: var(--text-title); font-size: 15px; }
.plat-card .sw-card-sub    { color: var(--text-tertiary); font-size: 13px; }
.plat-card .sw-card-chip   { font-size: 11px; }
.plat-card.dark .sw-card-tag   { color: rgba(255,255,255,0.45); }
.plat-card.dark .sw-card-title { color: #fff; }
.plat-card.dark .sw-card-sub   { color: rgba(255,255,255,0.45); }

/* SVG arrows overlay */
.plat-arrows {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.plat-arrow-mobile { display: none; }

/* Mobile */
@media (max-width: 960px) {
  .howitworks-text-inner.plat-layout {
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
  }
  .howitworks-text-inner.plat-layout .section-header {
    order: -1;
  }
  .plat-diagram {
    width: 100%;
    max-width: 360px;
    align-self: center;
    height: 300px;
  }
}
@media (max-width: 480px) {
  .plat-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: auto;
  }
  .plat-card-lab,
  .plat-card-run {
    position: static;
    width: 100%;
    max-width: 280px;
  }
  .plat-arrows { display: none; }
  .plat-arrow-mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    padding: 0;
  }
  .plat-arrow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .plat-arrow-label {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.06em;
    font-weight: 500;
  }
}

/* ---- How it works comparison cards (Traditional vs Visionairy) ---- */
.howitworks-compare {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.howitworks-compare-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-card {
  border-radius: 2px;
  padding: 28px 26px;
}

.compare-card.old {
  background: var(--bg-primary);
}

.compare-card.new {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  box-shadow: 0 22px 48px rgba(20, 20, 34, 0.18);
}

.compare-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.compare-card.old .compare-card-label {
  color: var(--text-tertiary);
}

.compare-card.new .compare-card-label {
  color: var(--accent);
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare-card li {
  position: relative;
  font-size: 15px;
  line-height: 1.45;
  padding: 10px 0 10px 32px;
}

.compare-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.compare-card.old li {
  color: var(--text-secondary);
}
.compare-card.old li::before {
  content: "\00d7";
  color: #d9534f;
}

.compare-card.new li {
  color: var(--text-on-dark-2);
}
.compare-card.new li::before {
  content: "\2713";
  color: var(--accent);
}

/* ---- Powered by GLAD section (dark) ---- */
.glad-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--section-py) 0;
}

.glad-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.glad-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-2);
  margin-bottom: 24px;
}

.glad-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.glad-section h2 {
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.glad-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.glad-body {
  font-size: 15px;
  color: var(--text-on-dark-2);
  line-height: 1.7;
  margin: 0;
  max-width: 580px;
}

.glad-visual {
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

/* Centered variant — text on top, large image below (natural ratio) */
.glad-section.glad-centered .glad-inner {
  grid-template-columns: 1fr;
  gap: 48px;
  text-align: center;
}
.glad-centered .glad-text {
  max-width: 780px;
  margin: 0 auto;
}
.glad-centered .glad-badge {
  margin: 0 auto 20px;
}
.glad-centered .glad-body {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.glad-centered .glad-media {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.glad-centered .glad-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* ---- When to use cards (3-col, borderless) ---- */
.wtu-section {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.wtu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.wtu-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
}

.wtu-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 12px;
}

.wtu-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- Use cases (6-card grid) ---- */
.usecases-section {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.usecase-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 200px;
}

.usecase-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 14px;
  line-height: 1.4;
}

.usecase-card-sep {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.usecase-card-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ---- Key benefits (3-col, borderless on white) ---- */
.keybenefits-section {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.keybenefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.keybenefit-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
}

.keybenefit-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 10px;
}

.keybenefit-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 10px;
}

.keybenefit-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- Explore other solutions ---- */
.othersol-section {
  background: var(--bg-secondary);
  padding: var(--section-py) 0;
}

.othersol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.othersol-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.othersol-card-img {
  margin: -24px -28px 18px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.othersol-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.othersol-card:hover .othersol-card-img img {
  transform: scale(1.04);
}

.othersol-card:hover {
  transform: translateY(-2px);
}

.othersol-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0;
}

.othersol-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

.othersol-card-link::after {
  content: " →";
}

/* ---- Anomaly Detection hero — slightly wider subtitle ---- */
.hero.light.solution .subtitle {
  max-width: 640px;
}

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

@media (max-width: 960px) {
  .howitworks-compare-inner,
  .glad-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compare-grid,
  .wtu-grid,
  .keybenefits-grid,
  .othersol-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   OPTICAL EXPERTISE PAGE
   ============================================ */

/* ---- Generic feature-split (text + visual, alternating sides) ---- */
.feature-split {
  padding: var(--section-py) 0;
}

.feature-split.bg-gray  { background: var(--bg-secondary); }
.feature-split.bg-white { background: var(--bg-primary); }

.feature-split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
}

.feature-split.reverse .feature-split-text   { order: 2; }
.feature-split.reverse .feature-split-visual { order: 1; }

.feature-split-text .tag {
  margin-bottom: 16px;
}

.feature-split-text h2 {
  color: var(--text-title);
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-split-text .lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 580px;
}

/* ---- Section anchor chip (subtle pill above tag) ---- */
.anchor-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* the dot becomes a short accent line */
.anchor-chip .dot {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

/* ---- Feature list with dot bullets ---- */
.feature-list-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-title);
  text-transform: uppercase;
  margin: 8px 0 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-title);
}

/* ---- Inline badge — "All of this at no cost" ---- */
.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 4px 0 24px;
}

.feature-split.bg-gray .inline-badge {
  background: var(--bg-primary);
}

.inline-badge::before {
  content: "✓";
  color: var(--accent-hover);
  font-weight: 700;
}

/* ---- Mini-badge for Alumni line under team photo ---- */
.alumni-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 14px;
}

.alumni-badge::before {
  content: "🎓";
  font-size: 13px;
}

/* ---- Feature visual (image placeholder) ---- */
.feature-visual {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 24px;
  text-align: center;
}

.feature-visual.tall {
  aspect-ratio: 5/4;
}

.feature-visual.dark {
  background: var(--bg-dark-2);
  color: var(--text-on-dark-2);
}

/* When a real image is dropped into the placeholders, fill them edge to edge */
.feature-visual:has(img),
.hero-mockup:has(img) {
  padding: 0;
  overflow: hidden;
}
.feature-visual img,
.hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Hero mockups: raw image, no added frame/background/shadow — the image's
   own look is kept as-is, only its natural ratio and a shared max size apply. */
.hero-mockup:has(img),
.hero.light .hero-mockup:has(img) {
  background: transparent;
  border-radius: 0;
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  max-width: 560px;
}
.hero-mockup:has(img) img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  display: block;
}
.hero.light.optical .hero-mockup img {
  border-radius: 4px;
}

/* Transparent product mockups inside a feature-split (Lab / Run) */
.feature-visual.mockup {
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.feature-visual.mockup img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(20, 20, 34, 0.16));
}

/* Mockup screenshots: show at natural ratio, no distortion, no crop */
.step-vis:has(img) {
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}
.step-vis img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(20, 20, 34, 0.14));
}
.platform-visual:has(img) {
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.platform-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(20, 20, 34, 0.16));
}
/* Workflow (how-it-works) visuals: transparent mockups at natural ratio, no crop */
.workflow-step .feature-visual {
  aspect-ratio: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.workflow-step .feature-visual img {
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(20, 20, 34, 0.16));
}

/* ---- Hero anchor CTAs (small text inside dark btn) ---- */
.btn.btn-primary.anchor-cta,
.btn.btn-outline.anchor-cta {
  font-size: 15px;
}

/* ---- Optical hero subtitle widens out ---- */
.hero.light.optical .subtitle {
  max-width: 600px;
  font-size: 18px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .feature-split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-split.reverse .feature-split-text   { order: 1; }
  .feature-split.reverse .feature-split-visual { order: 2; }

  .feature-split-text h2 {
    font-size: 28px;
  }
}

/* ============================================
   IMPLEMENTATION PAGE
   ============================================ */

/* ---- 2-column card grid (for "The System" + "Camera compatibility") ---- */
.split-2col-section {
  padding: var(--section-py) 0;
}

.split-2col-section.bg-gray  { background: var(--bg-secondary); }
.split-2col-section.bg-white { background: var(--bg-primary); }

.split-2col-section .section-header {
  text-align: left;
  max-width: 820px;
  margin: 0 0 48px;
}

.split-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.split-2col-card {
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}

/* Horizontal card variant (image left, text right) */
.split-2col-card.has-img {
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 260px;
}
.split-2col-card.has-img .split-2col-card-img {
  width: 44%;
  flex-shrink: 0;
  overflow: hidden;
}
.split-2col-card.has-img .split-2col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-2col-card.has-img .split-2col-card-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Cards on a GRAY section -> white card */
.split-2col-section.bg-gray .split-2col-card {
  background: var(--bg-primary);
}

/* Cards on a WHITE section -> gray card */
.split-2col-section.bg-white .split-2col-card {
  background: var(--bg-secondary);
}

.split-2col-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 14px;
}

.split-2col-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 12px;
  line-height: 1.35;
}

.split-2col-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.split-2col-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.split-2col-card-link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.split-2col-card-link:hover::after {
  transform: translateX(3px);
}

/* ---- Dark feature-split variant (Installation section) ---- */
.feature-split.bg-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.feature-split.bg-dark .tag {
  color: var(--text-on-dark-2);
}

.feature-split.bg-dark h2 {
  color: var(--text-on-dark);
}

.feature-split.bg-dark .lead {
  color: var(--text-on-dark-2);
}

.feature-split.bg-dark .feature-list-title {
  color: var(--text-on-dark);
}

.feature-split.bg-dark .feature-list li {
  color: var(--text-on-dark-2);
}

.feature-split.bg-dark .feature-list li::before {
  background: var(--accent);
}

.feature-split.bg-dark .feature-visual {
  background: var(--bg-dark-2);
  color: var(--text-tertiary);
}

/* ---- Partner ecosystem grid (4 cols × 2 rows of text labels) ---- */
.ecosystem-section {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.ecosystem-section .section-header {
  text-align: left;
  max-width: 820px;
  margin: 0 0 40px;
}

.ecosystem-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.ecosystem-row {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.ecosystem-cell {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.ecosystem-cell--wide {
  width: 340px;
}
.ecosystem-cell img {
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.15s ease;
}
.ecosystem-cell:hover img {
  filter: grayscale(0) opacity(0.85);
}

/* ---- Implementation hero subtitle widens ---- */
.hero.light.implementation .subtitle {
  max-width: 620px;
  font-size: 18px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .split-2col-grid {
    grid-template-columns: 1fr;
  }
  .split-2col-card.has-img {
    flex-direction: column;
    min-height: unset;
  }
  .split-2col-card.has-img .split-2col-card-img {
    width: 100%;
    aspect-ratio: 4/3;
  }

  .ecosystem-row {
    flex-wrap: wrap;
  }
  .ecosystem-cell {
    width: 130px;
  }
  .ecosystem-cell--wide {
    width: 240px;
  }
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */

/* ---- Hero variant (no right image, wider text) ---- */
.hero.light.howitworks .hero-inner {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 0;
}

.hero.light.howitworks .hero-left {
  max-width: none;
  padding: 20px 0 20px;
  justify-content: flex-start;
}

.hero.light.howitworks .hero-right {
  padding: 20px 0 40px;
}

.hero.light.howitworks .subtitle {
  max-width: 480px;
  font-size: 18px;
}

/* ---- How It Works — hero flow diagram ---- */
.hiw-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
}

.hiw-step-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%23E2E2E8' stroke-width='2' stroke-dasharray='6 4' stroke-dashoffset='0'/%3E%3C/svg%3E");
}

.hiw-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hiw-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(51, 231, 228, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-step-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hiw-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hiw-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.2;
}

.hiw-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.hiw-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.hiw-arrow-wrap {
  display: flex;
  justify-content: center;
  padding: 2px 0;
}

@keyframes hiw-flow-down {
  to { stroke-dashoffset: -20; }
}

.hiw-dash-v {
  stroke-dasharray: 6 4;
  stroke-dashoffset: 0;
  animation: hiw-flow-down 1.5s linear infinite;
}

@media (max-width: 960px) {
  .hero.light.howitworks .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero.light.howitworks .hero-left {
    padding-bottom: 8px;
  }
  .hero.light.howitworks .hero-right {
    padding: 0 0 60px;
  }
  .hiw-flow {
    max-width: 340px;
  }
}

/* ---- Integration flow diagram (Camera → Edge PC → Cloud Lab) ---- */
/* When inside a feature-3x2 card: exact 480:220 ratio to match other SVG illustrations */
.feature-3x2-card-img:has(.int-diagram) {
  aspect-ratio: 480 / 220;
  display: flex;
  align-items: stretch;
  line-height: normal;
}
.feature-3x2-card-img .int-diagram {
  flex: 1;
  justify-content: center;
  padding: 8px 36px 10px;
  background: #EEEEF3;
}
.feature-3x2-card-img .int-node {
  padding: 5px 10px;
}
.feature-3x2-card-img .int-node-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.feature-3x2-card-img .int-node-title {
  font-size: 12px;
}
.feature-3x2-card-img .int-node-sub {
  font-size: 11px;
}
.feature-3x2-card-img .int-arrow {
  padding: 0;
}
.feature-3x2-card-img .int-dash {
  animation: none;
}

.int-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 18px 16px;
  width: 100%;
}
.int-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  width: 100%;
  background: var(--bg-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.int-node-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(51, 231, 228, 0.12);
  color: var(--accent);
}
.int-node-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.int-node-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1;
}
.int-node-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1;
}
.int-arrow {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 0;
}
@keyframes int-flow { to { stroke-dashoffset: -20; } }
.int-dash {
  stroke-dasharray: 5 4;
  stroke-dashoffset: 0;
  animation: int-flow 1.5s linear infinite;
}
/* Muted variant — implementation hero */
.int-diagram.muted {
  padding: 0;
  max-width: 260px;
  margin: 0 auto;
}
.int-diagram.muted .int-node {
  background: var(--bg-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23E2E2E8' stroke-width='2' stroke-dasharray='6 4' stroke-dashoffset='0'/%3E%3C/svg%3E");
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.hero.light.implementation .hero-right {
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.hero.light.implementation .int-diagram {
  max-width: 340px;
}
.hero.light.implementation .int-node {
  padding: 18px 20px;
  gap: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23E2E2E8' stroke-width='2' stroke-dasharray='6 4' stroke-dashoffset='0'/%3E%3C/svg%3E");
}
.hero.light.implementation .int-node-icon {
  width: 34px;
  height: 34px;
}
.hero.light.implementation .int-node-title {
  font-size: 14px;
}
.hero.light.implementation .int-node-sub {
  font-size: 12px;
}
.hero.light.implementation .int-arrow {
  padding: 6px 0;
}

/* ---- Stepper bar (3 chips below hero) ---- */
.stepper {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stepper-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stepper-item {
  position: relative;
  padding: 28px 24px 22px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.stepper-item:last-child {
  border-right: none;
}

.stepper-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: background-color 0.15s ease;
}

.stepper-item:hover {
  background: var(--bg-tertiary);
}

.stepper-item:hover::before,
.stepper-item.active::before {
  background: var(--bg-dark);
}

.stepper-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.stepper-item.active .stepper-head {
  color: var(--text-title);
}

.stepper-head .stepper-num {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stepper-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- Workflow step (extends feature-split) ---- */
.workflow-step .feature-split-inner {
  align-items: center;
}

.step-bignum {
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg-tertiary);
  margin: 0 0 8px;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}

.workflow-step .tag {
  margin-bottom: 8px;
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 8px;
}

.benefit-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.workflow-step.bg-gray .benefit-chip {
  background: var(--bg-primary);
}

.workflow-step.bg-white .benefit-chip {
  background: var(--bg-secondary);
}

/* ---- Why teams choose this workflow (dark section, 3 positive cards) ---- */
.why-workflow {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--section-py) 0;
}

.why-workflow .section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 48px;
}

.why-workflow .tag {
  color: var(--text-tertiary);
}

.why-workflow h2 {
  color: var(--text-on-dark);
}

.why-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.why-workflow-card {
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  padding: 28px;
}

.why-workflow-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bg-dark-3);
  border-radius: 4px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.why-workflow-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.why-workflow-card-body {
  font-size: 15px;
  color: var(--text-on-dark-2);
  line-height: 1.6;
  margin: 0;
}

/* ---- Platform overview (video section, gray bg) ---- */
.platform-overview {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.platform-overview-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.platform-overview-text {
  text-align: center;
  max-width: 640px;
}

.platform-overview-text h2 {
  color: var(--text-title);
  margin-bottom: 16px;
}

.platform-overview-text .subtitle {
  margin: 0;
}

.platform-overview .yt-embed {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 960px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .stepper-inner {
    grid-template-columns: 1fr;
  }

  .stepper-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .why-workflow-grid {
    grid-template-columns: 1fr;
  }

  .platform-overview-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-bignum {
    font-size: 64px;
  }
}

/* ============================================
   VISIONAIRY SOFTWARE PAGE
   ============================================ */

/* ---- Hero schema (Lab + Run platform diagram) ---- */
.hero-schema {
  width: 100%;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 320px;
}

.schema-card {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 22px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schema-card.dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.schema-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.schema-card.dark .schema-card-tag {
  color: var(--text-on-dark-2);
}

.schema-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.25;
  margin: 4px 0 0;
}

.schema-card.dark .schema-card-title {
  color: var(--text-on-dark);
}

.schema-card-meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-tertiary);
}

.schema-card-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 6px;
  align-self: flex-start;
}

.schema-card.dark .schema-card-chip {
  background: var(--bg-dark-3);
  color: var(--text-on-dark-2);
}

.schema-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--text-tertiary);
  font-size: 11px;
}

.schema-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.schema-arrow-line {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ---- Software hero — overlapping product montage ---- */
.hero.light.software .hero-right {
  padding: 60px 0 20px 12px;
  align-items: stretch;
}

.sw-montage-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  flex: 1;
}

.sw-montage {
  position: absolute;
  inset: 0;
}

.sw-lab {
  position: absolute;
  top: 8%;
  left: 0;
  width: 68%;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.sw-run {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 54%;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.sw-lab img,
.sw-run img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards are direct children of sw-montage — z-index escapes screenshot contexts */
.sw-card {
  position: absolute;
  background: var(--bg-primary);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 130px;
  z-index: 6;
}

.sw-card-lab {
  bottom: 55%;
  left: 3%;
}

.sw-card-run {
  bottom: 13%;
  right: 3%;
}

.sw-card.dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.sw-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.sw-card.dark .sw-card-tag {
  color: var(--text-on-dark-2);
}

.sw-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin-top: 2px;
}

.sw-card.dark .sw-card-title {
  color: var(--text-on-dark);
}

.sw-card-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.sw-card.dark .sw-card-sub {
  color: var(--text-on-dark-2);
}

.sw-card-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
  align-self: flex-start;
}

.sw-card-chip.dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Animated dashed arrow SVG overlay */
.sw-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.sw-arrows-mobile {
  display: none;
}

.sw-arr-lbl {
  font-size: 14px;
  fill: #6B7280;
  font-weight: 600;
  font-family: inherit;
}

@keyframes sw-flow {
  to { stroke-dashoffset: -20; }
}

.sw-dash {
  stroke-dasharray: 6 4;
  stroke-dashoffset: 0;
  animation: sw-flow 1.5s linear infinite;
}

@media (max-width: 960px) {
  .hero.light.software .hero-right {
    padding: 0 0 40px;
  }
  .sw-montage-wrap {
    padding-bottom: 68%;
  }
}

@media (max-width: 720px) {
  .sw-montage-wrap {
    padding-bottom: 100%;
  }
  .sw-lab {
    top: 3%;
    width: 78%;
  }
  .sw-run {
    bottom: 3%;
    width: 70%;
  }
  .sw-arrows-desktop {
    display: none;
  }
  .sw-arrows-mobile {
    display: block;
  }
}

/* ---- 2×2 feature pills (Lab + Run sections) ---- */
.feature-pills-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 18px;
  max-width: 560px;
}

.feature-pill-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-pill-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Dark variant — used inside .feature-split.bg-dark */
.feature-split.bg-dark .feature-pill-item {
  background: var(--bg-dark-2);
  color: var(--text-on-dark-2);
}

/* Tag-style badge (e.g. "Accessible from any browser") */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 14px;
  font-weight: 500;
}

.feature-split.bg-dark .platform-badge {
  background: var(--bg-dark-2);
  color: var(--text-on-dark-2);
}

.platform-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- 6-card 3x2 grid for Key Features ---- */
.features-3x2-section {
  background: var(--bg-primary);
  padding: var(--section-py) 0;
}

.features-3x2-section.bg-gray {
  background: var(--bg-secondary);
}

.features-3x2-section .section-header {
  text-align: left;
  max-width: 860px;
  margin: 0 0 48px;
}

.features-3x2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.features-3x2-section.bg-gray .features-3x2-grid .feature-3x2-card {
  background: var(--bg-primary);
}

.feature-3x2-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
}

.feature-3x2-card-img {
  margin: -28px -28px 22px;
  overflow: hidden;
  line-height: 0;
}
.feature-3x2-card-img img {
  width: 100%;
  display: block;
}

.feature-3x2-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 12px;
}

.feature-3x2-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 10px;
  line-height: 1.4;
}

.feature-3x2-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---- Visionairy Software hero subtitle widens ---- */
.hero.light.software .subtitle {
  max-width: 620px;
  font-size: 18px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-schema {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .schema-arrows {
    flex-direction: row;
    justify-content: center;
  }

  .features-3x2-grid {
    grid-template-columns: 1fr;
  }

  .feature-pills-2x2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   AIRY FIELD — animated CTA background
   ============================================ */

.cta-final.airy-field {
  position: relative;
  background: transparent;
  padding: 0;
}

/* Full-bleed dark band */
.airy-box {
  position: relative;
  max-width: none;
  margin: 0;
  background: var(--bg-dark);
  border-radius: 0;
  overflow: hidden;
  min-height: 78vh;
  padding: 120px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-final.airy-field .cta-final-inner {
  position: relative;
  z-index: 2;
  padding: 0;
}

.cta-final.airy-field h2 {
  color: #fff;
}

.cta-final.airy-field .subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* Buttons adapted to the dark field */
.cta-final.airy-field .btn-dark {
  background: #fff;
  color: var(--bg-dark);
}
.cta-final.airy-field .btn-dark:hover {
  background: rgba(255, 255, 255, 0.88);
}
.cta-final.airy-field .btn-outline {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-final.airy-field .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* The scattered field layer */
.airy-field-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.airy-dot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s);
  height: var(--s);
  opacity: var(--o, 1);
  animation: airy-drift var(--dur, 9s) ease-in-out infinite alternate;
  animation-delay: var(--dd, 0s);
  will-change: transform;
}

@keyframes airy-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(var(--dx, 16px), var(--dy, -14px)); }
}

/* Bright core */
.airy-dot::before {
  content: "";
  position: absolute;
  inset: 50%;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: var(--c, var(--accent));
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 var(--g, 0px) var(--c, var(--accent)));
  animation: airy-field-core var(--t, 3s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* Diffraction ring */
.airy-dot::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--c, var(--accent));
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: airy-field-ring var(--t, 3s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes airy-field-core {
  0%, 100% { opacity: 1;   transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.5; transform: translate(-50%, -50%) scale(0.7); }
}

@keyframes airy-field-ring {
  0%   { opacity: 0;    transform: translate(-50%, -50%) scale(0.3); }
  35%  { opacity: 0.6;  transform: translate(-50%, -50%) scale(1);   }
  75%  { opacity: 0.12; transform: translate(-50%, -50%) scale(1.7); }
  100% { opacity: 0;    transform: translate(-50%, -50%) scale(2.2); }
}

@media (prefers-reduced-motion: reduce) {
  .airy-dot,
  .airy-dot::before,
  .airy-dot::after {
    animation: none;
  }
  .airy-dot::after { opacity: 0.3; }
}

/* ============================================
   BLOG
   ============================================ */

/* ---- Blog index hero (compact, single column) ---- */
.hero.light.blog-hero .hero-inner {
  grid-template-columns: 1fr;
  min-height: 0;
}
.hero.light.blog-hero .hero-left {
  max-width: 760px;
  padding: 72px 0 56px;
  justify-content: flex-start;
}

/* ---- Blog listing grid ---- */
.blog-index {
  background: var(--bg-primary);
  padding: 0 0 var(--section-py);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.blog-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.blog-card-thumb .img-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
}
.blog-card-thumb .thumb-cat {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
/* dark gradient overlay so the category label stays readable over the image */
.blog-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(20,20,34,0.75) 0%, rgba(20,20,34,0.1) 55%, rgba(20,20,34,0.15) 100%);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.35;
  margin: 0;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---- Article (single post) ---- */
.article {
  background: var(--bg-primary);
  padding: 56px 0 var(--section-py);
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.article-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 18px;
}

.article-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-title);
  margin: 0 0 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.article-meta .dot-sep {
  color: var(--border);
}

.article-hero-img {
  aspect-ratio: 16 / 7;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  margin: 36px 0 8px;
  overflow: hidden;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Inline figure (with optional caption) inside an article body */
.article-figure {
  margin: 32px 0;
}
.article-figure .fig-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
}
.article-figure .fig-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-figure figcaption {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 10px;
  text-align: center;
}
.article-figure.contain .fig-img {
  background: var(--bg-secondary);
}
.article-figure.contain .fig-img img {
  object-fit: contain;
  padding: 24px;
}
/* Two images sharing one figure, side by side */
.article-figure .fig-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .article-figure .fig-row {
    grid-template-columns: 1fr;
  }
}
/* Gallery grid of square captures (e.g. detection examples) */
.article-figure .fig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.article-figure .fig-grid .fig-img {
  aspect-ratio: 1 / 1;
}
@media (max-width: 640px) {
  .article-figure .fig-grid {
    grid-template-columns: 1fr;
  }
}

.article-body {
  margin-top: 40px;
}
.article-body > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0 0 22px;
}
.article-body h2 {
  font-size: 25px;
  line-height: 1.25;
  color: var(--text-title);
  margin: 44px 0 16px;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-title);
  margin: 32px 0 12px;
}
.article-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.article-body strong {
  color: var(--text-title);
  font-weight: 600;
}
.article-body .pro-con-title {
  font-weight: 600;
  color: var(--text-title);
}

/* Placeholder for images not yet supplied — swap the .img-ph div for an <img> */
.img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, var(--bg-tertiary), var(--bg-tertiary) 14px, var(--bg-secondary) 14px, var(--bg-secondary) 28px);
}
.img-ph b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.img-ph span {
  font-size: 13px;
  color: var(--text-tertiary);
  max-width: 420px;
  line-height: 1.5;
}

/* "At a glance" summary box */
.article-tldr {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 24px 30px 8px;
  margin: 8px 0 32px;
}
.article-tldr-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.article-tldr ul {
  padding-left: 20px;
}

/* Results table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 28px;
  font-size: 15px;
}
.article-table th,
.article-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.article-table th {
  font-weight: 600;
  color: var(--text-title);
  background: var(--bg-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-table td {
  color: var(--text-secondary);
}
.article-table td:first-child {
  color: var(--text-primary);
}

/* Pull quote */
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 22px;
  margin: 28px 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-title);
  font-style: italic;
}
.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--text-secondary);
}
.article-body blockquote .quote-tr {
  display: block;
  font-size: 15px;
  font-style: normal;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Author sign-off */
.article-sign {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-decoration: none;
}
.article-back::before { content: "←"; }
.article-back:hover { color: var(--text-primary); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Compact hero (single column) */
.hero.light.contact-hero .hero-inner {
  grid-template-columns: 1fr;
  min-height: 0;
}
.hero.light.contact-hero .hero-left {
  max-width: 760px;
  padding: 72px 0 40px;
  justify-content: flex-start;
}

/* 2-column body: left = title + info, right = form */
.contact-section {
  background: var(--bg-primary);
  padding: 64px 0 var(--section-py);
}
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .breadcrumb {
  margin-bottom: 20px;
}
.contact-info h1 {
  margin-bottom: 20px;
}
.contact-info .subtitle {
  margin-bottom: 44px;
}

/* ---- Left column ---- */
.contact-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 380px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}
.contact-direct-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-direct-item a:hover {
  color: var(--accent-hover);
}
.contact-direct-icon {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* "We reply within 48 hours" with animated airy dot */
.contact-reply {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.contact-reply-dot {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.contact-reply-dot::before {
  content: "";
  position: absolute;
  inset: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  animation: airy-field-core 2.4s ease-in-out infinite;
}
.contact-reply-dot::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: airy-field-ring 2.4s ease-in-out infinite;
}

.contact-trust-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.contact-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
}
.contact-logos img {
  height: 24px;
  width: auto;
  filter: brightness(0);
  opacity: 0.45;
  transition: opacity 0.15s ease;
}
.contact-logos img:hover {
  opacity: 0.75;
}

/* ---- Right column: form card ---- */
.contact-form {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 40px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
}
.form-field.optional label::after {
  content: " (optional)";
  color: var(--text-tertiary);
  font-weight: 400;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-tertiary);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51, 231, 228, 0.35);
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
  margin-top: 6px;
}
.form-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 14px 0 0;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Compact hero */
.hero.light.about-hero .hero-inner {
  grid-template-columns: 1fr;
  min-height: 0;
}
.hero.light.about-hero .hero-left {
  max-width: 820px;
  padding: 72px 0 0;
  justify-content: flex-start;
}

/* Figures row under the hero */
.about-figures {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 var(--pad-x) 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-figure {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.about-figure-value {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-figure-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* Generic about section + card grids */
.about-section {
  padding: var(--section-py) 0;
}
.about-section.bg-gray  { background: var(--bg-secondary); }
.about-section.bg-white { background: var(--bg-primary); }
.about-section.bg-dark  { background: var(--bg-dark); color: var(--text-on-dark); }

.about-section .section-header {
  text-align: left;
  max-width: 760px;
  margin: 0 0 48px;
}
.about-section.bg-dark .tag { color: var(--text-on-dark-2); }
.about-section.bg-dark h2  { color: var(--text-on-dark); }
.about-section.bg-dark .subtitle { color: var(--text-on-dark-2); }

.about-grid {
  display: grid;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.about-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.about-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.about-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.about-card {
  border-radius: var(--radius);
  padding: 28px;
}
.about-section.bg-gray  .about-card { background: var(--bg-primary); }
.about-section.bg-white .about-card { background: var(--bg-secondary); }
.about-section.bg-dark  .about-card { background: var(--bg-dark-2); }

.about-grid.cols-5 .about-card { padding: 22px 20px; }

.about-card-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.about-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 10px;
  line-height: 1.4;
}
.about-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.about-section.bg-dark .about-card-title { color: var(--text-on-dark); }
.about-section.bg-dark .about-card-body  { color: var(--text-on-dark-2); }
.about-grid.cols-5 .about-card-title { font-size: 13px; }
.about-grid.cols-5 .about-card-body  { font-size: 12px; }

/* Logo / label card (awards, research partners) */
.about-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border-radius: var(--radius);
  padding: 20px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.about-logo-card img {
  max-height: 48px;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
}
.about-section.bg-gray  .about-logo-card { background: var(--bg-primary); }
.about-section.bg-white .about-logo-card { background: var(--bg-secondary); }

/* Press card */
.about-press-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius);
  padding: 24px 28px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.about-section.bg-gray .about-press-card { background: var(--bg-primary); }
.about-press-card:hover { transform: translateY(-2px); }
.about-press-source {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.about-press-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin: 0;
}
.about-press-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}
.about-press-link::after { content: " →"; }

/* Team split layout (About — Our Team) */
.about-team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
}

.about-team-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-team-left .t-h2 { margin: 0; }
.about-team-left .subtitle { margin: 0; }

.about-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.about-team-cards {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.about-link-wrap {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
}

/* Co-founders */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.founder {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 11px;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0;
}
.founder-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 4px 0 0;
}
.founder-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}
.founder-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.founder-badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

/* "What brings you here?" CTA link cards (dark) */
.about-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.about-cta-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  padding: 26px 28px;
  text-decoration: none;
  position: relative;
  transition: background-color 0.15s ease;
}
.about-cta-card:hover { background: var(--bg-dark-3); }
.about-cta-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-dark);
}
.about-cta-card-sub {
  font-size: 13px;
  color: var(--text-tertiary);
}
.about-cta-card-arrow {
  position: absolute;
  top: 26px;
  right: 28px;
  color: var(--text-tertiary);
  font-size: 16px;
}


/* Responsive */
@media (max-width: 960px) {
  .about-figures,
  .about-grid.cols-4,
  .about-grid.cols-5,
  .about-grid.cols-2,
  .founders-grid,
  .about-cta-grid {
    grid-template-columns: 1fr;
  }
  .about-team-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-team-photo img {
    max-height: 320px;
    object-fit: cover;
    width: 100%;
  }
}


/* ---- Scroll reveal ---- */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1 !important; transform: none !important; }
}
