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

:root {
  --teal: #04989d;
  --teal-light: #05b0b5;
  --teal-pale: #E8F5F1;
  --teal-mid: rgba(4, 152, 157, 0.12);
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-60: rgba(26, 26, 26, 0.6);
  --ink-30: rgba(26, 26, 26, 0.3);
  --ink-10: rgba(26, 26, 26, 0.06);
  --red-fade: rgba(220, 38, 38, 0.06);
  --blue-accent: #1A6B8A;
  --gold: #F59E0B;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.serif {
  font-family: var(--font-serif);
}

.mono {
  font-family: var(--font-mono);
}

/* ─── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 2px;
}

/* ─── ECG DIVIDER ────────────────────────────────────────────────── */
.ecg-divider {
  width: 100%;
  height: 24px;
  overflow: hidden;
  margin: 0;
  opacity: 0.18;
}

.ecg-divider svg {
  width: 100%;
  height: 24px;
}

.ecg-divider polyline {
  fill: none;
  stroke: #04989d;
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: ecg-draw 4s ease-in-out infinite;
}

@keyframes ecg-draw {
  0% {
    stroke-dashoffset: 2500;
  }

  35% {
    stroke-dashoffset: 0;
  }

  85% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 2500;
  }
}

/* ─── NAVIGATION ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-10);
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-svg {
  height: 24px;
  width: auto;
  color: var(--ink);
  --logo-mask: var(--white);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-radius: 4px;
  transition: all 0.22s ease;
  overflow: hidden;
  position: relative;
}

.nav-links li a:hover {
  color: var(--teal);
  background: var(--teal-pale);
}

.nav-link.active {
  color: var(--teal);
  background: var(--teal-pale);
}

.nav-link.active::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ink-10);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-mono);
  background: var(--white);
  transition: all 0.2s;
}

.lang-selector:hover {
  border-color: var(--teal);
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.lang-selector-caret {
  color: var(--ink-30);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding: 100px 48px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-ambient-globe-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-globe {
  width: 100%;
  height: 100%;
  max-width: none;
}

@media (max-width: 900px) {
  .hero-ambient-globe-wrap {
    width: 700px;
    height: 700px;
  }
}

.global-bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(4, 152, 157, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4, 152, 157, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-heartbeat-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 240px;
  opacity: 0.25;
  pointer-events: none;
}

.heartbeat-bg {
  stroke: rgba(4, 152, 157, 0.02);
  stroke-width: 1px;
}

.heartbeat-pulse {
  stroke: var(--teal);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 100;
  animation: heartbeat-sweep 8s linear infinite;
  filter: drop-shadow(0 0 2px rgba(4, 152, 157, 0.2));
}

@keyframes heartbeat-sweep {
  0% {
    stroke-dashoffset: 124;
  }

  100% {
    stroke-dashoffset: 12;
  }
}


.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}

h1.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

h1.hero-title em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-60);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.hero-stat-item {
  border-left: 2px solid var(--teal);
  padding-left: 12px;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-green 1.5s ease-in-out infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: 2px;
}

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

.btn-primary {
  background: var(--teal);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #0d7a62;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(4, 152, 157, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-30);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ─── EARTH GLOBE ────────────────────────────────────────────────── */
.globe-canvas {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-scene {
  position: relative;
  width: 540px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cobe-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cobe-globe {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  cursor: grab;
  background: radial-gradient(circle, #f0f7f5 0%, #ffffff 70%);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.04),
    0 0 100px rgba(4, 152, 157, 0.06),
    inset 0 0 40px rgba(4, 152, 157, 0.03);
  transition: box-shadow 0.6s ease;
}

#cobe-globe:hover {
  box-shadow:
    0 14px 50px rgba(0, 0, 0, 0.06),
    0 0 120px rgba(4, 152, 157, 0.12),
    inset 0 0 40px rgba(4, 152, 157, 0.05);
}

/* ─── SVG Plane Overlay & Shadow ─────────────────────────────────── */
.cobe-plane-overlay {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 25;
  color: var(--teal);
  filter: drop-shadow(0 2px 5px rgba(4, 152, 157, 0.35));
  transform-origin: center;
  width: 28px;
  height: 28px;
  transition: opacity 0.3s ease;
  display: none;
  align-items: center;
  justify-content: center;
}

.cobe-plane-shadow {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 24;
  color: rgba(26, 26, 26, 0.16);
  filter: blur(2px);
  transform-origin: center;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  display: none;
  align-items: center;
  justify-content: center;
}

/* ─── Glassmorphic Info Cards ────────────────────────────────────── */
.cobe-london-card {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(4, 152, 157, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  z-index: 30;
  letter-spacing: 0.05em;
  animation: cobe-card-fade-static 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cobe-arrival-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(4, 152, 157, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--ink);
  z-index: 30;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  width: 200px;
}

.cobe-arrival-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cac-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11px;
}

.cac-flag {
  font-size: 13px;
}

.cac-title {
  letter-spacing: 0.05em;
}

.cac-badge {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
  letter-spacing: 0.05em;
}

.cac-row {
  font-size: 10px;
  color: var(--ink-60);
}

.cac-tagline {
  font-size: 9px;
  color: var(--teal);
  border-top: 1px solid var(--ink-10);
  padding-top: 6px;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── Flight Badge ────────────────────────────────────────────────── */
.cobe-flight-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(4, 152, 157, 0.15);
  z-index: 30;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: cobe-card-fade-badge 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.cobe-flight-badge .live-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

@keyframes cobe-card-fade-static {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cobe-card-fade-badge {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(18, 168, 130, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(18, 168, 130, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(18, 168, 130, 0);
  }
}


/* Trust Badges in hero */

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-check-icon {
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  padding: 3px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-check-icon polyline {
  stroke-width: 4.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-divider {
  color: var(--ink-10);
  font-size: 12px;
  font-weight: 300;
  user-select: none;
}

/* City Ticker in hero */

.city-ticker-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  padding: 14px 0;
  margin-top: 16px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Linear gradients on edges to fade text out at the bounds */
.city-ticker-wrap::before,
.city-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45px;
  z-index: 2;
  pointer-events: none;
}

.city-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.city-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.city-ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 0;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}

/* Pause scroll on hover for interactivity */
.city-ticker-wrap:hover .city-ticker-track {
  animation-play-state: paused;
}

.city-ticker-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.city-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  /* High contrast readable color on white */
  transition: color 0.25s ease;
}

.city-ticker-item:hover .city-name {
  color: var(--teal);
}

.city-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  /* Theme teal dot */
  border-radius: 50%;
  margin: 0 24px;
  /* Generous spacing */
  display: inline-block;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ─── SECTION SHARED ─────────────────────────────────────────────── */
section {
  padding: 100px 48px;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--teal);
}

h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h2.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ─── LANG BAR ───────────────────────────────────────────────────── */
.lang-bar {
  background: var(--teal-pale);
  border-bottom: 1px solid rgba(4, 152, 157, 0.12);
  padding: 0 48px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.lang-bar-offset {
  margin-top: 64px;
}

.lang-bar-item {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: var(--ink-60);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-btn.active {
  background: var(--teal);
  color: white;
}

.lang-btn:hover:not(.active) {
  background: rgba(4, 152, 157, 0.1);
  color: var(--teal);
}

.lang-divider {
  width: 1px;
  height: 16px;
  background: var(--ink-10);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ─── PATIENT SECTION ────────────────────────────────────────────── */
#patient {
  background: transparent;
}

.journey-interactive {
  display: flex;
  gap: 6px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.journey-node-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
  background: white;
  position: relative;
}

.journey-node.done .journey-node-circle {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.journey-node.active .journey-node-circle {
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(4, 152, 157, 0.1);
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(4, 152, 157, 0.1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(4, 152, 157, 0.05);
  }
}

.journey-node-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: center;
}

.journey-node.done .journey-node-label {
  color: var(--teal);
}

.journey-node.active .journey-node-label {
  color: var(--ink);
  font-weight: 600;
}

.journey-connector {
  width: 32px;
  height: 2px;
  background: var(--ink-10);
  margin-top: 22px;
  flex-shrink: 0;
}

.journey-connector.done {
  background: var(--teal);
}

/* Patient case card */
.patient-case-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-top: 3px solid var(--teal);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 400px;
}

.patient-case-card-wide {
  max-width: 100%;
}

.patient-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.patient-case-card:hover .card-scan-line {
  animation: scan 0.8s ease;
}

.card-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--teal);
  top: 50%;
  opacity: 0;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0.6;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Cursor spotlight */
.patient-case-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 152, 157, 0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translate(-50%, -50%);
}

.patient-case-card:hover::after {
  opacity: 1;
}

.case-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-status-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.case-status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}

.case-patient-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.case-detail-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.case-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 5px;
}

.case-route {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
  background: var(--ink-10);
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-route-arrow {
  color: var(--teal);
  font-size: 16px;
}

.case-progress-bar {
  height: 3px;
  background: var(--ink-10);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}

.case-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--teal), #05b0b5);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.case-progress-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-60);
  letter-spacing: 0.08em;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card:hover {
  border-color: rgba(4, 152, 157, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.feature-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid rgba(4, 152, 157, 0.25);
  border-radius: 20px;
}

/* Quote card */
.quote-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.quote-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.quote-hospital-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.quote-country {
  font-size: 10px;
  color: var(--ink-60);
  margin-bottom: 10px;
}

.quote-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.quote-price span {
  font-size: 12px;
  color: var(--ink-60);
}

.quote-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.quote-badge {
  font-size: 9px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--teal-pale);
  color: var(--teal);
}

.timer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}

.timer-badge .timer-label {
  font-size: 11px;
  color: var(--ink-60);
  font-weight: 400;
}

/* ─── FACILITATOR SECTION ────────────────────────────────────────── */
#facilitator {
  background: transparent;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

.before-col {
  background: var(--red-fade);
  border: 1px solid rgba(220, 38, 38, 0.12);
  padding: 32px;
}

.after-col {
  background: rgba(4, 152, 157, 0.04);
  border: 1px solid rgba(4, 152, 157, 0.15);
  padding: 32px;
}

.ba-header {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid;
}

.before-col .ba-header {
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.2);
}

.after-col .ba-header {
  color: var(--teal);
  border-color: rgba(4, 152, 157, 0.2);
}

.ba-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.ba-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.before-col .ba-item {
  color: rgba(26, 26, 26, 0.7);
}

.after-col .ba-item {
  color: var(--ink);
}

/* Dashboard mockup */
.dashboard-mockup {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.dashboard-topbar {
  background: var(--ink);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-dots {
  display: flex;
  gap: 5px;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.db-dot-r {
  background: #EF4444;
}

.db-dot-y {
  background: #EAB308;
}

.db-dot-g {
  background: #22C55E;
}

.db-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
  letter-spacing: 0.06em;
}

.dashboard-body {
  padding: 20px;
}

.db-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.db-metric {
  background: var(--ink-10);
  border-radius: 8px;
  padding: 12px;
}

.db-metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.db-metric-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.db-metric-value.teal {
  color: var(--teal);
}

.db-cases-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-case-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.db-case-id {
  color: var(--teal);
  font-weight: 600;
  width: 100px;
  flex-shrink: 0;
}

.db-case-route {
  color: var(--ink);
  flex: 1;
}

.db-case-procedure {
  color: var(--ink-60);
  flex: 1;
  font-size: 10px;
}

.db-status-chip {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.chip-green {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.chip-amber {
  background: rgba(234, 179, 8, 0.1);
  color: #92400E;
}

.chip-blue {
  background: rgba(26, 107, 138, 0.1);
  color: var(--blue-accent);
}

.chip-teal {
  background: rgba(4, 152, 157, 0.1);
  color: var(--teal);
}

.db-commission {
  color: var(--teal);
  font-weight: 600;
  width: 70px;
  text-align: right;
  flex-shrink: 0;
}

/* Commission live bar */
.commission-track {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-top: 3px solid var(--blue-accent);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

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

.commission-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.commission-total {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
}

.comm-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.comm-bar-label {
  width: 100px;
  color: var(--ink-60);
  flex-shrink: 0;
}

.comm-bar-track {
  flex: 1;
  height: 6px;
  background: var(--ink-10);
  border-radius: 3px;
  overflow: hidden;
}

.comm-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--teal), #05b0b5);
  border-radius: 3px;
  transition: width 1s ease;
}

.comm-bar-val {
  width: 50px;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

/* Quote generation demo */
.quote-gen-demo {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
}

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

.qg-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qg-timer {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  animation: timer-tick 1s steps(1) infinite;
}

@keyframes timer-tick {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

.qg-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.qg-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--ink-10);
  color: var(--ink);
  border: 1px solid transparent;
}

.qg-chip.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-pale);
}

.qg-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

/* ─── HOSPITAL SECTION ───────────────────────────────────────────── */
#hospital {
  background: transparent;
}

.ipd-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-10);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
}

.ipd-stat-cell {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.ipd-stat-cell:hover {
  background: var(--teal-pale);
}

.ipd-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.ipd-stat-num .teal {
  color: var(--teal);
}

.ipd-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.ipd-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.ipd-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-top: 3px solid #1A6B8A;
  border-radius: 10px;
  padding: 20px;
}

.ipd-card-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-10);
}

.pipeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.pipeline-label {
  width: 90px;
  color: var(--ink-60);
  flex-shrink: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pipeline-bar {
  flex: 1;
  height: 8px;
  background: var(--ink-10);
  border-radius: 4px;
  overflow: hidden;
}

.pipeline-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-teal {
  background: var(--teal);
}

.fill-blue {
  background: #1A6B8A;
}

.fill-amber {
  background: var(--gold);
}

.fill-green {
  background: #22C55E;
}

.pipeline-count {
  width: 30px;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}

.facilitator-partner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--ink-10);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.partner-flag {
  font-size: 16px;
  flex-shrink: 0;
}

.partner-name {
  flex: 1;
  color: var(--ink);
  font-weight: 500;
}

.partner-cases {
  color: var(--ink-60);
  font-size: 10px;
}

.partner-revenue {
  color: var(--teal);
  font-weight: 600;
}

