@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-glass: rgba(255,255,255,0.65);
  --border: #E8E8E8;
  --border-strong: #D4D4D8;

  --text: #111111;
  --text-secondary: #5C5C5C;
  --text-tertiary: #9C9C9C;

  /* Nanosys Logo Brand Theme: Deep Saturated Royal Cobalt Blue */
  --indigo: #004BE8;
  --violet: #006BF5;
  --gold: #C9A45C;

  --indigo-rgb: 0, 75, 232;
  --violet-rgb: 0, 107, 245;
  --gold-rgb: 201, 164, 92;

  --brand-deep: #0030B0;
  --brand-blue: #004BE8;
  --brand-mid: #0060F5;
  --brand-light: #0074FF;

  --success: #16A34A;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;

  --nav-bg: rgba(250,250,250,0.85);
}

[data-theme="dark"] {
  --bg: #000000;
  --surface: #0A0A0C;
  --surface-glass: rgba(10, 10, 12, 0.75);
  --border: #16171E;
  --border-strong: #222530;

  --text: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;

  /* Nanosys Logo Brand Theme: Deep Saturated Royal Blue in Dark Mode */
  --indigo: #0F5CFF;
  --violet: #2979FF;
  --gold: #E5C378;

  --indigo-rgb: 15, 92, 255;
  --violet-rgb: 41, 121, 255;
  --gold-rgb: 229, 195, 120;

  --brand-deep: #0036C8;
  --brand-blue: #0F5CFF;
  --brand-mid: #2979FF;
  --brand-light: #448AFF;

  --success: #22C55E;

  --nav-bg: rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  position: relative;
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 640px; margin: 0 auto; padding: 0 24px; }

section { padding: 128px 0; position: relative; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-secondary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--indigo); }

h1.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  line-height: 1.12;
  max-width: 900px;
  font-weight: 500;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
h1.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.hero-title .word {
  display: inline;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: opacity, transform;
}
.hero-title.in-view .word {
  opacity: 1;
  transform: translateY(0);
}
h2.section-title { font-size: 2.75rem; line-height: 1.15; max-width: 600px; font-weight: 500; }
h3 { font-size: 1.375rem; font-weight: 500; }

.lede { font-size: 1.1875rem; color: var(--text-secondary); max-width: 480px; margin-top: 24px; font-family: 'Inter', sans-serif; }
.oneliner { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, #0034B8 0%, #004BE8 50%, #0066F5 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 52, 184, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00269E 0%, #003ECC 50%, #0056F5 100%);
  box-shadow: 0 12px 32px rgba(0, 52, 184, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(var(--indigo-rgb), 0.05); }
.btn-secondary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 12px 0; transition: all 0.3s var(--ease); }
.nav.scrolled {
  padding: 8px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 500; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  object-fit: contain;
  background: url('images/logo.png') center / contain no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-link { font-weight: 500; font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; }
.nav-link:hover, .nav-link.active { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn {
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #0034B8 0%, #004BE8 50%, #0066F5 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 52, 184, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav-cta .btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #00269E 0%, #003ECC 50%, #0056F5 100%);
  box-shadow: 0 6px 18px rgba(0, 52, 184, 0.42);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-1px);
  background: rgba(var(--indigo-rgb), 0.08);
}
.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

/* Mobile Navigation Backdrop & Drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 99;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-only-link { display: none; }

@media (max-width: 900px) {
  .nav { padding: 8px 0; }
  .nav.scrolled { padding: 6px 0; }
  .nav-inner { gap: 8px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn {
    display: none !important;
  }
  .mobile-only-link {
    display: block;
  }
  .theme-toggle-btn {
    width: 32px;
    height: 32px;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(300px, 82vw);
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 72px 28px 36px;
    box-shadow: -10px 0 36px rgba(0, 0, 0, 0.18);
    transition: right 0.35s var(--ease);
    z-index: 105;
    gap: 16px;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
}

/* ---------- Gradient mesh backgrounds ---------- */
.mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(60px); animation: drift 16s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -20px); } }

/* Dotted grid texture */
.dot-grid { position: absolute; inset: 0; background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 24px 24px; opacity: 0.5; mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 20%, transparent 80%); pointer-events: none; }

