/* ============================================
   PALOGIX SCS — REDESIGN v3
   Premium industrial. Restrained. Intentional.
   ============================================ */

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

:root {
  --bg-deep: #0a1628;
  --bg-panel: #0f1d33;
  --bg-accent: #162744;
  --blue: #2d7ff9;
  --blue-muted: rgba(45, 127, 249, 0.08);
  --orange: #f5873e;
  --text-primary: #e8ecf1;
  --text-secondary: #8a95a5;
  --text-muted: #5a6577;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dot grid background — layered on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* --- FADE-UP --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- SECTION DIVIDER --- */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 1120px;
  margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.88; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   SECTION PRIMITIVES
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1.5px;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

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

.section--alt {
  background: rgba(255, 255, 255, 0.015);
}

/* Testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.testimonials-grid .testimonial-card {
  background: var(--bg-deep);
  padding: 36px 28px;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.testimonials-grid .testimonial-quote-mark {
  position: static;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.15;
}

.testimonials-grid .testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 20px;
}

.testimonials-grid .testimonial-attribution {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Single subtle glow — top right only, very dim */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 127, 249, 0.06) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 3s ease-in-out infinite;
}

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

.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline span { color: var(--blue); }

.hero-subtext {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons — flat, minimal */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Dashboard UI — hero right column */
.hero-dashboard {
  background: #0b1a30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Titlebar */
.dash-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dots span:first-child { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  flex: 1;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #4ade80;
  letter-spacing: 0.5px;
}
.dash-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 3s ease-in-out infinite;
}

/* Tabs */
.dash-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  background: rgba(255, 255, 255, 0.015);
}
.dash-tab {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  padding: 12px 20px;
  cursor: pointer;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.dash-tab--active {
  color: #fff;
  border-bottom-color: var(--blue);
  background: rgba(45, 127, 249, 0.08);
}
.dash-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.dash-tab:focus-visible {
  outline: 2px solid rgba(45, 127, 249, 0.5);
  outline-offset: -2px;
  background: rgba(45, 127, 249, 0.08);
}

/* Stats row */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.dash-stat {
  background: #0b1a30;
  padding: 24px 16px;
  text-align: center;
  transition: background 0.2s ease;
}
.dash-stat:hover {
  background: rgba(45, 127, 249, 0.05);
}
.dash-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.dash-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Interactive panels — fixed height prevents page jump on tab switch */
.dash-panels {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.dash-panel {
  background: #0b1a30;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

.dash-panel--active {
  opacity: 1;
  pointer-events: auto;
}

@keyframes dashPanelIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dash-panel-inner {
  padding: 20px 18px;
}

/* Tile row */
.dash-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.dash-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dash-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.dash-tile--accent {
  border-color: rgba(45, 127, 249, 0.2);
  background: rgba(45, 127, 249, 0.06);
}
.dash-tile--accent:hover {
  border-color: rgba(45, 127, 249, 0.35);
  background: rgba(45, 127, 249, 0.1);
}
.dash-tile--accent .dash-tile-value { color: var(--blue); }

.dash-tile--green {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.05);
}
.dash-tile--green:hover {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}
.dash-tile--green .dash-tile-value { color: #4ade80; }

.dash-tile-icon {
  color: var(--blue);
  opacity: 0.7;
  margin-bottom: 2px;
}

.dash-tile-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dash-tile-value {
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* Section labels */
.dash-section-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Chips */
.dash-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dash-chip {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #fff;
  background: rgba(45, 127, 249, 0.1);
  border: 1px solid rgba(45, 127, 249, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.15s ease;
}
.dash-chip:hover {
  background: rgba(45, 127, 249, 0.18);
}

.dash-chip--outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
.dash-chip--outline:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Flow / process steps */
.dash-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-left: 2px solid rgba(45, 127, 249, 0.15);
  font-size: 13px;
  color: var(--text-secondary);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dash-flow-step:hover {
  background: rgba(45, 127, 249, 0.04);
  border-left-color: var(--blue);
  color: var(--text-primary);
}

.dash-flow-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 127, 249, 0.12);
  color: var(--blue);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-flow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
  flex-shrink: 0;
}
.dash-flow-step:hover .dash-flow-dot {
  opacity: 1;
}

/* Footer */
.dash-footer {
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.3px;
  background: rgba(0, 0, 0, 0.15);
}
.dash-footer-sep {
  margin: 0 8px;
  opacity: 0.4;
}
.dash-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(45, 127, 249, 0.4);
  transition: color 0.15s ease;
}
.dash-footer a:hover {
  color: var(--text-primary);
  text-decoration-color: rgba(45, 127, 249, 0.8);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-deep);
  padding: 36px 28px;
  transition: background 0.3s ease;
  position: relative;
}
.service-card:hover {
  background: var(--bg-panel);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  opacity: 0.7;
}
.service-icon svg { flex-shrink: 0; }

.service-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}
.service-link:hover { color: var(--blue); }