.compliance-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.comp-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
  transition: all 0.2s;
}

.comp-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.comp-badge-icon {
  font-size: 16px;
}

/* ─── CLOSING MANIFESTO ──────────────────────────────────────────── */
#manifesto {
  background: var(--teal);
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: white;
  line-height: 1.3;
  max-width: 860px;
  margin: 0 auto 48px;
  letter-spacing: -0.01em;
}

.manifesto-sub {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto 48px;
  font-style: italic;
}

.manifesto-contact {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

.manifesto-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 40px auto;
}

/* ─── JOURNEY BOTTOM — sleek modern redesign ───────────────────── */
#journey-bottom {
  background: #090e14;
  padding: 100px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow blobs */
.jb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.18;
}

.jb-blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #04989d 0%, transparent 70%);
  top: -100px;
  left: -120px;
}

.jb-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #04989d 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.jb-header {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 72px;
}

/* ── Timeline grid ── */
.journey-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 2;
}

/* Solid glowing connector line */
.journey-timeline-line {
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(4, 152, 157, 0.25) 8%,
      rgba(4, 152, 157, 0.55) 50%,
      rgba(4, 152, 157, 0.25) 92%,
      transparent 100%);
  z-index: 0;
}

.journey-timeline.revealed .journey-timeline-line {
  animation: journey-line-shimmer 3s ease-in-out infinite;
}

@keyframes journey-line-shimmer {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* Beacon arrow — sleek glowing dot-pulse */
.journey-timeline-arrow {
  position: absolute;
  top: 20px;
  left: 6%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #04989d;
  box-shadow: 0 0 0 3px rgba(4, 152, 157, 0.25), 0 0 12px rgba(4, 152, 157, 0.8);
  opacity: 0;
  z-index: 1;
  transform: translateX(-50%);
}

.journey-timeline.revealed .journey-timeline-arrow {
  animation: journey-beacon-travel 10s linear infinite;
}

@keyframes journey-beacon-travel {
  0% {
    left: 6%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    left: 94%;
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .journey-timeline-arrow {
    display: none;
  }
}

/* ── Stage items ── */
.journey-stage-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--i) * 0.08s);
  padding: 0 4px;
}

.journey-timeline.revealed .journey-stage-item {
  opacity: 1;
  transform: translateY(0);
}

/* Node: icon circle + connector dot */
.journey-stage-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

/* Icon circle */
.journey-stage-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(4, 152, 157, 0.1);
  border: 1px solid rgba(4, 152, 157, 0.22);
  color: #04989d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(0.75) translateY(8px);
  opacity: 0;
}

.journey-timeline.revealed .journey-stage-icon {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: calc(var(--i) * 0.08s + 0.15s);
}

.journey-stage-icon svg {
  width: 20px;
  height: 20px;
}

/* Connector dot sitting on the line */
.journey-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(4, 152, 157, 0.35);
  border: 1px solid rgba(4, 152, 157, 0.5);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

/* ── Stage cards ── */
.journey-stage-card {
  padding: 10px 6px 0;
  transition: opacity 0.3s ease;
}

.journey-stage-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(4, 152, 157, 0.5);
  margin-bottom: 5px;
}

.journey-stage-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.journey-stage-desc {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Arrow-touch effect ── */
.journey-stage-item.arrow-touch .journey-stage-icon {
  background: rgba(4, 152, 157, 0.18);
  border-color: rgba(4, 152, 157, 0.65);
  box-shadow: 0 0 20px rgba(4, 152, 157, 0.35);
  transform: scale(1.08) translateY(0);
  color: #05b0b5;
}

.journey-stage-item.arrow-touch .journey-node-dot {
  background: #04989d;
  box-shadow: 0 0 0 4px rgba(4, 152, 157, 0.2), 0 0 10px rgba(4, 152, 157, 0.6);
  transform: scale(1.3);
}

.journey-stage-item.arrow-touch .journey-stage-title {
  color: #05b0b5;
}

.journey-stage-item.arrow-touch .journey-stage-num {
  color: rgba(4, 152, 157, 0.9);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .journey-timeline {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 48px;
    column-gap: 8px;
  }

  .journey-timeline-line {
    display: none;
  }

  .journey-node-dot {
    display: none;
  }
}

@media (max-width: 600px) {
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  #journey-bottom {
    padding: 72px 24px 60px;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #0F0F0F;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
}

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

.footer-logo-svg {
  height: 24px;
  width: auto;
  color: var(--white);
  --logo-mask: #0F0F0F;
  display: block;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: white;
  font-weight: 500;
}

.footer-logo-text span {
  color: var(--teal);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links li a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  letter-spacing: 0.06em;
}

.footer-links li a:hover {
  color: var(--teal);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.08em;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

/* ─── COMPONENT HELPERS ──────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-canvas {
  position: relative;
  z-index: 1;
}

.city-destination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.flight-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.altitude-secondary {
  position: absolute;
  top: 18%;
  left: 22%;
  background: rgba(26, 107, 138, 0.9);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.journey-segment {
  display: flex;
  align-items: center;
  gap: 0;
}

.journey-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 14px;
}

.patient-features {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.live-case-label {
  margin-bottom: 24px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--ink-60);
}

.case-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.case-panel {
  background: var(--ink-10);
  border-radius: 6px;
  padding: 10px;
}

.case-panel-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 4px;
}

.case-panel-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.case-panel-value span {
  font-size: 10px;
  color: var(--ink-60);
  margin-left: 4px;
}

.case-panel-meta {
  font-size: 9px;
  color: var(--teal);
}

.quote-comparison {
  margin-top: 24px;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  margin-bottom: 12px;
}

.quote-meta-timer {
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
}

.quote-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-pricing {
  text-align: right;
}

.quote-highlight {
  font-size: 9px;
  color: var(--teal);
}

.quote-card-highlight {
  border-left: 3px solid var(--teal);
}

.dashboard-wrapper {
  margin-top: 32px;
}

.dashboard-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-60);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.db-live-indicator {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.db-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}

.qg-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-60);
  margin-bottom: 8px;
}

.qg-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qg-label {
  font-size: 10px;
  color: var(--ink-60);
}

.facilitator-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--teal-pale);
  border-radius: 16px;
  border: 1px solid rgba(4, 152, 157, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.facilitator-cta h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.facilitator-cta p {
  font-size: 12px;
  color: var(--ink-60);
}

.ipd-stat-num.teal {
  color: var(--teal);
}

.pipeline-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-10);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
}

.pipeline-highlight {
  color: var(--teal);
  font-weight: 600;
}

.partner-growth {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  padding: 8px 12px;
  background: var(--teal-pale);
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.hospital-cta {
  background: var(--ink);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.hospital-cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.hospital-cta h3 {
  font-size: 26px;
  font-weight: 400;
  color: white;
  margin-bottom: 8px;
}

.hospital-cta p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
}

.hospital-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hospital-cta-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.journey-bottom {
  padding: 100px 48px 80px;
  background: #090e14;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.journey-bottom-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(4, 152, 157, 0.6);
  margin-bottom: 18px;
}

.journey-bottom-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.35;
}

.journey-bottom-title span {
  color: #04989d;
}


.manifesto-sub-alt {
  font-style: normal;
  font-size: clamp(14px, 1.5vw, 18px);
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.6);
}

.manifesto-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.manifesto-primary {
  background: white;
  color: var(--teal);
  font-size: 13px;
  padding: 16px 32px;
}

.manifesto-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  padding: 16px 32px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  #hero {
    grid-template-columns: 1fr;
    padding: 90px 20px 60px;
  }

  .globe-canvas {
    height: 380px;
  }

  .globe-scene {
    width: 340px;
    height: 360px;
  }

  .earth-globe-svg {
    width: 320px;
    height: 320px;
  }

  section {
    padding: 70px 20px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .ipd-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .db-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ipd-dashboard {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
  }

  #manifesto {
    padding: 80px 20px;
  }

  #journey-bottom {
    padding: 60px 20px;
  }

  .lang-bar {
    padding: 0 20px;
  }
}

/* ─── FACILITATOR LOGIN PAGE ─────────────────────────────────────── */
.fl-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--white);
}

/* ── Left Panel (Branding) ── */
.fl-left {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Subtle grid overlay on dark left panel */
.fl-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(4, 152, 157, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4, 152, 157, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Radial glow from bottom-left */
.fl-left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4, 152, 157, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.fl-left-inner {
  position: relative;
  z-index: 2;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* Logo */
.fl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fl-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.fl-logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.fl-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-top: 1px;
}

/* Hero text on left */
.fl-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.fl-hero-title em {
  font-style: italic;
  color: var(--teal-light);
}

.fl-hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 380px;
}

/* Metrics strip */
.fl-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 24px;
}

.fl-metric {
  flex: 1;
  text-align: center;
}

.fl-metric-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.fl-metric-value.teal {
  color: var(--teal-light);
}

.fl-metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.fl-metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Dashboard mini preview */
.fl-preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.fl-preview-topbar {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fl-preview-dots {
  display: flex;
  gap: 5px;
}

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

.fl-dot-r {
  background: #EF4444;
}

.fl-dot-y {
  background: #EAB308;
}

.fl-dot-g {
  background: #22C55E;
}

.fl-preview-url {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  flex: 1;
}

.fl-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22C55E;
}

.fl-live-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  animation: pulse-green 1.5s ease-in-out infinite;
}

.fl-preview-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fl-preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.fl-preview-id {
  color: var(--teal-light);
  font-weight: 600;
  width: 78px;
  flex-shrink: 0;
}

.fl-preview-route {
  color: rgba(255, 255, 255, 0.7);
  width: 64px;
  flex-shrink: 0;
}

.fl-preview-proc {
  color: rgba(255, 255, 255, 0.35);
  flex: 1;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fl-chip {
  font-size: 8px;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  font-weight: 600;
}

.fl-chip-amber {
  background: rgba(234, 179, 8, 0.15);
  color: #EAB308;
}

.fl-chip-teal {
  background: rgba(18, 168, 130, 0.15);
  color: var(--teal-light);
}

.fl-chip-blue {
  background: rgba(26, 107, 138, 0.15);
  color: #60B8D4;
}

.fl-preview-comm {
  color: var(--teal-light);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

/* Trust line */
.fl-trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  margin-top: auto;
}

.fl-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ── Right Panel (Form) ── */
.fl-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  background: var(--white);
}

.fl-form-wrap {
  width: 100%;
  max-width: 420px;
}

.fl-form-header {
  margin-bottom: 36px;
}

.fl-form-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fl-form-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--teal);
}

.fl-form-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.fl-form-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.6;
}

/* Form fields */
.fl-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.fl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.fl-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fl-forgot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s;
}

.fl-forgot:hover {
  opacity: 0.7;
}

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

.fl-input-icon {
  position: absolute;
  left: 14px;
  color: var(--ink-30);
  pointer-events: none;
  flex-shrink: 0;
}

.fl-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink-10);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.fl-input::placeholder {
  color: var(--ink-30);
}

.fl-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(4, 152, 157, 0.08);
}

.fl-eye-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-30);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.fl-eye-btn:hover {
  color: var(--teal);
}

/* Remember me */
.fl-remember-row {
  margin-top: -4px;
}

.fl-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  user-select: none;
}

.fl-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fl-checkbox-custom {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink-10);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--white);
}

.fl-checkbox:checked+.fl-checkbox-custom {
  background: var(--teal);
  border-color: var(--teal);
}

.fl-checkbox:checked+.fl-checkbox-custom::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* Submit button */
.fl-submit-btn {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 15px 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.fl-submit-btn:hover {
  background: #0d7a62;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(4, 152, 157, 0.28);
}

.fl-submit-btn:active {
  transform: translateY(0);
}

/* Divider */
.fl-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-30);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 4px 0;
}

.fl-divider::before,
.fl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-10);
}

/* SSO buttons */
.fl-sso-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fl-sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--white);
  border: 1.5px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.fl-sso-btn:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal);
}

/* Form footer */
.fl-form-footer {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fl-form-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.fl-form-link:hover {
  opacity: 0.75;
}

.fl-form-footer-sub {
  font-size: 10px;
  color: var(--ink-30);
}

/* Back link */
.fl-back-link {
  position: absolute;
  top: 28px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-30);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.fl-back-link:hover {
  color: var(--teal);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .fl-page {
    grid-template-columns: 1fr;
  }

  .fl-left {
    display: none;
  }

  .fl-right {
    padding: 80px 24px 48px;
    min-height: 100vh;
  }

  .fl-back-link {
    left: 24px;
    top: 24px;
  }
}

/* ─── FACILITATOR DASHBOARD ──────────────────────────────────────── */

/* Shell: sidebar + main — fixed height, each column scrolls independently */
.fdb-shell {
  display: grid;
  grid-template-columns: 208px 1fr;
  height: 100vh;
  overflow: hidden;
  background: #F2F4F7;
}

/* ══ SIDEBAR ══════════════════════════════════════════════════════ */
.fdb-sidebar {
  background: var(--white);
  border-right: 1px solid var(--ink-10);
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  height: 100%;
  overflow-y: auto;
}

/* Logo block */
.fdb-sb-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 26px 20px 18px;
  border-bottom: 1px solid var(--ink-10);
  margin-bottom: 6px;
}

.fdb-sb-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.fdb-sb-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.fdb-sb-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--ink-30);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.fdb-sb-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 10px;
  flex: 1;
}

.fdb-sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}

.fdb-sb-link svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.16s;
}

.fdb-sb-link:hover {
  background: var(--ink-10);
  color: var(--ink);
}

.fdb-sb-link:hover svg {
  opacity: 0.85;
}

.fdb-sb-active {
  background: var(--teal-pale) !important;
  color: var(--teal) !important;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.fdb-sb-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
}

.fdb-sb-active svg {
  opacity: 1 !important;
  color: var(--teal);
}

/* Logout */
.fdb-sb-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 0;
  margin: 0 0 0;
  border-top: 1px solid var(--ink-10);
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-30);
  text-decoration: none;
  transition: color 0.2s;
}