/* ---------- Hero Minimalist Aura & Centered Layout ---------- */
.hero {
  padding: 190px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Minimalist Glowing Aura Mesh */
.hero-aurora {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 780px;
  height: 480px;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(var(--indigo-rgb), 0.2) 0%, rgba(var(--violet-rgb), 0.14) 50%, transparent 100%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: auroraPulse 10s ease-in-out infinite alternate;
}
@keyframes auroraPulse {
  0% { transform: translate(-50%, -20%) scale(0.95); opacity: 0.8; }
  50% { transform: translate(-48%, -18%) scale(1.08); opacity: 1; filter: blur(80px); }
  100% { transform: translate(-52%, -22%) scale(1); opacity: 0.85; }
}

.hero-centered {
  text-align: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered h1.hero-title {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.hero-centered .lede {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.hero-centered .cta-row {
  justify-content: center;
  margin-top: 36px;
}

/* Minimalist Outcome Pill Badges */
.hero-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.03);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-pill-item:hover {
  transform: translateY(-2px);
  border-color: var(--indigo);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(var(--indigo-rgb), 0.08);
}
.hero-pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-pill-icon.acq { background: rgba(var(--indigo-rgb), 0.12); color: var(--indigo); }
.hero-pill-icon.speed { background: rgba(var(--violet-rgb), 0.12); color: var(--violet); }
.hero-pill-icon.ticket { background: rgba(201, 164, 92, 0.2); color: #8A6D1E; }
.hero-pill-icon.ret { background: rgba(22, 163, 74, 0.12); color: var(--success); }

/* Dark mode for hero pills */
[data-theme="dark"] .hero-pill-item {
  background: rgba(20, 22, 32, 0.75);
  border-color: var(--border);
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .hero-pill-item:hover {
  border-color: var(--indigo);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(var(--indigo-rgb), 0.2);
}
[data-theme="dark"] .hero-pill-icon.acq { background: rgba(var(--indigo-rgb), 0.2); color: var(--indigo); }
[data-theme="dark"] .hero-pill-icon.speed { background: rgba(var(--violet-rgb), 0.2); color: var(--violet); }
[data-theme="dark"] .hero-pill-icon.ticket { background: rgba(229, 195, 120, 0.2); color: var(--gold); }
[data-theme="dark"] .hero-pill-icon.ret { background: rgba(34, 197, 94, 0.2); color: var(--success); }

@media (min-width: 641px) and (max-width: 900px) {
  .hero-pills-row {
    display: flex;
    justify-content: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-pill-item {
    font-size: 0.8rem;
    padding: 7px 16px;
  }
}

@media (max-width: 640px) {
  .hero-aurora { width: 340px; height: 340px; }
  .hero-centered .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    margin-bottom: 18px;
    justify-content: center;
  }
  .hero-centered .eyebrow::before {
    display: none;
  }
  .hero-pills-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
  }
  .hero-pill-item {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    gap: 6px;
    border-radius: 999px;
    box-sizing: border-box;
    min-height: 40px;
  }
  .hero-pill-item span:not(.hero-pill-icon) {
    white-space: normal;
    line-height: 1.2;
    display: block;
    text-align: left;
  }
  .hero-pill-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
  }
  .hero-pill-icon svg, .hero-pill-icon span {
    transform: scale(0.85);
  }
}
.matrix-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: hubPulse 2s infinite;
}
.matrix-badge-live {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--indigo-rgb), 0.08);
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 2x2 Problem & Metric Grid */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.matrix-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.matrix-card:hover {
  transform: translateY(-2px);
  border-color: var(--indigo);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.matrix-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.matrix-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.matrix-icon-wrap.acq { background: rgba(var(--indigo-rgb), 0.1); color: var(--indigo); }
.matrix-icon-wrap.speed { background: rgba(var(--violet-rgb), 0.1); color: var(--violet); }
.matrix-icon-wrap.ticket { background: rgba(201, 164, 92, 0.15); color: #8A6D1E; }
.matrix-icon-wrap.ret { background: rgba(22, 163, 74, 0.1); color: var(--success); }

.matrix-metric {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.matrix-metric.positive { color: var(--success); }

.matrix-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.matrix-sub {
  font-size: 0.725rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Bottom Active Pipeline Feed */
.matrix-feed-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.matrix-feed-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text);
}
.matrix-indicator-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}
.matrix-feed-speed {
  font-size: 0.725rem;
  color: var(--text-tertiary);
  font-weight: 600;
  white-space: nowrap;
}

/* Floating Impact Badge */
.matrix-float-tag {
  position: absolute;
  top: -18px;
  right: -14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  animation: matrixFloat 5s ease-in-out infinite alternate;
}
@keyframes matrixFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
.matrix-float-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); }

@media (max-width: 768px) {
  .hero { padding: 140px 0 60px; }
  .matrix-grid { grid-template-columns: 1fr; }
  .matrix-float-tag { top: -12px; right: 0; }
  .hero-matrix-board { padding: 18px; margin-top: 24px; }
}

/* ---------- Marquee (subtle, premium) ---------- */
.belt { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; overflow: hidden; white-space: nowrap; background: var(--surface); }
.belt-track { display: inline-flex; gap: 64px; animation: marquee 32s linear infinite; }
.belt span { font-family: 'Fraunces', serif; font-size: 1.25rem; font-style: italic; color: var(--text-tertiary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Glass cards ---------- */
.card, .industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover, .industry-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(17,17,17,0.06); border-color: var(--border-strong); }

.card-glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(17,17,17,0.04);
}

