/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F5F5F3;
  color: #0A0A0A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --black:     #0A0A0A;
  --white:     #FFFFFF;
  --canvas:    #F5F5F3;
  --fog:       #EBEBEA;
  --fog-dark:  #D4D4D2;
  --signal:    #2563EB;
  --signal-lt: #EFF6FF;
  --signal-dk: #1D4ED8;
  --midnight:  #0F1B2D;
  --midnight2: #162032;
  --text-1:    #0A0A0A;
  --text-2:    #4A4A48;
  --text-3:    #888886;
  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --radius-sm:  6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hover: 0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
  display: block;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.scrolled {
  border-color: var(--fog);
  background: rgba(255,255,255,0.97);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--black);
  line-height: 1;
}
.nav-logo-name span { color: var(--signal); }
.nav-logo-tag {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--black); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--black); border-radius: 2px; transition: all 0.25s; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--fog);
  padding: 24px 32px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--midnight);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Tiny drifting orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.85) 0%, rgba(37,99,235,0.25) 55%, transparent 100%);
  will-change: transform;
}
.orb:nth-child(1)  { left: 12%; top: 24%; width: 8px;  height: 8px;  opacity: .60; animation: orb-a 20s ease-in-out infinite; }
.orb:nth-child(2)  { left: 26%; top: 68%; width: 5px;  height: 5px;  opacity: .50; animation: orb-b 26s ease-in-out -3s infinite; }
.orb:nth-child(3)  { left: 40%; top: 18%; width: 6px;  height: 6px;  opacity: .45; animation: orb-c 24s ease-in-out -6s infinite; }
.orb:nth-child(4)  { left: 56%; top: 52%; width: 10px; height: 10px; opacity: .50; animation: orb-a 30s ease-in-out -10s infinite; }
.orb:nth-child(5)  { left: 70%; top: 30%; width: 6px;  height: 6px;  opacity: .55; animation: orb-b 22s ease-in-out -5s infinite; }
.orb:nth-child(6)  { left: 82%; top: 62%; width: 7px;  height: 7px;  opacity: .50; animation: orb-c 28s ease-in-out -8s infinite; }
.orb:nth-child(7)  { left: 90%; top: 20%; width: 4px;  height: 4px;  opacity: .45; animation: orb-a 18s ease-in-out -2s infinite; }
.orb:nth-child(8)  { left: 8%;  top: 78%; width: 5px;  height: 5px;  opacity: .40; animation: orb-b 32s ease-in-out -12s infinite; }
.orb:nth-child(9)  { left: 48%; top: 82%; width: 6px;  height: 6px;  opacity: .50; animation: orb-c 26s ease-in-out -4s infinite; }
.orb:nth-child(10) { left: 64%; top: 14%; width: 5px;  height: 5px;  opacity: .50; animation: orb-a 23s ease-in-out -7s infinite; }
.orb:nth-child(11) { left: 34%; top: 44%; width: 4px;  height: 4px;  opacity: .40; animation: orb-b 29s ease-in-out -9s infinite; }
.orb:nth-child(12) { left: 76%; top: 84%; width: 8px;  height: 8px;  opacity: .50; animation: orb-c 21s ease-in-out -11s infinite; }
@keyframes orb-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px,-32px); } }
@keyframes orb-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-28px,-20px); } }
@keyframes orb-c { 0%,100% { transform: translate(0,0); } 33% { transform: translate(18px,22px); } 66% { transform: translate(-16px,-18px); } }
@media (max-width: 640px) {
  .orb:nth-child(n+9) { display: none; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-h1 .accent { color: var(--signal); }
.hero-h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
  max-width: 680px;
}
.hero-h2 strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.hero-counter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero-counter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
}
.hero-counter-num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 8vw, 65px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: all 0.3s var(--ease-smooth);
}
.hero-counter-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero-counter-sub {
  font-size: 11px;
  color: rgba(37,99,235,0.7);
  letter-spacing: 0.06em;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  background: var(--signal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--signal-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.hero-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--fog);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-stat {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}
.about-stat-num span { color: var(--signal); }
.about-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.about-statement {
  margin-top: 32px;
  padding: 24px;
  background: var(--midnight);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.about-statement-top {
  margin-top: 0;
  margin-bottom: 12px;
}
.about-statement::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signal);
}
.ai-statement-lead {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.ai-statement-big {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.ai-statement-big span { color: var(--signal); }
.about-body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-body p strong { color: var(--black); font-weight: 600; }

/* ============================================================
   WHY INUVATEASE
   ============================================================ */
.why-header { text-align: center; margin-bottom: 64px; }
.why-header .section-sub { margin: 0 auto; text-align: center; }
.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}
.why-pillar {
  --pn: var(--signal);
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
  cursor: default;
}
.why-pillar:nth-child(1) { --pn: #2563EB; }
.why-pillar:nth-child(2) { --pn: #0F766E; }
.why-pillar:nth-child(3) { --pn: #7C3AED; }
.why-pillar:hover {
  border-color: color-mix(in srgb, var(--pn) 45%, transparent);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--pn) 45%, transparent),
    0 0 24px color-mix(in srgb, var(--pn) 12%, transparent);
}
.why-pillar-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  color: var(--pn);
  line-height: 1;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  width: 78px;
}
.why-pillar-body { flex: 1; min-width: 0; }
.why-pillar h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 6px;
}
.why-pillar p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.why-pillar-divider {
  width: 1px;
  align-self: stretch;
  background: var(--fog);
  flex-shrink: 0;
}
.why-pillar-facets { width: 160px; flex-shrink: 0; }
.why-pillar-facets-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.why-pillar-facets-list { display: flex; flex-direction: column; gap: 7px; }
.why-pillar-facets-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.why-pillar-facet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.why-pillar-facet::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pn);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .why-pillar { flex-wrap: wrap; row-gap: 16px; }
  .why-pillar-divider { display: none; }
  .why-pillar-facets { width: 100%; }
  .why-pillar-facets-list, .why-pillar-facets-list.two-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}