.fdb-sb-logout:hover {
  color: #DC2626;
}

/* ══ MAIN ═════════════════════════════════════════════════════════ */
.fdb-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Top bar */
.fdb-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  padding: 11px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.fdb-search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #F2F4F7;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 24px;
  padding: 8px 18px;
  width: 320px;
  color: var(--ink-30);
  transition: border-color 0.2s;
}

.fdb-search-wrap:focus-within {
  border-color: var(--teal);
}

.fdb-search {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.fdb-search::placeholder {
  color: var(--ink-30);
}

.fdb-tb-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fdb-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-60);
  position: relative;
  transition: background 0.16s, color 0.16s;
}

.fdb-icon-btn:hover {
  background: var(--ink-10);
  color: var(--ink);
}

.fdb-notif-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  border: 2px solid white;
}

.fdb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ══ CONTENT ══════════════════════════════════════════════════════ */
.fdb-content {
  padding: 28px 28px 48px;
  flex: 1;
  overflow-y: auto;
  /* topbar is sticky inside this scroll context */
}

/* Breadcrumb */
.fdb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.fdb-bc-dim {
  color: var(--ink-30);
  text-transform: uppercase;
}

.fdb-bc-sep {
  color: var(--ink-10);
  font-size: 13px;
}

.fdb-bc-active {
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 600;
}

/* Page heading */
.fdb-page-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.fdb-page-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}

.fdb-page-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.65;
}

.fdb-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 6px;
}

.fdb-btn-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.fdb-btn-filter:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.fdb-btn-compare {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.02em;
}

.fdb-btn-compare:hover {
  background: #0d7a62;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(4, 152, 157, 0.25);
}

/* ══ BODY: cards + panel ══════════════════════════════════════════ */
.fdb-body {
  display: grid;
  grid-template-columns: 1fr 292px;
  gap: 18px;
  align-items: start;
}

/* ── Hospital cards ── */
.fdb-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fdb-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: 22px 24px;
  transition: box-shadow 0.22s, transform 0.22s;
}

.fdb-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.fdb-card--sel {
  border-color: rgba(4, 152, 157, 0.28);
  box-shadow: 0 0 0 3px rgba(4, 152, 157, 0.05);
}

/* Card header */
.fdb-card-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 16px;
}

.fdb-card-meta {
  flex: 1;
  min-width: 0;
}

.fdb-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.fdb-card-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.fdb-verified {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fdb-card-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  margin-bottom: 11px;
}

.fdb-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fdb-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--ink-10);
  color: var(--ink-60);
  border: 1px solid transparent;
}

.fdb-tag--jci {
  background: var(--teal-pale);
  color: var(--teal);
  border-color: rgba(4, 152, 157, 0.18);
  font-weight: 600;
}

/* Card select checkbox */
.fdb-sel-label {
  cursor: pointer;
  display: block;
  flex-shrink: 0;
}

.fdb-sel-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fdb-sel-box {
  display: flex;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink-10);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  background: var(--white);
}

.fdb-sel-input:checked+.fdb-sel-box {
  background: var(--teal);
  border-color: var(--teal);
}

.fdb-sel-input:checked+.fdb-sel-box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* Card footer stats + fit ring */
.fdb-card-ft {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.fdb-card-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.fdb-cs-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 3px;
}

.fdb-cs-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.fdb-cs-teal {
  color: var(--teal);
}

/* Fit ring */
.fdb-fit-ring {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.fdb-fit-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.fdb-fit-pct {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.fdb-fit-sub {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ink-30);
  text-align: center;
}

/* ══ COMPARISON PANEL ═════════════════════════════════════════════ */
.fdb-panel {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 76px;
}

/* Panel header */
.fdb-panel-hd {
  padding: 18px 16px 0;
}

.fdb-panel-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-30);
}

.fdb-panel-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
  line-height: 1.2;
}

.fdb-panel-badge {
  background: var(--teal);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 9px;
  border-radius: 20px;
  text-align: center;
  line-height: 1.3;
}

/* Column headers */
.fdb-panel-cols {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--ink-10);
  gap: 4px;
}

.fdb-pcol-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.fdb-pcol-head {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.03em;
}

.fdb-pcol-hl {
  color: var(--teal);
}

/* Comparison rows */
.fdb-panel-rows {
  padding: 0 16px;
}

.fdb-prow {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-10);
  align-items: start;
}

.fdb-prow:last-child {
  border-bottom: none;
}

.fdb-prow-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-30);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}

.fdb-prow-icon {
  font-size: 10px;
}

.fdb-prow-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  text-align: center;
  line-height: 1.45;
}

.fdb-prow-win {
  color: var(--teal);
  font-weight: 600;
}

/* Panel action buttons */
.fdb-panel-actions {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ink-10);
}

.fdb-btn-generate {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, box-shadow 0.18s;
  letter-spacing: 0.02em;
}

.fdb-btn-generate:hover {
  background: #0d7a62;
  box-shadow: 0 4px 14px rgba(4, 152, 157, 0.25);
}

.fdb-btn-share {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  cursor: pointer;
  padding: 5px;
  text-align: center;
  transition: opacity 0.18s;
}

.fdb-btn-share:hover {
  opacity: 0.65;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fdb-body {
    grid-template-columns: 1fr;
  }

  .fdb-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .fdb-shell {
    grid-template-columns: 1fr;
  }

  .fdb-sidebar {
    display: none;
  }

  .fdb-content,
  .hn-content {
    padding: 20px;
  }

  .fdb-page-hd {
    flex-direction: column;
  }

  .fdb-card-stats {
    gap: 14px;

  }
}

/* ─── FACILITATOR PATIENTS PAGE ──────────────────────────────────── */

/* Page heading */
.pt-page-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.pt-page-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.pt-page-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}

.pt-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 6px;
}

.pt-btn-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.pt-btn-filter:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.pt-btn-entry {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}

.pt-btn-entry:hover {
  background: #0d7a62;
  box-shadow: 0 4px 16px rgba(4, 152, 157, 0.25);
}

/* Stats strip */
.pt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pt-stat-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 18px 20px;
}

.pt-stat-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 8px;
}

.pt-stat-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pt-stat-accent {
  color: var(--teal);
}

/* Body: stream + panel */
.pt-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  align-items: start;
}

/* Live Intake Stream card */
.pt-stream {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
}

.pt-stream-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--ink-10);
}

.pt-stream-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}

.pt-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22C55E;
}

.pt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  animation: pulse-green 1.5s ease-in-out infinite;
}

/* Table */
.pt-table {
  width: 100%;
}

.pt-thead {
  display: grid;
  grid-template-columns: 100px 90px 80px 1fr 90px;
  gap: 8px;
  padding: 10px 20px;
  background: #F8F9FA;
  border-bottom: 1px solid var(--ink-10);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.pt-trow {
  display: grid;
  grid-template-columns: 100px 90px 80px 1fr 90px;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-10);
  align-items: start;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}

.pt-trow:last-child {
  border-bottom: none;
}

.pt-trow:hover {
  background: #F8FFFE;
}

.pt-trow-sel {
  border-left-color: var(--teal);
  background: rgba(4, 152, 157, 0.02);
}

.pt-cell-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pt-lead-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.pt-lead-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-30);
}

.pt-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  padding-top: 2px;
}

.pt-source-icon {
  font-size: 13px;
}

.pt-cell-intent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pt-intent-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}

.pt-intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pt-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.pt-tag-urgency {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.pt-tag-pay {
  background: rgba(4, 152, 157, 0.1);
  color: var(--teal);
}

.pt-tag-research {
  background: rgba(234, 179, 8, 0.12);
  color: #92400E;
}

.pt-tag-cold {
  background: rgba(26, 26, 26, 0.06);
  color: var(--ink-60);
}

.pt-tag-insurance {
  background: rgba(26, 107, 138, 0.1);
  color: var(--blue-accent);
}

.pt-tag-default {
  background: var(--ink-10);
  color: var(--ink-60);
}

.pt-cell-score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 2px;
}

.pt-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.pt-score-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.pt-score-hot {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

.pt-score-hot .pt-score-dot {
  background: #EF4444;
}

.pt-score-warm {
  background: rgba(234, 179, 8, 0.12);
  color: #92400E;
}

.pt-score-warm .pt-score-dot {
  background: #EAB308;
}

.pt-score-cold {
  background: rgba(26, 26, 26, 0.06);
  color: var(--ink-60);
}

.pt-score-cold .pt-score-dot {
  background: #94A3B8;
}

/* ── Selected Lead Panel ── */
.pt-panel {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.pt-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.pt-sel-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  padding: 3px 9px;
  border-radius: 20px;
}

.pt-ext-link {
  color: var(--ink-30);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.pt-ext-link:hover {
  color: var(--teal);
}

.pt-lead-id-large {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  padding: 10px 16px 2px;
  letter-spacing: -0.01em;
}

.pt-lead-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--ink-10);
}

/* AI Extraction */
.pt-ai-section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-10);
}

.pt-ai-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pt-ai-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  line-height: 1.65;
  margin-bottom: 12px;
}

.pt-ai-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pt-ai-chip {
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
}

.pt-chip-urgency {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.15);
}

.pt-chip-budget {
  background: rgba(4, 152, 157, 0.06);
  border-color: rgba(4, 152, 157, 0.15);
}

.pt-chip-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pt-chip-urgency .pt-chip-lbl {
  color: rgba(220, 38, 38, 0.7);
}

.pt-chip-budget .pt-chip-lbl {
  color: rgba(4, 152, 157, 0.7);
}

.pt-chip-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.pt-chip-urgency .pt-chip-val {
  color: #DC2626;
}

.pt-chip-budget .pt-chip-val {
  color: var(--teal);
}

/* Conversion probability */
.pt-conversion {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-10);
  text-align: center;
}

.pt-conv-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 12px;
  text-align: left;
}

.pt-ring {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
}

.pt-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-ring-pct {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--teal);
}

.pt-conv-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  line-height: 1.5;
  text-align: center;
}

/* AI Hospital Routing */
.pt-routing {
  padding: 14px 16px 16px;
}

.pt-routing-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 10px;
}

.pt-route-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.pt-route-card:last-child {
  margin-bottom: 0;
}

.pt-route-card:hover {
  border-color: rgba(4, 152, 157, 0.3);
  box-shadow: 0 2px 12px rgba(4, 152, 157, 0.08);
}

.pt-route-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.pt-route-info {
  flex: 1;
  min-width: 0;
}

.pt-route-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.pt-route-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
}

.pt-route-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-pale);
  border: 1px solid rgba(4, 152, 157, 0.2);
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}

.pt-route-btn:hover {
  background: var(--teal);
  color: white;
}

/* Responsive */
@media (max-width: 1100px) {
  .pt-body {
    grid-template-columns: 1fr;
  }

  .pt-panel {
    position: static;
    max-height: none;
  }

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

@media (max-width: 768px) {

  .pt-thead,
  .pt-trow {
    grid-template-columns: 90px 80px 1fr 70px;
  }

  .pt-thead>*:nth-child(3),
  .pt-trow>*:nth-child(3) {
    display: none;
  }
}

/* ─── DASHBOARD OVERVIEW ─────────────────────────────────────────── */

/* Page heading */
.dov-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.dov-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.dov-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}

.dov-hd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 4px;
}

.dov-date-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.dov-date-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.dov-export-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.dov-export-btn:hover {
  background: #0d7a62;
  box-shadow: 0 4px 16px rgba(4, 152, 157, 0.25);
}

/* ── Stats row ── */
.dov-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.dov-stat-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 18px 20px 14px;
  transition: box-shadow 0.2s;
}

.dov-stat-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dov-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dov-stat-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  line-height: 1.4;
  max-width: 100px;
}

.dov-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dov-icon-leads {
  background: rgba(4, 152, 157, 0.08);
  color: var(--teal);
}

.dov-icon-pipeline {
  background: rgba(99, 102, 241, 0.08);
  color: #6366F1;
}

.dov-icon-revenue {
  background: rgba(34, 197, 94, 0.08);
  color: #16A34A;
}

.dov-icon-conv {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
}

.dov-stat-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.dov-stat-delta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.dov-delta-up {
  color: #16A34A;
}

.dov-delta-down {
  color: #DC2626;
}

.dov-delta-muted {
  color: var(--ink-30);
}

/* ── Middle: pipeline + attention ── */
.dov-mid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  margin-bottom: 18px;
}

/* Pipeline card */
.dov-pipeline-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 22px 24px;
}

.dov-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.dov-pipeline-stages {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.dov-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
}

.dov-stage-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-10);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-30);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.dov-stage-active {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 0 4px rgba(4, 152, 157, 0.1);
}

.dov-stage-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-60);
  text-align: center;
}

.dov-label-active {
  color: var(--teal);
}

.dov-stage-count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-30);
}

.dov-count-active {
  color: var(--teal);
}

/* Connector line between stages */
.dov-stage-line {
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 1.5px;
  background: var(--ink-10);
  z-index: 0;
  width: calc(100% - 52px);
}

.dov-line-active {
  background: var(--teal);
  opacity: 0.4;
}

/* Attention card */
.dov-attention-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 18px 18px;
}

.dov-attention-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
}

.dov-attention-icon {
  color: #F59E0B;
  display: flex;
  align-items: center;
}

.dov-attention-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dov-att-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-10);
}

.dov-att-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dov-att-item:first-child {
  padding-top: 0;
}

.dov-att-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.dov-att-case {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.dov-att-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.dov-badge-urgent {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.dov-badge-overdue {
  background: rgba(234, 179, 8, 0.12);
  color: #92400E;
}

.dov-badge-review {
  background: rgba(26, 26, 26, 0.06);
  color: var(--ink-60);
}

.dov-att-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  line-height: 1.5;
}

/* ── Chart card ── */
.dov-chart-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 22px 24px 16px;
  margin-bottom: 18px;
}

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

.dov-chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dov-leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
}

