/* ==========================================================================
   Insight Metrics Inc. — Corporate Website Stylesheet
   Blueprint-aligned Design System | WCAG 2.2 AA Compliant
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Color System */
  --navy-950: #071426;
  --navy-900: #0b1d35;
  --navy-850: #0f2442;
  --navy-800: #14283f;
  --blue-600: #168fe5;
  --blue-500: #299bf0;
  --blue-700: #0e72be;
  --cyan-400: #4dd9e8;
  --cyan-300: #7ce8f4;
  --cyan-500: #26c6d7;
  --green-400: #a6d957;
  --green-500: #93c942;
  --teal-300: #7ce0c9;
  
  --white: #ffffff;
  --gray-50: #f5f8fb;
  --gray-100: #e8eef4;
  --gray-200: #d6e2ed;
  --gray-300: #b5c7d8;
  --gray-600: #52647a;
  --gray-700: #394b60;
  --gray-800: #223447;
  --muted-white: #b6c5d8;
  --text-dark: #12243a;

  /* Typography */
  --font-family-base: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height-body: 1.65;
  --line-height-heading: 1.2;

  /* Layout & Spacing */
  --container-max: 1200px;
  --container-narrow: 840px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 6px rgba(11, 29, 53, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 29, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 29, 53, 0.12);
  --shadow-glow: 0 0 24px rgba(77, 217, 232, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: var(--line-height-body);
  color: var(--gray-700);
  background-color: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--white);
  color: var(--gray-700);
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--green-400);
  color: var(--navy-950);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--cyan-400);
}

/* Accessible Focus Ring */
:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--blue-700);
}

/* --- Container Classes --- */
.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - 48px));
  margin-inline: auto;
}

/* --- Typography System --- */
h1, h2, h3, h4 {
  color: var(--navy-800);
  line-height: var(--line-height-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.eyebrow-light {
  color: var(--cyan-400);
}

.eyebrow-light::before {
  background: var(--green-400);
}

.section-header {
  margin-bottom: 52px;
}

.section-header.text-center {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--navy-800);
}

.section-header p.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--gray-600);
  max-width: 720px;
  line-height: 1.7;
}

.section-header.text-center p.lead {
  margin-inline: auto;
}

/* Dark Section Variants */
.section-dark {
  background-color: var(--navy-950);
  color: var(--muted-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-header p.lead {
  color: var(--muted-white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.btn-primary {
  background: linear-gradient(105deg, var(--green-400), var(--teal-300));
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(124, 224, 201, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(105deg, #b9e978, #98eee0);
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(124, 224, 201, 0.35);
}

.btn-secondary {
  background: rgba(7, 20, 38, 0.45);
  border-color: rgba(168, 198, 225, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-300);
  background: rgba(7, 20, 38, 0.7);
}

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

.btn-blue:hover {
  background: var(--blue-700);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--navy-800);
}

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

/* ==========================================================================
   Site Header & Topbar Navigation
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal);
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(7, 20, 38, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 193, 225, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

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

.site-header.is-sticky .header-inner {
  min-height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: clamp(140px, 13vw, 175px);
  height: auto;
  display: block;
  transition: width var(--transition-fast);
}

.site-header.is-sticky .brand-logo img {
  width: clamp(130px, 12vw, 160px);
}

.footer-brand .brand-logo img {
  width: clamp(145px, 13vw, 175px);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.main-nav a {
  color: #d7e3f0;
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  opacity: 0.88;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan-300);
  opacity: 1;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-400);
  border-radius: 1px;
}

.main-nav .nav-cta {
  border: 1px solid rgba(156, 197, 228, 0.4);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  color: var(--white);
  opacity: 1;
  background: rgba(14, 38, 68, 0.35);
  transition: all var(--transition-fast);
}

.main-nav .nav-cta:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(156, 197, 228, 0.35);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--cyan-400);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-hamburger {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile Drawer */
@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--navy-900);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 40px;
    gap: 20px;
    transition: right var(--transition-slow);
    z-index: 99;
    border-left: 1px solid rgba(157, 193, 225, 0.15);
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav a {
    font-size: 1.125rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav .nav-cta {
    margin-top: 16px;
    text-align: center;
    width: 100%;
  }

  /* Overlay backdrop */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 22, 0.7);
    backdrop-filter: blur(4px);
    z-index: 98;
  }

  .nav-backdrop.is-visible {
    display: block;
  }
}

/* ==========================================================================
   Hero Section & Architectural Canvas Background
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(880px, 100svh);
  background:
    radial-gradient(circle at 78% 28%, rgba(77, 217, 232, 0.20) 0%, rgba(22, 143, 229, 0.10) 28%, transparent 58%),
    radial-gradient(circle at 18% 82%, rgba(166, 217, 87, 0.10) 0%, rgba(22, 143, 229, 0.08) 32%, transparent 55%),
    radial-gradient(ellipse at 50% 0%, rgba(22, 143, 229, 0.22) 0%, transparent 65%),
    linear-gradient(135deg, #040d1a 0%, #081b33 42%, #0c2544 72%, #051122 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
  border-bottom: 1px solid rgba(77, 217, 232, 0.16);
}

/* Architectural Coordinate Grid Overlay with Soft Radial Mask */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(77, 217, 232, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(77, 217, 232, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 62% 48%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.25) 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 62% 48%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.25) 60%, transparent 95%);
}

