/* ================================================
   AimwellBio — Global Stylesheet v2
   Biopharmaceutical Intelligence Operating System
   Institutional / Editorial / System-grade
   ================================================ */

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

:root {
  --navy: #0B1D33;
  --navy-deep: #061222;
  --navy-light: #122A4A;
  --navy-mid: #0F2440;
  --cyan: #00A8CC;
  --cyan-light: #00C4E6;
  --cyan-muted: #0098B8;
  --cyan-glow: rgba(0, 168, 204, 0.07);
  --cyan-glow-strong: rgba(0, 168, 204, 0.12);
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #FAFBFC;
  --gray-100: #F1F3F5;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E0;
  --gray-400: #A0AEC0;
  --gray-500: #718096;
  --gray-600: #4A5568;
  --gray-700: #2D3748;
  --text-primary: #0F1A2E;
  --text-secondary: #475569;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --border: #E8ECF1;
  --border-light: #F0F2F5;
  --radius: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.09);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Serif for headings — editorial authority */
h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography Scale --- */
.t-display { font-size: 3.6rem; font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; }
.t-h1 { font-size: 2.75rem; font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; }
.t-h2 { font-size: 2.15rem; font-weight: 400; line-height: 1.15; }
.t-h3 { font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
.t-h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; }
.t-body { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }
.t-body-lg { font-size: 1.15rem; line-height: 1.8; color: var(--text-secondary); }
.t-small { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.t-micro { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

.t-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan-muted);
}

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 7rem 0; }
.section-sm { padding: 4.5rem 0; }
.section-lg { padding: 9rem 0; }
.section--gray { background: var(--off-white); }
.section--subtle { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy-deep { background: var(--navy-deep); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--navy-deep h1, .section--navy-deep h2, .section--navy-deep h3, .section--navy-deep h4 { color: var(--white); }
.section--navy .t-body, .section--navy .t-body-lg,
.section--navy-deep .t-body, .section--navy-deep .t-body-lg { color: rgba(255,255,255,0.65); }
.section--navy .t-label, .section--navy-deep .t-label { color: var(--cyan); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

.spacer-xs { height: 0.5rem; }
.spacer-sm { height: 1rem; }
.spacer-md { height: 1.5rem; }
.spacer-lg { height: 2.5rem; }
.spacer-xl { height: 4rem; }
.spacer-2xl { height: 6rem; }

/* Max-width utility */
.max-w-560 { max-width: 560px; }
.max-w-640 { max-width: 640px; }
.max-w-720 { max-width: 720px; }

/* --- Navigation --- */
.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 #E2E8F0;
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.nav-logo span { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }

.nav-links > a {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0.5rem 0.65rem;
  margin: -0.5rem -0.65rem;
  border-radius: 4px;
}

.nav-links > a:hover { color: #0F1A2E; background: rgba(0,0,0,0.03); }
.nav-links > a.active { color: #0B1D33; font-weight: 600; }

/* --- Dropdown Nav --- */
.nav-dropdown {
  position: relative;
  padding: 0.75rem 0;
  margin: -0.75rem 0;
}
.nav-dropdown > .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  transition: color 0.2s ease, background 0.15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  border-radius: 5px;
}
.nav-dropdown > .nav-dropdown-trigger:hover,
.nav-dropdown.active > .nav-dropdown-trigger {
  color: #0F1A2E;
  background: rgba(0,0,0,0.04);
}
.nav-dropdown > .nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s ease;
  margin-top: 1px;
}
.nav-dropdown.active > .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.75rem 0;
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 2000;
}
/* Expanded invisible hover zone above menu to bridge the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
/* Visual pointer triangle */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.06));
}
/* JS controls visibility via .active class */
.nav-dropdown.active > .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu .dd-label {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94A3B8;
  pointer-events: none;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
  color: #0B1D33;
  background: #F8FAFC;
}
.nav-dropdown-menu .dd-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.5rem 0;
}
.nav-dropdown-menu .dd-outcome {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-login {
  font-size: 0.78rem;
  font-weight: 600;
  color: #00A8CC;
  text-decoration: none;
  margin-right: 1rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-login:hover { color: #007799; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.15rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
}

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

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger to X when open */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--navy-light); box-shadow: var(--shadow-md); }

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