.dov-leg::before {
  content: '';
  width: 10px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

.dov-leg-whatsapp::before {
  background: var(--teal);
}

.dov-leg-meta::before {
  background: #6366F1;
}

.dov-leg-email::before {
  background: #F59E0B;
}

.dov-leg-organic::before {
  background: #94A3B8;
}

.dov-chart-area {
  display: flex;
  gap: 8px;
  height: 140px;
  align-items: flex-end;
}

.dov-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-30);
  text-align: right;
  width: 28px;
  flex-shrink: 0;
  padding-bottom: 0;
}

.dov-chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100%;
}

.dov-bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.dov-bar {
  width: 100%;
  background: linear-gradient(180deg, rgba(4, 152, 157, 0.35) 0%, rgba(4, 152, 157, 0.15) 100%);
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
  min-height: 4px;
}

.dov-bar:hover {
  background: linear-gradient(180deg, var(--teal) 0%, rgba(4, 152, 157, 0.5) 100%);
}

.dov-bar-active {
  background: linear-gradient(180deg, var(--teal) 0%, rgba(4, 152, 157, 0.6) 100%);
  box-shadow: 0 0 8px rgba(4, 152, 157, 0.3);
}

.dov-x-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-30);
  margin-top: 8px;
  padding-left: 36px;
}

/* ── Bottom row ── */
.dov-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Hospital partners table */
.dov-hospital-card,
.dov-comm-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  padding: 22px 24px;
}

.dov-htable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.dov-htable thead tr {
  border-bottom: 1px solid var(--ink-10);
}

.dov-htable th {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-30);
  text-align: left;
  padding: 0 0 10px;
  line-height: 1.4;
}

.dov-htable th:last-child,
.dov-htable td:last-child {
  text-align: right;
}

.dov-htable td {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-10);
}

.dov-htable tr:last-child td {
  border-bottom: none;
}

.dov-h-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.dov-h-loc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}

.dov-h-vol {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.dov-h-comm {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}

/* Commission activity */
.dov-comm-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dov-comm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-10);
}

.dov-comm-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dov-comm-row:first-child {
  padding-top: 0;
}

.dov-comm-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dov-comm-icon-pos {
  background: rgba(4, 152, 157, 0.08);
  color: var(--teal);
}

.dov-comm-icon-pend {
  background: rgba(26, 26, 26, 0.05);
  color: var(--ink-60);
}

.dov-comm-info {
  flex: 1;
  min-width: 0;
}

.dov-comm-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dov-comm-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-30);
}

.dov-comm-amount {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
}

.dov-amount-pos {
  color: var(--teal);
}

.dov-amount-pend {
  color: var(--ink-60);
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .dov-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dov-mid {
    grid-template-columns: 1fr;
  }

  .dov-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dov-hd {
    flex-direction: column;
  }

  .dov-stats {
    grid-template-columns: 1fr 1fr;
  }

  .dov-pipeline-stages {
    overflow-x: auto;
  }
}

/* ─── FACILITATOR TREATMENTS PAGE ────────────────────────────────── */

.tx-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tx-topbar-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.tx-search {
  max-width: 500px;
  flex: 1;
  background: var(--white) !important;
  border: 1px solid var(--ink-10);
  border-radius: 30px !important;
}

.tx-content {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  flex: 1;
}

/* Action Bar */
.tx-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tx-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tx-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.tx-dropdown:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tx-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.tx-export-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tx-newquote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #047857;
  border: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}

.tx-newquote-btn:hover {
  background: #065f46;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.25);
}

/* Table Card — one unified white card */
.tx-table-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
}

.tx-thead {
  display: grid;
  grid-template-columns: 2.2fr 130px 160px 130px 180px 70px;
  gap: 12px;
  padding: 14px 20px;
  background: #F4FBF9;
  border-bottom: 1px solid var(--ink-10);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  align-items: center;
}

.tx-trow {
  display: grid;
  grid-template-columns: 2.2fr 130px 160px 130px 180px 70px;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-10);
  align-items: center;
  transition: background 0.15s;
}

.tx-trow:last-child {
  border-bottom: none;
}

.tx-trow:hover {
  background: #F8FFFE;
}

.tx-trow-sel {
  border-left: 3px solid var(--teal);
  background: rgba(4, 152, 157, 0.02);
}

/* Row contents */
.tx-td-proc {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-proc-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-icon-cardio {
  background: #E0F2FE;
  color: #0284C7;
}

.tx-icon-ortho {
  background: #BAE6FD;
  color: #0F172A;
}

.tx-icon-onco {
  background: #DCFCE7;
  color: #16A34A;
}

.tx-proc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tx-proc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.tx-proc-sub {
  font-size: 11px;
  color: var(--ink-30);
}

.tx-td {
  font-size: 13px;
  color: var(--ink-60);
}

.tx-price {
  font-weight: 600;
  color: var(--ink);
}

.tx-recovery {
  font-weight: 500;
}

/* Badges */
.tx-cat-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.tx-cat-cardiology {
  background: #FEE2E2;
  color: #B91C1C;
}

.tx-cat-ortho {
  background: #E0F2FE;
  color: #0369A1;
}

.tx-cat-oncology {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Success Rate */
.tx-td-rate {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-rate-bar {
  flex: 1;
  height: 6px;
  background: var(--ink-10);
  border-radius: 3px;
  overflow: hidden;
  max-width: 100px;
}

.tx-rate-fill {
  height: 100%;
  background: #047857;
  border-radius: 3px;
}

.tx-rate-label {
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
}

.tx-rate-na {
  font-size: 11px;
  color: var(--ink-30);
  line-height: 1.3;
  font-style: italic;
}

/* Actions */
.tx-td-action {
  display: flex;
  align-items: center;
}

.tx-action-btn {
  background: transparent;
  border: none;
  color: var(--ink-30);
  cursor: pointer;
  padding: 4px;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-action-btn:hover {
  color: var(--teal);
}

/* Pagination */
.tx-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.tx-pag-info {
  font-size: 11px;
  color: var(--ink-60);
}

.tx-pag-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tx-pag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 6px;
  font-size: 11px;
  color: var(--ink-60);
  cursor: pointer;
  transition: all 0.15s;
}

.tx-pag-btn:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}

.tx-pag-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tx-pag-active {
  background: var(--teal-pale);
  border-color: var(--teal-pale);
  color: var(--teal);
  font-weight: 700;
}

/* Footer styling */
.tx-footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-30);
  background: transparent !important;
  flex-wrap: wrap;
  gap: 12px;
}

.tx-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tx-footer-link {
  color: var(--ink-30);
  text-decoration: none;
  transition: color 0.18s;
}

.tx-footer-link:hover {
  color: var(--teal);
}

/* Responsive adjustment for table grid */
@media (max-width: 900px) {

  .tx-thead,
  .tx-trow {
    grid-template-columns: 1.5fr 110px 120px 110px 60px;
    gap: 8px;
  }

  .tx-thead>*:nth-child(5),
  .tx-trow>*:nth-child(5) {
    display: none;
    /* Hide success rate on small screens */
  }
}

@media (max-width: 600px) {

  .tx-thead,
  .tx-trow {
    grid-template-columns: 1.2fr 100px 50px;
    gap: 6px;
  }

  .tx-thead>*:nth-child(3),
  .tx-thead>*:nth-child(4),
  .tx-trow>*:nth-child(3),
  .tx-trow>*:nth-child(4) {
    display: none;
    /* Hide price and recovery too */
  }
}

/* ──────────────────────────────────────────────────────────────────
   QUOTES MANAGEMENT (.qt-*)
────────────────────────────────────────────────────────────────── */

.qt-content {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  flex: 1;
}

/* ── Top-bar search ───────────────────────────────────────────── */
.qt-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 30px;
  padding: 8px 18px;
  width: 320px;
  color: var(--ink-30);
}

.qt-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
}

.qt-search-input::placeholder {
  color: var(--ink-30);
}

/* ── Page header ──────────────────────────────────────────────── */
.qt-page-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.qt-page-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.qt-page-desc {
  font-size: 13px;
  color: var(--ink-60);
}

.qt-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #047857;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}

.qt-new-btn:hover {
  background: #065f46;
}

/* ── Metric cards ─────────────────────────────────────────────── */
.qt-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.qt-metric-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qt-metric-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qt-mi {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-mi-total {
  background: #E0F2FE;
  color: #0284C7;
}

.qt-mi-approved {
  background: #DCFCE7;
  color: #16A34A;
}

.qt-mi-pending {
  background: #FFEDD5;
  color: #EA580C;
}

.qt-mi-expiring {
  background: #FEE2E2;
  color: #DC2626;
}

.qt-ml {
  background: #F1F5F9;
  color: #64748B;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.qt-mv {
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.qt-ms {
  font-size: 11px;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 5px;
}

.qt-ms-up {
  color: var(--teal);
  font-weight: 500;
}

.qt-ms-alert {
  color: #DC2626;
  font-weight: 500;
}

/* ── Table card ───────────────────────────────────────────────── */
.qt-table-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tab bar */
.qt-tc-top {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink-10);
  flex-wrap: wrap;
  gap: 16px;
}

.qt-tabs {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 10px;
  gap: 2px;
}

.qt-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-60);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.qt-tab:hover {
  color: var(--ink);
}

.qt-tab-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* search + filter inside table card */
.qt-tc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qt-tsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-10);
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-30);
  width: 220px;
}

.qt-tsearch input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 12px;
  color: var(--ink);
}

.qt-tsearch input::placeholder {
  color: var(--ink-30);
}

.qt-filter-btn {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color 0.18s;
}

.qt-filter-btn:hover {
  border-color: var(--ink-30);
}

/* ── Table ────────────────────────────────────────────────────── */
.qt-table {
  width: 100%;
  border-collapse: collapse;
}

.qt-table th {
  padding: 14px 24px;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-30);
  border-bottom: 1px solid var(--ink-10);
  text-transform: uppercase;
}

.qt-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-10);
  vertical-align: middle;
}

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

.qt-cell-id {
  color: var(--teal);
  font-weight: 600;
  font-size: 12px;
}

.qt-cell-patient {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qt-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.qt-pname {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.qt-cell-hosp {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qt-hname {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}

.qt-hproc {
  font-size: 11px;
  color: var(--ink-60);
}

.qt-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.qt-badge {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.qt-st-approved {
  background: #DCFCE7;
  color: #16A34A;
}

.qt-st-sent {
  background: #FFEDD5;
  color: #EA580C;
}

.qt-st-draft {
  background: #F1F5F9;
  color: #475569;
}

.qt-st-rejected {
  background: #FEE2E2;
  color: #DC2626;
}

.qt-expiry {
  font-size: 12px;
  color: var(--ink-60);
}

.qt-action-dot {
  background: transparent;
  border: none;
  color: var(--ink-30);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.qt-action-dot:hover {
  color: var(--ink);
}

/* ── Pagination ───────────────────────────────────────────────── */
.qt-pagination {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink-10);
}

.qt-pag-info {
  font-size: 12px;
  color: var(--ink-60);
}

.qt-pag-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qt-pag-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink-10);
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-60);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.qt-pag-btn:not(:disabled):hover {
  background: #F1F5F9;
  color: var(--ink);
}

.qt-pag-active {
  background: #047857 !important;
  border-color: #047857 !important;
  color: white !important;
}

.qt-pag-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .qt-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .qt-content {
    padding: 24px 16px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   ANALYTICS PAGE (.an-*)
────────────────────────────────────────────────────────────────── */

.an-content {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  flex: 1;
}

/* Header actions */
.an-hd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.an-quarter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s;
}

.an-quarter-btn:hover {
  border-color: var(--teal);
}

.an-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #047857;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s;
}

.an-export-btn:hover {
  background: #065f46;
}

/* ── Metric cards ── */
.an-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.an-metric-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.an-mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.an-mc-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-30);
  text-transform: uppercase;
}

.an-mc-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-mi-revenue {
  background: #E0F2FE;
  color: #0284C7;
}

.an-mi-leads {
  background: #DCFCE7;
  color: #16A34A;
}

.an-mi-conv {
  background: #FFEDD5;
  color: #EA580C;
}

.an-mi-comm {
  background: #F1F5F9;
  color: #475569;
}

.an-mc-value {
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.an-mc-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
}

.an-trend-up {
  color: var(--teal);
}

.an-trend-down {
  color: #DC2626;
}

.an-trend-flat {
  color: var(--ink-30);
}

/* ── Shared card ── */
.an-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.an-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.an-card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--ink);
}

.an-more-btn {
  background: transparent;
  border: none;
  color: var(--ink-30);
  cursor: pointer;
  padding: 4px;
}

/* ── Layout rows ── */
.an-mid-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.an-bot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Funnel chart ── */
.an-funnel-card .an-card-title {
  margin-bottom: 0;
}

.an-funnel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

.an-funnel-row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  align-items: center;
  gap: 14px;
}

.an-funnel-label {
  font-size: 12px;
  color: var(--ink-60);
  text-align: right;
}

.an-funnel-bar-wrap {
  height: 28px;
  background: #F1F5F9;
  border-radius: 6px;
  overflow: hidden;
}

.an-funnel-bar {
  height: 100%;
  background: linear-gradient(90deg, #0D9488, #14B8A6);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.an-funnel-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 44px;
}

.an-funnel-pct {
  font-size: 11px;
  color: var(--ink-30);
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 10px;
  min-width: 40px;
  text-align: center;
}

.an-pct-highlight {
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 600;
}

/* ── Donut chart ── */
.an-leads-card {
  align-items: center;
}

.an-leads-card .an-card-title {
  align-self: flex-start;
  margin-bottom: 20px;
}

.an-donut-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
}

.an-donut {
  width: 100%;
  height: 100%;
}

.an-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.an-donut-val {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.an-donut-sub {
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ink-30);
  text-transform: uppercase;
}

.an-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.an-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-60);
}

.an-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.an-legend-pct {
  margin-left: auto;
  font-weight: 600;
  color: var(--ink);
}

/* ── Bar chart (Commission Trends) ── */
.an-barchart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex: 1;
  padding-top: 20px;
  min-height: 200px;
}

.an-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.an-bar-label-top {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  min-height: 16px;
}