/* Subtle Geometric Orbital Rings & Light Beams */
.hero::after {
  content: "";
  position: absolute;
  width: 920px;
  height: 920px;
  right: -180px;
  top: -160px;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  border: 1px dashed rgba(77, 217, 232, 0.14);
  box-shadow:
    inset 0 0 80px rgba(77, 217, 232, 0.05),
    0 0 120px rgba(22, 143, 229, 0.08);
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.92;
}

.hero-ambient-glow {
  position: absolute;
  inset: -15%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 72% 46%, rgba(77, 217, 232, 0.13), transparent 70%),
    radial-gradient(ellipse 35% 35% at 28% 30%, rgba(22, 143, 229, 0.11), transparent 65%),
    conic-gradient(from 210deg at 75% 50%, transparent 0deg, rgba(77, 217, 232, 0.05) 55deg, rgba(166, 217, 87, 0.04) 110deg, transparent 170deg);
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  100% { transform: scale(1.06) translate(1.5%, -1.5%) rotate(1.5deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 60px);
  padding-block: clamp(40px, 6vh, 64px);
  z-index: 1;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-copy h1 .accent-cyan {
  color: var(--cyan-300);
}

.hero-copy .intro-text {
  color: var(--muted-white);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-secondary-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.hero-secondary-links a {
  color: var(--cyan-300);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-secondary-links a:hover {
  color: var(--white);
}

/* Hero Analytics Command Dashboard Visual */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dashboard-panel {
  background: rgba(11, 29, 53, 0.76);
  border: 1px solid rgba(157, 193, 225, 0.24);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 26px);
  backdrop-filter: blur(18px);
  width: 100%;
  max-width: 580px;
  box-shadow: 0 24px 60px rgba(4, 12, 22, 0.55), 0 0 36px rgba(77, 217, 232, 0.08);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-dashboard-panel:hover {
  box-shadow: 0 28px 70px rgba(4, 12, 22, 0.65), 0 0 45px rgba(77, 217, 232, 0.14);
}

/* Dashboard Top Control Bar */
.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(157, 193, 225, 0.15);
  padding-bottom: 14px;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-engine-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
  position: relative;
}

.dash-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--cyan-400);
  animation: pulseDot 2.4s ease-out infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.dash-engine-title {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.dash-engine-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(166, 217, 87, 0.15);
  color: var(--green-400);
  border: 1px solid rgba(166, 217, 87, 0.3);
}

/* Tab Filter Buttons */
.dash-time-filter {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(7, 20, 38, 0.7);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(157, 193, 225, 0.12);
}

.dash-filter-btn {
  background: transparent;
  border: none;
  color: #9fb0c4;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-filter-btn:hover {
  color: var(--white);
}

.dash-filter-btn.active {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(22, 143, 229, 0.3);
}

/* 3 Core KPI Metrics Grid */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dash-kpi-card {
  background: rgba(7, 20, 38, 0.7);
  border: 1px solid rgba(157, 193, 225, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.dash-kpi-card:hover {
  border-color: rgba(77, 217, 232, 0.4);
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa5bd;
}

.kpi-trend {
  font-size: 0.6875rem;
  font-weight: 700;
}

.trend-up {
  color: var(--green-400);
}

.trend-cyan {
  color: var(--cyan-400);
}

.kpi-badge-tag {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.tag-optimal {
  background: rgba(77, 217, 232, 0.15);
  color: var(--cyan-300);
  border: 1px solid rgba(77, 217, 232, 0.3);
}

.kpi-value-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 2px;
}

.kpi-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.kpi-unit {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-300);
  margin-left: 2px;
}

.kpi-sparkline {
  width: 44px;
  height: 18px;
  flex-shrink: 0;
}

.spark-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.kpi-meter-bar {
  width: 44px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  align-self: center;
}

.kpi-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  border-radius: var(--radius-full);
}

.kpi-subtext {
  font-size: 0.6875rem;
  color: #7289a2;
}

/* Central Visual Chart Section */
.dash-chart-section {
  background: rgba(7, 20, 38, 0.85);
  border: 1px solid rgba(157, 193, 225, 0.16);
  border-radius: var(--radius-md);
  padding: 16px 18px 14px;
  margin-bottom: 16px;
  position: relative;
}

.chart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.chart-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.chart-subtitle {
  display: block;
  font-size: 0.6875rem;
  color: #8fa5bd;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.6875rem;
  color: #b6c5d8;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-cyan {
  background: var(--cyan-400);
  box-shadow: 0 0 6px var(--cyan-400);
}

.dot-green {
  background: var(--green-400);
  box-shadow: 0 0 6px var(--green-400);
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 130px;
}

.analytics-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.chart-floating-tag {
  position: absolute;
  top: 14%;
  right: 8%;
  background: rgba(11, 29, 53, 0.9);
  border: 1px solid rgba(77, 217, 232, 0.45);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.tag-metric {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan-300);
}

.tag-status {
  font-size: 0.625rem;
  color: #9fb0c4;
}

.chart-xaxis-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(157, 193, 225, 0.1);
  font-size: 0.6875rem;
  color: #7289a2;
}