/* ============================================
   INDUSTRIES
   ============================================ */
.industries {
  background: transparent;
  padding-top: 0;
  padding-bottom: 120px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-card {
  background: var(--bg-deep);
  padding: 32px 16px;
  text-align: center;
  transition: background 0.3s ease;
}
.industry-card:hover { background: var(--bg-panel); }

.industry-icon {
  margin-bottom: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.industry-icon svg { flex-shrink: 0; }

.industry-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

/* ============================================
   WHY PALOGIX
   ============================================ */
.why-palogix {
  background: var(--bg-panel);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-number {
  flex-shrink: 0;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 2px;
}

.why-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.why-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   BENCHMARK
   ============================================ */
.benchmark {
  background: transparent;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.benchmark-card {
  background: var(--bg-deep);
  padding: 36px 28px;
  transition: background 0.3s ease;
}
.benchmark-card:hover { background: var(--bg-panel); }

.benchmark-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  opacity: 0.6;
}
.benchmark-icon svg { flex-shrink: 0; }

.benchmark-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.benchmark-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.benchmark-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.benchmark-tag svg { flex-shrink: 0; color: var(--blue); }

.benchmark-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.benchmark-footnote svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-muted);
}
.benchmark-footnote a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(90, 101, 119, 0.3);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.benchmark-footnote a:hover { color: var(--text-secondary); }

.source-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(90, 101, 119, 0.3);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.source-link:hover { color: var(--text-secondary); }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--bg-panel);
  padding: 100px 0;
}

.testimonial-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--text-muted);
  opacity: 0.25;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.testimonial-role {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   REFERRAL
   ============================================ */
.referral-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
}

