/* ==========================================================================
   FLEXIBEES — DESIGN SYSTEM STYLESHEET
   Brand Identity: Yellow (#FFC800), Charcoal (#222222), Surface (#F4F6F8)
   Founding Philosophy: Software Design Belief System (Carry > Mere Polish)
   ========================================================================== */

:root {
  /* Brand Primitives */
  --brand-yellow: #FFC800;
  --brand-yellow-hover: #EBB600;
  --brand-yellow-active: #D4A300;
  --brand-yellow-subtle: #FFFDF0;
  --brand-yellow-soft: #FEF9C3;
  --brand-yellow-border: #FDE047;

  /* Neutrals & Surfaces */
  --charcoal-950: #121212;
  --charcoal-900: #18181B;
  --charcoal-800: #222222;
  --charcoal-700: #374151;
  --charcoal-600: #4B5563;
  --charcoal-500: #6B7280;
  --charcoal-400: #9CA3AF;
  --charcoal-300: #D1D5DB;
  --charcoal-200: #E5E7EB;
  --charcoal-100: #F3F4F6;
  --charcoal-50:  #F9FAFB;

  --bg-base: #FFFFFF;
  --bg-surface: #F4F6F8;
  --bg-subtle: #F8FAFC;
  --bg-elevated: #FFFFFF;
  --bg-dark: #18181B;

  --border-subtle: #E5E7EB;
  --border-default: #D1D5DB;
  --border-emphasis: #9CA3AF;
  --border-brand: #FFC800;

  /* Semantic */
  --color-success: #059669;
  --color-success-bg: #ECFDF5;
  --color-accent-blue: #2563EB;
  --color-accent-blue-bg: #EFF6FF;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Consolas, monospace;

  /* Elevations */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal-800);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: clip; /* Mandatory gate defense */
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* FOUT Prevention Classes */
.fonts-ready {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 2rem);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* Badge / Eyebrow */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--brand-yellow-subtle);
  border: 1px solid var(--brand-yellow-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal-900);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-yellow);
  box-shadow: 0 0 0 2px rgba(255, 200, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.25;
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-yellow);
  color: var(--charcoal-950);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: var(--brand-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 200, 0, 0.28);
}

.btn-primary:active {
  background-color: var(--brand-yellow-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-base);
  color: var(--charcoal-800);
  border: 1.5px solid var(--border-default);
}

.btn-secondary:hover {
  background-color: var(--charcoal-50);
  border-color: var(--charcoal-400);
  color: var(--charcoal-950);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--charcoal-900);
  border: 1.5px solid var(--charcoal-800);
}

.btn-outline-dark:hover {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   NAVIGATION BAR (MODERN FLOATING FROSTED GLASS BAR)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 4px 20px -6px rgba(0, 0, 0, 0.04);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header .container {
  max-width: 1280px;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo-wrap img {
  height: 32px;
  width: auto;
  transition: transform var(--transition-fast);
}

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

.nav-center-menu {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: rgba(244, 246, 248, 0.9);
  border: 1px solid rgba(24, 24, 27, 0.06);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nav-links a {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal-600);
  transition: all 180ms ease;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--charcoal-950);
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-subtle);
  display: inline-block;
}

.nav-secondary-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal-600);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-secondary-link:hover {
  color: var(--charcoal-950);
  background-color: var(--charcoal-100);
}

.mobile-menu-btn {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--charcoal-800);
}

/* Mobile Navigation Drawer */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-base);
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
  z-index: 99;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal-800);
  padding-block: 8px;
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: radial-gradient(circle at 85% 15%, rgba(255, 200, 0, 0.12) 0%, transparent 45%),
              linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-content {
  align-self: start;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 3.8vw, 3.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal-950);
  margin-bottom: 1.25rem;
}

.hero-content h1 .highlight {
  position: relative;
  display: inline;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background-color: var(--brand-yellow);
  opacity: 0.65;
  z-index: -1;
  border-radius: 2px;
}