/* 5-Stage Analytical Pipeline Strip */
.dash-pipeline-strip {
  background: rgba(7, 20, 38, 0.7);
  border: 1px solid rgba(157, 193, 225, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pipeline-title {
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: #9fb0c4;
  text-transform: uppercase;
}

.pipeline-status-text {
  font-size: 0.6875rem;
  color: var(--teal-300);
  font-weight: 600;
}

.pipeline-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.p-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  min-width: 44px;
}

.p-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.p-step.completed .p-step-circle {
  background: rgba(166, 217, 87, 0.2);
  color: var(--green-400);
  border: 1.5px solid var(--green-400);
}

.p-step.in-progress .p-step-circle {
  background: rgba(77, 217, 232, 0.25);
  color: var(--cyan-300);
  border: 1.5px solid var(--cyan-400);
  box-shadow: 0 0 10px rgba(77, 217, 232, 0.4);
}

.p-step.upcoming .p-step-circle {
  background: rgba(255, 255, 255, 0.05);
  color: #6a829c;
  border: 1.5px solid rgba(157, 193, 225, 0.2);
}

.p-step-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.p-step-state {
  font-size: 0.5625rem;
  color: #8aa1ba;
  margin-top: 1px;
}

.p-step.in-progress .p-step-state {
  color: var(--cyan-300);
}

.p-step-connector {
  flex: 1;
  height: 2px;
  background: rgba(157, 193, 225, 0.18);
  margin-inline: 4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.p-step-connector.active {
  background: linear-gradient(90deg, var(--green-400), var(--cyan-400));
}

/* Dashboard Live Telemetry Footer Bar */
.dash-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(157, 193, 225, 0.12);
  padding-top: 12px;
  font-size: 0.6875rem;
  color: #8fa5bd;
  gap: 12px;
  flex-wrap: wrap;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.t-green {
  background: var(--green-400);
  box-shadow: 0 0 6px var(--green-400);
}

.t-cyan {
  background: var(--cyan-400);
  box-shadow: 0 0 6px var(--cyan-400);
}

.t-blue {
  background: var(--blue-500);
  box-shadow: 0 0 6px var(--blue-500);
}

.t-label {
  color: #7289a2;
}

.t-val {
  color: var(--white);
  font-weight: 600;
}

.hero-scroll-indicator {
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8198b2;
}

.hero-scroll-indicator .scroll-line {
  width: 32px;
  height: 1px;
  background: #6a91b5;
}

/* Responsive Hero Adjustments */
@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 40px;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .hero-dashboard-panel {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .dash-kpi-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pipeline-steps-row {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .p-step-connector {
    display: none;
  }
  .dash-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ==========================================================================
   Section: About & Strategic Purpose
   ========================================================================== */
.section-about {
  padding-block: 96px;
  background-color: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.about-narrative h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 20px;
}

.about-narrative p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.about-callout-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--blue-600);
  padding: 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-callout-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.about-callout-box p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Strategic Pillars Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(22, 143, 229, 0.1);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Core Values Bar */
.values-strip {
  margin-top: 56px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
}

.values-strip-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.value-item {
  text-align: center;
  padding: 12px;
}

.value-item strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.value-item span {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  display: block;
}

/* ==========================================================================
   Section: Services Grid
   ========================================================================== */
.section-services {
  padding-block: 96px;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-600);
  background: rgba(22, 143, 229, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.service-card p.service-summary {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
}

.service-deliverables li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-deliverables li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-600);
  font-weight: 700;
}

.service-card-action {
  margin-top: auto;
}

.service-card-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-600);
}