.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(var(--indigo-rgb),0.1), rgba(var(--violet-rgb),0.1)); color: var(--indigo); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }

/* ---------- MSME Showcase & Image Cards ---------- */
.card-image-wrap { width: 100%; height: 210px; border-radius: 14px; overflow: hidden; margin-bottom: 20px; position: relative; background: #EEE; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); display: block; }
.card:hover .card-image-wrap img, .industry-card:hover .card-image-wrap img { transform: scale(1.05); }
.card-image-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(17, 17, 17, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 0.75rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); }
.msme-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--indigo); background: rgba(var(--indigo-rgb), 0.08); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- Engine Card Image Preview ---------- */
.engine-card-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0 20px 0;
  border: 1px solid var(--border);
  background: #0B0D14;
  position: relative;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.engine-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.card:hover .engine-card-img {
  transform: scale(1.04);
}
@media (max-width: 768px) {
  .engine-card-img-wrap {
    height: 180px;
    margin: 14px 0 16px 0;
    border-radius: 12px;
  }
}
[data-theme="dark"] .engine-card-img-wrap {
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Execution Engine Card CTA Buttons ---------- */
#tools .cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}
#tools .card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  gap: 6px;
}
#tools .btn-primary {
  background: linear-gradient(135deg, #0034B8 0%, #004BE8 50%, #0066F5 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 52, 184, 0.35);
}
#tools .btn-primary:hover {
  background: linear-gradient(135deg, #00269E 0%, #003ECC 50%, #0056F5 100%);
  box-shadow: 0 6px 22px rgba(0, 52, 184, 0.48);
  transform: translateY(-2px);
}
[data-theme="dark"] #tools .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  backdrop-filter: blur(8px);
}
[data-theme="dark"] #tools .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  transform: translateY(-2px);
}
@media (max-width: 520px) {
  #tools .cta-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.msme-banner-wrap {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}
.msme-banner-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08); border: 1px solid var(--border); }
.msme-banner-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 24px 30px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 768px) {
  .msme-banner-overlay {
    position: static;
    margin-top: 16px;
    padding: 20px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }
  .msme-banner-overlay p {
    color: var(--text-secondary);
  }
}

/* ---------- Visual Customer & Growth Journey ---------- */
.journey-wrapper { position: relative; margin-top: 56px; }
.journey-track-line { position: absolute; top: 46px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--indigo) 0%, var(--violet) 50%, var(--indigo) 100%); opacity: 0.22; z-index: 0; border-radius: 999px; }
.journey-track-pulse { position: absolute; top: 0; left: 0; width: 140px; height: 100%; background: linear-gradient(90deg, transparent, var(--indigo), var(--violet), transparent); border-radius: 999px; filter: drop-shadow(0 0 10px rgba(var(--indigo-rgb),0.6)); animation: journeyFlow 4.5s ease-in-out infinite; }
@keyframes journeyFlow { 0% { left: 0%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 140px); opacity: 0; } }

.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.journey-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.07);
  border-color: var(--indigo);
}

.journey-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.journey-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.journey-icon-wrap .icon-badge {
  margin-bottom: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.journey-step-pill {
  font-family: 'Fraunces', serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(var(--indigo-rgb), 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
}
.journey-stage-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.journey-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--text);
}
.journey-card .oneliner {
  font-size: 0.825rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
  flex-grow: 1;
}

.journey-micro-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.journey-micro-preview .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  margin-top: 4px;
  flex-shrink: 0;
}
.journey-meta-title {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.journey-meta-sub {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 2px;
  line-height: 1.3;
}

/* Card Continuity Beam (Flows sequentially through stages 1 -> 2 -> 3 -> 4) */
.journey-card {
  position: relative;
  overflow: hidden;
}
.journey-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, var(--indigo) 40%, var(--violet) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: cardContinuityBeam 3.6s ease-in-out infinite;
  pointer-events: none;
}
.journey-card:nth-child(1)::after { animation-delay: 0s; }
.journey-card:nth-child(2)::after { animation-delay: 0.9s; }
.journey-card:nth-child(3)::after { animation-delay: 1.8s; }
.journey-card:nth-child(4)::after { animation-delay: 2.7s; }