@media (max-width: 560px) {
  .why-pillar { gap: 16px; padding: 20px; }
  .why-pillar-num { width: 60px; }
}
.why-cta-bar {
  text-align: center;
  padding: 40px;
  background: var(--midnight);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.why-cta-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.5), transparent);
}
.why-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.why-cta-bar p {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.cta-br { display: none; }
.copy-br { display: none; }

/* Technology write-up merged into Philosophy */
.why-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 48px 0;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
}
.why-tech-intro .eyebrow { margin-bottom: 12px; }
.why-tech-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 14px;
}
.why-tech-intro p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.why-tech-caps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-tech-caps .tech-cap {
  --tc: var(--signal);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.why-tech-caps .tech-cap:nth-child(1) { --tc: #2563EB; }
.why-tech-caps .tech-cap:nth-child(2) { --tc: #0F766E; }
.why-tech-caps .tech-cap:nth-child(3) { --tc: #B45309; }
.why-tech-caps .tech-cap:nth-child(4) { --tc: #7C3AED; }
.why-tech-caps .tech-cap:hover {
  border-color: color-mix(in srgb, var(--tc) 45%, transparent);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--tc) 50%, transparent),
    0 0 20px color-mix(in srgb, var(--tc) 15%, transparent);
}

/* ============================================================
   CHALLENGES
   ============================================================ */
.challenges-header { margin-bottom: 56px; }
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.challenge-card {
  --cc: var(--signal);
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--cc) 22%, var(--fog));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
  cursor: default;
}
.challenge-card:nth-child(1) { --cc: #2563EB; }
.challenge-card:nth-child(2) { --cc: #0F766E; }
.challenge-card:nth-child(3) { --cc: #7C3AED; }
.challenge-card:nth-child(4) { --cc: #B45309; }
.challenge-card:nth-child(5) { --cc: #0369A1; }
.challenge-card:nth-child(6) { --cc: #BE185D; }
.challenge-card:nth-child(7) { --cc: #4338CA; }
.challenge-card:nth-child(8) { --cc: #059669; }
.challenge-card:hover {
  border-color: color-mix(in srgb, var(--cc) 50%, transparent);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--cc) 55%, transparent),
    0 0 24px color-mix(in srgb, var(--cc) 20%, transparent);
}
.challenge-num {
  position: absolute;
  bottom: -14px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--cc) 11%, transparent);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.challenge-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.4;
}
.challenge-card p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.challenges-resolution {
  background: var(--midnight);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.challenges-resolution::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--signal);
}
.challenges-resolution-text { flex: 1; }
.challenges-resolution-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.challenges-resolution-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.challenges-resolution-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.challenges-resolution-text {
  position: relative;
  z-index: 1;
  flex: 1;
}
.challenges-resolution .btn-primary { position: relative; z-index: 1; flex-shrink: 0; }
.challenges-resolution-proof {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.crp-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 500;
}
.crp-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.ecosystem-header { text-align: center; margin-bottom: 16px; }
.ecosystem-header .section-sub { margin: 0 auto; text-align: center; max-width: 520px; }
.ecosystem-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  margin-top: 28px;
}
.filter-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border: 1px solid var(--fog);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--pc);
  border-color: color-mix(in srgb, var(--pc) 45%, transparent);
  box-shadow: 0 0 0 0.5px var(--pc), 0 0 24px rgba(37,99,235,0.18);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--pc) 55%, transparent),
    0 0 24px color-mix(in srgb, var(--pc) 22%, transparent);
}
.product-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}
.product-name span { color: var(--signal); }
.product-category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}
.product-subhead {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.product-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.capability-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  background: var(--signal-lt);
  color: var(--signal-dk);
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}
.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-card-titles { min-width: 0; }
.product-clients {
  text-align: right;
  flex-shrink: 0;
}
.product-clients-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--pc);
  line-height: 1;
  letter-spacing: -0.03em;
}
.product-clients-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-top: 4px;
}
.product-note {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.product-stat-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--pc);
  letter-spacing: -0.02em;
  line-height: 1;
}
.product-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-top: 4px;
}
.product-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--pc);
  animation: arrow-bump 1.8s ease-in-out infinite;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
}
@keyframes arrow-bump {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.product-card:hover .product-arrow {
  animation: none;
  transform: translateX(3px) scale(1.08);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--pc) 40%, transparent);
}
.ecosystem-footer {
  text-align: center;
  padding: 48px;
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
}
.ecosystem-footer p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.ecosystem-footer p em {
  color: var(--text-3);
  font-style: normal;
  font-weight: 400;
}
.ecosystem-footer p strong { color: var(--signal); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-header { margin-bottom: 48px; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.industry-card {
  --ic: var(--signal);
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--ic) 20%, var(--fog));
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
  cursor: default;
}
.industry-bg {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 118px;
  height: 118px;
  color: var(--ic);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.industry-card > div { position: relative; z-index: 1; }
.industry-card:nth-child(1) { --ic: #2563EB; }
.industry-card:nth-child(2) { --ic: #0F766E; }
.industry-card:nth-child(3) { --ic: #7C3AED; }
.industry-card:nth-child(4) { --ic: #B45309; }
.industry-card:nth-child(5) { --ic: #0369A1; }
.industry-card:nth-child(6) { --ic: #BE185D; }
.industry-card:nth-child(7) { --ic: #4338CA; }
.industry-card:nth-child(8) { --ic: #059669; }
.industry-card:nth-child(9) { --ic: #2563EB; }
.industry-card:nth-child(10) { --ic: #0F766E; }
.industry-card:nth-child(11) { --ic: #7C3AED; }
.industry-card:nth-child(12) { --ic: #B45309; }
.industry-card:hover {
  border-color: color-mix(in srgb, var(--ic) 50%, transparent);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--ic) 55%, transparent),
    0 0 24px color-mix(in srgb, var(--ic) 20%, transparent);
}
.industry-card:hover { border-color: var(--fog-dark); transform: translateY(-2px); }
.industry-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.industry-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted-header { text-align: center; margin-bottom: 48px; }
.trusted-heading {
  font-size: clamp(20px, 2.6vw, 30px);
  white-space: nowrap;
}
@media (max-width: 1040px) {
  .trusted-heading { white-space: normal; }
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0;
}
.client-slot {
  height: 96px;
  padding: 0 20px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.client-slot:hover {
  border-color: color-mix(in srgb, var(--signal) 40%, transparent);
  box-shadow:
    0 0 0 0.5px color-mix(in srgb, var(--signal) 45%, transparent),
    0 0 20px color-mix(in srgb, var(--signal) 15%, transparent);
}
.client-slot-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.32s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.client-slot.flipping .client-slot-inner { transform: rotateY(90deg); }
.client-logo-img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}
.client-slot-cap {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .clients-row { gap: 8px; }
  .client-slot { height: 74px; padding: 0 8px; }
  .client-logo-img { max-height: 34px; }
  .client-slot-cap { font-size: 10px; }
}

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.tech-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
}
.tech-cap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tc) 12%, transparent);
  color: var(--tc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tech-cap-text { font-size: 14px; font-weight: 500; color: var(--black); }
.tech-cap-sub { font-size: 12px; color: var(--text-3); }

/* ============================================================
   CAREERS
   ============================================================ */
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  align-items: start;
}
.careers-left      { grid-column: 1; grid-row: 1; }
.careers-panel-col { grid-column: 2; grid-row: 1; align-self: center; }
.careers-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}
.careers-left p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}
.careers-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.careers-value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.careers-value::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}
.careers-headline {
  margin-bottom: 20px;
  line-height: 1.08;
}
.careers-headline-accent { color: var(--signal); }
.careers-left p.careers-lead {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.careers-left p.careers-signoff {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-top: 24px;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--midnight);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-ecosystem .footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.footer-brand {}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-ecosystem-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-ecosystem-title::before,
.footer-ecosystem-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.footer-ecosystem-title span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   MODAL / DRAWER
   ============================================================ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.65);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 40px 28px;
}
.product-modal-overlay.open { display: flex; }
.product-modal {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  position: relative;
  border-radius: 22px;
  overflow: visible;
  transform: scale(0.97) translateY(12px);
  transition: transform 0.4s var(--ease-smooth);
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.28));
}
.product-modal-overlay.open .product-modal { transform: scale(1) translateY(0); }

/* Inner scroll region - evenly rounded, holds all modal content */
.modal-scroll {
  background: var(--white);
  border-radius: 22px;
  max-height: 88vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 44px 40px 48px;
  -webkit-overflow-scrolling: touch;
}
.modal-scroll::-webkit-scrollbar { width: 10px; }
.modal-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-scroll::-webkit-scrollbar-thumb {
  background: var(--fog-dark);
  border-radius: 99px;
  border: 3px solid var(--white);
}
.modal-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* Close button - sits on the top-right corner, half in / half out */
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fog);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--text-2);
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.modal-close:hover {
  background: var(--black);
  color: #fff;
  transform: translate(50%, -50%) rotate(90deg);
}
.modal-product-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.1;
}
.modal-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.modal-section-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.modal-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}
@media (max-width: 600px) {
  .modal-scroll { padding: 32px 20px 36px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-grid, .careers-inner, .why-tech { grid-template-columns: 1fr; gap: 40px; }
  .careers-left, .careers-panel-col { grid-column: auto; grid-row: auto; }
  .why-tech { gap: 32px; padding: 32px 24px; }
  .challenges-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .challenges-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .challenges-resolution { flex-direction: column; padding: 28px 24px; gap: 20px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-section { padding: 48px 0 36px; }
  footer { padding: 40px 0 32px; }
  .footer-ecosystem { order: -1; }
  .cl-sub-br { display: none; }
  .section-sub-center { font-size: 15px; line-height: 1.6; text-wrap: balance; }
  .eco-w1, .ecosystem-footer p em, .ecosystem-footer p strong { display: block; }
  .ecosystem-footer .eco-br { display: none; }
  .eco-sub-br { display: none; }
  .ecosystem-header .section-sub { font-size: 16px; text-wrap: balance; }
  .ch-head-br { display: none; }
  .challenges-header .section-heading { font-size: 26px; text-wrap: balance; }
  .ch-sub-br { display: none; }
  .challenges-header .section-sub { font-size: 16px; text-wrap: balance; }
  .philosophy-heading { font-size: clamp(16px, 5vw, 26px); text-wrap: balance; }
  .hero-counter { align-items: flex-start; text-align: left; }
  .cta-br { display: inline; }
  .copy-br { display: inline; }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ============================================================
   REFACTOR ADDITIONS - classes replacing former inline styles,
   per-product accent theming, floating button, nav updates.
   ============================================================
   ============================================================ */

/* ---- NAV: links pushed to the extreme right ---- */
.nav-inner { justify-content: space-between; }
.nav-links { margin-left: auto; }
.nav-links li:last-child a { color: var(--signal); font-weight: 600; }
.nav-links li:last-child a:hover { color: var(--signal-dk); }
.mobile-menu-cta { color: var(--signal); }

/* ---- ABOUT: mission card (was inline) ---- */
.about-mission {
  margin-top: 12px;
  padding: 20px 24px;
  background: var(--canvas);
  border-radius: var(--radius-lg);
  border: 1px solid var(--fog);
}
.about-mission-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.about-mission-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.about-mission-text strong { color: var(--black); }

/* ---- Shared centered section sub ---- */
.section-sub-center { margin: 0 auto; text-align: center; max-width: 740px; }

/* ---- TECHNOLOGY panel bits (were inline) ---- */

/* ---- CAREERS panel (was inline) ---- */
.careers-chat-join { margin-top: 12px; min-height: 0; }
.careers-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  animation: careersJoinIn 0.35s ease both;
}
.careers-join-btn:hover { background: var(--signal-dk); }
@keyframes careersJoinIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.careers-panel {
  background: var(--midnight);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.careers-panel-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signal);
}
.careers-chat { position: relative; z-index: 1; }
.careers-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.careers-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37,99,235,0.18);
  color: #7ea6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.careers-chat-name { font-size: 13px; font-weight: 500; color: #fff; }