.service-card-action a:hover {
  gap: 12px;
  color: var(--blue-700);
}

/* ==========================================================================
   Section: Our 5-Stage Analytical Approach
   ========================================================================== */
.section-approach {
  padding-block: 96px;
  background-color: var(--navy-950);
  color: var(--muted-white);
}

.approach-steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.step-card {
  background: var(--navy-900);
  border: 1px solid rgba(157, 193, 225, 0.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-400);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(77, 217, 232, 0.25);
  line-height: 1;
  margin-bottom: 16px;
  font-feature-settings: "tnum";
}

.step-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted-white);
  line-height: 1.6;
}

.approach-callout {
  background: rgba(11, 29, 53, 0.8);
  border: 1px solid rgba(157, 193, 225, 0.2);
  border-left: 4px solid var(--green-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px;
  max-width: 900px;
  margin-inline: auto;
}

.approach-callout h4 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 10px;
}

.approach-callout p {
  font-size: 0.9375rem;
  color: var(--muted-white);
  line-height: 1.7;
}

/* ==========================================================================
   Section: Insights & Resources
   ========================================================================== */
.section-insights {
  padding-block: 96px;
  background-color: var(--white);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-600);
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.insight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.insight-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.insight-footer {
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.insight-read-link {
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.insight-read-link:hover {
  color: var(--blue-700);
}

/* ==========================================================================
   Section: Careers
   ========================================================================== */
.section-careers {
  padding-block: 96px;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.careers-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.careers-narrative h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
}

.careers-narrative p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.fit-profiles-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.fit-profiles-box h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.profiles-list {
  list-style: none;
}

.profiles-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.profiles-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

.careers-values-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.careers-values-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.career-value-entry {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
}

.career-value-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.career-value-entry strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.career-value-entry p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.careers-notice-banner {
  margin-top: 48px;
  background: #eef7fc;
  border: 1px solid #c7e5f6;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.careers-notice-banner p {
  font-size: 0.9375rem;
  color: var(--navy-800);
  line-height: 1.6;
  max-width: 760px;
}

/* ==========================================================================
   Section: Contact Us & Inquiries
   ========================================================================== */
.section-contact {
  padding-block: 96px;
  background-color: var(--white);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-info-panel h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
}

.contact-info-panel p.lead {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-direct-channels {
  margin-bottom: 36px;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(22, 143, 229, 0.1);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-details strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.channel-details a,
.channel-details span {
  font-size: 0.9375rem;
  color: var(--navy-800);
  font-weight: 600;
  display: block;
}

.channel-details a:hover {
  color: var(--blue-600);
}

/* Contact Form Styling */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card p.form-subhead {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.form-group label .required-star {
  color: #d93838;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--navy-950);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(22, 143, 229, 0.2);
}

.form-control.is-invalid {
  border-color: #d93838;
  background-color: #fff8f8;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  font-size: 0.75rem;
  color: #d93838;
  margin-top: 6px;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

.form-check label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}

.form-status-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.875rem;
  display: none;
}

.form-status-alert.alert-success {
  display: block;
  background-color: #f0fbf0;
  border: 1px solid #c2eec2;
  color: #1e701e;
}

.form-status-alert.alert-error {
  display: block;
  background-color: #fdf2f2;
  border: 1px solid #f8c8c8;
  color: #b91c1c;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: #9fb0c4;
  padding-top: 72px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(157, 193, 225, 0.12);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #9fb0c4;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #9fb0c4;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--cyan-300);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(157, 193, 225, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #9fb0c4;
}

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

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

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Inner Page Layouts & Component Styles
   ========================================================================== */
.inner-hero {
  background:
    radial-gradient(circle at 82% 25%, rgba(77, 217, 232, 0.18) 0%, rgba(22, 143, 229, 0.10) 30%, transparent 58%),
    radial-gradient(circle at 15% 85%, rgba(166, 217, 87, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, #040d1a 0%, #091e38 52%, #0d2748 80%, #051122 100%);
  padding-top: clamp(120px, 14vh, 150px);
  padding-bottom: clamp(50px, 6vh, 70px);
  border-bottom: 1px solid rgba(77, 217, 232, 0.16);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(77, 217, 232, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(77, 217, 232, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 90% at 75% 45%, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.2) 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 75% 45%, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.2) 60%, transparent 95%);
}

.inner-hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -140px;
  top: -220px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px dashed rgba(77, 217, 232, 0.14);
  background: radial-gradient(circle, rgba(77, 217, 232, 0.07) 0%, transparent 65%);
}

.breadcrumb-nav {
  margin-bottom: 18px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.8125rem;
  color: #8ba4be;
}

.breadcrumbs a {
  color: var(--cyan-300);
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumbs .divider {
  color: rgba(157, 193, 225, 0.35);
}

.breadcrumbs .current {
  color: #b6c5d8;
}

.inner-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 800px;
}

.inner-hero p.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--muted-white);
  max-width: 740px;
  line-height: 1.7;
}

/* Inner Page Content Sections */
.inner-section {
  padding-block: 80px;
  background-color: var(--white);
}

.inner-section-alt {
  padding-block: 80px;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

/* Service Detail Cards on services.html */
.service-detail-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3.5vw, 44px);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-detail-item h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.service-badge-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(22, 143, 229, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.service-detail-box-deliverables {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}

.service-detail-box-deliverables h3 {
  font-size: 1.0625rem;
  margin-bottom: 14px;
  color: var(--navy-800);
}

/* Legal Documents (privacy.html, terms.html) */
.legal-wrapper {
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.8;
  color: var(--gray-700);
}

.legal-wrapper h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 8px;
}

.legal-wrapper h3 {
  font-size: 1.125rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--navy-800);
}

.legal-wrapper p {
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.legal-wrapper ul {
  margin-bottom: 20px;
  padding-left: 24px;
  font-size: 0.9375rem;
}

.legal-wrapper li {
  margin-bottom: 8px;
}

.legal-meta-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--blue-600);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ==========================================================================
   Reduced Motion Preferences (WCAG 2.2 AA)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-glass-card {
    animation: none !important;
  }

  .hero-ambient-glow {
    animation: none !important;
  }
}