.hero-description {
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  color: var(--charcoal-600);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-talent-subtext {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.hero-talent-subtext span {
  white-space: nowrap;
}

.hero-talent-subtext a {
  font-weight: 600;
  color: var(--charcoal-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.hero-talent-subtext a:hover {
  color: var(--brand-yellow-active);
}

/* Hero Enterprise Trust & Social Proof Anchor (Replaces redundant tick checklist) */
.hero-trust-anchor {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.trust-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, z-index 180ms ease;
  cursor: default;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatar:hover {
  transform: translateY(-2px) scale(1.1);
  z-index: 10;
}

.trust-avatar--1 { background: #1E3A8A; } /* CreditMantri deep navy */
.trust-avatar--2 { background: #059669; } /* Avegen emerald */
.trust-avatar--3 { background: #7C3AED; } /* Kristal purple */
.trust-avatar--4 { background: #D97706; } /* Tata warm amber */
.trust-avatar--more {
  background: var(--charcoal-900);
  color: var(--brand-yellow);
  font-size: 0.65rem;
}

.trust-anchor-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-anchor-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.trust-stars {
  color: #F59E0B;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
}

.trust-rating-text {
  font-weight: 700;
  color: var(--charcoal-700);
}

.trust-anchor-headline {
  font-size: 0.875rem;
  color: var(--charcoal-700);
  line-height: 1.35;
}

.trust-anchor-headline strong {
  color: var(--charcoal-950);
}

.trust-client-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.trust-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--charcoal-600);
  background: rgba(24, 24, 27, 0.05);
  border: 1px solid rgba(24, 24, 27, 0.08);
  padding: 1px 7px;
  border-radius: 999px;
}

/* Interactive Flexifit Hero Card */
.hero-interactive-card {
  background-color: var(--bg-base);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-interactive-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, #F59E0B 100%);
  border-radius: 4px 4px 0 0;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-live-pill .pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
}

.match-profile-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.875rem;
}

.avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow) 0%, #D4A300 100%);
  color: var(--charcoal-950);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.profile-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.profile-meta p {
  font-size: 0.8125rem;
  color: var(--charcoal-500);
}

.score-badge {
  margin-left: auto;
  text-align: right;
}

.score-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-success);
}

.score-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--charcoal-500);
  font-weight: 600;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.875rem;
}

.chip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 8px;
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--charcoal-700);
}

.match-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-default);
}

.metric-item .val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.metric-item .lbl {
  font-size: 0.6875rem;
  color: var(--charcoal-500);
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 0.5rem;
}

.turnaround-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--charcoal-600);
  font-weight: 500;
}

.turnaround-guarantee strong {
  color: var(--charcoal-900);
}

/* ==========================================================================
   METRICS & PROOF BAR (APPROVED CLAIMS)
   ========================================================================== */
.proof-strip {
  background-color: var(--charcoal-950);
  color: #FFFFFF;
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.proof-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-inline: 1rem;
}

.proof-item:last-child {
  border-right: none;
}

.proof-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--brand-yellow);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.proof-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.proof-desc {
  font-size: 0.8125rem;
  color: var(--charcoal-400);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION HEADINGS COMMON
   ========================================================================== */
.section-pad {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal-950);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--charcoal-600);
  line-height: 1.6;
}

/* ==========================================================================
   PROBLEM VS SOLUTION ("FRICTION REMOVED")
   ========================================================================== */
.comparison-section {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.comparison-col {
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.comparison-col.highlight-col {
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 10px 30px -5px rgba(255, 200, 0, 0.18);
}

.comparison-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background-color: var(--brand-yellow);
  color: var(--charcoal-950);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.comparison-col h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal-900);
}

.comparison-col p.summary {
  font-size: 0.9375rem;
  color: var(--charcoal-600);
  margin-bottom: 1.5rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.badge-status {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-status--cross {
  background-color: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.badge-status--check {
  background-color: var(--fb-emerald-soft);
  color: var(--fb-emerald);
}

.icon-check {
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1;
}

.icon-cross {
  color: #DC2626;
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1;
}

/* ==========================================================================
   ALGORITHM & VETTING EXPLAINER ("EXPLAINING ≠ DECORATING")
   ========================================================================== */
.vetting-section {
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.algorithm-box {
  background-color: var(--charcoal-950);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.algorithm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.algorithm-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.algorithm-formula-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: #F3F4F6;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.algorithm-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  font-size: 0.875rem;
}

.algorithm-term {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand-yellow);
}

.algorithm-term strong {
  color: var(--brand-yellow);
  font-family: var(--font-mono);
}

.algorithm-term span {
  color: var(--charcoal-300);
  display: block;
  font-size: 0.8125rem;
  margin-top: 4px;
}

/* 4-Stage Vetting Pipeline */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.stage-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.stage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--charcoal-400);
}

.stage-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--charcoal-500);
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.stage-card h4 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.5rem;
}