.careers-chat-status { font-size: 11px; color: #4ade80; display: flex; align-items: center; gap: 5px; }
.careers-chat-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.careers-chat-bubble {
  background: rgba(255,255,255,0.05);
  border-radius: 4px 14px 14px 14px;
  padding: 12px 15px;
  font-size: 13.5px;
  line-height: 1.55;
}
.careers-chat-prompt { color: #e2e8f0; max-width: 92%; }
.careers-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.careers-chip {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: #cdd6e6;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.careers-chip:hover { border-color: rgba(37,99,235,0.6); }
.careers-chip.on { border-color: var(--signal); background: rgba(37,99,235,0.18); color: #fff; }
.careers-chip:disabled { pointer-events: none; }
.careers-chip.dim { opacity: 0.4; }
.careers-chat-reply { color: #8493ad; font-size: 13px; max-width: 92%; }
.careers-chat-reply .rt { color: #fff; font-weight: 500; }
.careers-chat-reply .rd { color: #9aa7bd; }
.careers-chat-reply .rc { color: #7ea6ff; }
.careers-chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 0; }
.careers-chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5f7599;
  animation: careersTyping 1s infinite ease-in-out;
}
.careers-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.careers-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes careersTyping {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ---- CONTACT section (was inline) ---- */
.contact-section {
  background: var(--midnight);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.contact-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow-onblue { color: rgba(37,99,235,0.8); }
.section-heading-onblue {
  color: #fff;
  margin: 0 auto 16px;
  max-width: 560px;
}
.contact-heading { white-space: nowrap; max-width: none; }
@media (max-width: 700px) { .contact-heading { white-space: normal; } }
.contact-sub {
  margin: 0 auto 40px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  max-width: 660px;
  text-wrap: balance;
}
.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- FLOATING BACK-TO-TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), background 0.2s, visibility 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--signal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

/* ============================================================
   PRODUCT CARDS - per-product accent via --pc custom property
   ============================================================ */
.product-card { --pc: var(--signal); }
.product-card .product-name span { color: var(--pc); }
.product-card .capability-tag {
  background: var(--signal-lt);
  background: color-mix(in srgb, var(--pc) 8%, transparent);
  color: var(--pc);
  border: none;
}

/* ============================================================
   MODAL - per-product accent via --pc custom property
   ============================================================ */
.product-modal { --pc: var(--signal); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.modal-head-left { min-width: 0; }
.modal-product-name span { color: var(--pc); }
.modal-subhead {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.modal-head-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.modal-head-stat {
  padding: 10px 16px;
  background: var(--signal-lt);
  background: color-mix(in srgb, var(--pc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 20%, transparent);
  border-radius: 10px;
  text-align: right;
}
.modal-head-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--pc);
  letter-spacing: -0.03em;
  line-height: 1;
}
.modal-head-stat-label {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
}
.modal-note {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.modal-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.modal-cap-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--pc) 9%, transparent);
  color: var(--pc);
  letter-spacing: 0.02em;
}

.modal-problem {
  padding: 18px 20px;
  background: var(--canvas);
  background: color-mix(in srgb, var(--pc) 6%, var(--white));
  border: 1px solid var(--fog);
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.modal-problem-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc);
  margin-bottom: 6px;
}
.modal-problem-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.modal-section-title { margin-top: 28px; }

/* Workflow */
.modal-workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-bottom: 8px;
}
.modal-workflow-line {
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--signal-lt);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--pc) 40%, transparent), color-mix(in srgb, var(--pc) 10%, transparent));
}
.modal-workflow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 10px 0;
}
.modal-workflow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--signal-lt);
  background: color-mix(in srgb, var(--pc) 15%, transparent);
  border: var(--pc);
  border: 1.5px solid color-mix(in srgb, var(--pc) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.modal-workflow-num span {
  font-size: 11px;
  font-weight: 700;
  color: var(--pc);
}
.modal-workflow-body { padding-top: 5px; }
.modal-workflow-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.modal-workflow-detail {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Features */
.modal-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.modal-feature-item {
  padding: 14px 16px;
  background: var(--canvas);
  border-radius: 10px;
  border: 1px solid var(--fog);
}
.modal-feature-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.modal-feature-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Case studies */
.modal-case {
  background: var(--canvas);
  border: 1px solid var(--fog);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.modal-case-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.modal-case-abbr {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--signal-lt);
  background: color-mix(in srgb, var(--pc) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--pc);
  flex-shrink: 0;
}
.modal-case-client {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.modal-case-context {
  font-size: 11px;
  color: var(--text-3);
}
.modal-case-block { margin-bottom: 10px; }
.modal-case-block-last { margin-bottom: 16px; }
.modal-case-block-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc);
  margin-bottom: 5px;
}
.modal-case-block-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}
.modal-case-outcome { color: var(--text-1); }
.modal-case-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-case-metric {
  flex: 1;
  min-width: 80px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 8px;
}
.modal-case-metric-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--pc);
  letter-spacing: -0.02em;
  line-height: 1;
}
.modal-case-metric-label {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
}

