:root {
  /* Minimalist Nordic Light Palette */
  --bg-body: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-section-alt: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  --primary: #0052FF;          /* Stripe/Vercel style Blue */
  --primary-rgb: 0, 82, 255;
  --accent: #7000FF;           /* Electric Purple */
  --accent-rgb: 112, 0, 255;
  --accent-glow: rgba(0, 82, 255, 0.08);
  
  --text-primary: #0F172A;     /* Deep Navy Slate */
  --text-muted: #334155;       /* Slate Muted (darker for high contrast) */
  --text-dim: #475569;         /* Slate Muted (used for secondary dim text for contrast compliance) */
  
  --border: #E2E8F0;           /* Soft gray borders */
  --border-hover: #CBD5E1;
  --border-focus: rgba(0, 82, 255, 0.4);

  /* Compatibility Aliases for Old Variable Names */
  --msg-bg: var(--bg-body);
  --msg-bg-alt: var(--bg-alt);
  --msg-primary: var(--primary);
  --msg-accent: var(--accent);
  --msg-dark: var(--bg-alt);
  --msg-dark-alt: var(--text-primary);
  --msg-text-main: var(--text-primary);
  --msg-text-muted: var(--text-muted);
  --msg-border: var(--border);
  --msg-card-border: var(--border);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --grad-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --grad-bg-effect: radial-gradient(circle at 70% 10%, rgba(0, 82, 255, 0.04) 0%, transparent 40%),
                    radial-gradient(circle at 10% 80%, rgba(112, 0, 255, 0.03) 0%, transparent 40%);

  /* Border Radii */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-round: 99px;
  
  /* Modern soft shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 12px 30px -10px rgba(0, 82, 255, 0.05);
  --shadow-card-hover: 0 20px 40px -8px rgba(0, 82, 255, 0.12), 0 0 0 1px rgba(0, 82, 255, 0.02);
  
  /* Layout constraints */
  --container: 1160px;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-body);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  background-image: var(--grad-bg-effect);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Base Layout Containers */
.msg-container {
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}

.msg-section {
  position: relative;
  padding: 65px 0;
}

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

/* Section Header styling */
.msg-section-head {
  max-width: 780px;
  margin-bottom: 50px;
}

.msg-section-head h2 {
  margin-top: 10px;
}

.msg-section-head p {
  font-size: 1.15rem;
  line-height: 1.65;
}

/* Header & Sticky Navigation */
.msg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.msg-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border-bottom-color: rgba(0, 82, 255, 0.08);
}

.msg-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 96px;
}

.msg-brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.msg-logo-img img, .custom-logo {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.msg-brand:hover .msg-logo-img img {
  transform: scale(1.02);
}

.msg-logo-text-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.msg-primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.msg-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.msg-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.msg-menu a:hover, 
.msg-menu a.active,
.msg-menu .current-menu-item > a {
  color: var(--primary);
}

.msg-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.msg-menu a:hover::after,
.msg-menu a.active::after,
.msg-menu .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Navigation CTA & Buttons */
.msg-nav-cta, .msg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.msg-nav-cta {
  padding: 10px 18px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.15);
  font-weight: 600;
}

.msg-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.25);
  filter: brightness(1.05);
}

.msg-button {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.msg-button-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.15);
}

.msg-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.25);
  filter: brightness(1.05);
}

.msg-button-secondary {
  background: var(--bg-body);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.msg-button-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.msg-button-light {
  background: var(--primary);
  color: #FFFFFF;
}

.msg-button-light:hover {
  background: #0045d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.2);
}

/* Badge component */
.msg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.12);
  color: var(--primary);
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* Hamburger Menu Toggle */
.msg-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.msg-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.msg-hero {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid line overlay */
.msg-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 95%);
  pointer-events: none;
}

.msg-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.msg-hero-copy {
  max-width: 650px;
}

.msg-hero-copy h1 {
  color: var(--text-primary);
}

.msg-hero-copy p {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.msg-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.msg-hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.msg-hero-trust span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.msg-hero-trust span::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
}

/* Managed Operations Engine Visual */
.msg-hero-visual {
  position: relative;
  width: 100%;
}

.msg-ops-engine {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
  width: 100%;
}

.msg-engine-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.msg-engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.msg-engine-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.client-card {
  border-left: 3px solid var(--accent);
}