.btn-cyan:hover { background: var(--cyan-muted); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--gray-400); background: var(--gray-50); }

.btn-ghost {
  background: transparent;
  color: var(--cyan-muted);
  padding: 0.5rem 0;
  font-weight: 500;
}

.btn-ghost:hover { color: var(--navy); }

.btn-ghost::after {
  content: '\2192';
  margin-left: 0.35rem;
  transition: transform var(--transition);
}

.btn-ghost:hover::after { transform: translateX(4px); }

.btn-lg { padding: 0.95rem 2.25rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.8rem; }

/* White variant for navy sections */
.section--navy .btn-primary,
.section--navy-deep .btn-primary { background: var(--white); color: var(--navy); }
.section--navy .btn-primary:hover,
.section--navy-deep .btn-primary:hover { background: var(--off-white); }
.section--navy .btn-outline,
.section--navy-deep .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.2); }
.section--navy .btn-outline:hover,
.section--navy-deep .btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cyan-muted);
  font-size: 1.1rem;
}

.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card h4 { margin-bottom: 0.6rem; }
.card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* Minimal cards — no border, just structure */
.card-minimal {
  padding: 0;
  border: none;
  background: transparent;
}

.card-minimal:hover { box-shadow: none; }

/* Numbered cards */
.card-numbered { position: relative; padding-top: 3.5rem; }
.card-numbered .card-number {
  position: absolute;
  top: 2rem;
  left: 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Feature cards on gray */
.section--gray .card { background: var(--white); }

/* --- Hero --- */
.hero {
  padding: 11rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content { max-width: 680px; position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--cyan-glow);
  color: var(--cyan-muted);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 168, 204, 0.1);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.75rem;
  line-height: 1.1;
}

.hero .t-body-lg { max-width: 580px; margin-bottom: 2.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* --- Stat Row --- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-value { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--navy); }
.stat-value span { color: var(--cyan); }
.stat-label { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; letter-spacing: 0.02em; }

/* --- System Visualization / Intelligence Panels --- */
.sys-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.sys-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

.sys-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sys-panel-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.sys-panel-status {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sys-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}

.sys-panel-row:last-child { border-bottom: none; }

.sys-panel-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 90px;
  flex-shrink: 0;
}

.sys-panel-value {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  line-height: 1.5;
}

.sys-panel-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sys-panel-tag--high { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.sys-panel-tag--med { background: rgba(251, 191, 36, 0.15); color: #FBBF24; }
.sys-panel-tag--low { background: rgba(52, 211, 153, 0.15); color: #34D399; }
.sys-panel-tag--cyan { background: rgba(0, 168, 204, 0.15); color: var(--cyan); }

/* System grid for side-by-side panels */
.sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* --- Diagram / Flow Blocks --- */
.diagram-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
}

.diagram-block--dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.06);
  color: var(--white);
}

/* Info visual variant — data-driven infographic style */
.info-visual {
  padding: 2.5rem;
}
.info-visual h4 {
  font-family: var(--ff-display);
  color: var(--text-primary);
}

/* Card stat micro-data at bottom of audience cards */
.card-stat {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-node {
  padding: 0.65rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.flow-node--active {
  background: var(--cyan-glow);
  border-color: rgba(0, 168, 204, 0.25);
  color: var(--navy);
  font-weight: 600;
}

.flow-arrow {
  color: var(--gray-400);
  font-size: 1rem;
  font-weight: 300;
}

/* Vertical flow */
.flow-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-vertical .flow-node { width: 280px; text-align: center; }

/* Flow nodes in navy sections */
.section--navy .flow-node,
.section--navy-deep .flow-node {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0, 168, 204, 0.2);
  color: rgba(255,255,255,0.85);
}

.section--navy .flow-connector,
.section--navy-deep .flow-connector {
  background: rgba(0, 168, 204, 0.3);
}

.section--navy .flow-connector::after,
.section--navy-deep .flow-connector::after {
  border-color: rgba(0, 168, 204, 0.4);
}

.flow-connector {
  width: 1px;
  height: 28px;
  background: var(--gray-300);
  position: relative;
}

.flow-connector::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--gray-400);
  border-bottom: 1px solid var(--gray-400);
  transform: rotate(45deg);
}