@keyframes cardContinuityBeam {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Radar pulse on status dot */
.journey-micro-preview .dot {
  position: relative;
}
.journey-micro-preview .dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  opacity: 0;
  animation: dotRadar 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes dotRadar {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Process Handoff Footer (Explicit Continuity) */
.journey-flow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.flow-pill {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flow-next {
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.flow-arrow {
  display: inline-block;
  font-weight: 700;
  animation: flowPulseArrow 1.8s ease-in-out infinite;
}
@keyframes flowPulseArrow {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(3px); opacity: 1; }
}

.journey-arrow {
  position: absolute;
  right: -14px;
  top: 38px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.journey-mobile-stepper {
  display: none;
}


/* ---------- Badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: rgba(var(--indigo-rgb),0.08); color: var(--indigo); }
.badge-gold { background: rgba(var(--gold-rgb),0.12); color: #8A6D1E; }

/* ---------- Chips ---------- */
.chip { padding: 12px 24px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-weight: 500; font-size: 0.9375rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.chip:hover { border-color: var(--indigo); color: var(--indigo); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }

/* ---------- Minimalist Industry Cards ---------- */
.minimal-ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 1024px) { .minimal-ind-grid { grid-template-columns: repeat(2, 1fr); } }

.min-ind-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
}
.min-ind-card:hover { transform: translateY(-4px); border-color: var(--indigo); box-shadow: 0 16px 36px rgba(17, 17, 17, 0.06); }

/* Industry Card Image Banner */
.min-ind-img-wrap {
  width: 100%;
  height: 135px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--border);
  position: relative;
}
.min-ind-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.min-ind-card:hover .min-ind-img {
  transform: scale(1.06);
}

.min-ind-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.min-ind-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease); }
.min-ind-card:hover .min-ind-icon { transform: scale(1.08); }

.min-ind-icon.clinic { background: rgba(16, 185, 129, 0.1); color: #059669; }
.min-ind-icon.coaching { background: rgba(var(--indigo-rgb), 0.1); color: var(--indigo); }
.min-ind-icon.retail { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.min-ind-icon.auto { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.min-ind-icon.realestate { background: rgba(var(--violet-rgb), 0.1); color: var(--violet); }
.min-ind-icon.salon { background: rgba(236, 72, 153, 0.1); color: #DB2777; }
.min-ind-icon.hotel { background: rgba(249, 115, 22, 0.1); color: #EA580C; }
.min-ind-icon.finance { background: rgba(20, 184, 166, 0.1); color: #0D9488; }
.min-ind-icon.custom { background: rgba(var(--indigo-rgb), 0.1); color: var(--indigo); }

.min-ind-tag { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-tertiary); }
.min-ind-title { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500; margin: 0 0 8px 0; color: var(--text); }
.min-ind-feature { font-size: 0.8125rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.min-ind-feature .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); flex-shrink: 0; }
.min-ind-arrow { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: var(--text-tertiary); transition: color 0.2s ease; }
.min-ind-card:hover .min-ind-arrow { color: var(--indigo); }

/* Mobile: Smooth Right-to-Left Swipeable Carousel for Industry Solutions */
@media (max-width: 768px) {
  .minimal-ind-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 8px 18px 24px 18px !important;
    margin: 0 -18px !important;
    touch-action: pan-x pan-y !important;
  }
  .minimal-ind-grid::-webkit-scrollbar {
    display: none;
  }
  .min-ind-card {
    width: 82vw !important;
    max-width: 300px !important;
    min-width: 255px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    padding: 16px 16px 18px 16px !important;
    border-radius: 12px !important;
    margin: 0 !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.08) !important;
  }
  .min-ind-img-wrap {
    height: 130px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
}

/* Sleek 4-in-a-Row Lever Cards with Subtle Rotating Animated Border Glow */
.levers-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lever-card-single {
  position: relative;
  background: var(--surface);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  isolation: isolate;
  overflow: hidden;
}

/* Subtle Rotating Animated Border Glow using Logo Colors (#0062FF -> #00B4F8) */
.lever-card-single::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 75, 232, 0.06) 0deg,
    transparent 180deg,
    rgba(0, 75, 232, 0.2) 240deg,
    rgba(0, 52, 184, 0.55) 285deg,
    rgba(0, 75, 232, 0.6) 320deg,
    rgba(0, 107, 245, 0.5) 345deg,
    rgba(0, 75, 232, 0.06) 360deg
  );
  animation: borderGlowRotate 5s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Inner Background (100% Dark Black in Dark Mode, Surface in Light Mode) with crisp 1.2px border */
.lever-card-single::after {
  content: '';
  position: absolute;
  inset: 1.2px;
  border-radius: 10.8px;
  background: var(--surface);
  z-index: 0;
  pointer-events: none;
}

/* Ensure all contents sit above the glow layers */
.lever-card-single > * {
  position: relative;
  z-index: 1;
}

/* Dark Mode: Elevated Obsidian Surface + Subtle Ambient Light Effect */
[data-theme="dark"] .lever-card-single {
  background: #000000 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 75, 232, 0.08) !important;
}

[data-theme="dark"] .lever-card-single::after {
  background: radial-gradient(circle at 50% 0%, rgba(0, 75, 232, 0.14) 0%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), #0B0D14 !important;
}

[data-theme="dark"] .lever-card-single::before {
  background: conic-gradient(
    from 0deg,
    rgba(0, 75, 232, 0.08) 0deg,
    transparent 180deg,
    rgba(0, 52, 184, 0.2) 240deg,
    rgba(0, 75, 232, 0.55) 285deg,
    rgba(15, 92, 255, 0.55) 318deg,
    rgba(41, 121, 255, 0.45) 345deg,
    rgba(0, 75, 232, 0.08) 360deg
  );
}

@keyframes borderGlowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lever-card-single:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 116, 252, 0.12);
}

