/* ============ Base & Smooth Scroll ============ */
html {
  scroll-behavior: smooth;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body { -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2f8cff 0%, #00d2a8 100%);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(47, 140, 255, 0.4);
}

/* ============ CURSOR GLOW ============ */
.hero-glow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 140, 255, 0.10) 0%, rgba(0, 210, 168, 0.06) 40%, transparent 65%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s var(--ease-out);
  transform: translate(-50%, -50%);
  will-change: transform;
}
@media (pointer: coarse) { .hero-glow { display: none; } }

/* ============ GRADIENT SHIMMER (for hero accent word) ============ */
.shimmer-text {
  background: linear-gradient(90deg, #1a6ef5 0%, #00d2a8 25%, #2f8cff 50%, #00d2a8 75%, #1a6ef5 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: shimmerMove 6s linear infinite;
}
@keyframes shimmerMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============ SOFT SCROLL-IN SCALE ============ */
.reveal.soft-scale {
  transform: translateY(16px) scale(0.985);
}
.reveal.soft-scale.is-visible {
  transform: translateY(0) scale(1);
}

/* ============ TYPING CURSOR ============ */
.type-cursor-hero {
  display: inline-block;
  width: 4px;
  height: 0.75em;
  background: linear-gradient(180deg, #2f8cff, #00d2a8);
  vertical-align: baseline;
  margin-left: 6px;
  border-radius: 1px;
  animation: caretBlink 0.95s infinite;
}
.type-cursor-inline {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: currentColor;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caretBlink 0.95s infinite;
  opacity: 0.7;
}
@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ============ GLOW-CARD (cursor-tracked subtle highlight) ============ */
.glow-card {
  position: relative;
  isolation: isolate;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 140, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* ============ MAGNETIC ============ */
.magnetic {
  transition: transform 0.3s var(--ease-out);
  will-change: transform;
}

/* ============ LOADING SCREEN ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fafaf7;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 10%, rgba(47, 140, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 80%, rgba(0, 210, 168, 0.12), transparent 60%);
  pointer-events: none;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 0 24px;
  animation: loaderRise 0.6s var(--ease-out);
}
@keyframes loaderRise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.loader-logo {
  animation: logoFloat 2.5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}
.loader-wordmark {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #0a0a0b;
}
.loader-tagline {
  font-size: 14px;
  color: rgba(10, 10, 11, 0.55);
  margin-top: -8px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
}
.loader-bar {
  margin-top: 16px;
  width: 180px;
  height: 2px;
  background: rgba(10, 10, 11, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2f8cff, #00d2a8);
  border-radius: 2px;
  animation: loaderFill 1.6s var(--ease-out) forwards;
}
@keyframes loaderFill {
  0% { width: 0%; }
  40% { width: 55%; }
  70% { width: 82%; }
  100% { width: 100%; }
}

/* ============ Ambient gradient backdrop ============ */
.ambient-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 15% 0%, rgba(47, 140, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(0, 210, 168, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(167, 139, 250, 0.08), transparent 60%);
}

/* ============ Nav ============ */
.nav-root { transition: transform 0.25s var(--ease-out); }
.nav-link { position: relative; transition: color 0.18s; }
.nav-link:hover { color: #0a0a0b; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: #0a0a0b;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-primary { transition: transform 0.15s var(--ease-out), box-shadow 0.2s, background 0.2s; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -8px rgba(10, 10, 11, 0.4);
}

.nav-root.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 15px 40px -12px rgba(0,0,0,0.18);
}

/* ============ Reveal (scroll-in) ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HERO DUAL VISUAL ============ */
.dual-hero {
  position: relative;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Fake EHR window (behind) — interactive app */
.ehr-window {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(10, 20, 60, 0.25), 0 10px 30px -10px rgba(10, 20, 60, 0.15);
  filter: saturate(0.9);
  transform-origin: 0% 100%; /* bottom-left for dock-style minimize */
  will-change: transform, opacity, filter;
}

/* ============ APP UN-MINIMIZE FROM DOCK (bottom-left) ============ */
/* EHR starts as a tiny pin at the bottom-left of the viewport, like a dock icon,
   then arcs up + scales open into its natural position. */
body:not(.app-ready) .ehr-window {
  opacity: 0;
  transform: translate(-42vw, 60vh) scale(0.04) rotate(-1.5deg);
  filter: blur(12px) saturate(0.7);
}
body.app-ready .ehr-window {
  animation: appUnminimize 1.45s cubic-bezier(0.18, 0.9, 0.28, 1) forwards;
}
@keyframes appUnminimize {
  0% {
    opacity: 0;
    transform: translate(-42vw, 60vh) scale(0.04) rotate(-1.5deg);
    filter: blur(12px) saturate(0.7);
  }
  18% {
    opacity: 1;
  }
  55% {
    filter: blur(2px) saturate(0.85);
  }
  85% {
    transform: translate(0, -4px) scale(1.012) rotate(0);
    filter: blur(0) saturate(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
    filter: blur(0) saturate(0.9);
  }
}

/* Reverse — clicking the yellow button minimizes back to bottom-left */
.ehr-window.is-minimizing {
  animation: appMinimize 0.65s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}
@keyframes appMinimize {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
    filter: blur(0) saturate(0.9);
  }
  100% {
    opacity: 0;
    transform: translate(-42vw, 60vh) scale(0.04) rotate(-1.5deg);
    filter: blur(10px) saturate(0.7);
  }
}

/* Widget + popup — cascade in after the EHR settles */
body:not(.app-ready) .dual-hero .overlay-widget,
body:not(.app-ready) .dual-hero .overlay-popup { opacity: 0; }
body.app-ready .dual-hero .overlay-widget {
  animation: widgetSlideIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s forwards,
             widgetFloat 6s ease-in-out 1.95s infinite;
}
body.app-ready .dual-hero .overlay-popup {
  animation: popupSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.45s forwards,
             popupFloat 7s ease-in-out 2.2s infinite;
}
@keyframes widgetSlideIn {
  0%   { opacity: 0; transform: translateY(-14px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popupSlideIn {
  0%   { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* During the un-minimize the EHR briefly extends past the hero container —
   prevent it from clipping or pushing layout */
.dual-hero { overflow: visible; }

/* ============ EHR TRAFFIC LIGHTS — clickable ============ */
.ehr-traffic {
  width: 10px; height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out), filter 0.12s var(--ease-out);
}
.ehr-traffic.red    { background: #ff5f57; }
.ehr-traffic.yellow { background: #febc2e; }
.ehr-traffic.green  { background: #28c840; }
.ehr-traffic:hover  { transform: scale(1.15); filter: brightness(1.1); }
.ehr-traffic:active { transform: scale(0.92); }
.ehr-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #f4f4f1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.ehr-url {
  margin: 0 auto;
  font-size: 11px;
  color: rgba(10, 10, 11, 0.5);
  background: rgba(10, 10, 11, 0.04);
  padding: 3px 10px;
  border-radius: 999px;
}
.ehr-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
}
.ehr-sidebar {
  background: #f8f8f5;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 12px;
}
.ehr-sidebar-title {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 8px 12px;
}
.ehr-sidebar-item {
  font-size: 12.5px;
  color: rgba(10, 10, 11, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), padding-left 0.18s var(--ease-out);
}
.ehr-sidebar-item:hover {
  background: rgba(47, 140, 255, 0.05);
  color: #1657db;
  padding-left: 12px;
}
.ehr-sidebar-item.active {
  background: rgba(47, 140, 255, 0.08);
  color: #1657db;
  font-weight: 500;
}
.ehr-sidebar-item.active::before {
  content: '';
  position: absolute;
  left: -2px; top: 6px; bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2f8cff, #00d2a8);
}
.ehr-main { padding: 20px 24px; }
.ehr-header { display: flex; justify-content: space-between; align-items: center; }
.ehr-patient {
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0b;
}
.ehr-tabs {
  display: flex; gap: 14px;
}
.ehr-tab {
  font-size: 11.5px;
  color: rgba(10, 10, 11, 0.5);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.ehr-tab:hover { color: rgba(10, 10, 11, 0.85); }
.ehr-tab.active {
  color: #0a0a0b;
  border-bottom-color: #0a0a0b;
  font-weight: 500;
}
.ehr-note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(10, 10, 11, 0.75);
}
.ehr-note-line { padding: 2px 0; }
.ehr-highlight {
  background: rgba(47, 140, 255, 0.08);
  padding: 4px 8px !important;
  border-radius: 4px;
  margin-top: 6px;
  display: inline-block;
}

/* ============ TAB PANELS — fade between EHR sections ============ */
.ehr-tab-panels {
  position: relative;
  margin-top: 12px;
  min-height: 230px;
}
.ehr-panel {
  display: none;
  animation: panelSlideIn 0.35s var(--ease-out);
  margin-top: 0;
}
.ehr-panel.is-active { display: block; }
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inline CPT/ICD code chip */
.ehr-code {
  display: inline-block;
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 10.5px;
  background: rgba(47, 140, 255, 0.08);
  color: #1657db;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ehr-code.icd { background: rgba(167, 139, 250, 0.12); color: #6c4ed4; }
.ehr-code.cpt { background: rgba(47, 140, 255, 0.1); color: #1657db; }
.ehr-mod {
  display: inline-block;
  background: rgba(0, 210, 168, 0.15);
  color: #00805a;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ROS / Exam row pattern */
.ehr-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}
.ehr-row:last-child { border-bottom: none; }
.ehr-row.sub { padding-left: 12px; font-size: 11.5px; }
.ehr-row.issue { background: rgba(255, 188, 46, 0.06); border-radius: 4px; padding: 5px 8px; }
.ehr-row-label {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.ehr-section { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,0.05); font-size: 12px; color: #1657db; }

/* Diagnosis rows */
.ehr-dx {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}
.ehr-dx:last-child { border-bottom: none; }
.ehr-dx > span { margin-top: 2px; }
.ehr-dx > div { flex: 1; }
.ehr-dx-meta {
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.5);
  margin-top: 2px;
}
.ehr-dx.primary { background: linear-gradient(90deg, rgba(47, 140, 255, 0.04), transparent); border-radius: 6px; padding: 10px; }

/* Plan items */
.ehr-plan {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}
.ehr-plan:last-child { border-bottom: none; }
.ehr-plan > div { flex: 1; }
.ehr-num {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ehr-plan-sub {
  font-size: 11px;
  color: rgba(10, 10, 11, 0.55);
  margin-top: 1px;
}

/* Procedures */
.ehr-proc {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}
.ehr-proc:last-child { border-bottom: none; }
.ehr-proc > span { margin-top: 2px; }
.ehr-proc > div { flex: 1; }
.ehr-proc-meta {
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.55);
  margin-top: 2px;
}

/* Billing rows */
.ehr-bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}
.ehr-bill-row span { color: rgba(10, 10, 11, 0.5); }
.ehr-bill-row b { font-weight: 500; color: rgba(10, 10, 11, 0.85); }
.ehr-bill-row.total {
  border-top: 1px solid rgba(10, 10, 11, 0.1);
  border-bottom: none;
  padding-top: 8px;
  margin-top: 4px;
  font-size: 13px;
}
.ehr-bill-row.total b { font-weight: 700; color: #0a0a0b; }
.ehr-bill-section {
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
}
.ehr-bill-status {
  margin-top: 14px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(0, 210, 168, 0.08), rgba(47, 140, 255, 0.04));
  border: 1px solid rgba(0, 210, 168, 0.18);
  border-radius: 8px;
  font-size: 11px;
  color: #00805a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ehr-bill-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d2a8;
  box-shadow: 0 0 0 0 rgba(0, 210, 168, 0.5);
  animation: liveDot 2s ease-in-out infinite;
}
.ehr-cursor {
  display: inline-block;
  color: #2f8cff;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
  font-weight: 700;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============ OVERLAY WIDGET — minimal Cluely-style (logo · patient · mic) ============ */
.overlay-widget {
  position: absolute;
  top: 14px;
  left: 50%;
  margin-left: -125px; /* center 250px widget */
  width: 250px;
  background: rgba(20, 20, 24, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 140, 255, 0.15);
  z-index: 15;
  animation: widgetFloat 6s ease-in-out infinite;
  cursor: grab;
  user-select: none;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.overlay-widget:hover {
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(47, 140, 255, 0.25);
}
.overlay-widget.is-dragging {
  cursor: grabbing;
  animation: none !important;
  box-shadow: 0 35px 80px -10px rgba(0, 0, 0, 0.75), 0 0 0 2px rgba(47, 140, 255, 0.5);
  z-index: 20;
}
.overlay-widget::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}
.overlay-widget:hover::before { opacity: 1; }
@keyframes widgetFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.ow-logo {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.ow-patient {
  flex: 1;
  min-width: 0;
}
.ow-patient-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ow-patient-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.ow-mic {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
  color: white;
  display: grid;
  place-items: center;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s;
  position: relative;
}
.ow-mic::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
  filter: blur(6px);
  opacity: 0.4;
  z-index: -1;
}
.ow-mic:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px -4px rgba(47, 140, 255, 0.5);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 224, 187, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(47, 224, 187, 0.08); }
}

/* ============ OVERLAY POPUP — Cluely-style patient brief ============ */
.overlay-popup {
  position: absolute;
  right: -20px;
  top: 48px;
  width: 320px;
  min-height: 340px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 30px 60px -20px rgba(10, 20, 60, 0.3);
  z-index: 10;
  animation: popupFloat 7s ease-in-out infinite;
}

/* ============ VIEW STACKING (brief + chat) ============ */
.op-views-wrapper {
  display: grid;
  height: 100%;
}
.op-view {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.28s var(--ease-out), transform 0.35s var(--ease-out);
}
.op-view.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============ HINT ROW ============ */
.op-hint {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(10, 10, 11, 0.45);
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
}
.op-hint svg {
  color: #1657db;
}

/* ============ LIVE DOT ============ */
.op-live-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2fe0bb;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(47, 224, 187, 0.5);
  animation: liveDot 2s ease-in-out infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(47, 224, 187, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(47, 224, 187, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 224, 187, 0); }
}

/* ============ CHAT VIEW ============ */
.op-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.op-chat-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.op-chat-avatar {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.op-chat-avatar.user {
  background: rgba(10, 10, 11, 0.06);
  color: rgba(10, 10, 11, 0.65);
}
.op-chat-avatar.auxo {
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.1), rgba(0, 210, 168, 0.1));
  border: 1px solid rgba(47, 140, 255, 0.15);
}
.op-chat-avatar.auxo img {
  width: 16px; height: 16px;
}
.op-chat-bubble {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(10, 10, 11, 0.9);
  padding: 7px 11px;
  background: rgba(10, 10, 11, 0.04);
  border-radius: 10px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14px;
  min-height: 16px;
}
.op-chat-bubble::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: currentColor;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caretBlink 0.85s infinite;
  opacity: 0.5;
}
.op-chat-bubble.done::after { display: none; }
.op-chat-body {
  flex: 1;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(10, 10, 11, 0.85);
  min-height: 80px;
}

/* ============ THINKING DOTS ============ */
.op-thinking {
  display: flex;
  gap: 5px;
  padding: 10px 2px;
}
.op-thinking span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.35);
  animation: thinkingDot 1.3s ease-in-out infinite;
}
.op-thinking span:nth-child(2) { animation-delay: 0.18s; }
.op-thinking span:nth-child(3) { animation-delay: 0.36s; }
@keyframes thinkingDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.15); }
}