/* Signal indicator */
.signal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 0.4rem;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Feature Client / Case Study --- */
.case-study {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study-header {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 2.5rem;
}

.case-study-header h3 { color: var(--white); font-size: 1.3rem; }
.case-study-header p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 0.35rem; }

.case-study-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.case-study-col {
  padding: 2.5rem;
}

.case-study-col:first-child {
  border-right: 1px solid var(--border);
  background: var(--gray-50);
}

.case-study-col h4 { margin-bottom: 1.25rem; font-size: 0.95rem; }

.case-study-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-study-item .icon-x { color: #DC2626; font-weight: 600; flex-shrink: 0; font-size: 0.85rem; }
.case-study-item .icon-check { color: var(--cyan); font-weight: 600; flex-shrink: 0; font-size: 0.85rem; }

/* --- Tier 2B: Featured Client Redesign --- */
.cs2b-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.5rem 3rem;
}
.cs2b-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0B1D33 0%, #122744 60%, #0E2240 100%);
  z-index: 0;
}
.cs2b-banner-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(0,168,204,0.08) 0%, transparent 60%);
}
.cs2b-banner-content {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cs2b-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0088aa);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.cs2b-name {
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 1.35rem;
  margin: 0;
}
.cs2b-role {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
.cs2b-banner-quote {
  position: relative; z-index: 1;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Metrics ring row */
.cs2b-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.cs2b-metric {
  text-align: center;
}
.cs2b-metric-ring {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 0.75rem;
}
.cs2b-metric-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.cs2b-ring-fill {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs2b-metric-ring .cs2b-metric-val {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.cs2b-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
  max-width: 140px;
  margin: 0 auto;
}

/* Transformation grid */
.cs2b-transform {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.cs2b-col {
  padding: 0;
}
.cs2b-col-header {
  margin-bottom: 1.25rem;
}
.cs2b-col-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cs2b-badge-before {
  background: rgba(220,38,38,0.08);
  color: #DC2626;
  border: 1px solid rgba(220,38,38,0.15);
}
.cs2b-badge-after {
  background: rgba(0,168,204,0.08);
  color: var(--cyan);
  border: 1px solid rgba(0,168,204,0.15);
}
.cs2b-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cs2b-item:hover {
  transform: translateY(-2px);
}
.cs2b-item-before {
  background: rgba(220,38,38,0.03);
  border: 1px solid rgba(220,38,38,0.08);
}
.cs2b-item-before:hover {
  box-shadow: 0 4px 20px rgba(220,38,38,0.06);
}
.cs2b-item-after {
  background: rgba(0,168,204,0.03);
  border: 1px solid rgba(0,168,204,0.08);
}
.cs2b-item-after:hover {
  box-shadow: 0 4px 20px rgba(0,168,204,0.08);
}
.cs2b-item-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cs2b-icon-x {
  background: rgba(220,38,38,0.08);
}
.cs2b-icon-check {
  background: rgba(0,168,204,0.08);
}
.cs2b-item-title {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.cs2b-item-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.15rem;
}

/* Center divider */
.cs2b-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 0;
  gap: 0.75rem;
}
.cs2b-divider-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.cs2b-divider-arrow {
  flex-shrink: 0;
}
.cs2b-arrow-pulse {
  animation: cs2bPulse 2s ease-in-out infinite;
}
@keyframes cs2bPulse {
  0%, 100% { r: 15; opacity: 0.1; }
  50% { r: 15; opacity: 0.25; }
}

/* Narrative */
.cs2b-narrative {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cs2b-narrative p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 768px) {
  .cs2b-banner { padding: 2rem 1.5rem; }
  .cs2b-metrics { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .cs2b-transform { grid-template-columns: 1fr; gap: 1.5rem; }
  .cs2b-divider { flex-direction: row; padding: 0 0 0.5rem; }
  .cs2b-divider-line { width: 60px; height: 1px; }
}
@media (max-width: 480px) {
  .cs2b-banner-content { flex-direction: column; text-align: center; }
  .cs2b-banner-quote { text-align: center; }
  .cs2b-metrics { grid-template-columns: 1fr 1fr; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cs2b-ring-fill { transition: none; }
  .cs2b-arrow-pulse { animation: none; }
  .cs2b-item { transition: none; }
}

/* --- Pricing / Tier Cards --- */
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: all var(--transition);
}

.tier-card:hover { box-shadow: var(--shadow-lg); }

.tier-card--featured {
  border-color: var(--cyan);
}

.tier-card--featured::before {
  content: 'Most Common';
  position: absolute;
  top: -11px;
  left: 2rem;
  background: var(--cyan);
  color: var(--white);
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tier-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.65; }
.tier-for { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-style: italic; }

.tier-features { margin-bottom: 2rem; }

.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tier-feature .check { color: var(--cyan-muted); font-weight: 600; flex-shrink: 0; margin-top: 2px; font-size: 0.85rem; }

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cyan);
}

.timeline-item .t-label { margin-bottom: 0.5rem; }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.timeline-item p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-muted);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

/* --- News / Article Cards --- */
.news-card {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  transition: all var(--transition);
}

.news-card:first-child { padding-top: 0; }
.news-card:last-child { border-bottom: none; }
.news-card:hover { padding-left: 0.5rem; }

.news-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.news-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.news-card-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  background: rgba(0,168,204,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,168,204,0.15);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.divider-dot {
  width: 100%;
  text-align: center;
  position: relative;
  margin: 3rem 0;
}

.divider-dot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.divider-dot::after {
  content: '';
  position: relative;
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan-muted);
  border-radius: 50%;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer-brand h3 span { color: var(--cyan); }

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.75;
  max-width: 340px;
  color: rgba(255,255,255,0.45);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.15rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.2);
  max-width: 700px;
}