.referral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.referral-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.referral-highlight {
  background: rgba(245, 135, 62, 0.04);
  border: 1px solid rgba(245, 135, 62, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.referral-percent {
  font-family: 'Space Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -2px;
  flex-shrink: 0;
}

.referral-highlight-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.referral-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.referral-benefit:last-child { border-bottom: none; }

.referral-arrow {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 2px;
}

.referral-benefit strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.referral-benefit p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  background: var(--bg-panel);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card {
  background: var(--bg-panel);
  padding: 48px 28px;
  text-align: center;
  transition: background 0.3s ease;
}
.team-card:hover { background: var(--bg-accent); }

.team-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-email {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.team-email:hover { color: var(--blue); }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(45, 127, 249, 0.4);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a6577' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-panel);
  color: var(--text-primary);
}

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

.btn-submit {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}
.contact-detail-icon svg { flex-shrink: 0; }

.contact-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.contact-detail a:hover { color: var(--blue); }

.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.contact-mc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
}
.contact-mc-badge svg {
  flex-shrink: 0;
  color: var(--text-muted);
}
.contact-mc-badge--link {
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-mc-badge--link:hover {
  border-color: var(--border-hover);
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

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

.footer-left {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.footer-right a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-right a:hover { color: var(--text-secondary); }
.footer-divider {
  color: var(--text-muted);
  opacity: 0.3;
}

/* ============================================
   FLOATING SIDE NAV
   ============================================ */
.side-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.side-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  position: relative;
  display: block;
  text-decoration: none;
}

.side-nav-dot:hover,
.side-nav-dot--active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(45, 127, 249, 0.4);
}

.side-nav-dot span {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--text-primary);
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.side-nav-dot:hover span {
  opacity: 1;
}

/* ============================================
   MOBILE / TOUCH FOUNDATIONS
   ============================================ */

/* Prevent pull-to-refresh interference */
body {
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

/* Touch targets — minimum 44px hit area for all interactive elements */
a, button, .btn, .nav-cta, .service-link, .dash-tab, .dash-chip, .team-email,
.contact-mc-badge--link, .nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Remove tap highlight on iOS/Android */
a, button, input, select, textarea, .btn, .dash-tab, .dash-chip,
.service-card, .industry-card, .benchmark-card, .team-card {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent double-tap zoom on buttons */
button, .btn, .nav-cta, .nav-hamburger, .dash-tab {
  touch-action: manipulation;
}

/* Prevent iOS zoom on input focus — all inputs must be 16px+ */
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 16px;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .service-card:hover,
  .industry-card:hover,
  .benchmark-card:hover,
  .team-card:hover {
    background: var(--bg-deep);
  }
}

/* Safe area inset handling for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .navbar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .container {
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
  }
}

/* ============================================
   TRACKING BAR
   ============================================ */
.track-bar {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-bar-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.track-bar-form {
  display: flex;
  gap: 8px;
}

.track-input {
  flex: 1;
  max-width: 280px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  transition: border-color 0.2s ease;
}
.track-input:focus {
  outline: none;
  border-color: var(--blue);
}
.track-input::placeholder {
  color: var(--text-muted);
}

.btn-track {
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

/* ============================================
   QUOTE CALCULATOR
   ============================================ */
.quote-calc-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 700px;
}

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

.btn-quote {
  width: 100%;
  justify-content: center;
}

.quote-result {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-result-range {
  text-align: center;
  margin-bottom: 24px;
}

.quote-result-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quote-result-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.quote-low, .quote-high {
  font-family: 'Space Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.quote-high {
  color: var(--blue);
}

.quote-sep {
  color: var(--text-muted);
  font-size: 24px;
}

.quote-result-note {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

.quote-result-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   SAVINGS CALCULATOR
   ============================================ */
.savings-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 800px;
}

.savings-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.savings-input-group label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.savings-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.savings-prefix {
  position: absolute;
  left: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}
.savings-prefix + input {
  padding-left: 28px;
}

.savings-suffix {
  position: absolute;
  right: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.savings-input-group input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.savings-input-group input:focus {
  outline: none;
  border-color: var(--blue);
}

.savings-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.savings-result-item {
  background: rgba(45, 127, 249, 0.06);
  border: 1px solid rgba(45, 127, 249, 0.15);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
}

.savings-result-item--green {
  background: rgba(74, 222, 128, 0.05);
  border-color: rgba(74, 222, 128, 0.15);
}

.savings-result-value {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.savings-result-item--green .savings-result-value {
  color: #4ade80;
}

.savings-result-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.savings-result-label span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   LIVE OPS TICKER
   ============================================ */
.ops-ticker {
  background: rgba(45, 127, 249, 0.06);
  border-top: 1px solid rgba(45, 127, 249, 0.1);
  border-bottom: 1px solid rgba(45, 127, 249, 0.1);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ops-ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 40px;
  min-width: max-content;
}

.ops-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  white-space: nowrap;
  font-weight: 700;
}

.ops-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 3s ease-in-out infinite;
}

.ops-ticker-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ops-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.ops-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ops-stat-value small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.ops-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.ops-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.ops-ticker-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4ade80;
  white-space: nowrap;
  margin-left: auto;
}

/* ============================================
   ONBOARDING TIMELINE
   ============================================ */
.timeline {
  max-width: 640px;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(45, 127, 249, 0.15);
}

.timeline-step {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }

.timeline-marker {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  justify-content: center;
}

.timeline-day {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(45, 127, 249, 0.1);
  border: 1px solid rgba(45, 127, 249, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.timeline-content {
  padding-top: 4px;
}

.timeline-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   EVALUATION CHECKLIST
   ============================================ */
.checklist-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 700px;
}

.checklist-grid {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}
.checklist-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.checklist-item input[type="checkbox"] {
  display: none;
}

.checklist-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s ease;
}

.checklist-item input:checked + .checklist-check {
  background: var(--blue);
  border-color: var(--blue);
}
.checklist-item input:checked + .checklist-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checklist-text {
  font-size: 14px;
  color: var(--text-primary);
  flex: 1;
}

.checklist-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.checklist-tag--yes {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.checklist-footer {
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.checklist-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.checklist-score-num {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}
.checklist-score-label {
  font-size: 13px;
  color: var(--text-muted);
}

.checklist-actions {
  display: flex;
  gap: 10px;
}

/* ============================================
   LANE INTELLIGENCE
   ============================================ */
.lane-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 700px;
}

.lane-input-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.lane-arrow {
  font-size: 20px;
  color: var(--text-muted);
  padding-bottom: 12px;
}

.btn-lane {
  white-space: nowrap;
  margin-bottom: 1px;
}

.lane-results {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lane-route {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 20px;
  text-align: center;
}

.lane-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.lane-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}

.lane-metric-value {
  font-family: 'Space Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.lane-metric-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.lane-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   RESPONSIVE — TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .referral-card { padding: 48px 36px; }
  .referral-grid { gap: 48px; }
  .contact-grid { gap: 48px; }

  /* Dashboard */
  .dash-stat-value { font-size: 24px; }
  .dash-tab { padding: 10px 14px; font-size: 10px; }
}

/* ============================================
   RESPONSIVE — MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .section-headline { font-size: clamp(22px, 6vw, 30px); }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links a { font-size: 15px; padding: 8px 0; }

  /* Hero */
  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-headline { font-size: clamp(30px, 8vw, 42px); }
  .hero-subtext { font-size: 15px; max-width: 100%; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Grids → 1 col */
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .referral-grid { grid-template-columns: 1fr; gap: 28px; }
  .referral-card { padding: 28px 20px; }
  .referral-highlight { flex-direction: column; text-align: center; gap: 10px; }

  .btn-submit { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .benchmark-footnote {
    font-size: 10px;
    flex-direction: column;
    gap: 4px;
  }

  /* Side nav — hide on mobile */
  .side-nav { display: none; }

  /* Dashboard — mobile */
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-stat { padding: 16px 12px; }
  .dash-stat-value { font-size: 22px; }
  .dash-stat-label { font-size: 8px; letter-spacing: 1.5px; }
  .dash-row { grid-template-columns: 1fr; }
  .dash-panel-inner { padding: 16px 14px; }
  .dash-tile { padding: 14px; }
  .dash-tile-value { font-size: 13px; }
  .dash-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dash-tabs::-webkit-scrollbar { display: none; }
  .dash-tab { white-space: nowrap; flex-shrink: 0; min-height: 44px; }
  .dash-title { font-size: 10px; }
  .dash-footer { font-size: 9px; flex-wrap: wrap; }
  .dash-chip-row { gap: 6px; }
  .dash-chip { font-size: 9px; padding: 5px 10px; }
  .dash-flow-step { padding: 8px 12px; font-size: 12px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }

  .quote-form-grid { grid-template-columns: 1fr; }
  .quote-calc-card { padding: 24px 18px; }
  .quote-result-values { flex-direction: column; gap: 4px; }
  .quote-low, .quote-high { font-size: 28px; }
  .savings-inputs { grid-template-columns: 1fr; }
  .savings-results { grid-template-columns: 1fr; }
  .savings-card { padding: 24px 18px; }
  .savings-result-value { font-size: 22px; }
  .track-bar-form { flex-direction: column; }
  .track-input { max-width: 100%; }
  .quote-result-cta { flex-direction: column; }

  .ops-ticker-inner { padding: 12px 20px; gap: 16px; }
  .ops-stat-value { font-size: 14px; }
  .ops-ticker-badge { display: none; }
  .timeline::before { left: 25px; }
  .timeline-marker { width: 52px; }
  .timeline-day { font-size: 10px; padding: 5px 10px; }
  .checklist-tag { display: none; }
  .checklist-card { border-radius: var(--radius); }
  .lane-input-row { flex-direction: column; align-items: stretch; }
  .lane-arrow { text-align: center; padding: 0; }
  .lane-metrics { grid-template-columns: repeat(2, 1fr); }
  .lane-card { padding: 24px 18px; }
  .lane-cta { flex-direction: column; }

}

/* ============================================
   RESPONSIVE — SMALL PHONE (480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 100px 0 48px; }
  .hero-headline { font-size: 28px; letter-spacing: -1.5px; }
  .hero-badge { font-size: 10px; padding: 5px 10px; }

  .dash-stat-value { font-size: 20px; }
  .dash-stat { padding: 12px 10px; }
  .dash-stat-label { font-size: 7px; }
  .dash-tile { padding: 12px; }
  .dash-tile-value { font-size: 12px; }
  .dash-tile-label { font-size: 8px; }
  .dash-flow-step { font-size: 11px; padding: 7px 10px; }
  .dash-chip { font-size: 8px; padding: 4px 8px; }
  .dash-chip-row { gap: 5px; }
  .dash-mini-grid,
  .dash-mini-grid--compact { grid-template-columns: 1fr; }
  .dash-card-title { font-size: 15px; }

  .industries-grid { gap: 1px; }
  .industry-card { padding: 24px 10px; }
  .industry-name { font-size: 11px; }

  .why-item { flex-direction: column; gap: 8px; }
  .testimonial-text { font-size: 16px; }

  .team-avatar { width: 56px; height: 56px; font-size: 16px; }
  .referral-percent { font-size: 36px; }

  .nav-logo-img { height: 26px; }
}

/* ============================================
   RESPONSIVE — VERY SMALL (375px)
   ============================================ */
@media (max-width: 375px) {
  .hero-headline { font-size: 26px; }
  .hero-subtext { font-size: 14px; }
  .dash-stat-value { font-size: 18px; }
  .dash-stat { padding: 10px 8px; }
  .dash-tile { padding: 10px; }
  .dash-tile-value { font-size: 11px; }
  .dash-flow-step { font-size: 10px; padding: 6px 8px; gap: 8px; }
  .dash-flow-num { width: 18px; height: 18px; font-size: 9px; }
  .dash-chip { font-size: 7px; padding: 3px 6px; }
  .nav-logo-img { height: 24px; }
  .section-headline { font-size: 20px; }
}