/* ============ CLAIMS / AUTH LIST ============ */
.claims-list {
  display: flex;
  flex-direction: column;
}
.claims-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.claims-list-row.in { opacity: 1; transform: translateX(0); }
.claims-list-row:last-child { border-bottom: none; padding-bottom: 0; }
.claims-list-row > div:first-child {
  flex: 1;
  min-width: 0;
}
.claims-list-row .sub {
  font-size: 10px;
  color: rgba(10, 10, 11, 0.5);
  margin-top: 1px;
}
.status-badge {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  white-space: nowrap;
}
.status-badge.paid { background: rgba(0, 210, 168, 0.15); color: #00805a; }
.status-badge.pending { background: rgba(255, 188, 46, 0.15); color: #a57007; }
.status-badge.denied { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.status-badge.underpaid { background: rgba(47, 140, 255, 0.12); color: #1657db; }
.status-badge.approved { background: rgba(0, 210, 168, 0.15); color: #00805a; }
.status-badge.review { background: rgba(47, 140, 255, 0.12); color: #1657db; }

/* ============ TEXT LIST ============ */
.text-list-intro {
  font-size: 11.5px;
  color: rgba(10, 10, 11, 0.85);
  margin-bottom: 6px;
}
.text-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.text-list-items li {
  padding: 3px 0 3px 14px;
  position: relative;
  font-size: 11px;
  color: rgba(10, 10, 11, 0.75);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.text-list-items li.in { opacity: 1; transform: translateX(0); }
.text-list-items li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
}
.text-list-foot {
  margin-top: 8px;
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.5);
  padding-top: 7px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============ SOAP NOTE ============ */
.soap-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.soap-row {
  display: flex;
  gap: 6px;
  padding: 3px 0;
  font-size: 11px;
  color: rgba(10, 10, 11, 0.8);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.soap-row.in { opacity: 1; transform: translateY(0); }
.soap-label {
  font-weight: 700;
  color: #1657db;
  flex-shrink: 0;
  width: 14px;
}
.soap-action {
  margin-top: 8px;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.08), rgba(0, 210, 168, 0.08));
  border: 1px solid rgba(47, 140, 255, 0.15);
  border-radius: 8px;
  font-size: 10.5px;
  color: #1657db;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.soap-action.in { opacity: 1; transform: translateY(0); }

/* ============ CHAT FOOT ============ */
.op-chat-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.5);
}

/* ============ MIC LISTENING STATE ============ */
.ow-mic {
  position: relative;
}
.ow-mic.is-listening {
  animation: micPulse 1s ease-in-out infinite;
}
.ow-mic.is-listening::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 13px;
  border: 2px solid #2fe0bb;
  opacity: 0;
  animation: micRing 1.1s ease-out infinite;
}
@keyframes micPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes micRing {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes popupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.op-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.op-kicker {
  font-size: 10.5px;
  font-weight: 600;
  color: #1657db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.op-close {
  background: none;
  border: none;
  color: rgba(10, 10, 11, 0.35);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
}
.op-close:hover { color: rgba(10, 10, 11, 0.7); }
.op-patient {
  padding: 12px 14px;
  background: rgba(10, 10, 11, 0.03);
  border-radius: 10px;
  margin-bottom: 14px;
}
.op-patient-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.op-patient-meta {
  font-size: 11.5px;
  color: rgba(10, 10, 11, 0.55);
  margin-top: 2px;
}
.op-brief {
  display: flex;
  flex-direction: column;
}
.op-brief-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  font-size: 12px;
}
.op-brief-row:last-child { border-bottom: none; }
.op-brief-row span { color: rgba(10, 10, 11, 0.5); }
.op-brief-row b { color: rgba(10, 10, 11, 0.9); font-weight: 500; }
.op-prompt {
  margin-top: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.06), rgba(0, 210, 168, 0.06));
  border: 1px solid rgba(47, 140, 255, 0.12);
  border-radius: 10px;
}
.op-prompt-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 13.5px;
  color: rgba(10, 10, 11, 0.8);
  line-height: 1.4;
}