.footer-institutional {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
.footer-institutional a {
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-institutional a:hover {
  opacity: 1;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 9rem 0 4.5rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header .container { position: relative; z-index: 2; }
.page-header .t-label { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header .t-body-lg { max-width: 600px; }

/* Wireframe background visual for subpage headers */
.page-header-wireframe {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 560px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.page-header-wireframe svg { width: 100%; height: 100%; }

/* --- Accordion --- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.accordion-content {
  padding: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
}

.accordion-item.open .accordion-content { display: block; }
.accordion-item.open .accordion-trigger .acc-icon { transform: rotate(45deg); }

.acc-icon {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform var(--transition);
  color: var(--cyan-muted);
}

/* --- Badges / Tags --- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--cyan { background: var(--cyan-glow); color: var(--cyan-muted); }
.badge--navy { background: rgba(11,29,51,0.06); color: var(--navy); }

/* --- Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .col-before { background: var(--gray-50); }
.compare-table .col-after { background: var(--white); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .sys-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .t-display { font-size: 2.4rem; }
  .t-h1 { font-size: 2rem; }
  .t-h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 5rem 0; }
  .section-lg { padding: 6rem 0; }
  .hero { padding: 8rem 0 5rem; }
  .page-header { padding: 7rem 0 3.5rem; }
  .page-header-wireframe { width: 300px; right: -20px; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .case-study-body { grid-template-columns: 1fr; }
  .case-study-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-legal { justify-content: center; }

}

@media (max-width: 480px) {
  .page-header-wireframe { display: none; }
  .container, .container-narrow, .container-wide { padding: 0 1.25rem; }
  .t-display { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* Thin line separator */
.line-accent {
  width: 40px;
  height: 1px;
  background: var(--cyan);
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

.line-accent--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Micro Animations --- */

/* Staggered fade-in for grid children */
.stagger-in > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-in.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-in.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-in.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-in.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-in.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-in.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger-in.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left */
.slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible { opacity: 1; transform: translateX(0); }

/* Slide in from right */
.slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up subtle */
.scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible { opacity: 1; transform: scale(1); }

/* Counter / number animation utility */
.count-up {
  transition: all 0.4s ease;
}

/* Parallax hint — subtle float on scroll */
.float-subtle {
  transition: transform 0.3s ease;
}

/* Nav scroll effect */
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}

/* --- Enhanced Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  background: var(--white);
}

.compare-table th.col-before {
  background: #FEF2F2;
  color: #991B1B;
}

.compare-table th.col-after {
  background: #ECFDF5;
  color: #065F46;
}

.compare-table td {
  padding: 1.1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .col-before {
  background: #FFFBFB;
  color: #7F1D1D;
}

.compare-table .col-after {
  background: #F0FDF9;
  color: #064E3B;
  font-weight: 500;
}

.compare-table .cap-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-table .cap-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* --- Responsive Nav Fix --- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.72rem; }
  .nav-login { font-size: 0.72rem; }
  .nav-cta { font-size: 0.72rem; padding: 0.4rem 0.9rem; }
}

@media (max-width: 960px) {
  .nav-inner {
    gap: 0.75rem;
  }
  .nav-logo {
    margin-right: auto;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0B1D33;
    flex-direction: column;
    padding: 5rem 2rem 2rem 2rem;
    border-bottom: none;
    box-shadow: none;
    gap: 0.75rem;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    color: #fff;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle::before { color: #fff; }
  .nav-login { display: none; }
  .nav-cta { font-size: 0.78rem; order: 0; }
  .nav-dropdown { padding: 0; margin: 0; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1.5rem;
    min-width: auto;
    display: none;
    background: transparent;
    margin-top: 0.5rem;
  }
  .nav-dropdown-menu::before, .nav-dropdown-menu::after { display: none; }
  .nav-dropdown.active > .nav-dropdown-menu { display: block; }
  .nav-dropdown > .nav-dropdown-trigger {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    background: none !important;
    color: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
  }
  .nav-dropdown-menu a {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: #8BA3B8;
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
  }
  .nav-dropdown-menu a:hover { color: #fff; }
  .nav-dropdown-menu .dd-label {
    padding: 0.4rem 0;
    font-size: 0.75rem;
    color: #00A8CC;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
  }
}

/* ================================================
   INFOGRAPHIC & VISUAL COMPONENTS
   ================================================ */

/* --- Card Icons (SVG icon containers for cards) --- */
.card-icon-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--cyan-glow);
  border: 1px solid rgba(0, 168, 204, 0.08);
  color: var(--cyan);
  transition: all var(--transition);
}

.card:hover .card-icon-svg {
  background: var(--cyan-glow-strong);
  border-color: rgba(0, 168, 204, 0.15);
}

.card-icon-svg svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Larger icon variant */
.card-icon-svg--lg {
  width: 56px;
  height: 56px;
}

.card-icon-svg--lg svg {
  width: 28px;
  height: 28px;
}

/* --- Hero Visualization (network constellation) --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* Animated nodes in hero */
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes nodePulse {
  0%, 100% { r: 4; opacity: 0.8; }
  50% { r: 6; opacity: 1; }
}

@keyframes lineDraw {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

@keyframes dataFlow {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.hero-node {
  animation: nodeFloat 4s ease-in-out infinite;
}

.hero-node:nth-child(2) { animation-delay: 0.5s; }
.hero-node:nth-child(3) { animation-delay: 1s; }
.hero-node:nth-child(4) { animation-delay: 1.5s; }
.hero-node:nth-child(5) { animation-delay: 2s; }

/* --- Stats Row (animated counters) --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

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

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--cyan);
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* --- Infographic Flow Diagram (Platform) --- */
.infographic-flow {
  position: relative;
  padding: 3rem 0;
}

.flow-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.flow-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 180px;
}

.flow-stage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 168, 204, 0.08);
  border: 2px solid rgba(0, 168, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.flow-stage-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.flow-stage-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.flow-stage-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.flow-stage-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.flow-line {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,168,204,0.3), rgba(0,168,204,0.1));
  position: relative;
  margin-top: -52px;
}

.flow-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0,168,204,0.4);
  border-bottom: 2px solid rgba(0,168,204,0.4);
  transform: rotate(-45deg);
}