.stage-card p {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.stage-metric {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-default);
}

.stage-metric svg {
  flex-shrink: 0;
  color: var(--color-success);
}

/* ==========================================================================
   POPULAR ROLES WE FULFILL (INTERACTIVE TABS)
   ========================================================================== */
.roles-section {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.roles-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Overflow defense */
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background-color: var(--bg-base);
  color: var(--charcoal-700);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background-color: var(--charcoal-100);
  color: var(--charcoal-950);
}

.tab-btn.is-active {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
  border-color: var(--charcoal-900);
  box-shadow: var(--shadow-sm);
}

.role-tab-pane {
  display: none;
}

.role-tab-pane.is-active {
  display: block;
}

.roles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.role-card:hover {
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}

.role-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.role-card-header h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-900);
}

.role-hours-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--brand-yellow-soft);
  color: var(--charcoal-900);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.role-desc {
  font-size: 0.9375rem;
  color: var(--charcoal-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  min-height: 3.8rem;
}

.role-skills-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--charcoal-500);
  margin-bottom: 0.5rem;
}

.role-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.role-skill-pill {
  font-size: 0.8125rem;
  padding: 3px 10px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--charcoal-700);
  font-weight: 500;
}

.role-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.role-experience {
  font-size: 0.8125rem;
  color: var(--charcoal-500);
}

.role-experience strong {
  color: var(--charcoal-800);
}

/* ==========================================================================
   INTERACTIVE COST & TIME SAVINGS CALCULATOR
   ========================================================================== */
.calc-section {
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.calc-container {
  background: linear-gradient(145deg, #18181B 0%, #222222 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.calc-controls h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.calc-controls p {
  color: var(--charcoal-300);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.calc-field {
  margin-bottom: 1.75rem;
}

.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.calc-value-display {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-yellow);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.9375rem;
  outline: none;
}

.calc-select option {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
}

/* Calculator Results Box */
.calc-results-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 200, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.calc-results-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-yellow);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calc-metric-row .metric-name {
  font-size: 0.9375rem;
  color: var(--charcoal-300);
}

.calc-metric-row .metric-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.metric-val.highlight-savings {
  color: var(--brand-yellow);
  font-size: 1.5rem;
}

.calc-footnote {
  font-size: 0.75rem;
  color: var(--charcoal-400);
  line-height: 1.4;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HOW IT WORKS (3-STEP OPERATIONAL FLOW & 48-HOUR SLA PIPELINE)
   ========================================================================== */
.how-it-works-section {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* 48-Hour SLA Motion Pipeline */
.sla-pipeline-module {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.98), rgba(18, 18, 20, 0.98));
  border: 1px solid rgba(255, 200, 0, 0.22);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.25rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

.sla-pipeline__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sla-pipeline__title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sla-pipeline__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--brand-yellow);
  background: rgba(255, 200, 0, 0.1);
  border: 1px solid rgba(255, 200, 0, 0.25);
  padding: 5px 12px;
  border-radius: 9999px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

.sla-pipeline__hint {
  font-size: 0.8125rem;
  color: var(--charcoal-400);
}

.sla-pipeline__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  padding-top: 1.25rem;
}

.sla-pipeline__progress-bg {
  position: absolute;
  top: 32px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
  border-radius: 2px;
}

.sla-pipeline__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-yellow), #059669);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.sla-pipeline__node {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.sla-pipeline__node:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.sla-node__indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sla-node__hour {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-yellow);
  background: rgba(255, 200, 0, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 200, 0, 0.25);
}

.sla-node__bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--charcoal-900);
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.sla-pipeline__node.is-active .sla-node__bullet {
  background: var(--brand-yellow);
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.8);
  transform: scale(1.25);
}

.sla-node__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sla-node__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #F4F4F5;
  transition: color 0.2s ease;
}

.sla-pipeline__node.is-active .sla-node__title {
  color: var(--brand-yellow);
}

.sla-node__meta {
  font-size: 0.75rem;
  color: var(--charcoal-400);
  line-height: 1.35;
}