/* ============ SURFACE CARDS (platform section) ============ */
.surface-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 32px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px rgba(10, 20, 60, 0.15);
}
.surface-kicker {
  font-size: 11.5px;
  font-weight: 600;
  color: #1657db;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.surface-title {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.surface-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #1657db;
}
.surface-body {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(10, 10, 11, 0.72);
  line-height: 1.6;
}
.surface-bullets {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.surface-bullets li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: rgba(10, 10, 11, 0.8);
}
.surface-bullets li span {
  color: #00a085;
  font-size: 8px;
}
.surface-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1657db;
  transition: transform 0.2s var(--ease-out);
}
.surface-link:hover { transform: translateX(3px); }

/* ============ SIDEBAR ITEMS (shared) ============ */
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(10, 10, 11, 0.65);
  cursor: default;
  transition: background 0.12s;
}
.sidebar-item:hover { background: rgba(0, 0, 0, 0.03); }
.sidebar-item.active {
  background: rgba(47, 140, 255, 0.08);
  color: #1657db;
  font-weight: 500;
}
.sidebar-item .dot { width: 6px; height: 6px; border-radius: 50%; background: #2f8cff; }
.sidebar-item .badge {
  margin-left: auto;
  background: #1a6ef5;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
}

/* ============ Pills ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: rgba(10, 10, 11, 0.65);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============ Stat cards ============ */
.stat-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
}
.stat-label {
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-value {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ============ Chips / tags ============ */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.chip-green { background: rgba(0, 210, 168, 0.15); color: #00805a; }
.chip-amber { background: rgba(255, 188, 46, 0.15); color: #b17408; }
.chip-blue { background: rgba(47, 140, 255, 0.12); color: #1657db; }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(10, 10, 11, 0.7);
  background: rgba(10, 10, 11, 0.05);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 11, 0.06);
}
.tag.tag-active {
  background: #0a0a0b;
  color: white;
  border-color: #0a0a0b;
}

/* ============ Logo placeholders ============ */
.logo-placeholder {
  font-size: 14px;
  font-weight: 500;
  color: rgba(10, 10, 11, 0.55);
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
}

/* ============ Steps (how it works) ============ */
.step-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10, 20, 60, 0.15);
}
.step-card.featured {
  border-color: rgba(47, 140, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(47, 140, 255, 0.08), 0 10px 20px -10px rgba(47, 140, 255, 0.2);
}
.step-num {
  font-size: 11px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.35);
  letter-spacing: 0.08em;
}
.step-icon {
  margin-top: 10px;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.step-title {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lives-badge {
  font-size: 9.5px;
  font-weight: 600;
  color: #1657db;
  background: rgba(47, 140, 255, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.step-body {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(10, 10, 11, 0.7);
  line-height: 1.55;
}

/* ============ OVERLAY DEEP-DIVE DEMO ============ */
.overlay-demo {
  position: relative;
  height: 480px;
}
.demo-ehr {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.demo-ehr-status {
  margin-left: auto;
  font-size: 10.5px;
  color: #2fe0bb;
  transition: color 0.3s var(--ease-out);
}
.demo-ehr-status.scanning { color: #58aeff; }
.demo-ehr-status.issue { color: #ffbc2e; }
.demo-ehr-status.clear { color: #2fe0bb; }

/* scanning sweep */
.demo-ehr-scan {
  position: absolute;
  left: 12px; right: 12px;
  top: -60px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(47, 140, 255, 0.18) 45%, rgba(0, 210, 168, 0.3) 55%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  border-radius: 12px;
  filter: blur(6px);
  z-index: 1;
}
.demo-ehr.scanning .demo-ehr-scan {
  opacity: 1;
  animation: scanSweep 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes scanSweep {
  0% { top: -60px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% + 20px); opacity: 0; }
}

/* field states */
.demo-ehr-field {
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.demo-ehr-field.flash {
  animation: fieldFlash 0.45s var(--ease-out);
}
@keyframes fieldFlash {
  0% { background: rgba(255, 255, 255, 0.03); }
  50% { background: rgba(47, 140, 255, 0.18); border-color: rgba(47, 140, 255, 0.4); }
  100% { background: rgba(255, 255, 255, 0.03); }
}
.demo-ehr-field.issue {
  background: rgba(255, 188, 46, 0.1);
  border-color: rgba(255, 188, 46, 0.35);
}
.demo-ehr-field.issue .demo-ehr-modifier {
  color: #ffbc2e !important;
  font-weight: 600;
}
.demo-ehr-field.applied {
  background: rgba(0, 210, 168, 0.1);
  border-color: rgba(0, 210, 168, 0.35);
  animation: appliedPulse 0.6s var(--ease-out);
}
.demo-ehr-field.applied .demo-ehr-modifier {
  color: #2fe0bb !important;
  font-weight: 600;
}
@keyframes appliedPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 210, 168, 0.45); }
  100% { box-shadow: 0 0 0 10px rgba(0, 210, 168, 0); }
}

.demo-ehr-modifier { color: #ffbc2e; }

/* popup states */
.dp-idle {
  font-size: 11.5px;
  color: rgba(10, 10, 11, 0.55);
  line-height: 1.5;
  padding: 4px 0;
}
.dp-row.enter {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.dp-row.enter.in {
  opacity: 1;
  transform: translateX(0);
}
.dp-tick.amber { background: rgba(255, 188, 46, 0.18); color: #b17408; }
.dp-action {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s;
  letter-spacing: -0.01em;
}
.dp-action[hidden] { display: none; }
.dp-action.ready {
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
  color: white;
  box-shadow: 0 6px 18px -6px rgba(47, 140, 255, 0.55);
}
.dp-action.ready:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(47, 140, 255, 0.65);
}
.dp-action.ready:active { transform: translateY(0); }

.dp-kicker.scanning,
.dp-kicker.cleared {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dp-kicker.scanning::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #58aeff;
  box-shadow: 0 0 0 0 rgba(88, 174, 255, 0.6);
  animation: liveDot 1.2s ease-in-out infinite;
}
.dp-kicker.cleared::before {
  content: '✓';
  font-size: 10px;
  color: #2fe0bb;
}
.demo-ehr-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.demo-ehr-url {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.demo-ehr-body {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-ehr-field {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.demo-ehr-field span { color: rgba(255, 255, 255, 0.4); }
.demo-ehr-field b { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.demo-ehr-active {
  color: #2fe0bb !important;
}
.demo-cursor {
  display: inline-block;
  color: #2fe0bb;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}

.demo-widget {
  position: absolute;
  right: 20px;
  top: 60px;
  width: 220px;
  background: rgba(10, 10, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(47, 224, 187, 0.15);
  z-index: 5;
  animation: widgetFloat 6s ease-in-out infinite;
}
.dw-head { display: flex; align-items: center; gap: 6px; }
.dw-pulse {
  width: 5px; height: 5px; border-radius: 50%;
  background: #2fe0bb;
  box-shadow: 0 0 0 3px rgba(47, 224, 187, 0.25);
  animation: pulse 2s ease-in-out infinite;
}
.dw-title { font-size: 11px; font-weight: 600; }
.dw-line {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.dw-issues { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.dw-issue {
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
}
.dw-issue.green { background: rgba(47, 224, 187, 0.12); color: #2fe0bb; }
.dw-issue.amber { background: rgba(255, 188, 46, 0.12); color: #ffbc2e; }
.dw-cta {
  margin-top: 10px;
  width: 100%;
  background: white;
  color: #0a0a0b;
  border: none;
  padding: 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.demo-popup {
  position: absolute;
  right: -8px;
  bottom: 30px;
  width: 270px;
  background: white;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
  z-index: 5;
  animation: popupFloat 7s ease-in-out infinite;
}
.dp-head { margin-bottom: 12px; }
.dp-kicker {
  font-size: 9.5px;
  font-weight: 600;
  color: #1657db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dp-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0b;
  letter-spacing: -0.02em;
}
.dp-body { display: flex; flex-direction: column; gap: 8px; }
.dp-row {
  display: flex; gap: 8px; font-size: 11.5px;
  color: rgba(10, 10, 11, 0.8);
}
.dp-row > div { flex: 1; }
.dp-tick {
  width: 16px; height: 16px;
  border-radius: 5px;
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.dp-tick.green { background: rgba(0, 210, 168, 0.18); color: #00805a; }
.dp-sub {
  display: block;
  font-size: 10.5px;
  color: rgba(10, 10, 11, 0.5);
  margin-top: 1px;
}
.dp-action {
  margin-top: 12px;
  background: #0a0a0b;
  color: white;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

/* ============ OVERLAY + PORTAL FEATURE BLOCKS ============ */
.overlay-feat,
.portal-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.of-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(47, 140, 255, 0.12);
  color: #58aeff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.of-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
}
.of-body {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}
.pf-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.pf-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0b;
}
.pf-body {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(10, 10, 11, 0.68);
  line-height: 1.55;
}

/* ============ PORTAL Dashboard ============ */
.product-frame {
  transform-style: preserve-3d;
}
.appeal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.appeal-row:last-child { border-bottom: none; }
.ap-badge {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.ap-badge.amber { background: rgba(255, 188, 46, 0.15); color: #b17408; }
.ap-badge.mint { background: rgba(0, 210, 168, 0.15); color: #00805a; }

/* ============ NEWSLETTER MOCK ============ */
.newsletter-mock {
  background: #fafaf7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
}
.nm-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nm-meta {}
.nm-subject {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nm-from {
  font-size: 11px;
  color: rgba(10, 10, 11, 0.5);
}
.nm-item {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.15s;
}
.nm-item:hover { background: white; }
.nm-item:last-child { border-bottom: none; }
.nm-item-kicker {
  font-size: 10.5px;
  font-weight: 600;
  color: #1657db;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nm-item-title {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nm-item-action {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(10, 10, 11, 0.65);
}

/* ============ Ortho section ============ */
.ortho-card,
.oc-stat-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.25s var(--ease-out);
}
.ortho-card:hover,
.oc-stat-card:hover { transform: translateY(-3px); }
.oc-stat {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.oc-label {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(10, 10, 11, 0.65);
  line-height: 1.4;
}

/* ============ Results ============ */
.result-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 36px 28px;
  transition: transform 0.25s var(--ease-out);
}
.result-card:hover { transform: translateY(-4px); }

/* ============ Team ============ */
.team-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 18px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -20px rgba(10, 20, 60, 0.15);
}
.team-photo {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background-color: #f1f1ee;
}
.team-photo:not(.team-photo-image)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%);
}
.team-photo-image {
  /* subtle dark gradient at bottom for text contrast if we add overlay text later; keeps photo crisp */
  box-shadow: inset 0 -40px 60px -30px rgba(0, 0, 0, 0.15);
}
.team-links {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}
.team-links a {
  font-size: 12px;
  font-weight: 500;
  color: #1657db;
  transition: transform 0.2s var(--ease-out);
  display: inline-block;
}
.team-links a:hover { transform: translateX(2px); }

/* ============ Security chips ============ */
.sec-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(47, 140, 255, 0.06);
  border: 1px solid rgba(47, 140, 255, 0.12);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1657db;
}

/* ============ Partners page — model cards ============ */
.model-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 28px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px rgba(10, 20, 60, 0.15);
}
.model-card.featured {
  border-color: rgba(47, 140, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(47, 140, 255, 0.08), 0 10px 30px -12px rgba(47, 140, 255, 0.3);
  background: linear-gradient(180deg, white, #f3f8ff);
}
.model-level {
  font-size: 10.5px;
  font-weight: 600;
  color: #1657db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.model-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.model-body {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(10, 10, 11, 0.7);
  line-height: 1.5;
}
.model-bullets {
  margin-top: 18px;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.model-bullets li {
  font-size: 13px;
  color: rgba(10, 10, 11, 0.7);
  padding-left: 14px;
  position: relative;
}
.model-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f8cff, #00d2a8);
}

/* EHR integration rows */
.ehr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.15s;
}
.ehr-row:hover { background: rgba(47, 140, 255, 0.02); }
.ehr-row:last-child { border-bottom: none; }
.ehr-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ehr-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f7ff, #e6fbf5);
  border: 1px solid rgba(47, 140, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #1657db;
  letter-spacing: -0.02em;
}
.ehr-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ehr-meta {
  font-size: 12px;
  color: rgba(10, 10, 11, 0.55);
  margin-top: 2px;
}

/* ============ PARTNER BULLETS ============ */
.partner-bullet {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.partner-bullet:last-child { border: none; }
.pb-num {
  font-size: 10.5px;
  font-weight: 600;
  color: #2fe0bb;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ============ FAQ ============ */
.faq-item {
  padding: 0;
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; }
.faq-item summary:hover { color: #1657db; }
.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease-out);
}
.faq-icon::before {
  left: 0; top: 50%;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0;
  width: 1.5px; height: 100%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item[open] .faq-icon { transform: rotate(90deg); }

/* Animated FAQ body using max-height trick */
.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}
.faq-item[open] .faq-body-wrap {
  grid-template-rows: 1fr;
}
.faq-body-wrap > .faq-body {
  overflow: hidden;
}
.faq-body {
  padding: 0 0 20px 0;
  font-size: 15px;
  color: rgba(10, 10, 11, 0.7);
  line-height: 1.6;
  max-width: 80%;
}

/* ============ Waitlist / Partner form ============ */
.field { display: block; }
.field > span {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: white;
  outline: none;
  transition: all 0.18s var(--ease-out);
  font-family: inherit;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
}
.field select option { background: #1a1a1d; color: white; }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(47, 140, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.12);
}
.btn-submit {
  letter-spacing: -0.01em;
  transition: transform 0.15s var(--ease-out), background 0.2s;
}
.btn-submit:hover { transform: translateY(-1px); }

/* ============ Social icons ============ */
.social {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  transition: transform 0.15s var(--ease-out), background 0.2s;
}
.social:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* ============ Responsive ============ */

/* Tablet — overlap mode, tighter positions */
/* ============ TABLET (768–1023px) ============ */
@media (max-width: 1023px) and (min-width: 768px) {
  .overlay-widget { width: 240px; margin-left: -120px; }
  .overlay-popup {
    right: -8px;
    top: 60px;
    width: 300px;
  }
  .dual-hero { animation: none; }
}

/* ============ MOBILE (≤767px) ============ */
@media (max-width: 767px) {
  /* ---------- Hero section spacing ---------- */
  #top { padding-top: 7rem; padding-bottom: 4rem; }
  section { padding-top: 4rem; padding-bottom: 4rem; }

  /* ---------- Hero typography ---------- */
  h1 .type-cursor-hero { width: 3px; }

  /* ---------- HERO STACK: widget → EHR → popup, vertical, organized ---------- */
  .dual-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    animation: none !important;
    overflow: visible;
  }
  .product-frame { animation: none !important; }

  /* Widget — flows above EHR, full-width-ish, no longer absolute or draggable */
  .dual-hero .overlay-widget {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
    padding: 10px 14px;
    gap: 10px;
    cursor: default;
    animation: widgetFadeIn 0.5s ease-out 1.0s both !important;
    order: 1;
  }
  .dual-hero .overlay-widget::before { display: none; }
  .ow-patient-name { font-size: 13px; }
  .ow-patient-sub { font-size: 10.5px; }
  .ow-mic { width: 38px; height: 38px; border-radius: 10px; }

  /* EHR window — second in stack */
  .dual-hero .ehr-window { order: 2; width: 100%; }

  /* Popup — flows below the EHR */
  .dual-hero .overlay-popup {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 380px;
    min-height: 320px;
    box-shadow: 0 18px 40px -20px rgba(10, 20, 60, 0.18);
    animation: widgetFadeIn 0.5s ease-out 1.2s both !important;
    order: 3;
  }
  @keyframes widgetFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ---------- EHR window: sidebar becomes top horizontal pill bar ---------- */
  .ehr-body {
    grid-template-columns: 1fr;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .ehr-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 10px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 4px;
    background: linear-gradient(180deg, #fafaf7, white);
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* edge fade hints there's more */
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .ehr-sidebar::-webkit-scrollbar { display: none; }
  .ehr-sidebar-title { display: none; }
  .ehr-sidebar-item {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
  }
  .ehr-sidebar-item:hover { padding-left: 12px; }
  .ehr-sidebar-item.active {
    background: #0a0a0b;
    color: white;
  }
  .ehr-sidebar-item.active::before { display: none; }

  .ehr-main { padding: 16px 18px; }
  .ehr-note, .ehr-panel { font-size: 12px; line-height: 1.55; }
  .ehr-tab-panels { min-height: 200px; }
  .ehr-header { margin-bottom: 4px; flex-wrap: wrap; gap: 8px; }
  .ehr-patient { font-size: 13px; }
  .ehr-tabs { gap: 12px; }
  .ehr-tab { font-size: 11px; }

  /* ---------- Mobile-tuned un-minimize: gentler arc, faster ---------- */
  body:not(.app-ready) .ehr-window {
    transform: translate(-22vw, 38vh) scale(0.08) rotate(-1deg);
    filter: blur(8px) saturate(0.7);
  }
  body.app-ready .ehr-window {
    animation: appUnminimizeMobile 1.05s cubic-bezier(0.18, 0.9, 0.28, 1) forwards;
  }
  @keyframes appUnminimizeMobile {
    0% {
      opacity: 0;
      transform: translate(-22vw, 38vh) scale(0.08) rotate(-1deg);
      filter: blur(8px) saturate(0.7);
    }
    18% { opacity: 1; }
    55% { filter: blur(2px) saturate(0.85); }
    85% { transform: translate(0, -3px) scale(1.008) rotate(0); }
    100% {
      opacity: 1;
      transform: translate(0, 0) scale(1) rotate(0);
      filter: blur(0) saturate(0.9);
    }
  }
  .ehr-window.is-minimizing {
    animation: appMinimizeMobile 0.6s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
  }
  @keyframes appMinimizeMobile {
    0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); filter: blur(0) saturate(0.9); }
    100% { opacity: 0; transform: translate(-22vw, 38vh) scale(0.08) rotate(-1deg); filter: blur(8px) saturate(0.7); }
  }

  /* ---------- Tab-content compaction on mobile ---------- */
  .ehr-row { grid-template-columns: 64px 1fr; gap: 10px; padding: 4px 0; font-size: 11.5px; }
  .ehr-row-label { font-size: 10px; }
  .ehr-dx { padding: 8px 0; gap: 10px; }
  .ehr-dx.primary { padding: 8px; }
  .ehr-plan { padding: 7px 0; gap: 10px; }
  .ehr-num { width: 20px; height: 20px; font-size: 10px; }
  .ehr-plan-sub, .ehr-proc-meta, .ehr-dx-meta { font-size: 10.5px; }
  .ehr-proc { padding: 8px 0; gap: 10px; }
  .ehr-bill-row { font-size: 11.5px; }
  .ehr-bill-row.total { font-size: 12.5px; }
  .ehr-bill-status { font-size: 10.5px; padding: 7px 10px; }

  /* ---------- Overlay deep-dive section: same stack treatment ---------- */
  .overlay-demo {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .overlay-demo .demo-ehr {
    position: relative;
    inset: auto;
    height: 360px;
    order: 2;
  }
  .overlay-demo .overlay-widget {
    position: relative;
    top: auto; left: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
    padding: 10px 14px;
    cursor: default;
    animation: none !important;
    order: 1;
  }
  .overlay-demo .demo-popup {
    position: relative;
    inset: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    animation: none !important;
    order: 3;
  }
  .demo-ehr-body { padding: 18px 22px; gap: 10px; }
  .demo-ehr-field { font-size: 12px; padding: 9px 12px; }

  /* ---------- Touch hover suppression ---------- */
  .glow-card::before { display: none; }

  /* ---------- Loader ---------- */
  .loader-tagline { max-width: 280px; font-size: 16px; }
  .loader-wordmark { font-size: 24px; }

  /* ---------- Card padding tightening ---------- */
  .surface-card { padding: 22px; border-radius: 18px; }
  .feature-card { padding: 22px; border-radius: 18px; }
  .step-card { padding: 18px; border-radius: 16px; }
  .team-card { padding: 12px; border-radius: 16px; }
  .result-card { padding: 26px 22px; }
  .model-card { padding: 22px; }

  /* ---------- Headlines tighten ---------- */
  h2 { letter-spacing: -0.025em; }

  /* ---------- FAQ ---------- */
  .faq-item summary { font-size: 16px; padding: 16px 0; }
  .faq-body { max-width: 100%; font-size: 14px; }

  /* ---------- Forms — stack and tighten ---------- */
  #waitlist-form,
  #partner-form { padding: 20px !important; }
  .field input, .field select, .field textarea { padding: 10px 12px; font-size: 13.5px; }

  /* ---------- Footer ---------- */
  footer { padding-top: 36px; padding-bottom: 36px; }

  /* ---------- Newsletter mock — keep readable ---------- */
  .newsletter-mock { font-size: 13px; }
  .nm-item { padding: 12px 14px; }
}

/* ============ SMALL PHONES (≤420px) ============ */
@media (max-width: 420px) {
  .dual-hero .overlay-widget,
  .overlay-demo .overlay-widget { max-width: 320px; padding: 9px 12px; }
  .ow-logo { width: 20px; height: 20px; }
  .ow-mic { width: 36px; height: 36px; }
  .ow-patient-name { font-size: 12.5px; }
  .ow-patient-sub { font-size: 10px; }

  .dual-hero .overlay-popup,
  .overlay-demo .demo-popup { padding: 16px; min-height: 290px; }

  .op-chat-bubble { font-size: 13px; }
  .op-chat-body { font-size: 11px; }
  .op-brief-row { font-size: 11.5px; }

  .overlay-demo .demo-ehr { height: 320px; }
  .demo-ehr-body { padding: 14px 16px; gap: 8px; }
  .demo-ehr-field { font-size: 11.5px; padding: 8px 10px; }

  .ehr-main { padding: 14px 16px; }
  .ehr-sidebar-item { padding: 5px 10px; font-size: 11.5px; }
  .ehr-tab-panels { min-height: 180px; }

  .loader-wordmark { font-size: 22px; }
  .loader-tagline { font-size: 14px; }

  /* shrink the un-minimize start position so it stays near the visible viewport */
  body:not(.app-ready) .ehr-window {
    transform: translate(-18vw, 32vh) scale(0.1) rotate(-1deg);
  }
  @keyframes appUnminimizeMobile {
    0% {
      opacity: 0;
      transform: translate(-18vw, 32vh) scale(0.1) rotate(-1deg);
      filter: blur(8px) saturate(0.7);
    }
    18% { opacity: 1; }
    55% { filter: blur(2px) saturate(0.85); }
    85% { transform: translate(0, -3px) scale(1.008) rotate(0); }
    100% {
      opacity: 1;
      transform: translate(0, 0) scale(1) rotate(0);
      filter: blur(0) saturate(0.9);
    }
  }
}

/* Disable hover effects on touch-only devices */
@media (hover: none) {
  .glow-card::before { display: none; }
  .step-card:hover,
  .surface-card:hover,
  .team-card:hover,
  .feature-card:hover,
  .result-card:hover { transform: none; }
}

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