/* --- Security Architecture Diagram --- */
.security-diagram {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.security-diagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

.security-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.security-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  border: 1px solid rgba(0, 168, 204, 0.15);
  border-radius: var(--radius);
  position: relative;
  width: 100%;
  max-width: 500px;
  transition: all var(--transition);
}

.security-layer:hover {
  border-color: rgba(0, 168, 204, 0.35);
  background: rgba(0, 168, 204, 0.03);
}

.security-layer svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.security-layer-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.security-layer-connector {
  width: 1px;
  height: 16px;
  background: rgba(0, 168, 204, 0.2);
}

/* --- Animated Metric Rings (About page) --- */
.principle-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.principle-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.principle-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 168, 204, 0.15);
}

/* --- Timeline Enhancement (How It Works) --- */
.timeline-icon {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 32px;
  height: 32px;
  transform: translateX(calc(-50% + 0.5px));
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-item.has-icon::before {
  display: none;
}

.timeline-item.has-icon {
  padding-left: 1.5rem;
}

/* --- Tier Card Icons --- */
.tier-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tier-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.tier-card--featured .tier-icon svg {
  stroke: var(--cyan-light);
}

/* --- Animated Background Grid (hero) --- */
.grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.35;
}

.grid-bg svg {
  width: 100%;
  height: 100%;
}