.sla-pipeline__detail {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--brand-yellow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sla-detail__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.sla-detail__badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 200, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

.sla-detail__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.sla-detail__body {
  font-size: 0.875rem;
  color: var(--charcoal-300);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .sla-pipeline__track {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 0;
  }
  .sla-pipeline__progress-bg {
    display: none;
  }
  .sla-pipeline__node {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sla-pipeline__node.is-active {
    border-color: rgba(255, 200, 0, 0.4);
    background: rgba(255, 200, 0, 0.06);
  }
  .sla-pipeline__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 200, 0, 0.4);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.08);
}

@media (min-width: 1025px) {
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -1.25rem;
    width: 2.5rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow) 4px, transparent 4px, transparent 8px);
    z-index: 2;
  }
}

.step-badge {
  width: 48px;
  height: 48px;
  background-color: var(--brand-yellow);
  color: var(--charcoal-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(255, 200, 0, 0.3);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--charcoal-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.step-sla-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal-800);
  background-color: var(--bg-surface);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TESTIMONIALS & REAL SOCIAL PROOF
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

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

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 200, 0, 0.4);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.06);
}

.quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand-yellow);
  opacity: 0.85;
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--charcoal-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
  flex-grow: 1;
}

.quote-punchline {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal-950);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--charcoal-800);
  color: var(--brand-yellow);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--charcoal-900);
}

.author-role {
  font-size: 0.8125rem;
  color: var(--charcoal-500);
  line-height: 1.3;
}

/* Client Logo Cloud */
.clients-strip {
  padding-block: 2.5rem;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.clients-title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-500);
  margin-bottom: 1.5rem;
}

.clients-logos-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Overflow defense */
  gap: clamp(1.5rem, 4vw, 3rem);
}

.client-badge {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal-400);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.client-badge:hover {
  color: var(--charcoal-800);
}

/* ==========================================================================
   FOUNDER ORIGIN & MOVEMENT ("WORK ON YOUR OWN TERMS")
   ========================================================================== */
.origin-section {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.origin-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.origin-content h2 .accent-word {
  color: var(--brand-yellow);
}

.origin-content p {
  color: var(--charcoal-300);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.origin-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.origin-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.origin-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 200, 0, 0.12);
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(255, 200, 0, 0.2);
}

.origin-feature-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.origin-feature-text span {
  color: var(--charcoal-400);
  font-size: 0.875rem;
}

.origin-visual-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: left;
}

.origin-stat-banner {
  border-left: 3px solid var(--brand-yellow);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
}

.origin-stat-banner h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-yellow);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.origin-stat-banner p {
  font-size: 0.9375rem;
  color: var(--charcoal-300);
  margin: 0;
}

.quote-box {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #F3F4F6;
  margin-bottom: 1.5rem;
}

.founder-tagline {
  font-size: 0.8125rem;
  color: var(--charcoal-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--charcoal-400);
  background-color: var(--bg-base);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal-900);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: #000000;
}

.faq-question-btn:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: -2px;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--charcoal-500);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--charcoal-900);
}

.faq-answer-panel {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--charcoal-600);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer-panel {
  display: block;
}