.lever-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.lever-top-bar .icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 0;
}
.lever-top-bar .msme-tag {
  margin-bottom: 0;
  font-size: 0.7rem;
  padding: 3px 10px;
}
.lever-card-single h3 {
  font-size: 1.125rem;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.lever-card-single .oneliner {
  font-size: 0.825rem;
  line-height: 1.45;
  color: var(--text-secondary);
  flex-grow: 1;
}
.lever-quick-pill {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
}
.lever-quick-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .levers-row-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile: Smooth Right-to-Left Swipeable Carousel */
@media (max-width: 768px) {
  .levers-row-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 12px 18px 20px 18px !important;
    margin: 0 -16px !important;
    touch-action: pan-x pan-y !important;
  }
  .levers-row-grid::-webkit-scrollbar {
    display: none;
  }
  .lever-card-single {
    width: 82vw !important;
    max-width: 300px !important;
    min-width: 255px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    padding: 20px 18px !important;
    border-radius: 12px !important;
    margin: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 116, 252, 0.08) !important;
  }
  .lever-top-bar {
    margin-bottom: 12px !important;
  }
  .lever-card-single h3 {
    font-size: 1.05rem !important;
    margin-bottom: 5px !important;
  }
  .lever-card-single .oneliner {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
  }
  .lever-quick-pill {
    margin-top: 12px !important;
    padding-top: 10px !important;
    font-size: 0.725rem !important;
  }
}

/* ---------- Consulting & Tools Specific Badges ---------- */
.consulting-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--indigo); background: rgba(var(--indigo-rgb), 0.08); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.tool-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary); }
.consulting-scope-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.consulting-scope-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-secondary); }
.consulting-scope-item .scope-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); margin-top: 7px; flex-shrink: 0; }