/* --- Healthcare Visual Block --- */
.healthcare-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.hc-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.hc-stat:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.hc-stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border-radius: 50%;
}

.hc-stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.hc-stat-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.hc-stat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Who We Serve Visual Grid --- */
.serve-visual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.serve-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.serve-item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border-radius: 50%;
  border: 1px solid rgba(0, 168, 204, 0.1);
}

.serve-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.serve-item-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- Responsive for new infographic components --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { height: 300px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .healthcare-visual { grid-template-columns: 1fr; }
  .serve-visual { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .stat-number { font-size: 2rem; }
  .flow-stages { flex-direction: column; gap: 1rem; }
  .flow-line { width: 2px; height: 30px; flex: 0 0 30px; margin-top: 0; }
  .flow-line::after { display: none; }
  .security-layer { padding: 1rem 1.5rem; }
  .serve-visual { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .serve-visual { grid-template-columns: 1fr 1fr; }
}

/* ═══ System Overview — Signature Section ═══ */
.sys-overview {
  padding: 5rem 0 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.sys-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(0,168,204,0.025) 49px, rgba(0,168,204,0.025) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(0,168,204,0.025) 49px, rgba(0,168,204,0.025) 50px);
  pointer-events: none;
  z-index: 0;
}
.sys-overview > .container { position: relative; z-index: 1; }
.sys-overview__header { text-align: center; margin-bottom: 3rem; }
.sys-overview__label-wrapper { display: flex; flex-direction: column; align-items: center; margin-bottom: 1rem; }
.sys-overview__accent-line { width: 50px; height: 2px; background: var(--cyan); margin-top: 0.75rem; }
.sys-overview__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.sys-overview__subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin: 0 auto;
}
.sys-overview__svg-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.sys-overview__svg {
  width: 100%;
  height: auto;
  display: block;
}
.sys-overview__tagline {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,168,204,0.12);
}
@media (max-width: 768px) {
  .sys-overview { padding: 3.5rem 0 3rem; }
  .sys-overview__title { font-size: 2rem; }
  .sys-overview__subtitle { font-size: 0.92rem; }
}
@media (max-width: 480px) {
  .sys-overview__title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sys-overview__svg animate, .sys-overview__svg animateMotion { animation: none !important; }
}

/* ================================================
   Tier 2D: Story Rail + Section Bridges
   ================================================ */