/* ==========================================================================
   FINAL CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, #FBBF24 100%);
  color: var(--charcoal-950);
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}

.cta-banner-box {
  max-width: 760px;
  margin-inline: auto;
}

.cta-banner-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--charcoal-950);
}

.cta-banner-box p {
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  color: var(--charcoal-900);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--charcoal-950);
  color: #FFFFFF;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--charcoal-400);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-brand .founder-credit {
  font-size: 0.8125rem;
  color: var(--charcoal-500);
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--charcoal-400);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--charcoal-500);
}

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

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

/* ==========================================================================
   SHORTLIST REQUEST MODAL / DRAWER
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-card {
  background-color: var(--bg-base);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  color: var(--charcoal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--charcoal-200);
  color: var(--charcoal-900);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal-950);
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.9375rem;
  color: var(--charcoal-600);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-800);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--charcoal-900);
  outline: none;
  transition: border-color var(--transition-fast);
  background-color: var(--bg-base);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.25);
}

.form-guarantee-note {
  font-size: 0.8125rem;
  color: var(--charcoal-500);
  margin-top: 1rem;
  text-align: center;
}

.form-guarantee-note strong {
  color: var(--charcoal-800);
}

/* Toast Message */
.toast-success {
  display: none;
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TESTED AT 390px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-secondary-link {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-center-menu, .nav-links, .nav-actions .btn-sm, .nav-secondary-link, .nav-divider {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .origin-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-trust-anchor {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .proof-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-inline: 0.5rem;
    padding-bottom: 1rem;
  }

  .proof-item:last-child {
    grid-column: span 2;
    border-bottom: none;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-col {
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .roles-cards-grid {
    grid-template-columns: 1fr;
  }

  .roles-tabs-nav {
    gap: 0.35rem;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .role-card {
    padding: clamp(1.25rem, 4vw, 1.75rem);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .archetype-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .flexifit-card {
    padding: 1.15rem;
    min-height: auto;
  }

  .flexifit-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .flexifit-candidate-name {
    font-size: 1rem;
  }

  .flexifit-score-badge {
    padding: 0.35rem 0.55rem;
  }

  .flexifit-score-badge__value {
    font-size: 1.15rem;
  }

  .flexifit-radar-svg {
    max-width: 165px;
  }

  .waterfall-seg {
    font-size: 0.62rem;
  }

  .modal-drawer {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   FLEXIBEES CONVERSION & PURPOSEFUL MOTION ARCHITECTURE (v0.2)
   Software Design Belief System: "Every animation explains how the product works."
   ========================================================================== */

:root {
  --fb-yellow: #FFC800;
  --fb-yellow-hover: #E6B400;
  --fb-dark: #18181B;
  --fb-charcoal: #222222;
  --fb-surface: #F4F6F8;
  --fb-emerald: #059669;
  --fb-emerald-soft: rgba(5, 150, 105, 0.12);
  --fb-blue: #2563EB;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 1. HERO ARCHETYPE SWITCHER & LIVE RADAR CARD */
.hero-visual-wrapper {
  position: relative;
  z-index: 2;
  align-self: start;
}

.archetype-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.archetype-pill {
  appearance: none;
  border: 1px solid rgba(24, 24, 27, 0.14);
  background: #FFFFFF;
  color: var(--fb-charcoal);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms var(--ease-spring), background-color 180ms ease, border-color 180ms ease;
}

.archetype-pill:hover {
  border-color: var(--fb-dark);
  transform: translateY(-1px);
}

.archetype-pill.is-active {
  background: var(--fb-dark);
  color: var(--fb-yellow);
  border-color: var(--fb-dark);
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.16);
}

.flexifit-card {
  background: #FFFFFF;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(18, 18, 18, 0.09);
  transition: opacity 180ms ease;
  min-height: 480px;
}

.flexifit-card.is-morphing {
  opacity: 0.94;
}

.flexifit-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
  min-height: 72px;
}

.flexifit-avatar-group {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 0;
}

.flexifit-candidate-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--charcoal-950);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flexifit-candidate-role {
  font-size: 0.8125rem;
  color: var(--charcoal-600);
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flexifit-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--fb-dark);
  color: var(--fb-yellow);
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.flexifit-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fb-emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6);
  animation: pulseEmerald 2.2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.flexifit-verified-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fb-emerald);
}

.flexifit-score-badge {
  background: #FFFBEB;
  border: 1px solid var(--fb-yellow);
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
  text-align: right;
  flex-shrink: 0;
}

.flexifit-score-badge__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #52525B;
}

.flexifit-score-badge__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fb-dark);
}

/* Radar & Telemetry Grid */
.flexifit-telemetry-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
}

.flexifit-radar-svg {
  width: 100%;
  max-width: 210px;
  height: auto;
  overflow: visible;
}

.radar-grid-outer,
.radar-grid-mid,
.radar-grid-inner {
  fill: none;
  stroke: rgba(24, 24, 27, 0.12);
  stroke-width: 1;
}

.radar-grid-mid {
  stroke-dasharray: 3 3;
}

.radar-axis {
  stroke: rgba(24, 24, 27, 0.12);
  stroke-width: 1;
}

.radar-data-polygon {
  fill: rgba(255, 200, 0, 0.28);
  stroke: var(--fb-dark);
  stroke-width: 2.2;
  transition: all 420ms var(--ease-spring);
}

.radar-node {
  fill: var(--fb-emerald);
  stroke: #FFFFFF;
  stroke-width: 1.5;
  transition: all 420ms var(--ease-spring);
}

.radar-label {
  font-size: 8px;
  font-weight: 700;
  fill: #71717A;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.telemetry-row {
  margin-bottom: 0.65rem;
}