.an-bar-track {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: flex-end;
}

.an-bar {
  width: 100%;
  background: #CBD5E1;
  border-radius: 6px 6px 0 0;
  transition: height 0.4s ease;
}

.an-bar-hl {
  background: linear-gradient(180deg, #0D9488, #14B8A6);
}

.an-bar-month {
  font-size: 11px;
  color: var(--ink-30);
}

.an-month-hl {
  color: var(--teal);
  font-weight: 700;
}

/* ── Revenue by Specialty ── */
.an-top-badge {
  background: #DCFCE7;
  color: #16A34A;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}

.an-rev-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

.an-rev-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.an-rev-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.an-rev-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.an-rev-amt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.an-rev-bar-wrap {
  height: 6px;
  background: #F1F5F9;
  border-radius: 3px;
  overflow: hidden;
}

.an-rev-bar {
  height: 100%;
  background: linear-gradient(90deg, #0F766E, #14B8A6);
  border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .an-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .an-mid-row {
    grid-template-columns: 1fr;
  }

  .an-bot-row {
    grid-template-columns: 1fr;
  }
}

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

  .an-content {
    padding: 24px 16px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   MARKETING PAGE (.mk-*)
────────────────────────────────────────────────────────────────── */

.mk-content {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  flex: 1;
}

/* ── Page heading ── */
.mk-page-hd {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-page-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.mk-page-desc {
  font-size: 13px;
  color: var(--ink-60);
}

/* ── Main Branding Card ── */
.mk-brand-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mk-brand-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--ink-10);
}

.mk-brand-hd-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-brand-icon {
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mk-brand-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.mk-save-btn {
  background: #047857;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.18s;
}

.mk-save-btn:hover {
  background: #065f46;
}

/* ── Two Columns ── */
.mk-brand-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.mk-col {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mk-col:first-child {
  border-right: 1px dashed var(--ink-10);
}

.mk-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #047857;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Logo Row ── */
.mk-logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mk-logo-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  display: block;
}

.mk-logo-dropzone {
  border: 1.5px dashed var(--ink-20);
  border-radius: 10px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-30);
  cursor: pointer;
  transition: all 0.18s;
}

.mk-logo-dropzone:hover {
  border-color: #047857;
  color: #047857;
  background: #F4FBF9;
}

.mk-drop-text {
  font-size: 10px;
}

/* Letterhead Preview */
.mk-letterhead-box {
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
}

.mk-lh-line {
  background: var(--ink-10);
  border-radius: 2px;
}

.mk-lh-1 {
  height: 6px;
  width: 30%;
}

.mk-lh-2 {
  height: 4px;
  width: 100%;
  margin-top: 4px;
}

.mk-lh-3 {
  height: 4px;
  width: 80%;
}

.mk-lh-4 {
  height: 14px;
  width: 40%;
  background: #DCFCE7;
  align-self: flex-end;
  margin-top: auto;
  border-radius: 4px;
}

/* ── Brand Colors ── */
.mk-colors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mk-color-chip {
  background: #F8FAFC;
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mk-color-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-color-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  text-transform: uppercase;
}

.mk-color-hex {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Typography ── */
.mk-type-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s;
}

.mk-type-select:hover {
  border-color: var(--teal);
}

/* ── Domain Row ── */
.mk-domain-row {
  display: flex;
  align-items: stretch;
  height: 40px;
}

.mk-domain-input {
  flex: 1;
  border: 1px solid var(--ink-10);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  background: var(--white);
}

.mk-domain-suffix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #F1F5F9;
  border: 1px solid var(--ink-10);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--ink-60);
}

/* ── Portal Preview ── */
.mk-portal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mk-portal-label {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  letter-spacing: 0.05em;
}

.mk-ssl-badge {
  font-size: 9px;
  font-weight: 700;
  color: #047857;
  background: #DCFCE7;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.mk-portal-browser {
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  overflow: hidden;
}

.mk-browser-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--ink-10);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mk-dot-r {
  background: #FECACA;
}

.mk-dot-y {
  background: #FEF08A;
}

.mk-dot-g {
  background: #BBF7D0;
}

.mk-browser-url {
  margin-left: 10px;
  background: #F1F5F9;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 9px;
  color: var(--ink-30);
  flex: 1;
}

.mk-browser-body {
  height: 100px;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--ink-10);
  margin: 12px;
}

.mk-browser-swatch {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

/* ── Launch Button ── */
.mk-launch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #047857;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  cursor: pointer;
  transition: all 0.18s;
}

.mk-launch-btn:hover {
  background: #F4FBF9;
}

/* ── Suppression Toggle ── */
.mk-suppression {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.mk-supp-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-supp-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.mk-supp-desc {
  font-size: 10px;
  color: var(--ink-60);
}

.mk-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.mk-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mk-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--ink-20);
  transition: .2s;
  border-radius: 24px;
}

.mk-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mk-toggle input:checked+.mk-toggle-slider {
  background-color: #047857;
}

.mk-toggle input:checked+.mk-toggle-slider:before {
  transform: translateX(20px);
}

/* ── Sidebar specific ── */
.mk-sb-cta-wrap {
  padding: 0 16px 20px;
}

.mk-sb-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: #04989d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.mk-sb-cta:hover {
  background: #0a6953;
}

.mk-sb-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink-10);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .mk-brand-cols {
    grid-template-columns: 1fr;
  }

  .mk-col:first-child {
    border-right: none;
    border-bottom: 1px dashed var(--ink-10);
  }
}

@media (max-width: 600px) {

  .mk-logo-row,
  .mk-colors-row {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────────────────────────────
   HOSPITAL NETWORK PAGE (.hn-*)
────────────────────────────────────────────────────────────────── */

.hn-content {
  padding: 32px 40px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.hn-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ──────────────────────────────────────────────────────────────────
   HERO CTA — larger, bolder primary action (scoped to hero only)
────────────────────────────────────────────────────────────────── */

.hero-ctas {
  align-items: center;
  gap: 20px;
}

.hero-ctas .btn-primary {
  padding: 18px 40px;
  font-size: 13px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(4, 152, 157, 0.28);
}

.hero-ctas .btn-primary:hover {
  box-shadow: 0 14px 36px rgba(4, 152, 157, 0.38);
}

.hero-ctas .btn-outline {
  padding: 18px 32px;
  font-size: 13px;
  border-radius: 10px;
}


/* ──────────────────────────────────────────────────────────────────
   TRUSTED BY — standalone section, solid teal, logo marquee (R → L)
────────────────────────────────────────────────────────────────── */

#trusted-by {
  background: var(--teal);
  padding: 100px 48px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trusted-by-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trusted-by-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(9, 74, 58, 0.9) 0%, rgba(4, 152, 157, 0.86) 100%);
  z-index: 1;
}

.trusted-by-inner {
  position: relative;
  z-index: 3;
}

.hero-overlap-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -56px;
  margin-bottom: -56px;
  padding: 0 24px;
}

.hero-overlap-card {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  padding: 24px 36px;
  max-width: 640px;
  width: 100%;
}

.hero-overlap-accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--teal);
  border-radius: 2px;
}

.hero-overlap-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-overlap-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 700px) {
  .hero-overlap-wrap {
    margin-top: -40px;
    margin-bottom: -40px;
  }

  .hero-overlap-card {
    padding: 18px 24px;
  }
}


#trusted-by::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.trusted-by-label {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 44px;
}

.trusted-by-scroll {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trusted-by-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.trusted-by-scroll:hover .trusted-by-track {
  animation-play-state: paused;
}

.trusted-by-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.trusted-by-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trusted-by-icon svg {
  width: 18px;
  height: 18px;
}

.trusted-by-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #trusted-by {
    padding: 60px 20px;
  }

  .trusted-by-label {
    margin-bottom: 28px;
  }
}

/* ─── TRUSTED BY — stat cards row (above the label/marquee) ────────── */

.trusted-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.trusted-stat-card {
  background: white;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.trusted-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-pale);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.trusted-stat-icon svg {
  width: 18px;
  height: 18px;
}

.trusted-stat-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.trusted-stat-label {
  font-size: 12px;
  color: var(--ink-60);
}

@media (max-width: 900px) {
  .trusted-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ──────────────────────────────────────────────────────────────────
   PROBLEM SECTION
────────────────────────────────────────────────────────────────── */

#problem {
  background: transparent;
}

#problem .section-title em {
  font-style: italic;
  color: #dc2626;
}

/* ── PROBLEM — hero two-column layout ── */
.problem-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 0;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-header-wrap {
  grid-column: 1;
  grid-row: 1;
}

.problem-list {
  grid-column: 1;
  grid-row: 2;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
}

.problem-list-item-static {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ink-10);
}

.problem-list-item-static:last-child {
  border-bottom: none;
}

.pli-icon-static {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pli-icon-static svg {
  width: 24px;
  height: 24px;
}

.pli-text {
  flex: 1;
  min-width: 0;
}

.pli-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.pli-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}


/* ── RIGHT: maze diagram SVG from file ── */
.problem-diagram {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 580px;
  margin: 45px auto 0;
}

.problem-diagram-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* ── Animated chaos path ── */
.pd-chaos-anim {
  animation: pd-flow 2.8s linear infinite;
}

@keyframes pd-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -54;
  }
}

/* ── Center pulse ── */
.pd-center-pulse {
  animation: pd-center-beat 2.6s ease-in-out infinite;
}

@keyframes pd-center-beat {

  0%,
  100% {
    r: 26;
    opacity: 1;
  }

  50% {
    r: 28;
    opacity: 0.9;
  }
}

/* ── X marks ── */
.pd-xmark {
  animation: pd-xpop 3s ease-in-out infinite;
}

.pd-xmark:nth-child(even) {
  animation-delay: 0.5s;
}

@keyframes pd-xpop {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(0, 0) scale(1.15);
  }
}

/* ── Corner character bubbles ── */
.pd-char {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 6;
  animation: pd-charfloat 5s ease-in-out infinite;
}

.pd-char:nth-child(2) {
  animation-delay: 0.8s;
}

.pd-char:nth-child(3) {
  animation-delay: 1.6s;
}

.pd-char:nth-child(4) {
  animation-delay: 2.4s;
}

@keyframes pd-charfloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.pd-speech-bubble {
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  padding: 6px 8px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pd-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}

.pd-speech-bubble.flip::after {
  bottom: auto;
  top: -7px;
  border-top-color: transparent;
  border-bottom-color: #fff;
}

.pd-speech-icon {
  color: var(--ink-60);
  display: flex;
  align-items: center;
}

.pd-speech-icon svg {
  width: 18px;
  height: 18px;
}

.pd-char-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 1px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pd-char-avatar svg {
  width: 26px;
  height: 26px;
}

/* ── Floating topic icons ── */
.pd-float-icon {
  position: absolute;
  z-index: 5;
  animation: pd-charfloat 4s ease-in-out infinite;
}

.pd-float-icon:nth-child(2) {
  animation-delay: 1s;
}

.pd-float-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.pd-float-icon-box svg {
  width: 20px;
  height: 20px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .problem-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-diagram {
    max-width: 380px;
  }

  .pd-char-avatar {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 600px) {
  .problem-diagram {
    max-width: 320px;
  }
}



/* ──────────────────────────────────────────────────────────────────
   CAPABILITIES SECTION (merged Solution + Platform Capabilities)
────────────────────────────────────────────────────────────────── */

/* ─── CAPABILITIES — white light-mode redesign ───────────────────── */
#capabilities {
  background: linear-gradient(135deg, #f0fdfe 0%, #e8f9fb 100%);
  padding: 100px 64px 0;
  position: relative;
  overflow: hidden;
}

/* Soft teal ambient in corner */
#capabilities::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(4, 152, 157, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

#capabilities::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(4, 152, 157, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header ── */
.cap-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 2;
}

.cap-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #04989d;
  margin-bottom: 20px;
}

.cap-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cap-title em {
  font-style: italic;
  color: #04989d;
}

.cap-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Grid ── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Card ── */
.capability-card {
  background: #ffffff;
  border: 1px solid rgba(4, 152, 157, 0.15);
  border-radius: 18px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  box-shadow: 0 2px 12px rgba(4, 152, 157, 0.06);
}

.capabilities-grid.revealed .capability-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  transition-delay: calc(var(--i) * 0.08s);
}

.capability-card:hover {
  border-color: rgba(4, 152, 157, 0.4);
  box-shadow: 0 16px 48px rgba(4, 152, 157, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

/* Top row: icon + number */
.cap-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

/* Icon box */
.cap-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(4, 152, 157, 0.12);
  border: 1px solid rgba(4, 152, 157, 0.2);
  color: #04989d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover .cap-card-icon {
  background: rgba(4, 152, 157, 0.18);
  box-shadow: 0 0 16px rgba(4, 152, 157, 0.2);
}

.cap-card-icon svg {
  width: 22px;
  height: 22px;
}

/* Ghost number */
.cap-card-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: rgba(4, 152, 157, 0.1);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.3s ease;
  user-select: none;
}

.capability-card:hover .cap-card-num {
  color: rgba(4, 152, 157, 0.25);
}

/* Title */
.cap-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Description */
.cap-card-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-60);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }

  #capabilities {
    padding: 80px 32px 0;
  }
}

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

  #capabilities {
    padding: 64px 24px 0;
  }
}




/* ──────────────────────────────────────────────────────────────────
   CAPABILITIES — DEEP-DIVE FEATURE ROWS
────────────────────────────────────────────────────────────────── */

/* ── Contrasting wrapper for the "Built For The Future" block ── */
.cap-deep-section {
  background: #ffffff;
  margin: 80px -64px 0;
  padding: 80px 64px 96px;
  border-top: 1px solid rgba(4, 152, 157, 0.12);
  position: relative;
  z-index: 2;
}

/* ── Section divider header ── */
.cap-deep-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}

.cap-deep-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.cap-deep-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.75;
  margin: 0;
}