/* --- Scroll Progress Rail (fixed left side) --- */
.story-rail {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.story-rail.visible {
  opacity: 1;
  pointer-events: auto;
}

.story-rail__track {
  width: 2px;
  height: 200px;
  background: rgba(0, 168, 204, 0.1);
  border-radius: 2px;
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  height: 100%;
}
.story-rail__fill {
  width: 100%;
  background: var(--cyan);
  border-radius: 2px;
  height: 0%;
  transition: height 0.3s ease;
}

.story-rail__steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
}

.story-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  position: relative;
}
.story-step__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 168, 204, 0.25);
  background: var(--white);
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.story-step.active .story-step__dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 168, 204, 0.4);
}
.story-step.passed .story-step__dot {
  border-color: var(--cyan);
  background: var(--cyan);
}

.story-step__label {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.story-step.active .story-step__label {
  color: var(--cyan);
}
.story-step.passed .story-step__label {
  color: var(--gray-500);
}

/* Connecting line between dots */
.story-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  width: 2px;
  height: calc(1.75rem + 10px);
  background: rgba(0, 168, 204, 0.1);
  z-index: 1;
}
.story-step.passed:not(:last-child)::after {
  background: rgba(0, 168, 204, 0.4);
}

/* --- Story Bridges (section connectors) --- */
.story-bridge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}
.story-bridge__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.story-bridge__text {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive: hide rail on smaller screens */
@media (max-width: 1200px) {
  .story-rail {
    left: 0.75rem;
  }
  .story-step__label {
    display: none;
  }
}
@media (max-width: 768px) {
  .story-rail {
    display: none;
  }
  .story-bridge {
    padding: 1rem 1rem;
    gap: 1rem;
  }
  .story-bridge__text {
    font-size: 0.75rem;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-rail__fill { transition: none; }
  .story-step__dot { transition: none; }
  .story-step__label { transition: none; }
}

/* ═══════════════════════════════════════════════════════════ */
/* MOBILE RESPONSIVENESS FIXES — Dark Headers, Grids, Infographic */
/* ═══════════════════════════════════════════════════════════ */

/* Dark page headers with full-width SVGs — improve mobile padding */
@media (max-width: 768px) {
  .page-header {
    padding-top: 7rem !important;
    padding-bottom: 2.5rem !important;
  }

  .page-header h1 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  .page-header .t-body-lg {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .page-header .t-label {
    font-size: 0.65rem !important;
  }
}

/* Offerings page infographic table — ensure scroll container works on mobile */
@media (max-width: 768px) {
  /* Scroll container for capability matrix table */
  div[style*="overflow-x:auto"] {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    margin: 0 -2rem;
    padding: 0 2rem;
  }

  /* Table with inline min-width:780px needs to remain scrollable */
  table[style*="min-width:780px"] {
    min-width: 800px !important;
    border-spacing: 0;
  }

  table[style*="min-width:780px"] th,
  table[style*="min-width:780px"] td {
    padding: 0.75rem 1rem !important;
    font-size: 0.8rem !important;
  }

  table[style*="min-width:780px"] th {
    white-space: nowrap;
  }
}

/* 2-column grids (Problem This Replaces section) need to stack on mobile */
@media (max-width: 768px) {
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Tier comparison cards — single column on mobile */
@media (max-width: 768px) {
  .tier-card {
    padding: 1.5rem !important;
  }

  .tier-card--featured::before {
    top: -10px;
    left: 1rem;
    font-size: 0.6rem !important;
    padding: 0.15rem 0.55rem !important;
  }

  .tier-name {
    font-size: 1.1rem !important;
  }

  .tier-desc,
  .tier-for {
    font-size: 0.8rem !important;
  }

  .tier-feature {
    font-size: 0.8rem !important;
    gap: 0.5rem;
  }
}

/* Grid layouts (3-column, 2-column, 4-column, 6-column) already stack via existing rules,
   but ensure consistent single-column on mobile */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Healthcare visual block (3-column) stacks on mobile */
@media (max-width: 768px) {
  .healthcare-visual {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .hc-stat {
    padding: 1.5rem !important;
  }

  .hc-stat-title {
    font-size: 0.95rem !important;
  }

  .hc-stat-desc {
    font-size: 0.75rem !important;
  }
}

/* Who We Serve visual grid (5-column → responsive) */
@media (max-width: 768px) {
  .serve-visual {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .serve-item {
    padding: 1rem 0.75rem !important;
  }

  .serve-item-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .serve-item-label {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 480px) {
  .serve-visual {
    grid-template-columns: 1fr !important;
  }
}

/* Footer grid stacking */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Navigation mobile menu support — ensure proper touch targets */
@media (max-width: 768px) {
  .nav button,
  .nav a {
    padding: 0.75rem 1rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Tier tier pricing section layout adjustments */
@media (max-width: 768px) {
  div[style*="display:grid"] {
    /* Ensure grid-based sections respond properly */
    grid-template-columns: 1fr !important;
  }
}

/* Scale comparison cards in Problem section */
@media (max-width: 768px) {
  div[style*="grid-template-columns:1fr 1fr"] div[style*="background:#FAFBFC"],
  div[style*="grid-template-columns:1fr 1fr"] div[style*="background:var(--navy)"] {
    padding: 1.5rem !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] h4 {
    font-size: 0.9rem !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] p {
    font-size: 0.8rem !important;
  }
}

/* System overview and dark sections with SVG backgrounds */
@media (max-width: 768px) {
  .sys-overview {
    padding: 3rem 0 2rem !important;
  }

  .sys-overview__title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .sys-overview__subtitle {
    font-size: 0.9rem !important;
  }

  .sys-overview__svg-wrapper {
    margin: 0 auto 1.5rem !important;
  }
}

/* Infographic flow (How It Works) — responsive stacking */
@media (max-width: 768px) {
  .infographic-flow {
    padding: 2rem 0 !important;
  }

  .flow-stages {
    flex-direction: column;
    gap: 1.5rem !important;
  }

  .flow-stage {
    max-width: 100% !important;
    flex: 1;
  }

  .flow-stage-icon {
    width: 56px !important;
    height: 56px !important;
  }

  .flow-stage-title {
    font-size: 0.95rem !important;
  }

  .flow-line {
    display: none !important;
  }
}

/* Security diagram on mobile */
@media (max-width: 768px) {
  .security-diagram {
    padding: 1.5rem !important;
    border-radius: var(--radius) !important;
  }

  .security-layer {
    padding: 1rem 1.25rem !important;
    gap: 0.75rem !important;
    max-width: 100% !important;
  }

  .security-layer-text {
    font-size: 0.75rem !important;
  }
}

/* General text sizing adjustments for dark sections on mobile */
@media (max-width: 768px) {
  section[style*="background:linear-gradient"] h2,
  section[style*="background: linear-gradient"] h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  section[style*="background:linear-gradient"] p,
  section[style*="background: linear-gradient"] p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
}

/* Ensure inline-styled containers don't overflow on mobile */
@media (max-width: 768px) {
  div[style*="max-width:"] {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Very small devices — additional aggressive stacking */
@media (max-width: 480px) {
  .page-header {
    padding-top: 6rem !important;
    padding-bottom: 2rem !important;
  }

  .page-header h1 {
    font-size: 1.4rem !important;
  }

  .page-header .t-body-lg {
    font-size: 0.85rem !important;
  }

  .tier-card {
    padding: 1.25rem !important;
  }

  .tier-name {
    font-size: 1rem !important;
  }

  .healthcare-visual,
  .serve-visual {
    gap: 0.75rem !important;
  }

  table[style*="min-width:780px"] th,
  table[style*="min-width:780px"] td {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.75rem !important;
  }

  .flow-stages {
    gap: 1rem !important;
  }

  .sys-overview__title {
    font-size: 1.6rem !important;
  }

  /* Signals page filter bar mobile optimization */
  .sig-filters {
    padding: 1rem !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sig-filters__inner {
    padding-right: 1rem !important;
  }

  .sig-filter-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .sig-filter-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
  }

  .sig-filter-group::before {
    font-size: 0.6rem !important;
    padding-right: 0.5rem;
    flex-shrink: 0;
  }

  .sig-filter-divider {
    flex-shrink: 0;
  }
}