.telemetry-row__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.telemetry-bar {
  height: 6px;
  background: var(--fb-surface);
  border-radius: 999px;
  overflow: hidden;
}

.telemetry-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fb-yellow) 0%, var(--fb-emerald) 100%);
  border-radius: 999px;
  transition: width 420ms var(--ease-spring);
}

.flexifit-Highlight-pill {
  margin-top: 0.75rem;
  background: var(--fb-surface);
  border-left: 3px solid var(--fb-emerald);
  padding: 0.5rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fb-charcoal);
  border-radius: 0 6px 6px 0;
  min-height: 2.85rem;
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.flexifit-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
}

/* Unified SLA Guarantee Ribbon (Non-overshooting, compact guarantee bar) */
.hero-sla-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.85rem;
  background: rgba(24, 24, 27, 0.04);
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  text-align: center;
}

.hero-sla-ribbon .sla-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--charcoal-700);
  font-weight: 600;
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-sla-ribbon .sla-item svg {
  color: var(--fb-emerald);
  flex-shrink: 0;
}

.hero-sla-ribbon .sla-sep {
  color: var(--charcoal-400);
  font-size: 0.65rem;
}

/* 2. INTERACTIVE 100-TO-3 VETTING SIEVE */
.vetting-sieve-module {
  background: #FFFFFF;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 18px;
  padding: 2rem;
  margin-block: 2.5rem;
  box-shadow: 0 14px 32px rgba(18, 18, 18, 0.05);
}

.vetting-sieve__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.vetting-sieve__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--charcoal-950);
  margin-bottom: 0.4rem;
}

.vetting-sieve__subtitle {
  font-size: 0.925rem;
  color: var(--charcoal-600);
  max-width: 600px;
}

.vetting-sieve__live-counter {
  background: var(--fb-dark);
  color: #FFFFFF;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  min-width: 230px;
  text-align: right;
}

.sieve-counter__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #A1A1AA;
}

.sieve-counter__numbers strong {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--fb-yellow);
}

.sieve-counter__badge {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34D399;
}

.vetting-sieve__canvas {
  background: var(--fb-surface);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.sieve-svg {
  width: 100%;
  min-width: 650px;
  height: auto;
  display: block;
}

.sieve-streamline,
.sieve-streamline-center {
  animation: streamFlow 16s linear infinite;
}

@keyframes streamFlow {
  to { stroke-dashoffset: -240; }
}

.sieve-gate-line {
  stroke: rgba(24, 24, 27, 0.25);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  transition: stroke 250ms ease, stroke-width 250ms ease;
}

.sieve-gate-line.is-active {
  stroke: var(--fb-emerald);
  stroke-width: 3.5;
  stroke-dasharray: none;
}

.sieve-svg-label {
  font-size: 10px;
  font-weight: 700;
  fill: #52525B;
}

.sieve-svg-label--final {
  fill: var(--fb-emerald);
}

.sieve-stage-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sieve-stage-btn {
  text-align: left;
  background: var(--fb-surface);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: all 200ms var(--ease-spring);
}

.sieve-stage-btn:hover {
  border-color: rgba(24, 24, 27, 0.25);
}

.sieve-stage-btn.is-active {
  background: #FFFBEB;
  border-color: var(--fb-yellow);
  box-shadow: 0 6px 16px rgba(255, 200, 0, 0.18);
}

.sieve-stage-btn__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #71717A;
}

.sieve-stage-btn__name {
  display: block;
  font-size: 0.9rem;
  color: var(--fb-dark);
  margin: 0.2rem 0;
}

.sieve-stage-btn__stat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fb-emerald);
}

.sieve-diagnostic-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: var(--fb-dark);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
}

.sieve-diagnostic__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fb-yellow);
  margin-bottom: 0.35rem;
}

.sieve-diagnostic__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #E4E4E7;
  margin: 0;
}

/* 3. OPERATIONAL UTILIZATION WATERFALL */
.utilization-waterfall {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.waterfall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
}

.waterfall-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

.waterfall-tag {
  background: var(--fb-emerald-soft);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.waterfall-row {
  margin-bottom: 0.875rem;
}

.waterfall-row__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #E4E4E7;
  margin-bottom: 0.35rem;
}

.waterfall-track {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.waterfall-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transition: width 380ms var(--ease-spring);
}