/* ── Features container ── */
.cap-features {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* ── Feature row ── */
.cap-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f0fdfe 0%, #e8f9fb 100%);
  border: 1px solid rgba(4, 152, 157, 0.18);
  border-radius: 24px;
  padding: 56px 60px;
  box-shadow: 0 2px 16px rgba(4, 152, 157, 0.08);
  opacity: 0;
  transform: translateY(28px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cap-features.revealed .cap-feature-row {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, border-color 0.3s;
  transition-delay: calc(var(--fi) * 0.07s);
}

.cap-feature-row:hover {
  box-shadow: 0 20px 56px rgba(4, 152, 157, 0.13), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

.cap-feature-row--reverse {
  direction: rtl;
}

.cap-feature-row--reverse>* {
  direction: ltr;
}

/* ── Text side ── */
.cap-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cap-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #04989d;
  background: rgba(4, 152, 157, 0.1);
  border: 1px solid rgba(4, 152, 157, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  width: fit-content;
  margin-bottom: 20px;
}

.cap-feature-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #04989d;
  flex-shrink: 0;
}

.cap-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.cap-feature-tagline {
  font-size: 15px;
  font-weight: 600;
  color: #04989d;
  margin: 0 0 18px;
  line-height: 1.4;
}

.cap-feature-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-60);
  line-height: 1.8;
  margin: 0 0 24px;
}

.cap-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cap-feature-bullets li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.cap-feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(4, 152, 157, 0.35);
  border: 1.5px solid #04989d;
}

/* ── Visual card side ── */
.cap-feature-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-feature-card {
  background: #ffffff;
  border: 1.5px solid rgba(4, 152, 157, 0.22);
  border-radius: 20px;
  padding: 40px 36px 44px;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 40px rgba(4, 152, 157, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cap-feature-row:hover .cap-feature-card {
  box-shadow: 0 20px 60px rgba(4, 152, 157, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: scale(1.02);
  border-color: rgba(4, 152, 157, 0.4);
}

.cap-feature-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #04989d;
  background: rgba(4, 152, 157, 0.1);
  border: 1px solid rgba(4, 152, 157, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
}

.cap-feature-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #04989d 0%, #037b7f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(4, 152, 157, 0.4);
}

.cap-feature-card-icon svg {
  width: 32px;
  height: 32px;
}

.cap-feature-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cap-feature-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cap-feature-row {
    grid-template-columns: 1fr;
    padding: 40px 36px;
    gap: 32px;
  }

  .cap-feature-row--reverse {
    direction: ltr;
  }

  .cap-feature-card-wrap {
    order: -1;
  }

  .cap-deep-section {
    margin: 60px -32px 0;
    padding: 60px 32px 72px;
  }
}

@media (max-width: 600px) {
  .cap-feature-row {
    padding: 32px 24px;
  }

  .cap-deep-header {
    margin: 0 auto 40px;
  }

  .cap-deep-section {
    margin: 48px -24px 0;
    padding: 48px 24px 60px;
  }
}

/* ──────────────────────────────────────────────────────────────────

   WHO IT'S FOR SECTION
────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────

   WHO IT'S FOR SECTION (Healthcare Stakeholders)
────────────────────────────────────────────────────────────────── */

.sh-section {
  padding: 100px 40px;
  background: transparent;
  text-align: center;
}

.sh-grid {
  max-width: 1200px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

.sh-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 32px;
  padding: 40px 36px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 580px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-card:hover {
  transform: translateY(-6px);
}

/* Page specific card backgrounds, borders and custom hover glows */
.sh-card-patient {
  background: #f0faf9;
  border-color: #d1f2ee;
}
.sh-card-patient:hover {
  border-color: #0ab8c5;
  box-shadow: 0 20px 40px rgba(10, 184, 197, 0.08);
}

.sh-card-facilitator {
  background: #fefbf4;
  border-color: #f7eed7;
}
.sh-card-facilitator:hover {
  border-color: #d97706;
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.08);
}

.sh-card-hospital {
  background: #f5f8fc;
  border-color: #dbe4f2;
}
.sh-card-hospital:hover {
  border-color: #2563eb;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

/* Inner content column - sits beautifully in the foreground */
.sh-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  position: relative;
  max-width: 65%;
}

/* Top Icon Circle */
.sh-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.bg-patient { background: #0d9488; }
.bg-facilitator { background: #b45309; }
.bg-hospital { background: #1d4ed8; }

/* Category Tag */
.sh-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.text-patient { color: #0d9488; }
.text-facilitator { color: #b45309; }
.text-hospital { color: #1d4ed8; }

/* Titles and subtitles */
.sh-card-title {
  font-family: var(--font-serif, serif);
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 800;
  color: var(--ink, #1a2332);
  margin-bottom: 12px;
  line-height: 1.2;
}

.sh-card-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: var(--font-mono, monospace);
}

/* Bullet list */
.sh-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink, #1a2332);
  font-family: var(--font-mono, monospace);
}

.sh-list-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

.check-patient {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

.check-facilitator {
  background: rgba(180, 83, 9, 0.1);
  color: #b45309;
}

.check-hospital {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

/* Pill Button */
.sh-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  cursor: pointer;
  z-index: 3;
}

.sh-btn-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink, #1a2332);
  font-family: var(--font-mono, monospace);
}

.sh-btn-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
}

.sh-btn-arrow i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-card:hover .sh-btn-arrow i {
  transform: translateX(4px);
}

.sh-card:hover .sh-btn-pill {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Dashboard Image - styled as a premium floating card rotated in the background */
.sh-dashboard-img {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 52%;
  height: 60%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: rotate(-5deg);
  opacity: 0.12; /* Very light opacity to ensure text readability */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.sh-card:hover .sh-dashboard-img {
  transform: translate(-8px, -8px) rotate(0deg) scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  opacity: 0.22; /* Light hover opacity shift */
}

/* Stakeholder section responsiveness */
@media (max-width: 1100px) {
  .sh-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Tablet Layout: Keep horizontal side-by-side layout on wider screens */
@media (min-width: 769px) and (max-width: 1100px) {
  .sh-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 40px;
  }
  .sh-card-content {
    max-width: 52%;
    margin-bottom: 0;
  }
  .sh-dashboard-img {
    position: relative;
    right: auto;
    bottom: auto;
    width: 44%;
    height: 280px;
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    opacity: 1; /* Reset opacity since text does not overlap on tablet */
  }
  .sh-card:hover .sh-dashboard-img {
    transform: translateY(-4px);
  }
}

/* Mobile Layout: Floating background alignment */
@media (max-width: 768px) {
  .sh-card {
    min-height: 520px;
    padding: 36px 28px;
  }
  .sh-card-content {
    max-width: 70%;
  }
  .sh-dashboard-img {
    right: -16px;
    bottom: -16px;
    width: 50%;
    height: 45%;
    border-radius: 12px;
    border-width: 2px;
    opacity: 0.12; /* Keep it light on mobile too */
  }
}

/* ──────────────────────────────────────────────────────────────────
   FOOTER — full 4-column layout with compliance badges
────────────────────────────────────────────────────────────────── */

.footer-full {
  background: #0F0F0F;
  padding: 64px 48px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col .footer-brand .footer-logo-svg {
  height: 24px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-compliance-badge {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 5px 10px;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col-links a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

@media (max-width: 600px) {
  .footer-full {
    padding: 48px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PATIENT PAGE — New Design (ps- prefix)
═══════════════════════════════════════════════════════════════════ */

.ps-teal {
  color: var(--teal);
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.ps-hero {
  background: linear-gradient(135deg, #EEF4FB 0%, #E4EEF8 40%, #D6EBF2 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.ps-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.ps-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ps-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal);
  border: 1px solid rgba(4,152,157,0.3);
  background: rgba(4,152,157,0.06);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  width: fit-content;
}

.ps-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.ps-hero-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-60);
  margin-bottom: 36px;
}

.ps-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ps-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.ps-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,152,157,0.3);
}

.ps-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--ink-10);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.ps-btn-ghost:hover {
  border-color: rgba(4,152,157,0.4);
  color: var(--teal);
  background: rgba(4,152,157,0.04);
}

.ps-without-borders-wrap {
  position: relative;
  display: inline-block;
  color: var(--teal);
}

.ps-btn-primary-new {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--teal);
  color: white !important;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.ps-btn-primary-new:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,152,157,0.3);
}

.ps-btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.ps-btn-ghost-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal) !important;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.ps-btn-ghost-new:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.ps-play-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  padding-left: 2px;
  color: var(--teal);
}

.ps-trust-row-new {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid var(--ink-10);
  padding-top: 24px;
}

.ps-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-60);
}

.ps-trust-divider {
  width: 1px;
  height: 24px;
  background: var(--ink-10);
}

.ps-hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  mix-blend-mode: multiply;
}


.ps-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
}

/* ─── AI CHAT CARD (reference redesign) ──────────────────────── */
.ps-hero-right {
  position: relative;
  mix-blend-mode: multiply;
}

/* Wrapper that holds both the floating badge and the card */
.ps-chat-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── Floating "Quote Ready" badge ── */
.ps-quote-badge {
  position: absolute;
  top: -18px;
  left: -20px;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 5;
  animation: float2 5s ease-in-out infinite;
}

@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.ps-quote-check-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16,185,129,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #10B981;
  font-weight: 800;
}

.ps-quote-badge-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #1a2332);
  line-height: 1.2;
}

.ps-quote-badge-sub {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.2;
}

/* ── Main card ── */
.ps-chat-card {
  background: white;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(8,169,180,0.18), 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid rgba(8,169,180,0.12);
}

/* ── Gradient header ── */
.ps-chat-header {
  background: linear-gradient(135deg, var(--teal, #08a9b4) 0%, #3ec6c8 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-chat-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ps-chat-name {
  font-size: 16px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.ps-chat-status {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.ps-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  animation: blink 1.5s ease-in-out infinite;
}

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

/* ── Messages area ── */
.ps-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fdfe;
  min-height: 280px;
}

.ps-msg {
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  max-width: 78%;
}

.ps-msg-bot {
  background: white;
  color: var(--ink, #1a2332);
  border: 1px solid rgba(8,169,180,0.12);
  border-radius: 4px 16px 16px 16px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ps-msg-user {
  background: var(--teal, #08a9b4);
  color: white;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

/* ── Quick Actions (inside messages area) ── */
.ps-quick-actions {
  background: white;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(8,169,180,0.18);
  align-self: stretch;
  max-width: 100%;
}

.ps-quick-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal, #08a9b4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.ps-quick-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ps-quick-btn {
  padding: 6px 14px;
  border: 1px solid rgba(8,169,180,0.28);
  border-radius: 8px;
  background: rgba(8,169,180,0.08);
  color: var(--teal, #08a9b4);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ps-quick-btn:hover {
  background: var(--teal, #08a9b4);
  color: white;
  border-color: var(--teal, #08a9b4);
}

/* ─── SHARED SECTION LAYOUT ────────────────────────────────────── */
.ps-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.ps-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  border: 1px solid var(--ink-10);
  background: rgba(255,255,255,0.6);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.ps-section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.ps-section-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-60);
  margin-bottom: 56px;
}

/* ─── JOURNEY STEPS ─────────────────────────────────────────────── */
.ps-journey {
  background: linear-gradient(180deg, #f0f5f8 0%, #e8eef4 100%);
  padding: 100px 0;
}

.ps-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.ps-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ps-step-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(4,152,157,0.35), rgba(4,152,157,0.15));
  margin-left: 42px;
}

.ps-step-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.ps-step-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(4,152,157,0.25);
  transition: transform 0.25s;
}

.ps-step:hover .ps-step-circle {
  transform: scale(1.06);
}

.ps-step-card {
  flex: 1;
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s;
}

.ps-step-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.ps-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ps-step-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.ps-step-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
}

.ps-badge-teal {
  background: rgba(4,152,157,0.1);
  color: var(--teal);
  border: 1px solid rgba(4,152,157,0.2);
}

.ps-step-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-60);
}

/* ─── FEATURES GRID ─────────────────────────────────────────────── */
.ps-features {
  background: linear-gradient(180deg, #dce9f4 0%, #c8dcee 100%);
  padding: 100px 0;
}

.ps-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ps-feature-card {
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
}

.ps-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(4,152,157,0.2);
}

.ps-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.ps-feature-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.ps-feature-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-60);
}

/* ─── TESTIMONIALS ──────────────────────────────────────────────── */
.ps-testimonials {
  background: linear-gradient(180deg, #eaf2f7 0%, #dde9f2 100%);
  padding: 100px 0;
}

.ps-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ps-testimonial-card {
  background: white;
  border: 1px solid var(--ink-10);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
}

.ps-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.ps-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #F59E0B;
  font-size: 18px;
  letter-spacing: 2px;
}

.ps-quote-mark {
  font-size: 36px;
  color: rgba(4,152,157,0.18);
  line-height: 1;
  font-family: Georgia, serif;
}

.ps-testimonial-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-60);
  font-style: italic;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-10);
  padding-bottom: 20px;
}

.ps-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.ps-author-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.ps-author-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
  margin-top: 2px;
}

/* ─── CTA ──────────────────────────────────────────────────────── */
.ps-cta {
  background: linear-gradient(135deg, var(--teal) 0%, #037a80 60%, #025e63 100%);
  padding: 100px 0;
  text-align: center;
}

.ps-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.ps-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.ps-cta-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 40px;
}

.ps-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ps-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
}

.ps-cta-btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.ps-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.25s;
}

.ps-cta-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ─── PATIENT PAGE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .ps-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ps-features-grid,
  .ps-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .ps-hero {
    padding: 100px 0 60px;
  }

  .ps-hero-inner,
  .ps-section-inner,
  .ps-cta-inner {
    padding: 0 20px;
  }

  .ps-hero-ctas {
    flex-direction: column;
  }

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

  .ps-steps {
    max-width: 100%;
  }

  .ps-step-circle {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .ps-step-connector {
    margin-left: 32px;
  }
}

/* ══════════════════════════════════════════════════
   FACILITATOR PAGE  (fp-)
══════════════════════════════════════════════════ */
.fp-page { font-family: var(--font-mono, 'Inter', sans-serif); }
.fp-accent { color: var(--teal); }
.fp-underline-wrap {
  position: relative;
  display: inline-block;
}