.outcome-card {
  border-left: 3px solid var(--primary);
}

.msg-card-icon {
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.msg-card-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.msg-card-details strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.msg-card-details span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Central MSG Hub Card - Apple/Stripe white gradient */
.msg-engine-hub {
  background: #FFFFFF;
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--text-primary);
  box-shadow: 0 16px 36px rgba(0, 82, 255, 0.08);
  position: relative;
  text-align: left;
  transform: scale(1.03);
  transition: all 0.2s ease;
  overflow: hidden;
}

.msg-engine-hub:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 82, 255, 0.12);
}

.msg-hub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.msg-hub-logo {
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.msg-hub-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

.msg-hub-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg-hub-bullets li {
  display: flex;
  align-items: start;
  gap: 10px;
}

.msg-hub-bullets .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-hub-bullets div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.msg-hub-bullets strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.msg-hub-bullets small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Connecting Lines Background SVG for Engine on desktop */
.msg-ops-engine-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.msg-ops-engine-svg path {
  stroke: rgba(0, 82, 255, 0.1);
  stroke-width: 2;
  fill: none;
}

.msg-ops-engine-svg path.pulse {
  stroke: var(--primary);
  stroke-dasharray: 6 12;
  animation: pulse-flow 4s linear infinite;
  opacity: 0.6;
}

@keyframes pulse-flow {
  to {
    stroke-dashoffset: -18;
  }
}

/* Operations Strip Section */
.msg-ops-strip-section {
  padding: 50px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.msg-ops-system {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.msg-ops-system-copy span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: block;
}

.msg-ops-system-copy strong {
  font-size: 1.3rem;
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
  line-height: 1.4;
  font-family: var(--font-heading);
}

.msg-ops-system-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.msg-ops-system-flow::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
}

.msg-ops-system-flow div {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.msg-ops-system-flow i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.msg-ops-system-flow div:hover i {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.msg-ops-system-flow b {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.msg-ops-system-flow small {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 140px;
}

/* Two-Column layouts */
.msg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.msg-two-col-center {
  align-items: center;
}

.msg-two-col p {
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Card Grids */
.msg-card-grid {
  display: grid;
  gap: 24px;
}

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

.msg-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.msg-card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Service Card Redesign */
.msg-services-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.msg-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.msg-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.msg-service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

.msg-service-card:hover .msg-service-icon {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.02);
}

.msg-service-card span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.msg-service-card h3 {
  margin-bottom: 10px;
}

.msg-service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.msg-service-card em {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 4px;
}

.msg-service-card em::after {
  content: "→";
  transition: transform 0.2s ease;
}

.msg-service-card:hover em::after {
  transform: translateX(4px);
}

/* Operating Model (Light Alternating Flow) */
.msg-dark-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.msg-flow-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.msg-flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.msg-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 16px;
  width: 2px;
  height: 16px;
  background-color: var(--border);
}

.msg-flow-step strong {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.msg-flow-step-text {
  display: flex;
  flex-direction: column;
}

.msg-flow-step-text span {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.msg-flow-step-text small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Who We Help Section (Audience) */
.msg-industry-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.msg-industry-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.msg-industry-index {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 82, 255, 0.04);
  font-family: var(--font-heading);
  line-height: 1;
}

.msg-industry-card:hover .msg-industry-index {
  color: rgba(0, 82, 255, 0.08);
}

.msg-industry-card h3 {
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}

.msg-industry-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--border);
  transition: all 0.2s ease;
}

.msg-industry-card:hover h3::after {
  width: 36px;
  background-color: var(--primary);
}

.msg-industry-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Proof Section */
.msg-proof-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.msg-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.msg-proof-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.msg-proof-list div {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.msg-proof-list div:hover {
  border-color: var(--primary);
}

.msg-proof-list strong {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.msg-proof-list span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Final Call To Action Card */
.msg-final-cta-inner {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(0, 82, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.msg-final-cta-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.msg-final-cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin-bottom: 12px;
  color: #FFFFFF;
}

.msg-final-cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 30px;
}

.msg-final-cta-inner .msg-button-light {
  background: #FFFFFF;
  color: var(--primary);
}

.msg-final-cta-inner .msg-button-light:hover {
  background: var(--bg-alt);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Team Leadership Section */
.msg-team-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.msg-team-grid {
  margin-top: 50px;
}

.msg-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.msg-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.msg-team-avatar-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.msg-team-avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.msg-team-card:hover .msg-team-avatar {
  transform: scale(1.03);
}

.msg-team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.msg-team-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.msg-team-position {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.msg-team-info p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.msg-team-social {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.msg-team-social a {
  color: var(--text-muted);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.msg-team-social a:hover {
  color: var(--primary);
  background: rgba(0, 82, 255, 0.06);
  border-color: rgba(0, 82, 255, 0.15);
  transform: translateY(-1px);
}

/* Footer Section */
.msg-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.msg-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.msg-footer-brand {
  display: inline-block;
  margin-bottom: 16px;
}

.msg-footer-brand img {
  max-height: 60px;
}

.msg-footer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.msg-footer h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.msg-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-footer ul a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.msg-footer ul a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.msg-footer a[href^="mailto:"] {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

.msg-footer a[href^="mailto:"]:hover {
  text-decoration: underline;
}

.msg-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.msg-footer-bottom span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Sub-Page Heros */
.msg-page-hero {
  padding: 60px 0 45px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.03), transparent 60%);
  text-align: center;
}

.msg-page-hero .msg-container {
  max-width: 800px;
}

.msg-page-hero h1 {
  margin-bottom: 14px;
  color: var(--text-primary);
}

.msg-page-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* About Page Specific Styles */
.about-pillars-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-pillar-card {
  padding: 36px;
  text-align: center;
  align-items: center;
}

.msg-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.principles-grid {
  margin-top: 36px;
}

.msg-principle-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.msg-principle-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.principle-num {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(0, 82, 255, 0.15);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.msg-principle-card:hover .principle-num {
  color: var(--primary);
}

.msg-principle-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.msg-principle-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Services Page Sidebar Layout */
.msg-services-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.msg-services-sidebar {
  position: sticky;
  top: 110px;
  z-index: 10;
}

.msg-services-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--border);
  padding-left: 0;
}

.msg-services-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-left: -2px;
  border-left: 2px solid transparent;
}

.msg-services-nav a:hover,
.msg-services-nav a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(0, 82, 255, 0.03);
}

.msg-service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.msg-service-detail {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  scroll-margin-top: 110px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.msg-service-detail:hover {
  box-shadow: var(--shadow-md);
}

.msg-service-detail-copy {
  margin-bottom: 24px;
}

.msg-service-detail h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.msg-service-detail p {
  font-size: 1.05rem;
}

.msg-service-detail-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.msg-service-detail-bullets li {
  display: flex;
  align-items: start;
  gap: 10px;
}

.msg-service-detail-bullets .check-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-service-detail-bullets span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Who We Help Showcase Cards */
.industry-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.industry-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.industry-icon {
  font-size: 1.8rem;
}

.industry-showcase-card h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

.industry-showcase-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.industry-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.industry-check-list .check-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
}

.industry-check-list span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.proof-cta-inner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* Operating Model timeline page redesign */
.msg-stepper-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.msg-stepper-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.msg-stepper-item {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  position: relative;
}

.msg-stepper-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.msg-stepper-item:hover .msg-stepper-badge {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateX(-50%) scale(1.05);
}

.msg-stepper-card {
  width: 44%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.msg-stepper-item:hover .msg-stepper-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.stepper-left {
  justify-content: flex-start;
}

.stepper-right {
  justify-content: flex-end;
}

.msg-stepper-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.msg-stepper-card p {
  font-size: 0.92rem;
}

.msg-principle-check-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.msg-principle-check-card:hover {
  border-color: var(--primary);
}

.msg-principle-check-card .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-principle-check-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.msg-principle-check-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Contact Page Form styling */
.msg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.msg-contact-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.msg-contact-panel p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.msg-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.msg-contact-meta-item {
  display: flex;
  align-items: start;
  gap: 16px;
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.msg-contact-meta-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.msg-contact-meta-item a,
.msg-contact-meta-item span {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.msg-contact-meta-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact Form Container Redesign */
.msg-contact-form-wrapper form {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}

.msg-contact-form-wrapper label {
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
}

.msg-contact-form-wrapper input,
.msg-contact-form-wrapper select,
.msg-contact-form-wrapper textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-body) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.msg-contact-form-wrapper input:focus,
.msg-contact-form-wrapper select:focus,
.msg-contact-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1) !important;
  background-color: #FFFFFF !important;
}

/* Accordion FAQ styles */
.faq-grid {
  margin-top: 36px;
}

.msg-faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.msg-faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.msg-faq-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1150px) {
  .msg-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .msg-hero-copy {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .msg-hero-actions {
    justify-content: center;
  }
  
  .msg-hero-trust {
    justify-content: center;
  }
  
  .msg-ops-system {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .msg-ops-system-copy {
    max-width: 500px;
  }
  
  .msg-proof-grid,
  .msg-contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .msg-services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .msg-services-sidebar {
    position: static;
    width: 100%;
  }
  
  .msg-services-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding-left: 0;
    padding-bottom: 10px;
    gap: 10px;
  }
  
  .msg-services-nav a {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    margin-left: 0;
  }
  
  .msg-services-nav a:hover,
  .msg-services-nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }
}

@media (max-width: 1024px) {
  .msg-header-inner {
    min-height: 72px;
  }
  
  .msg-menu-toggle {
    display: flex;
  }
  
  .msg-primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
    z-index: 999;
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }
  
  .msg-primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .msg-menu {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: center;
  }
  
  .msg-menu a {
    font-size: 1.15rem;
  }
  
  .msg-nav-cta {
    width: 100%;
    max-width: 300px;
    min-height: 44px;
    font-size: 0.95rem;
    text-align: center;
  }
  
  /* Menu Hamburger Drawer animations */
  .msg-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .msg-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .msg-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .msg-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .msg-ops-engine {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 550px;
    margin: 0 auto;
  }
  
  .msg-ops-engine::before,
  .msg-ops-engine-svg {
    display: none;
  }
  
  .msg-engine-hub {
    transform: scale(1) !important;
  }
  
  .msg-ops-system-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  
  .msg-ops-system-flow::before {
    display: none;
  }
  
  .msg-card-grid-3,
  .msg-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .msg-stepper-timeline::before {
    left: 20px;
  }
  
  .msg-stepper-item {
    flex-direction: column;
    margin-bottom: 30px;
    padding-left: 50px;
  }
  
  .msg-stepper-badge {
    left: 20px;
    top: 0;
    transform: translateX(-50%);
  }
  
  .msg-stepper-item:hover .msg-stepper-badge {
    transform: translateX(-50%) scale(1.05);
  }
  
  .msg-stepper-card {
    width: 100%;
  }
  
  .msg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}



@media (max-width: 650px) {
  .msg-section {
    padding: 50px 0;
  }
  
  .msg-hero {
    padding: 50px 0 60px;
  }
  
  .msg-card-grid-2,
  .msg-card-grid-3,
  .msg-card-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .msg-ops-engine {
    max-width: 480px;
  }

  .msg-engine-hub {
    padding: 20px 16px;
  }
  
  .msg-ops-system-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .msg-service-detail {
    padding: 24px;
  }
  
  .msg-service-detail-bullets {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .msg-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .msg-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .msg-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .msg-hero-actions .msg-button {
    width: 100%;
  }
}

/* ==========================================================================
   Production responsiveness refinements - content/design preserved
   ========================================================================== */
@media (max-width: 1150px) {
  .msg-two-col,
  .msg-contact-grid,
  .msg-services-layout {
    grid-template-columns: 1fr;
  }

  .msg-services-sidebar {
    position: static;
    top: auto;
  }

  .msg-page-hero .msg-container,
  .msg-section-head {
    max-width: 860px;
  }
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .msg-container {
    width: min(100% - 40px, var(--container));
  }

  .msg-card-grid-2,
  .msg-card-grid-3,
  .msg-card-grid-4,
  .proof-grid,
  .faq-grid,
  .principles-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msg-service-detail,
  .industry-showcase-card,
  .msg-large-card {
    grid-template-columns: 1fr;
  }

  .msg-service-detail-bullets,
  .industry-check-list {
    grid-template-columns: 1fr;
  }

  .msg-services-nav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 10px;
  }

  .msg-services-nav li {
    flex: 0 0 auto;
  }

  .msg-services-nav a {
    white-space: nowrap;
  }

  .msg-static-contact-form > div:first-child {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 650px) {
  .msg-container {
    width: min(100% - 32px, var(--container));
  }

  .msg-page-hero,
  .msg-section {
    padding-left: 0;
    padding-right: 0;
  }

  .msg-page-hero h1,
  .msg-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.05;
  }

  .msg-section-head h2,
  .msg-two-col h2,
  .msg-final-cta-inner h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .msg-card-grid-2,
  .msg-card-grid-3,
  .msg-card-grid-4,
  .proof-grid,
  .faq-grid,
  .principles-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .msg-service-card,
  .msg-proof-card,
  .msg-principle-card,
  .msg-faq-card,
  .industry-showcase-card,
  .msg-large-card,
  .msg-contact-panel,
  .msg-contact-form-wrapper form,
  .msg-final-cta-inner {
    padding: 24px !important;
  }

  .msg-services-nav ul {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .msg-stepper-item {
    padding-left: 44px;
  }

  .msg-stepper-card {
    padding: 22px;
  }

  .msg-button,
  .msg-nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .msg-contact-meta-item {
    align-items: flex-start;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 420px) {
  .msg-container {
    width: min(100% - 24px, var(--container));
  }

  .msg-primary-nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .msg-service-card,
  .msg-proof-card,
  .msg-principle-card,
  .msg-faq-card,
  .industry-showcase-card,
  .msg-large-card,
  .msg-contact-panel,
  .msg-contact-form-wrapper form,
  .msg-final-cta-inner {
    padding: 20px !important;
  }
}

/* ==========================================================================
   Requested fixes: sticky header, Services mobile overflow, remove team section
   ========================================================================== */
.msg-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
}

@media (max-width: 900px) {
  .msg-services-layout,
  .msg-service-detail-list,
  .msg-service-detail,
  .msg-service-detail-copy,
  .msg-service-detail-bullets,
  .msg-service-detail-bullets li {
    min-width: 0;
    max-width: 100%;
  }

  .msg-service-detail {
    width: 100%;
    overflow: hidden;
  }

  .msg-service-detail h2,
  .msg-service-detail p,
  .msg-service-detail-bullets span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 650px) {
  .msg-service-detail {
    padding: 24px 20px !important;
    border-radius: 14px;
  }

  .msg-service-detail h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.15;
  }

  .msg-service-detail p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .msg-service-detail-bullets li {
    align-items: flex-start;
  }

  .msg-service-detail-bullets span {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

/* ========================================================================== 
   Services tabs mobile fix - prevent clipped horizontal tab labels
   ========================================================================== */
@media (max-width: 768px) {
  .msg-services-nav {
    width: 100%;
    overflow: visible;
  }

  .msg-services-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .msg-services-nav li {
    width: 100%;
    min-width: 0;
  }

  .msg-services-nav a {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    border: 1px solid var(--border);
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    line-height: 1.25;
  }

  .msg-services-nav a:hover,
  .msg-services-nav a.active {
    border-color: rgba(0, 82, 255, 0.20);
    border-bottom-color: var(--primary);
  }
}

/* ==========================================================================
   Services mobile simplification - hide service sub-navigation on phones
   ========================================================================== */
@media (max-width: 768px) {
  .services-content-section .msg-services-sidebar {
    display: none !important;
  }

  .services-content-section .msg-services-layout {
    display: block;
  }

  .services-content-section .msg-service-detail-list {
    gap: 24px;
  }
}


/* ==========================================================================
   v5 refinements: mobile fixed header + differentiated footer
   ========================================================================== */
.msg-footer {
  background: linear-gradient(135deg, #071225 0%, #0b1730 52%, #08111f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.msg-footer p,
.msg-footer-bottom span {
  color: rgba(255, 255, 255, 0.66);
}

.msg-footer h3 {
  color: #ffffff;
}

.msg-footer ul a {
  color: rgba(255, 255, 255, 0.72);
}

.msg-footer ul a:hover,
.msg-footer a[href^="mailto:"] {
  color: #8db7ff;
}

.msg-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.msg-footer-brand img {
  filter: brightness(0) invert(1);
}

.msg-footer .msg-nav-cta,
.msg-footer .msg-btn,
.msg-footer .msg-btn-primary {
  box-shadow: none;
}

@media (max-width: 1024px) {
  body.msg-site {
    padding-top: 72px;
  }

  .msg-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .msg-menu-toggle {
    position: relative;
    z-index: 100000;
  }

  .msg-primary-nav {
    top: 72px;
    height: calc(100dvh - 72px);
  }
}