/* Integrations */
.modal-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.modal-integration-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--canvas);
  border: 1px solid var(--fog);
  border-radius: var(--radius-pill);
  color: var(--text-2);
}

/* Responsive: modal feature grid + metrics collapse */
@media (max-width: 600px) {
  .modal-feature-grid { grid-template-columns: 1fr; }
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ============================================================
   PER-PRODUCT ACCENT CLASSES
   Each product/modal gets a .pc-<id> class that sets --pc.
   This removes the need for any JS-set inline style attribute.
   ============================================================ */
.pc-serviceease   { --pc: #2563EB; }
.pc-resolveease   { --pc: #0F766E; }
.pc-salesease     { --pc: #7C3AED; }
.pc-productionease{ --pc: #B45309; }
.pc-verifyease    { --pc: #0369A1; }
.pc-surveyease    { --pc: #0F766E; }
.pc-repairease    { --pc: #BE185D; }
.pc-sparesease    { --pc: #0369A1; }
.pc-trainease     { --pc: #7C3AED; }
.pc-expensesease  { --pc: #BE185D; }
.pc-ticketease    { --pc: #4338CA; }

/* ---- Scroll lock when a product modal is open ---- */
body.modal-open { overflow: hidden; }

/* ============================================================
   MODAL SECTIONS - remove accent bars, uniform 0.25px hairline
   Replaces the coloured accent stripes on the problem/case
   blocks with a single thin border around every modal section.
   ============================================================ */
.modal-problem,
.modal-case,
.modal-feature-item,
.modal-case-metric,
.modal-integration-tag {
  border: 0.25px solid var(--fog-dark);
}

/* Hide the filter divider when pills wrap on small screens */
@media (max-width: 640px) {
  }

/* ============================================================
   POLICY / LEGAL MODAL CONTENT
   Rendered inside the shared product-modal shell.
   ============================================================ */
.policy-brand { margin-bottom: 18px; }
.policy-logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}
.policy-logo-name span { color: var(--signal); }
.policy-logo-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}
.policy-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 4px;
}
.policy-updated {
  font-size: 12px;
  color: var(--text-3);
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--fog);
}
.policy-section { margin-bottom: 22px; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 8px;
}
.policy-section p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 10px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}
.policy-section li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 5px;
}
.policy-section a { color: var(--signal); text-decoration: none; }
.policy-section a:hover { text-decoration: underline; }

/* ============================================================
   COOKIE CONSENT PREFERENCE PANEL (Cookie Policy modal)
   Structure mirrors the reference; styled in the brand palette.
   ============================================================ */
.cookie-consent {
  margin-top: 8px;
  padding: 24px;
  border: 1px solid var(--fog);
  border-radius: 12px;
  background: var(--canvas);
}
.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}
.cookie-consent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cookie-consent-left p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.cookie-consent-left p:last-child { margin-bottom: 0; }
.cookie-consent-left a { color: var(--signal); text-decoration: none; cursor: pointer; }
.cookie-consent-left a:hover { text-decoration: underline; }

.cookie-consent-right { display: flex; flex-direction: column; gap: 14px; }
.cookie-cat { border-bottom: 1px solid var(--fog); padding-bottom: 14px; }
.cookie-cat:last-child { border-bottom: none; padding-bottom: 0; }
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-cat-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.cookie-chev { color: var(--text-3); transition: transform 0.2s ease; }
.cookie-cat-open .cookie-chev { transform: rotate(180deg); }
.cookie-cat-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
  margin-top: 10px;
  display: none;
}
.cookie-cat-open .cookie-cat-desc { display: block; }

.cookie-always {
  font-size: 12px;
  font-weight: 600;
  color: var(--signal-dk);
  background: var(--signal-lt);
  border: 1px solid var(--signal-lt);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  white-space: nowrap;
}

/* Segmented OFF | ON toggle */
.cookie-toggle {
  display: inline-flex;
  border: 1px solid var(--fog-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--fog);
  flex-shrink: 0;
}
.cookie-seg {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.cookie-toggle[data-state="off"] .cookie-seg-off {
  background: var(--white);
  color: var(--text-1);
}
.cookie-toggle[data-state="on"] .cookie-seg-on {
  background: var(--signal);
  color: #fff;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--fog);
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}
.cookie-btn-outline {
  background: var(--white);
  border: 1px solid var(--fog-dark);
  color: var(--black);
}
.cookie-btn-outline:hover { border-color: var(--text-3); }
.cookie-btn-primary {
  background: var(--signal);
  border: 1px solid var(--signal);
  color: #fff;
}
.cookie-btn-primary:hover { filter: brightness(1.08); }
.cookie-btn-delete {
  background: none;
  border: none;
  color: #DC2626;
  text-decoration: underline;
  padding: 10px 8px;
  margin-left: auto;
}
.cookie-btn-delete:hover { color: #B91C1C; }
.cookie-consent-note {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 12px;
}
.cookie-consent-note:empty { display: none; }

@media (max-width: 600px) {
  .cookie-consent-grid { grid-template-columns: 1fr; gap: 20px; }
  .cookie-btn-delete { margin-left: 0; }
}