/* Shared badge */
.fp-badge, .fp-section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--teal); border: 1px solid rgba(4,152,157,0.3);
  background: rgba(4,152,157,0.06); padding: 5px 14px;
  border-radius: 20px; margin-bottom: 28px; width: fit-content;
}
.fp-badge-dark {
  background: rgba(4,152,157,0.1); color: var(--teal);
  border-color: rgba(4,152,157,0.2);
}

/* Shared buttons */
.fp-btn-primary {
  background: var(--teal); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.fp-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,152,157,0.3);
}
.fp-btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink-10); border-radius: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
}
.fp-btn-ghost:hover {
  border-color: rgba(4,152,157,0.4);
  color: var(--teal);
  background: rgba(4,152,157,0.04);
}

/* ── Hero ── */
.fp-hero {
  background: linear-gradient(135deg, #EEF4FB 0%, #E4EEF8 40%, #D6EBF2 100%);
  padding: 120px 40px 80px; min-height: 85vh;
  display: flex; align-items: center;
}
.fp-hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.fp-hero-left { color: var(--ink); }
.fp-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.1; margin: 16px 0 8px; color: var(--ink);
  font-family: var(--font-serif, serif);
}
.fp-hero-subtitle {
  font-size: 1.1rem; color: var(--ink-60);
  margin-bottom: 16px; line-height: 1.6;
  font-family: var(--font-mono);
}
.fp-hero-body {
  font-size: 0.95rem; color: var(--ink-60);
  line-height: 1.7; margin-bottom: 32px;
}
.fp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.fp-hero-stats { display: flex; gap: 40px; }
.fp-stat { display: flex; flex-direction: column; }
.fp-stat-val { font-size: 2rem; font-weight: 800; color: var(--teal); }
.fp-stat-lbl { font-size: 0.75rem; color: var(--ink-60); margin-top: 2px; }

.fp-hero-right {
  position: relative;
  mix-blend-mode: multiply;
}
.fp-hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  mix-blend-mode: multiply;
}

/* ── Dashboard card ── */
.fp-dashboard-card {
  background: white;
  border: 1px solid rgba(8,169,180,0.12);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(8,169,180,0.18), 0 4px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}
.fp-db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.fp-db-meta {
  font-size: 12px;
  color: var(--ink-60);
  margin-bottom: 4px;
}
.fp-db-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.fp-db-badge {
  background: rgba(8,169,180,0.08);
  border: 1px solid rgba(8,169,180,0.2);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fp-db-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}
.fp-db-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
.fp-commission-box {
  background: rgba(8,169,180,0.06);
  border: 1px solid rgba(8,169,180,0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.fp-comm-label {
  font-size: 11px;
  color: var(--ink-60);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fp-comm-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
}
.fp-comm-trend {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fp-pipeline-section {
  margin-bottom: 20px;
}
.fp-pipeline-label {
  font-size: 11px;
  color: var(--ink-60);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fp-pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: white;
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--ink-10);
}
.fp-p-name {
  font-size: 13px;
  color: var(--ink);
}
.fp-p-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.fp-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fp-qa-chip {
  font-size: 11px;
  background: rgba(8,169,180,0.06);
  color: var(--teal);
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(8,169,180,0.15);
}
.fp-comm-paid-toast {
  position: absolute;
  bottom: -16px;
  right: -20px;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: float2 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.fp-toast-icon-box {
  width: 30px;
  height: 30px;
  background: rgba(16,185,129,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  font-size: 13px;
}
.fp-toast-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.fp-toast-sub {
  font-size: 11px;
  color: var(--ink-60);
}

/* ── Before / After ── */
.fp-before-after {
  padding: 100px 40px;
  background: #fbfdff;
  text-align: center;
}
.fp-section-desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-60);
  margin-top: 14px;
  margin-bottom: 50px;
}
.fp-ba-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}
.fp-ba-col {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.fp-ba-col.fp-ba-without {
  flex: 1;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.015);
}
.fp-ba-col.fp-ba-with {
  flex: 1.25;
  border-color: rgba(4, 152, 157, 0.08);
  box-shadow: 0 15px 45px rgba(4, 152, 157, 0.025);
}
.fp-ba-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(26,26,26,0.05);
}
.fp-ba-header {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.fp-ba-icon-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-ba-icon-large.red {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.12);
}
.fp-ba-icon-large.teal {
  background: var(--teal-mid);
  color: var(--teal);
  border: 1px solid rgba(4, 152, 157, 0.15);
}
.fp-ba-header-text h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.fp-ba-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}
.fp-ba-divider {
  height: 1px;
  background: rgba(26, 26, 26, 0.06);
  margin: 28px 0;
}
.fp-ba-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-ba-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 26, 0.04);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fp-ba-item.no:hover {
  border-color: rgba(220, 38, 38, 0.15);
}
.fp-ba-item.yes:hover {
  border-color: rgba(4, 152, 157, 0.2);
}
.fp-ba-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fp-ba-item-icon.red {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
}
.fp-ba-item-icon.teal {
  background: var(--teal-mid);
  color: var(--teal);
}
.fp-ba-item-text {
  text-align: left;
  flex-grow: 1;
}
.fp-ba-item-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.fp-ba-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 60px;
}
.fp-ba-arrow-circle-outer {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(4, 152, 157, 0.02);
  border: 1px solid rgba(4, 152, 157, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(4, 152, 157, 0.01), 0 0 0 20px rgba(4, 152, 157, 0.005);
}
.fp-ba-arrow-circle-inner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(4, 152, 157, 0.15);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(4, 152, 157, 0.06);
}
@media (max-width: 900px) {
  .fp-ba-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .fp-ba-arrow-wrap {
    width: 100%;
    height: 60px;
    transform: rotate(90deg);
    margin: 10px 0;
  }
}


/* ── Operating System ── */
.fp-os-section {
  padding: 80px 40px; background: linear-gradient(180deg, #dce9f4 0%, #c8dcee 100%); text-align: center;
}
.fp-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--ink); margin-bottom: 12px;
  font-family: var(--font-serif, serif);
}
.fp-section-sub { font-size: 1rem; color: var(--ink-60); margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.fp-os-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left;
}
.fp-os-card {
  background: #fff; border: 1px solid var(--ink-10); border-radius: 16px;
  padding: 28px; transition: all 0.25s;
}
.fp-os-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); border-color: rgba(4,152,157,0.2); }
.fp-os-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fp-os-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.fp-os-num { font-size: 1.8rem; font-weight: 800; color: #e2e8f0; }
.fp-os-card-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.fp-os-card-desc { font-size: 0.88rem; color: var(--ink-60); line-height: 1.6; }

/* ── Workflow ── */
.fp-workflow-section {
  padding: 100px 40px; background: linear-gradient(180deg, #eaf2f7 0%, #dde9f2 100%); text-align: center;
}
.fp-light-title { color: var(--ink); }
.fp-wf-container {
  max-width: 700px; margin: 50px auto 0; position: relative;
}
.fp-wf-line {
  position: absolute; left: 19px; top: 34px; bottom: 34px; width: 1px;
  background: linear-gradient(to bottom, var(--teal), rgba(4, 152, 157, 0.1));
  opacity: 0.4;
  z-index: 1;
}
.fp-wf-row {
  display: flex; gap: 24px; margin-bottom: 40px; position: relative;
  align-items: flex-start;
}
.fp-wf-row:last-child {
  margin-bottom: 0;
}
.fp-wf-num-circle {
  flex-shrink: 0; width: 38px; height: 38px; margin-top: 15px;
  background: white;
  border: 1px solid var(--teal);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 13px; position: relative; z-index: 2;
  box-shadow: 0 4px 12px rgba(4,152,157,0.15);
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1;
}
.fp-wf-card {
  background: white; border-radius: 16px; padding: 22px 26px;
  flex: 1; border: 1px solid var(--ink-10);
  text-align: left;
  transition: all 0.25s;
}
.fp-wf-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.fp-wf-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.fp-wf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  opacity: 0.85;
  flex-shrink: 0;
}
.fp-wf-step-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.fp-wf-step-desc {
  font-size: 13px; color: var(--ink-60); line-height: 1.6;
}

/* ── White Label ── */
.fp-wl-section { padding: 80px 40px; background: #f8fafc; }
.fp-wl-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.fp-wl-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: var(--ink); line-height: 1.1; margin-bottom: 16px;
  font-family: var(--font-serif, serif);
}
.fp-wl-divider { width: 48px; height: 3px; background: var(--teal); margin: 20px 0 24px; border-radius: 2px; }
.fp-wl-body { font-size: 0.95rem; color: var(--ink-60); line-height: 1.7; margin-bottom: 24px; }
.fp-wl-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--ink-60); margin-bottom: 12px;
}
.fp-wl-chk {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(4,152,157,0.1); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.fp-wl-portal-card {
  background: #f0f4f8; border: 1px solid var(--ink-10); border-radius: 20px; overflow: hidden;
}
.fp-wl-portal-header {
  background: #1e293b; padding: 18px 24px;
  display: flex; align-items: center; gap: 12px;
}
.fp-wl-portal-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.fp-wl-portal-name { font-size: 0.95rem; font-weight: 700; color: #fff; flex: 1; }
.fp-wl-portal-ai { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.fp-wl-portal-body { padding: 24px; }
.fp-wl-portal-url { font-size: 0.72rem; color: #94a3b8; margin-bottom: 8px; }
.fp-wl-portal-welcome { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.fp-wl-portal-msg { font-size: 0.85rem; color: var(--ink-60); margin-bottom: 20px; }
.fp-wl-portal-journey {
  background: #fff; border: 1px solid var(--ink-10); border-radius: 12px; padding: 16px;
}
.fp-wl-journey-label { font-size: 0.65rem; color: var(--teal); letter-spacing: 0.1em; font-weight: 700; margin-bottom: 12px; }
.fp-wl-journey-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--ink-60); padding: 8px 0;
  border-bottom: 1px solid #f0f4f8;
}
.fp-wl-journey-item:last-child { border-bottom: none; }
.fp-wl-pending { color: #94a3b8; }
.fp-wl-caption { text-align: center; padding: 12px; font-size: 0.78rem; color: #94a3b8; font-style: italic; }

/* ── Facilitator CTA ── */
.fp-cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, #037a80 60%, #025e63 100%);
  padding: 80px 40px; text-align: center; color: #fff;
}
.fp-cta-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.fp-cta-sub { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.fp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.fp-cta-btn-primary {
  background: #fff; color: var(--teal);
  border: none; border-radius: 12px; padding: 16px 32px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.15s;
}
.fp-cta-btn-primary:hover { transform: translateY(-2px); }
.fp-cta-btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 12px;
  padding: 16px 32px; font-size: 1rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s;
}
.fp-cta-btn-outline:hover { border-color: #fff; }


.hp-page {
  font-family: var(--font-mono, 'Inter', sans-serif);
}
.hp-accent { color: var(--teal); }
.hp-badge, .hp-section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--teal); border: 1px solid rgba(4,152,157,0.3);
  background: rgba(4,152,157,0.06); padding: 5px 14px;
  border-radius: 20px; margin-bottom: 28px; width: fit-content;
}
.hp-badge-dark {
  background: rgba(4,152,157,0.1); color: var(--teal);
  border-color: rgba(4,152,157,0.2);
}
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--teal); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
}
.hp-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,152,157,0.3);
}
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent; color: var(--ink);
  border: 1px solid rgba(0,0,0,0.18); border-radius: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
}
.hp-btn-ghost:hover {
  border-color: rgba(4,152,157,0.4);
  color: var(--teal);
  background: rgba(4,152,157,0.04);
}

/* ── Hero ── */
.hp-hero {
  background: linear-gradient(135deg, #EEF4FB 0%, #E4EEF8 40%, #D6EBF2 100%);
  padding: 120px 40px 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hp-hero-left {
  color: var(--ink);
}
.hp-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 16px 0 8px;
  color: var(--ink);
  font-family: var(--font-serif, serif);
}
.hp-hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-60);
  margin-bottom: 16px;
  line-height: 1.6;
  font-family: var(--font-mono);
}
.hp-hero-body {
  font-size: 0.95rem;
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hp-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hp-stat {
  display: flex;
  flex-direction: column;
}
.hp-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}
.hp-stat-lbl {
  font-size: 0.75rem;
  color: var(--ink-60);
  margin-top: 2px;
}
.hp-hero-right {
  position: relative;
  mix-blend-mode: multiply;
}
.hp-hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  clip-path: ellipse(48% 48% at 50% 50%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

/* Feature Pills */
.hp-feature-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f4fafc;
  border: 1px solid rgba(4,152,157,0.15);
  border-radius: 10px;
  cursor: default;
}
.hp-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(4,152,157,0.1);
  color: var(--teal);
  flex-shrink: 0;
}
.hp-pill-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* ── Challenges Section ── */
.hp-challenges-section {
  padding: 100px 40px;
  background: #ffffff;
  text-align: center;
}
.hp-challenges-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.hp-challenge-card {
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
  border: 1px solid rgba(220, 38, 38, 0.08);
  border-radius: 20px;
  padding: 28px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hp-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}
.hp-challenge-icon {
  width: 52px;
  height: 52px;
  background: rgba(220, 38, 38, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  margin-bottom: 16px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}
.hp-challenge-card h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.hp-challenge-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-60);
  margin: 0;
}

/* ── Modules Section ── */
.hp-modules-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, #dce9f4 0%, #c8dcee 100%);
  text-align: center;
}
.hp-modules-grid {
  max-width: 1200px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-module-card {
  background: #ffffff;
  border: 1px solid var(--ink-10);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hp-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(4, 152, 157, 0.2);
}
.hp-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.hp-module-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.hp-module-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-60);
  margin: 0;
}