.waterfall-seg--productive {
  background: #3F3F46;
  color: #FFFFFF;
}

.waterfall-seg--idle {
  background: repeating-linear-gradient(45deg, #4B5563, #4B5563 6px, #374151 6px, #374151 12px);
  color: #D1D5DB;
}

.waterfall-seg--overhead {
  background: #7F1D1D;
  color: #FCA5A5;
}

.waterfall-seg--flex-active {
  background: linear-gradient(90deg, var(--fb-yellow) 0%, #10B981 100%);
  color: var(--fb-dark);
}

.waterfall-footnote {
  font-size: 0.75rem;
  color: var(--charcoal-400);
  margin-top: 0.65rem;
  line-height: 1.45;
}

/* 4. STICKY CONTEXTUAL CONVERSION BAR */
.sticky-carry-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(24, 24, 27, 0.96);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 200, 0, 0.3);
  padding: 0.75rem 0;
  transform: translateY(110%);
  transition: transform 320ms var(--ease-spring);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-carry-bar.is-visible {
  transform: translateY(0);
}

.sticky-carry-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sticky-carry-bar__context {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.sticky-carry-bar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sticky-carry-bar__proof {
  font-size: 0.78rem;
  color: var(--fb-yellow);
  font-weight: 600;
}

/* 5. STATE-CARRY MODAL & PROGRESSIVE STEPS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 220ms ease;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-drawer {
  background-color: var(--bg-base);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  transform: translateY(0);
  transition: transform 260ms var(--ease-spring);
}

.modal-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.modal-step-indicator {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fb-emerald);
  margin-bottom: 0.35rem;
}

.modal-drawer__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal-950);
  margin-bottom: 1rem;
}

.carry-manifest-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFBEB;
  border: 1px solid var(--fb-yellow);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.carry-manifest__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #92400E;
}

.carry-manifest__summary {
  font-size: 0.9rem;
  color: var(--fb-dark);
}

.carry-manifest__tag {
  background: var(--fb-emerald-soft);
  color: var(--fb-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.pill-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.pill-radio-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.pill-radio {
  background: var(--fb-surface);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 160ms ease;
}

.pill-radio.is-selected {
  background: var(--fb-dark);
  color: var(--fb-yellow);
  border-color: var(--fb-dark);
}

.btn-block {
  width: 100%;
}

.modal-micro-guarantee {
  font-size: 0.78rem;
  color: var(--charcoal-500);
  text-align: center;
  margin-top: 0.75rem;
}

.modal-step[hidden] {
  display: none !important;
}

.sla-fulfillment-track {
  background: var(--fb-surface);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.sla-track__title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #52525B;
  margin-bottom: 0.6rem;
}

.sla-track__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.sla-node {
  border-left: 3px solid #D4D4D8;
  padding-left: 0.6rem;
}

.sla-node.is-complete {
  border-left-color: var(--fb-emerald);
}

.sla-node.is-active {
  border-left-color: var(--fb-yellow);
}

.sla-node__time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fb-emerald);
}

.sla-node__label {
  font-size: 0.78rem;
  color: var(--fb-dark);
}

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

.modal-step__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-step__footer--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-ghost {
  color: var(--charcoal-600);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 180ms ease;
}

.btn-ghost:hover {
  background: var(--charcoal-100);
  color: var(--charcoal-900);
}

.modal-success-box {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fb-emerald-soft);
  color: var(--fb-emerald);
  font-size: 2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.modal-success-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal-950);
  margin-bottom: 0.5rem;
}

.modal-success-box p {
  color: var(--charcoal-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.modal-success-next {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--charcoal-700);
  text-align: left;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--fb-emerald);
}

@media (max-width: 768px) {
  .flexifit-telemetry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  .flexifit-radar-box {
    display: flex;
    justify-content: center;
  }
  .flexifit-radar-svg {
    max-width: 190px;
  }
  .sieve-stage-controls {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .sieve-stage-btn {
    padding: 0.65rem 0.75rem;
  }
  .sieve-stage-btn__name {
    font-size: 0.82rem;
  }
  .sieve-stage-btn__stat {
    font-size: 0.7rem;
  }
  .sieve-diagnostic-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .pill-radio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pill-radio-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .sla-track__steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sticky-carry-bar__proof {
    display: none;
  }
  .sticky-carry-bar__context {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