/* ---------- Pricing Grid & Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}
.price-card.featured {
  border-color: var(--indigo);
  box-shadow: 0 12px 32px rgba(var(--indigo-rgb), 0.12);
  position: relative;
}
.price-tag {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 8px;
}
.price-tag span {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .journey-track-line { display: none; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .journey-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; max-width: 580px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 12px; }
  /* Mobile Connected Process Pipeline for Growth Lifecycle */
  .journey-mobile-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  }
  .mobile-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .m-step-num {
    font-family: 'Fraunces', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1.5px solid var(--border);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
  }
  .mobile-step-node.active .m-step-num {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 14px rgba(var(--indigo-rgb), 0.5);
    transform: scale(1.12);
  }
  .m-step-txt {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.3s var(--ease);
  }
  .mobile-step-node.active .m-step-txt {
    color: var(--indigo);
    font-weight: 700;
  }
  .mobile-step-arrow {
    color: var(--indigo);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: arrowNudge 1.8s ease-in-out infinite;
  }
  @keyframes arrowNudge {
    0%, 100% { transform: translateX(0); opacity: 0.45; }
    50% { transform: translateX(3px); opacity: 1; }
  }
  [data-theme="dark"] .journey-mobile-stepper {
    background: #0B0D14;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
  [data-theme="dark"] .mobile-step-node .m-step-num {
    background: #0B0D14;
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
  }
  [data-theme="dark"] .mobile-step-node.active .m-step-num {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(var(--indigo-rgb), 0.6);
  }
  [data-theme="dark"] .mobile-step-node.active .m-step-txt {
    color: #93C5FD;
  }

  /* Mobile: Clean Step-by-Step Right-to-Left Swipeable Carousel */
  .journey-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 8px 18px 24px 18px !important;
    margin: 0 -18px !important;
    touch-action: pan-x pan-y !important;
  }
  .journey-grid::-webkit-scrollbar {
    display: none;
  }
  .journey-grid::before {
    display: none !important;
  }
  .journey-card {
    width: 82vw !important;
    max-width: 310px !important;
    min-width: 260px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    padding: 20px 18px !important;
    border-radius: 14px !important;
    margin: 0 !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.06) !important;
  }
  .journey-card.active-stage {
    transform: none !important;
  }
  .journey-card::before {
    display: none !important;
  }
  .journey-arrow {
    display: none !important;
  }
  .container { padding: 0 18px; }
  h1.hero-title, .hero-centered h1.hero-title, .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em;
  }
  h2.section-title, .section-title, h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  h3 { font-size: 1.05rem; }
  .lede, .hero-centered .lede {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-top: 18px !important;
  }
  .oneliner { font-size: 0.8rem; line-height: 1.4; margin-top: 4px; }
  .eyebrow { font-size: 0.6875rem; margin-bottom: 18px; }
  section { padding: 44px 0; }
  .page-hero { padding: 84px 0 24px; }
  .hero { padding: 84px 0 28px; }
  .hero-centered .cta-row { margin-top: 20px; }
  .cta-row { flex-direction: column; width: 100%; gap: 10px; margin-top: 20px; }
  .cta-row .btn { width: 100%; justify-content: center; padding: 10px 20px; font-size: 0.85rem; border-radius: 8px; }
  .btn, .btn-lg { padding: 10px 20px; font-size: 0.85rem; border-radius: 8px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; width: 100%; }
  
  /* Compact Cards on Tablet & Mobile */
  .card, .industry-card, .price-card { padding: 18px 14px; border-radius: 14px; }
  .min-ind-card { padding: 14px 12px; border-radius: 12px; }
  .lever-card-single { padding: 14px 12px; border-radius: 12px; }
  .journey-card { padding: 16px 14px; border-radius: 12px; }
  .about-stat-card { padding: 14px 12px; border-radius: 12px; }
  .compare-box { padding: 16px 14px; border-radius: 12px; }
  .icon-badge { width: 34px; height: 34px; border-radius: 8px; margin-bottom: 10px; }
  .min-ind-icon { width: 34px; height: 34px; border-radius: 8px; }
  .min-ind-top { margin-bottom: 8px; }
  .min-ind-title { font-size: 0.975rem; margin-bottom: 4px; }
  .min-ind-feature { font-size: 0.775rem; }
  .min-ind-arrow { margin-top: 10px; padding-top: 6px; font-size: 0.725rem; }
  .lever-top-bar { margin-bottom: 8px; }
  .lever-card-single h3 { font-size: 1rem; margin-bottom: 3px; }
  .lever-quick-pill { margin-top: 8px; padding-top: 6px; font-size: 0.7rem; }
  .journey-node-row { margin-bottom: 8px; }
  .journey-step-num { width: 28px; height: 28px; font-size: 0.75rem; }
  .journey-micro-preview { padding: 6px 8px; margin: 8px 0; min-height: unset; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-stat-num { font-size: 1.5rem; }
  .about-stat-label { font-size: 0.75rem; }
  .compare-grid { grid-template-columns: 1fr; gap: 12px; }
  .compare-list { margin-top: 10px; gap: 8px; }
  .compare-item { font-size: 0.8rem; line-height: 1.4; }
  .card-image-wrap { height: 160px; margin-bottom: 14px; border-radius: 10px; }
}

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; position: relative; z-index: 1; }
@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .section-head .btn { width: auto; align-self: flex-start; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--text);
  border-radius: 28px;
  padding: 88px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: 2.75rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-top: 18px; position: relative; z-index: 1; font-family: 'Inter', sans-serif; }
.cta-banner .cta-row { justify-content: center; position: relative; z-index: 1; }
.cta-banner .btn-secondary { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
@media (max-width: 768px) { .cta-banner { padding: 40px 20px; border-radius: 18px; } .cta-banner h2 { font-size: 1.6rem; } }

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: var(--indigo);
  transform: translateX(2px);
}
.footer-col p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
    margin-bottom: 36px !important;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 36px 0 24px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    margin-bottom: 28px !important;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .footer-col h4 {
    font-size: 0.8125rem !important;
    margin-bottom: 12px !important;
  }
  .footer-col a {
    font-size: 0.8125rem !important;
    margin-bottom: 10px !important;
  }
  .footer-col p {
    font-size: 0.8125rem !important;
    margin-top: 10px !important;
    max-width: 100% !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 0.75rem !important;
    padding-top: 18px !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  section { padding: 36px 0; }
  .page-hero { padding: 76px 0 18px; }
  .hero { padding: 76px 0 22px; }
  h1.hero-title, .hero-centered h1.hero-title, .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  h2.section-title, .section-title, h2 {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
  }
  .eyebrow {
    font-size: 0.625rem !important;
    letter-spacing: 0.07em !important;
    white-space: nowrap !important;
    margin-bottom: 16px !important;
  }
  .hero-centered .eyebrow::before {
    display: none !important;
  }
  .lede, .hero-centered .lede {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-top: 18px !important;
  }
  .card, .industry-card, .price-card { padding: 15px 12px; border-radius: 12px; }
  .min-ind-card { padding: 12px 10px; border-radius: 10px; }
  .lever-card-single { padding: 12px 10px; border-radius: 10px; }
  .journey-card { padding: 14px 12px; border-radius: 10px; }
  .price-tag { font-size: 1.5rem; margin: 6px 0 2px; }
  .cta-banner { padding: 32px 14px; border-radius: 14px; }
  .cta-banner h2 { font-size: 1.35rem; }
  .cta-banner p { font-size: 0.775rem; margin-top: 8px; }
  .about-stats-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-pills-row { gap: 6px; margin-top: 16px; padding: 0 2px; }
  .hero-pill-item { padding: 5px 8px; font-size: 0.65rem; gap: 5px; min-height: 36px; }
  .hero-pill-icon { width: 16px; height: 16px; min-width: 16px; }
  .belt-track { gap: 32px; }
  .belt span { font-size: 0.95rem; }
}