/* ── Command Center Details ── */
.hp-cc-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, #eaf2f7 0%, #dde9f2 100%);
  text-align: center;
}
.hp-cc-grid {
  max-width: 1000px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hp-cc-card {
  background: #ffffff;
  border: 1px solid rgba(8, 169, 180, 0.12);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.hp-cc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(4, 152, 157, 0.4);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(4, 152, 157, 0.12);
}
.hp-cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hp-cc-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.hp-cc-lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.hp-cc-sub {
  font-size: 11px;
  color: var(--ink-60);
}

/* ── Pilot CTA ── */
.hp-cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, #037a80 60%, #025e63 100%);
  padding: 80px 40px; text-align: center; color: #fff;
}
.hp-cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600; margin-bottom: 20px;
}
.hp-cta-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.hp-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hp-cta-btn-primary {
  background: #fff; color: var(--teal);
  border: none; border-radius: 12px; padding: 16px 32px;
  font-size: 1rem; font-weight: 800; cursor: pointer; transition: transform 0.15s;
}
.hp-cta-btn-primary:hover { transform: translateY(-2px); }
.hp-cta-btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 12px;
  padding: 16px 32px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.2s;
}
.hp-cta-btn-outline:hover { border-color: #fff; }
.hp-cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

@media (max-width: 1024px) {
  .hp-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hp-challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hp-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-cc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hp-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-modules-grid {
    grid-template-columns: 1fr;
  }
  .hp-cc-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hp-challenges-grid {
    grid-template-columns: 1fr;
  }
}



/* ══════════════════════════════════════════════════
   ABOUT PAGE  (ab-)
══════════════════════════════════════════════════ */
.ab-page { font-family: var(--font-mono, 'Inter', sans-serif); }
.ab-accent { color: var(--teal,#2a9d8f); }
.ab-badge, .ab-section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,157,143,0.12); color: var(--teal,#2a9d8f);
  border: 1px solid rgba(42,157,143,0.25); border-radius: 999px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 20px;
}
.ab-btn-primary {
  background: var(--teal,#2a9d8f); color: #fff;
  border: none; border-radius: 10px; padding: 14px 28px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.ab-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.ab-btn-ghost {
  background: transparent; color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: border-color 0.2s;
}
.ab-btn-ghost:hover { border-color: var(--teal,#2a9d8f); color: var(--teal,#2a9d8f); }

/* ── Hero ── */
.ab-hero {
  background: linear-gradient(150deg, #0d1117 0%, #0b1e2e 60%, #0d2420 100%);
  padding: 120px 40px 100px; text-align: center; color: #fff;
}
.ab-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 800;
  line-height: 1.1; margin: 16px 0 20px;
  font-family: var(--font-serif, serif);
}
.ab-hero-body { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 600px; margin: 0 auto 36px; }
.ab-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Stats ── */
.ab-stats-section { padding: 60px 40px; background: #f8fafc; }
.ab-stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ab-stat-cell { text-align: center; padding: 32px 16px; border-right: 1px solid #e2e8f0; }
.ab-stat-cell:last-child { border-right: none; }
.ab-stat-val { font-size: 2.4rem; font-weight: 800; color: var(--teal,#2a9d8f); }
.ab-stat-label { font-size: 0.85rem; color: #64748b; margin-top: 6px; }

/* ── Mission ── */
.ab-mission-section { padding: 80px 40px; background: #f0f4f8; text-align: center; }
.ab-mission-quote {
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800;
  color: #0d1117; max-width: 800px; margin: 0 auto 20px;
  font-style: normal; line-height: 1.3;
  font-family: var(--font-serif, serif);
}
.ab-mission-divider { width: 56px; height: 3px; background: var(--teal,#2a9d8f); margin: 20px auto 24px; border-radius: 2px; }
.ab-mission-body { font-size: 1rem; color: #64748b; max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* ── Difference ── */
.ab-diff-section { padding: 80px 40px; background: #fff; text-align: center; }
.ab-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: #0d1117; margin-bottom: 12px;
  font-family: var(--font-serif, serif);
}
.ab-diff-grid {
  max-width: 1200px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left;
}
.ab-diff-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ab-diff-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); transform: translateY(-3px); }
.ab-diff-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(42,157,143,0.1); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.ab-diff-title { font-size: 1.05rem; font-weight: 700; color: #0d1117; margin-bottom: 8px; }
.ab-diff-desc { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* ── Values ── */
.ab-values-section { padding: 80px 40px; background: #0d1117; text-align: center; }
.ab-section-title-light {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  color: #fff; margin-bottom: 48px;
  font-family: var(--font-serif, serif);
}
.ab-values-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left;
}
.ab-value-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px;
  transition: background 0.2s;
}
.ab-value-card:hover { background: rgba(255,255,255,0.07); }
.ab-value-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ab-value-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(42,157,143,0.15); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.ab-value-num { font-size: 1.8rem; font-weight: 800; color: rgba(255,255,255,0.08); }
.ab-value-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ab-value-desc { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Compliance ── */
.ab-compliance-section { padding: 60px 40px; background: #f8fafc; text-align: center; }
.ab-compliance-grid {
  max-width: 1000px; margin: 32px auto 0;
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.ab-comp-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 24px 32px; min-width: 160px; text-align: center;
  transition: box-shadow 0.2s;
}
.ab-comp-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.ab-comp-code { font-size: 1.1rem; font-weight: 800; color: var(--teal,#2a9d8f); margin-bottom: 4px; }
.ab-comp-label { font-size: 0.78rem; color: #64748b; }

/* ── About CTA ── */
.ab-cta-section {
  background: linear-gradient(150deg, #0d1117 0%, #0e2230 100%);
  padding: 80px 40px; text-align: center; color: #fff;
}
.ab-cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,157,143,0.15); color: var(--teal,#2a9d8f);
  border: 1px solid rgba(42,157,143,0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600; margin-bottom: 20px;
}
.ab-cta-title { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.ab-cta-sub { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.ab-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ab-cta-btn-primary {
  background: var(--teal,#2a9d8f); color: #fff;
  border: none; border-radius: 12px; padding: 16px 32px;
  font-size: 1rem; font-weight: 800; cursor: pointer; transition: transform 0.15s;
}
.ab-cta-btn-primary:hover { transform: translateY(-2px); }
.ab-cta-btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4); border-radius: 12px;
  padding: 16px 32px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.2s;
}
.ab-cta-btn-outline:hover { border-color: #fff; }


/* ══════════════════════════════════════════════════
   CONTACT PAGE  (ct-)
══════════════════════════════════════════════════ */
.ct-page { font-family: var(--font-mono, 'Inter', sans-serif); }
.ct-accent { color: var(--teal,#2a9d8f); }
.ct-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,157,143,0.12); color: var(--teal,#2a9d8f);
  border: 1px solid rgba(42,157,143,0.25); border-radius: 999px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600; margin-bottom: 20px;
}

/* ── Hero ── */
.ct-hero {
  background: linear-gradient(160deg, #edf2f7 0%, #e8f5f3 100%);
  padding: 100px 40px 80px; text-align: center;
}
.ct-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800;
  color: #0d1117; margin-bottom: 20px;
  font-family: var(--font-serif, serif);
}
.ct-hero-body { font-size: 1rem; color: #64748b; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── Body ── */
.ct-body-section { padding: 60px 40px 80px; background: #f0f4f8; }
.ct-body-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start;
}
.ct-left-title { font-size: 1.5rem; font-weight: 800; color: #0d1117; margin-bottom: 28px; }

/* ── Options ── */
.ct-option-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 20px; margin-bottom: 14px; display: flex; gap: 16px; align-items: flex-start;
  transition: box-shadow 0.2s;
}
.ct-option-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.ct-opt-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(42,157,143,0.1); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ct-opt-title { font-size: 0.95rem; font-weight: 700; color: #0d1117; margin-bottom: 4px; }
.ct-opt-desc { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin-bottom: 8px; }
.ct-opt-link { font-size: 0.82rem; font-weight: 700; color: var(--teal,#2a9d8f); text-decoration: none; }
.ct-opt-link:hover { text-decoration: underline; }

/* ── Social ── */
.ct-social-section { margin-top: 28px; }
.ct-social-label { font-size: 0.7rem; color: #94a3b8; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 12px; }
.ct-social-row { display: flex; gap: 10px; }
.ct-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #374151;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.ct-social-btn:hover { border-color: var(--teal,#2a9d8f); color: var(--teal,#2a9d8f); }

/* ── Form card ── */
.ct-form-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 36px;
}
.ct-form-title { font-size: 1.4rem; font-weight: 800; color: #0d1117; margin-bottom: 6px; }
.ct-form-sub { font-size: 0.85rem; color: #94a3b8; margin-bottom: 28px; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-label { font-size: 0.82rem; font-weight: 600; color: #374151; }
.ct-input, .ct-select, .ct-textarea {
  padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-size: 0.9rem; color: #0d1117; background: #fff;
  font-family: inherit; transition: border-color 0.2s;
  outline: none;
}
.ct-input:focus, .ct-select:focus, .ct-textarea:focus { border-color: var(--teal,#2a9d8f); }
.ct-input::placeholder, .ct-textarea::placeholder { color: #94a3b8; }
.ct-textarea { resize: vertical; }
.ct-submit-btn {
  background: var(--teal,#2a9d8f); color: #fff;
  border: none; border-radius: 12px; padding: 16px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  width: 100%; transition: opacity 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ct-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Success state ── */
.ct-success { text-align: center; padding: 48px 24px; }
.ct-success-icon { font-size: 3rem; margin-bottom: 12px; }
.ct-success-title { font-size: 1.4rem; font-weight: 800; color: #0d1117; margin-bottom: 8px; }
.ct-success-body { font-size: 0.9rem; color: #64748b; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — all new pages
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .fp-hero-inner, .fp-wl-inner { grid-template-columns: 1fr; }
  .fp-hero-right { display: none; }
  .fp-ba-grid, .fp-os-grid { grid-template-columns: 1fr 1fr; }
  .hp-hero-inner { grid-template-columns: 1fr; }
  .hp-hero-right { display: none; }
  .hp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-features-grid { grid-template-columns: 1fr 1fr; }
  .hp-network-grid { grid-template-columns: 1fr; }
  .ab-diff-grid, .ab-values-grid { grid-template-columns: 1fr 1fr; }
  .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-body-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fp-hero { padding: 80px 20px 60px; }
  .fp-ba-grid, .fp-os-grid { grid-template-columns: 1fr; }
  .fp-wl-inner { grid-template-columns: 1fr; }
  .hp-features-grid, .hp-how-grid { grid-template-columns: 1fr; }
  .ab-diff-grid, .ab-values-grid { grid-template-columns: 1fr; }
  .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-form-row { grid-template-columns: 1fr; }
}

/* ─── PATIENT TIMELINE JOURNEY ──────────────────────────────── */
.ps-container-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}
.ps-timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.ps-timeline-line {
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light), rgba(8,169,180,0.1));
  border-radius: 2px;
}
.ps-timeline-row {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
  align-items: stretch;
}
.ps-timeline-icon-box {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(8,169,180,0.35);
  border: 3px solid white;
}
.ps-timeline-card {
  background: var(--teal-pale, #E8F5F1);
  border-radius: 20px;
  padding: 24px 28px;
  flex: 1;
  border: 1px solid rgba(8,169,180,0.15);
  transition: all 0.3s ease;
  text-align: left;
}
.ps-timeline-card:hover {
  box-shadow: 0 8px 30px rgba(8,169,180,0.15);
  border-color: var(--teal);
}
.ps-timeline-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ps-timeline-step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  font-family: var(--font-serif);
}
.ps-timeline-step-badge {
  background: rgba(8,169,180,0.1);
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(8,169,180,0.2);
  font-family: var(--font-mono);
}
.ps-timeline-step-desc {
  font-size: 14px;
  color: var(--ink-60, #64748b);
  line-height: 1.65;
  margin: 0;
  font-family: var(--font-mono);
}
/* ─── NAVBAR CTA AS BUTTON ──────────────────────────────────────── */
/* Resets browser <button> defaults and matches .nav-links li a styling  */
.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  line-height: inherit;
  transition: all 0.22s ease;
  overflow: hidden;
  position: relative;
}

/* ─── CONTACT: error banner & link-button ───────────────────────── */
.ct-error-banner {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #dc2626;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.ct-opt-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ─── DEMO REQUEST MODAL ────────────────────────────────────────── */
.dm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  animation: dm-fade-in 0.2s ease;
}
@keyframes dm-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.dm-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  animation: dm-slide-up 0.25s cubic-bezier(0.22,1,0.36,1);
}
@keyframes dm-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.dm-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--ink-10);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.dm-close:hover { background: var(--ink-30); color: var(--ink); }
.dm-header { margin-bottom: 28px; }
.dm-badge {
  display: inline-block;
  background: var(--teal-mid);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.dm-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-serif);
  margin-bottom: 8px;
  line-height: 1.2;
}
.dm-sub {
  font-size: 15px;
  color: var(--ink-60);
  font-family: var(--font-mono);
  line-height: 1.55;
}
.dm-form { display: flex; flex-direction: column; gap: 16px; }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dm-field { display: flex; flex-direction: column; gap: 6px; }
.dm-label {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.dm-input, .dm-select, .dm-textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--ink-30);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  width: 100%;
}
.dm-input:focus, .dm-select:focus, .dm-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-mid);
}
.dm-input:disabled, .dm-select:disabled, .dm-textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dm-textarea { resize: vertical; min-height: 80px; }
.dm-error-banner {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #dc2626;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-mono);
}
.dm-submit-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, opacity 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.dm-submit-btn:hover:not(:disabled) { background: var(--teal-light); transform: translateY(-1px); }
.dm-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.dm-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dm-spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes dm-spin { to { transform: rotate(360deg); } }
.dm-success { text-align: center; padding: 24px 0 8px; }
.dm-success-icon { font-size: 52px; margin-bottom: 16px; }
.dm-success-title {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 10px;
}
.dm-success-body {
  font-size: 15px;
  color: var(--ink-60);
  font-family: var(--font-mono);
  line-height: 1.6;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .dm-modal { padding: 28px 20px; }
  .dm-row { grid-template-columns: 1fr; }
  .dm-title { font-size: 22px; }
}