/* ---------- Interactive Scroll & Parallax Systems ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(var(--indigo-rgb), 0.5);
}

/* Subtle Cursor Glow / Ambient Mesh Light */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--indigo-rgb), 0.07), transparent 70%);
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { display: block; }
}

/* Enhanced Reveal with Smooth Stagger */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.stagger-reveal.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* Active Highlight on Customer Journey Steps */
.journey-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.journey-card.active-stage {
  border-color: var(--indigo);
  box-shadow: 0 16px 40px rgba(var(--indigo-rgb), 0.12);
  transform: translateY(-4px);
}
.journey-card.active-stage .journey-step-num {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(var(--indigo-rgb), 0.4);
}

/* Parallax Blob Transition */
.mesh-blob {
  will-change: transform;
}

/* Floating Card Pulse Indicator */
@keyframes feedPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}
.matrix-feed-banner.updated {
  animation: feedPulse 0.6s ease-out;
}

/* Matrix card shine effect on hover */
.matrix-card {
  position: relative;
  overflow: hidden;
}
.matrix-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255,255,255,0.7) 50%, transparent 60%);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.75s ease;
  pointer-events: none;
}
.matrix-card:hover::after {
  transform: rotate(25deg) translateY(100%);
}

/* About Page Styling */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.about-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.about-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--indigo);
}
.about-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--indigo);
  line-height: 1.1;
}
.about-stat-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 6px;
  font-weight: 500;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.compare-box {
  border-radius: 20px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.compare-box.bad {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.02) 0%, var(--surface) 100%);
}
.compare-box.good {
  border-color: rgba(var(--indigo-rgb), 0.35);
  background: linear-gradient(180deg, rgba(var(--indigo-rgb), 0.04) 0%, var(--surface) 100%);
  box-shadow: 0 12px 36px rgba(var(--indigo-rgb), 0.06);
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pillar-deliverable {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.team-vision-quote {
  padding: 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(var(--indigo-rgb), 0.05), rgba(var(--violet-rgb), 0.05));
  border: 1px solid rgba(var(--indigo-rgb), 0.15);
  text-align: center;
  margin-top: 48px;
}
.team-vision-text {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.45;
}
.team-vision-author {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 14px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 28px !important;
  }
  .about-stat-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .about-stat-num {
    font-size: 1.65rem !important;
  }
  .compare-box {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .team-vision-quote {
    padding: 28px 18px !important;
    border-radius: 18px !important;
    margin-top: 32px !important;
  }
  .team-vision-text {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .about-stat-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
  }
  .about-stat-num {
    font-size: 1.35rem !important;
  }
  .about-stat-label {
    font-size: 0.75rem !important;
  }
  .compare-box {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .compare-item {
    font-size: 0.85rem !important;
    gap: 8px !important;
  }
  .team-vision-quote {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .team-vision-text {
    font-size: 1.05rem !important;
  }
}

/* ---------- Contact Page & Comprehensive Lead Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.lead-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.04);
}

.form-title {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.25;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin: 28px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-section-header:first-of-type {
  margin-top: 0;
}

.form-section-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(var(--indigo-rgb), 0.1);
  color: var(--indigo);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field label .req {
  color: var(--indigo);
  font-weight: 700;
  margin-left: 3px;
}

.form-field label .optional-tag {
  font-size: 0.725rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(var(--indigo-rgb), 0.12);
  background: #FFFFFF;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.phone-input-group:focus-within {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(var(--indigo-rgb), 0.12);
}
.phone-prefix {
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.03);
  border-right: 1px solid var(--border-strong);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.phone-input-group .form-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 48px;
}

.form-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--text-tertiary);
  margin-top: 14px;
  text-align: center;
}

/* Form Success View */
.form-success-box {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.04) 0%, var(--surface) 100%);
  border-radius: 20px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

/* Contact Sidebar Cards */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--indigo);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}
.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(var(--indigo-rgb), 0.08);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.sidebar-info-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.process-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.process-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--indigo-rgb), 0.1);
  color: var(--indigo);
  font-size: 0.775rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.process-step-item div h5 {
  margin: 0 0 2px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.process-step-item div p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 768px) {
  .form-title {
    font-size: 1.45rem !important;
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
  .sidebar-info-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
}
@media (max-width: 640px) {
  .lead-form-card {
    padding: 22px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
}
@media (max-width: 480px) {
  .form-title {
    font-size: 1.3rem !important;
  }
  .lead-form-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .form-section-header {
    font-size: 0.8rem;
    margin: 22px 0 12px 0;
  }
  .contact-card {
    padding: 14px 14px;
    border-radius: 14px;
    gap: 12px;
  }
  .contact-card-icon {
    width: 36px;
    height: 36px;
  }
  .sidebar-info-card {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .phone-prefix {
    padding: 0 8px;
    font-size: 0.8125rem;
  }
  .form-microcopy {
    font-size: 0.725rem;
  }
}

/* ---------- Page Hero Header ---------- */
.page-hero {
  padding: 160px 0 64px;
  position: relative;
  overflow: hidden;
}

/* ---------- Privacy Policy & Legal Pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.03);
}

.legal-toc-title {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: var(--text);
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc-link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.legal-toc-link:hover {
  color: var(--indigo);
  background: rgba(var(--indigo-rgb), 0.06);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.03);
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.legal-block {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-block h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.25;
}

.legal-block h3 {
  font-size: 1.0625rem;
  margin: 20px 0 10px;
  color: var(--text);
}

.legal-block p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-block ul {
  padding-left: 20px;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-block li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-highlight-box {
  background: rgba(var(--indigo-rgb), 0.04);
  border: 1px solid rgba(var(--indigo-rgb), 0.15);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: static;
  }
  .legal-content {
    padding: 28px 20px;
  }
}
@media (max-width: 600px) {
  .legal-content {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .legal-toc {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .legal-block h2 {
    font-size: 1.35rem;
  }
  .legal-callout {
    padding: 14px 16px;
    font-size: 0.85rem;
  }
}

/* ---------- Dark Mode Fine-Tuning & Overrides ---------- */
[data-theme="dark"] .matrix-card,
[data-theme="dark"] .matrix-float-tag {
  background: var(--surface);
}
[data-theme="dark"] .journey-step-pill {
  background: rgba(var(--indigo-rgb), 0.16);
  color: var(--indigo);
}
[data-theme="dark"] .journey-micro-preview {
  background: rgba(20, 22, 32, 0.85);
  border-color: var(--border);
}

[data-theme="dark"] .hero-pill-item {
  background: rgba(20, 22, 32, 0.85);
  border-color: var(--border);
}

[data-theme="dark"] .card-glass {
  background: rgba(20, 22, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .phone-prefix {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #0E1018;
  border-color: var(--border-strong);
  color: var(--text);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  background: #141622;
  border-color: var(--indigo);
}

[data-theme="dark"] html,
[data-theme="dark"] body {
  background-color: #000000 !important;
}

[data-theme="dark"] .section-alt {
  background: #000000;
  border-color: var(--border);
}

[data-theme="dark"] .cta-banner {
  background: #070709;
  border: 1px solid var(--border-strong);
}

[data-theme="dark"] .belt {
  background: #000000;
  border-color: var(--border);
}

[data-theme="dark"] .price-card {
  background: var(--surface);
}

[data-theme="dark"] .price-card.featured {
  border-color: var(--indigo);
  background: linear-gradient(180deg, rgba(var(--indigo-rgb), 0.1) 0%, var(--surface) 100%);
}

[data-theme="dark"] .cursor-glow {
  background: radial-gradient(circle, rgba(var(--indigo-rgb), 0.14), transparent 70%);
}

[data-theme="dark"] .team-vision-quote {
  background: linear-gradient(135deg, rgba(var(--indigo-rgb), 0.1), rgba(var(--violet-rgb), 0.1));
  border-color: rgba(var(--indigo-rgb), 0.25);
}

[data-theme="dark"] .compare-box.bad {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, var(--surface) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .compare-box.good {
  background: linear-gradient(180deg, rgba(var(--indigo-rgb), 0.08) 0%, var(--surface) 100%);
  border-color: rgba(var(--indigo-rgb), 0.4);
}

[data-theme="dark"] .card-image-wrap {
  background: var(--border);
}

[data-theme="dark"] .about-stat-card,
[data-theme="dark"] .journey-card,
[data-theme="dark"] .sidebar-info-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .card,
[data-theme="dark"] .industry-card {
  background: radial-gradient(circle at 50% 0%, rgba(var(--indigo-rgb), 0.1) 0%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%), #0B0D14;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .min-ind-card {
  background: radial-gradient(circle at 50% 0%, rgba(0, 116, 252, 0.12) 0%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), #0B0D14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .min-ind-card:hover {
  border-color: rgba(var(--indigo-rgb), 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(var(--indigo-rgb), 0.15) !important;
}

[data-theme="dark"] .min-ind-img-wrap {
  background: #12141F;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .min-ind-tag {
  background: #0E1018;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-tertiary);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .mesh-blob { animation: none !important; }
  .belt-track { animation: none !important; }
  .scroll-progress-bar { display: none; }
  .cursor-glow { display: none; }
}
