/* ==========================================================================
   LabNexusHealth — marketing site
   Design tokens
   ========================================================================== */

:root {
  /* Brand */
  --indigo: #4F46E5;
  --indigo-soft: #818CF8;
  --blue: #2563EB;
  --sky: #38BDF8;
  --sky-soft: #7DD3FC;
  --violet: #6D28D9;
  --cyan-deep: #0284C7;

  /* Status */
  --green: #0E9F6E;
  --emerald: #34D399;
  --amber: #D97706;
  --amber-soft: #FBBF24;
  --orange: #F97316;
  --red-soft: #FCA5A5;

  /* Neutrals */
  --ink: #0B1220;
  --ink-2: #28303E;
  --ink-3: #3D4757;
  --muted: #5B6472;
  --faint: #8E9AAC;
  --faint-2: #A5AEC0;
  --dim: #C7CEDA;

  /* Surfaces */
  --white: #FFFFFF;
  --surface: #FAFBFD;
  --surface-alt: #F6F8FB;
  --panel: #F7F9FC;
  --panel-2: #F1F4F9;
  --track: #EAEEF5;

  /* Lines */
  --line: #E9EDF4;
  --line-2: #E6EAF2;
  --line-3: #EDF0F6;
  --line-4: #E3E8F0;
  --line-hover: #C9D2F5;

  /* Night */
  --night: #070B16;
  --night-deep: #05080F;
  --night-panel: #0F172A;

  /* Type */
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', monospace;

  /* Layout */
  --shell: 1180px;
  --gutter: 24px;
  --nav-h: 64px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html, body { overflow-x: clip; }

input, button, select, textarea { font: inherit; }
input::placeholder { color: var(--faint); }
a { text-decoration: none; }
::selection { background: rgba(79, 70, 229, .22); }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--indigo-soft); outline-offset: 2px; }
input:focus-visible { outline: 2px solid var(--indigo-soft); outline-offset: 1px; }

h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
address { font-style: normal; }

/* Class-based display rules would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes lnxFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--r, 0deg)); }
}
@keyframes lnxPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes lnxBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes lnxRing {
  0% { transform: translate(-50%, -50%) scale(.55); opacity: .6; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}
@keyframes lnxCoreGlow {
  0%, 100% { box-shadow: 0 24px 60px rgba(79, 70, 229, .26), 0 0 0 8px rgba(79, 70, 229, .05); }
  50% { box-shadow: 0 24px 70px rgba(79, 70, 229, .42), 0 0 0 12px rgba(79, 70, 229, .08); }
}
@keyframes lnxDraw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes lnxFlow {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@keyframes lnxShieldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, .16), 0 6px 18px rgba(79, 70, 229, .14); }
  50% { box-shadow: 0 0 0 7px rgba(79, 70, 229, .07), 0 10px 26px rgba(79, 70, 229, .26); }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
  scroll-margin-top: 76px;
}
.section--light { background: var(--white); }
.section--tint {
  background: var(--surface-alt);
  border-top: 1px solid var(--line-3);
  border-bottom: 1px solid var(--line-3);
}
.section--night {
  background: var(--night);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow--sky { color: var(--sky-soft); }

.section-title {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

.section-lede {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(100deg, var(--indigo), var(--blue) 55%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* Responsive visibility — mirrors the design's isMobile / notMobile switch.
   These are bare wrappers: never put layout display on the same element, or a
   later component rule wins and the wrong branch renders. */
.desk-only { display: block; }
.mob-only { display: none !important; }
@media (max-width: 920px) {
  .desk-only { display: none !important; }
  .mob-only { display: block !important; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .8s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms),
    transform .8s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: var(--white);
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white);
  padding: 8px 16px;
  transition: background .25s ease;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--hero-primary {
  gap: 9px;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, .42);
}
.btn--hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, .52);
}

.btn--hero-ghost {
  gap: 9px;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 11px;
}
.btn--hero-ghost:hover { background: rgba(255, 255, 255, .11); }

.btn-link {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: gap .25s ease;
}
.btn-link:hover { gap: 11px; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  background: rgba(7, 11, 22, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, #1A2036, #0B0F1E);
  border: 1px solid rgba(129, 140, 248, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .28);
}
.brand__mark img { width: 24px; height: 24px; }
.brand__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--white);
}
.brand__name-accent { color: var(--indigo-soft); }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  transition: color .25s ease;
}
.site-nav__links a:hover,
.site-nav__links a[aria-current='true'] { color: var(--white); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  padding: 8px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 590;
  background: rgba(7, 11, 22, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu__login {
  margin-top: 22px;
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.mobile-menu__cta {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 920px) {
  .site-nav__links,
  .site-nav__login { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 921px) {
  .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--night);
  overflow: hidden;
  padding: clamp(120px, 14vh, 158px) 0 clamp(34px, 4vw, 52px);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.hero__aura {
  position: absolute;
  left: 50%; top: -220px;
  transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .42), rgba(37, 99, 235, .18) 55%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.hero__shell { position: relative; }

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__badge img { width: 16px; height: 16px; }
.hero__badge span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.hero__title {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 700;
  color: var(--white);
  max-width: 900px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--sky-soft), var(--indigo-soft) 55%, #A5B4FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .66);
  max-width: 660px;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.hero__stage {
  position: relative;
  max-width: 960px;
  margin: clamp(44px, 6vw, 72px) auto 0;
  z-index: 3;
}
.hero__stage-glow {
  position: absolute;
  left: 56%; top: 34%;
  transform: translate(-50%, -50%);
  width: 860px; height: 480px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .28), rgba(37, 99, 235, .09) 58%, transparent);
  filter: blur(26px);
  pointer-events: none;
}
.hero__tilt {
  position: relative;
  z-index: 1;
  margin-left: 108px;
  transform: perspective(1700px) rotateX(2.5deg);
  transform-origin: top center;
}
.hero__link {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero__phone {
  position: absolute;
  left: -32px; bottom: -34px;
  z-index: 4;
  filter:
    drop-shadow(0 26px 40px rgba(3, 7, 18, .62))
    drop-shadow(14px 18px 30px rgba(3, 7, 18, .45));
}

@media (max-width: 430px) {
  .hero__badge { padding: 6px 12px 6px 8px; }
  .hero__badge span { font-size: 10px; letter-spacing: .05em; }
  .hero__title { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.08; }
  .hero__cta { width: 100%; }
  .hero__cta > * { flex: 1 1 100%; justify-content: center; text-align: center; }
}

/* Command center (hero, desktop) */
.command {
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(129, 140, 248, .32);
  box-shadow:
    0 0 0 1px rgba(7, 11, 22, .75),
    0 70px 130px rgba(3, 7, 18, .68),
    0 30px 60px rgba(37, 99, 235, .16);
}
.command__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #151C30, var(--night-panel));
  border-bottom: 1px solid rgba(129, 140, 248, .18);
}
.command__chip {
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  display: block;
  flex: none;
}
.command__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .55);
}
.command__live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--emerald);
}
.command__live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  display: block;
  animation: lnxPulse 1.6s infinite;
}
.command__body { display: flex; align-items: stretch; }
.command__pane {
  flex: 1;
  min-width: 0;
  padding: 16px 22px 20px 30px;
  background: var(--panel);
}
.command__greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: .75;
}
.command__greet-name {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.01em;
}
.command__greet-meta { font-size: 11px; color: var(--faint); margin-top: 2px; }
.avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.command__stats {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
}
.stat--accent {
  border-color: rgba(79, 70, 229, .28);
  box-shadow: 0 8px 22px rgba(79, 70, 229, .09);
}
.stat--muted { opacity: .66; }
.stat__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--faint);
}
.stat__value {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 3px;
  transition: color .4s ease;
}
.stat__delta { font-size: 11px; font-weight: 600; margin-top: 1px; }
.stat__delta--up { color: var(--green); }
.stat__delta--flat { color: var(--faint); }

.command__split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  margin-top: 12px;
}
.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  min-width: 0;
}
.mini-card--muted { opacity: .66; }
.mini-card--orders {
  position: relative;
  box-shadow: 0 12px 32px rgba(10, 15, 30, .07);
}
.mini-card__title { font-size: 12.5px; font-weight: 650; color: var(--ink); }
.ops-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 12px;
}
.ops-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.ops-row span:first-child { color: var(--muted); }
.ops-row .mono { font-weight: 600; color: var(--ink); }
.meter {
  height: 5px;
  background: var(--track);
  border-radius: 3px;
  margin-top: 5px;
}
.meter__fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-soft));
}

.orders__glow {
  position: absolute;
  left: -36px; top: -28px;
  width: 220px; height: 150px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .32), transparent);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.orders__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.orders__live {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}
.orders__live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  animation: lnxPulse 1.6s infinite;
}
.orders__list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  position: relative;
}
.order-new {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity .55s cubic-bezier(.22, .61, .36, 1),
    transform .55s cubic-bezier(.22, .61, .36, 1),
    max-height .55s cubic-bezier(.22, .61, .36, 1);
}
.order-new.is-shown {
  opacity: 1;
  transform: none;
  max-height: 80px;
}
.order-new__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, .06);
  border: 1px solid rgba(79, 70, 229, .32);
  border-radius: 9px;
  padding: 8px 11px;
  margin-bottom: 8px;
}
.order {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.order + .order { margin-top: 4px; }
.order__body { min-width: 0; flex: 1; }
.order__name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order__meta { font-size: 10px; color: var(--faint); }
.tag {
  font-size: 9.5px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
}
.tag--new { color: var(--indigo); background: rgba(79, 70, 229, .12); }
.tag--processing { color: var(--amber); background: rgba(217, 119, 6, .1); }
.tag--ready { color: var(--green); background: rgba(14, 159, 110, .1); }

/* ==========================================================================
   iOS device frame (from the design's ios-frame component)
   ========================================================================== */

.ios {
  width: 402px;
  height: 874px;
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .12);
  font-family: -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ios__island {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 126px; height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}
.ios__statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  gap: 154px;
  align-items: center;
  justify-content: center;
  padding: 21px 24px 19px;
  width: 100%;
}
.ios__time {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5px;
}
.ios__time span {
  font-family: -apple-system, 'SF Pro', system-ui;
  font-weight: 590;
  font-size: 17px;
  line-height: 22px;
  color: #fff;
}
.ios__indicators {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 1px;
  padding-right: 1px;
}
.ios__screen {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ios__content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ios__home {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 8px;
  pointer-events: none;
}
.ios__home::after {
  content: '';
  width: 139px; height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .7);
}

/* Scaled shells for the device frame */
.ios-scale { transform-origin: top left; }
.ios-shell { overflow: hidden; }

/* ==========================================================================
   Patient / doctor app screens (rendered inside the device frame)
   ========================================================================== */

.app {
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #EEF1FA;
}
.app--tappable { cursor: pointer; }

.app__head { padding: 58px 18px 14px; }
.app__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__user {
  display: flex;
  align-items: center;
  gap: 11px;
}
.app__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #DCE3F5;
  border: 1px solid #C7D2EE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2B3BB9;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}
.app__greet {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #8A93A5;
}
.app__name {
  font-size: 18px;
  font-weight: 700;
  color: #1F2430;
  margin-top: 1px;
}
.app__bell {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.app__bell-dot {
  position: absolute;
  top: 7px; right: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2B3BB9;
}
.app__search {
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 14px;
  padding: 13px 14px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #9AA3B5;
}
.app__body {
  flex: 1;
  padding: 2px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.app__quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.app__quick-item {
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 15px;
  padding: 11px 4px 9px;
  text-align: center;
}
.app__quick-icon {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app__quick-icon--indigo { background: #E4E8F5; }
.app__quick-icon--green { background: #E1EDE6; }
.app__quick-icon--grey { background: #E7EAF0; }
.app__quick-label {
  font-size: 11px;
  font-weight: 600;
  color: #3A4152;
  margin-top: 6px;
  line-height: 1.2;
}
.app__card {
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 16px;
  padding: 14px 15px;
}
.app__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__upcoming {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #3E9166;
}
.app__upcoming span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3E9166;
}
.app__pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #2B3BB9;
  background: #E4E8F5;
  border-radius: 999px;
  padding: 4px 11px;
}
.app__booking {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
}
.app__booking-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #E1EDE6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app__booking-body { flex: 1; min-width: 0; }
.app__booking-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1F2430;
}
.app__booking-title--truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__booking-meta { font-size: 12px; color: #7C8598; margin-top: 3px; }
.app__booking-sub { font-size: 12px; color: #9AA3B5; margin-top: 2px; }
.app__booking-sub--truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__row-title {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__section-title { font-size: 16px; font-weight: 700; color: #1F2430; }
.app__section-link { font-size: 13px; font-weight: 700; color: #2B3BB9; }
.app__chips {
  display: flex;
  gap: 9px;
  margin-top: 11px;
  overflow: hidden;
}
.app__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3A4152;
}
.app__package {
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 16px;
  padding: 14px 15px;
  margin-top: 11px;
  display: flex;
  gap: 12px;
}
.app__package-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #E4E8F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app__package-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F2430;
  line-height: 1.3;
}
.app__package-meta { font-size: 12px; color: #7C8598; margin-top: 3px; }
.app__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.app__price { font-size: 16px; font-weight: 700; color: #1F2430; }
.app__price-was { font-size: 12px; color: #9AA3B5; text-decoration: line-through; }
.app__price-off {
  font-size: 11px;
  font-weight: 700;
  color: #3E9166;
  background: #E1EDE6;
  border-radius: 6px;
  padding: 3px 7px;
}
.app__tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #FFFFFF;
  border-top: 1px solid #E4E8F0;
  padding: 12px 10px 30px;
}
.app__tabbar--tight { padding: 10px 10px 30px; }
.app__tab-active {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1E2E9C;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Doctor app screen */
.docapp__head {
  background: #FFFFFF;
  padding: 64px 20px 16px;
}
.docapp__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 21px;
  font-weight: 700;
  color: #1F2430;
  letter-spacing: -.01em;
}
.docapp__body {
  flex: 1;
  padding: 20px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.docapp__summary {
  background: #E3E7F0;
  border-radius: 16px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.docapp__summary-title { font-size: 16px; font-weight: 700; color: #1F2430; }
.docapp__summary-meta { font-size: 13px; color: #7C8598; margin-top: 2px; }
.docapp__label {
  font-size: 14px;
  font-weight: 600;
  color: #5A6172;
  margin-bottom: 7px;
}
.docapp__field {
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 13px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1F2430;
}
.docapp__field--focus { border: 1.5px solid #2B3BB9; }
.docapp__submit {
  background: #1E2E9C;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
}
.docapp__note {
  text-align: center;
  font-size: 12.5px;
  color: #8A93A5;
}

/* ==========================================================================
   Platform overview
   ========================================================================== */

.eco {
  position: relative;
  max-width: 980px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  aspect-ratio: 960 / 790;

  /* Hovering a node focuses it and dims the rest of the ecosystem. */
  --op-doctor: 1;
  --op-lab: 1;
  --op-admin: 1;
  --op-arc: 1;
  --op-chips: 1;
}
.eco[data-eco='doctor'] { --op-lab: .28; --op-admin: .28; --op-chips: .35; }
.eco[data-eco='lab'] { --op-doctor: .28; --op-admin: .28; --op-chips: .35; }
.eco[data-eco='admin'] { --op-doctor: .28; --op-lab: .28; --op-arc: .28; --op-chips: .35; }

[data-eco-layer='doctor'], [data-eco-node='doctor'] { opacity: var(--op-doctor); }
[data-eco-layer='lab'], [data-eco-node='lab'] { opacity: var(--op-lab); }
[data-eco-layer='admin'], [data-eco-node='admin'] { opacity: var(--op-admin); }
[data-eco-layer='arc'] { opacity: var(--op-arc); }
[data-eco-layer='chips'] { opacity: var(--op-chips); }
.eco__svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.eco__svg g { transition: opacity .4s ease; }
.eco__arc-label {
  position: absolute;
  left: 50%; top: .5%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--faint);
  background: var(--white);
  padding: 2px 10px;
  z-index: 2;
  transition: opacity .4s ease;
}

.eco__core {
  position: absolute;
  left: 50%; top: 33.5%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 190px;
}
.eco__core-orb {
  position: relative;
  width: 116px; height: 116px;
  margin: 0 auto;
}
.eco__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 1.5px solid rgba(79, 70, 229, .3);
  animation: lnxRing 3.2s ease-out infinite;
}
.eco__ring--sky {
  border-color: rgba(56, 189, 248, .3);
  animation-delay: 1.6s;
}
.eco__core-tile {
  position: relative;
  width: 116px; height: 116px;
  border-radius: 30px;
  background: linear-gradient(160deg, #FFFFFF, #EEF2FF);
  border: 1px solid rgba(79, 70, 229, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lnxCoreGlow 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eco__core-tile img {
  width: 54px; height: 54px;
  filter: drop-shadow(0 8px 20px rgba(79, 70, 229, .4));
}
.eco__core-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 14px;
}
.eco__core-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--faint);
  margin-top: 3px;
}

.eco__chip {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity .4s ease;
}
.eco__chip-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 8px 24px rgba(10, 15, 30, .08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lnxFloat 7s ease-in-out infinite;
}
.eco__chip-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.eco__node {
  position: absolute;
  top: 3%;
  width: 170px;
  z-index: 2;
  transition: opacity .4s ease;
}
.eco__node--doctor { left: 4.5%; }
.eco__node--patient { right: 4.5%; }
.eco__node-float { animation: lnxFloat 9s ease-in-out infinite; }
.eco__node--patient .eco__node-float { animation-delay: 1.2s; }
.eco__phone {
  width: 182px; height: 382px;
  background: #0B1120;
  border: 1px solid #232B41;
  border-radius: 27px;
  padding: 5px;
  box-shadow: 0 26px 54px rgba(10, 15, 30, .22);
}
.eco__phone-screen {
  width: 170px; height: 370px;
  border-radius: 21px;
  overflow: hidden;
}
.eco__caption { text-align: center; margin-top: 13px; }
.eco__badge {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  border-radius: 999px;
  padding: 3px 10px;
}
.eco__badge--indigo {
  color: var(--indigo);
  background: rgba(79, 70, 229, .07);
  border: 1px solid rgba(79, 70, 229, .18);
}
.eco__badge--sky {
  color: var(--cyan-deep);
  background: rgba(56, 189, 248, .08);
  border: 1px solid rgba(56, 189, 248, .25);
}
.eco__caption-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 7px;
}

.eco__admin {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 54%;
  min-width: 440px;
  z-index: 2;
  transition: opacity .4s ease;
}
.browser {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(10, 15, 30, .14);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: var(--night-panel);
}
.browser__dots { display: flex; gap: 5px; }
.browser__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3B4256;
  display: block;
}
.browser__url {
  flex: 1;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .07);
  border-radius: 6px;
  padding: 3px 10px;
}
.browser__spacer { width: 22px; }
.browser__body {
  padding: 12px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.kpi__label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--faint);
}
.kpi__value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 2px;
}
.kpi__delta { font-size: 9px; font-weight: 600; color: var(--green); }
.panel-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 8px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  min-width: 0;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel__title { font-size: 10px; font-weight: 650; color: var(--ink); }
.panel__meta { font-family: var(--mono); font-size: 8px; color: var(--faint); }
.panel__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.panel__count {
  font-size: 8px;
  font-weight: 600;
  border-radius: 5px;
  padding: 2px 6px;
}
.panel__count--indigo { color: var(--indigo); background: rgba(79, 70, 229, .09); }
.panel__count--amber { color: var(--amber); background: rgba(217, 119, 6, .1); }
.panel__count--green { color: var(--green); background: rgba(14, 159, 110, .1); }

/* Platform — mobile stack */
.eco-stack {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eco-stack__orb {
  position: relative;
  width: 96px; height: 96px;
}
.eco-stack__orb .eco__ring { width: 122px; height: 122px; }
.eco-stack__tile {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 26px;
  background: linear-gradient(160deg, #FFFFFF, #EEF2FF);
  border: 1px solid rgba(79, 70, 229, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lnxCoreGlow 4s ease-in-out infinite;
}
.eco-stack__tile img {
  width: 44px; height: 44px;
  filter: drop-shadow(0 8px 20px rgba(79, 70, 229, .4));
}
.eco-stack__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
}
.eco-stack__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  max-width: 340px;
}
.eco-stack__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 4px 12px rgba(10, 15, 30, .05);
}
.eco-stack__rule {
  width: 2px;
  background: linear-gradient(var(--indigo), var(--sky));
  border-radius: 2px;
}
.eco-stack__rule--lead { height: 28px; margin-top: 18px; }
.eco-stack__rule--gap { height: 24px; }
.eco-stack__card {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(10, 15, 30, .07);
}
.eco-stack__card .eco__badge { font-size: 9px; font-weight: 400; padding: 3px 9px; }
.eco-stack__card-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  margin-top: 9px;
}
.eco-stack__card-text {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.55;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: clamp(36px, 4vw, 56px) auto 0;
}
.fact {
  text-align: center;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.fact__value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.fact__label { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

/* ==========================================================================
   Products
   ========================================================================== */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: clamp(32px, 4vw, 48px);
}
.product {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 15, 30, .1);
}
.product__visual {
  padding: 26px 26px 0;
  height: 210px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.product__visual--patient { background: linear-gradient(160deg, #0B1120, #1E1B4B); }
.product__visual--doctor { background: linear-gradient(160deg, #0B1120, #0C2B4E); }
.product__visual--admin {
  background: linear-gradient(160deg, #0B1120, #172554);
  padding: 26px 20px 0;
}
.product__device {
  width: 202px; height: 184px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, .07);
  padding: 5px 5px 0;
}
.product__device--patient { filter: drop-shadow(0 -14px 44px rgba(79, 70, 229, .28)); }
.product__device--doctor { filter: drop-shadow(0 -14px 44px rgba(56, 189, 248, .22)); }
.product__laptop {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, #1E2637, #12192B);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px 18px 0 0;
  border-bottom: none;
  padding: 12px 10px 0;
  box-shadow: 0 -14px 44px rgba(37, 99, 235, .25);
  position: relative;
}
.product__laptop-cam {
  position: absolute;
  top: 4.5px; left: 50%;
  margin-left: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #3B4256;
}
.product__laptop-screen {
  background: var(--panel);
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  height: 100%;
}
.product__laptop-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 7px 9px;
  background: var(--night-panel);
}
.product__laptop-bar i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3B4256;
}
.product__laptop-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, .5);
}
.product__laptop-body {
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product__laptop-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}
.product__laptop-kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px;
}
.product__laptop-kpi span {
  display: block;
  font-size: 7px;
  color: var(--faint);
  letter-spacing: .06em;
}
.product__laptop-kpi strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.product__laptop-chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px;
}
.product__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.product__kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
}
.product__kicker--orange { color: var(--orange); }
.product__kicker--sky { color: var(--sky); }
.product__kicker--violet { color: var(--indigo-soft); }
.product__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.product__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.product__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.product__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-3);
}
.product__list svg { flex: none; margin-top: 2px; }

/* ==========================================================================
   Why
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease;
}
.why-card:hover { border-color: var(--line-hover); }
.why-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}
.why-card__title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-top: 14px;
}
.why-card__text {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.why-card--feature .why-card__text { max-width: 560px; }
.why-card__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.why-card__role {
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(79, 70, 229, .08);
  border-radius: 999px;
  padding: 4px 10px;
}

.secviz {
  margin-top: 20px;
  padding: 15px 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.secviz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.secviz__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--faint);
}
.secviz__live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
}
.secviz__live i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  animation: lnxPulse 1.8s infinite;
}
.secviz__flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.secviz__node { text-align: center; flex: none; }
.secviz__node-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.secviz__node-icon--core {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(79, 70, 229, .09), rgba(56, 189, 248, .09));
  border: 1px solid rgba(79, 70, 229, .35);
  animation: lnxShieldGlow 3.2s ease-in-out infinite;
}
.secviz__node-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.2;
}
.secviz__wire {
  flex: 1;
  position: relative;
  height: 2px;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 22px;
  min-width: 24px;
  background: linear-gradient(90deg, rgba(79, 70, 229, .14), rgba(79, 70, 229, .45));
}
.secviz__wire--out { background: linear-gradient(90deg, rgba(79, 70, 229, .45), rgba(56, 189, 248, .4)); }
.secviz__pip {
  position: absolute;
  top: -2px; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  animation: lnxFlow 2.6s linear infinite;
}
.secviz__wire--out .secviz__pip {
  background: var(--sky);
  animation-delay: 1.3s;
}
.secviz__tags {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.secviz__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line-4);
  border-radius: 999px;
  padding: 4px 10px;
}
.secviz__tag i {
  width: 5px; height: 5px;
  border-radius: 50%;
  display: block;
}

.why-card__proofs {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
}
.proof__name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.proof__state {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: rgba(14, 159, 110, .1);
  border-radius: 6px;
  padding: 3px 8px;
}

.why-extras {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.why-extra {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.why-extra svg { flex: none; width: 22px; margin-top: 2px; }
.why-extra__body { flex: 1; min-width: 0; }
.why-extra__title { font-size: 15px; font-weight: 650; color: var(--ink); }
.why-extra__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 4px;
}

@media (min-width: 921px) and (max-width: 1080px) {
  .why-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card--feature { grid-column: auto; grid-row: auto; }
  .why-extras { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Features
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 44px);
}
.feature {
  color: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature:hover { color: #B9C4F2; border-color: var(--line-hover); }
.feature--patient { background: linear-gradient(180deg, #FFFFFF, #F8F9FF); }
.feature--patient:hover { box-shadow: 0 14px 36px rgba(79, 70, 229, .1); }
.feature--ops { background: linear-gradient(180deg, #FFFFFF, #F6FAFF); }
.feature--ops:hover { box-shadow: 0 14px 36px rgba(37, 99, 235, .1); }
.feature--growth { background: linear-gradient(180deg, #FFFFFF, #F5FBFE); }
.feature--growth:hover { box-shadow: 0 14px 36px rgba(2, 132, 199, .1); }
.feature--platform { background: linear-gradient(180deg, #FFFFFF, #F9F8FE); }
.feature--platform:hover { box-shadow: 0 14px 36px rgba(129, 140, 248, .12); }

.feature__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature__swatch {
  width: 7px; height: 7px;
  border-radius: 2px;
}
.feature__kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
}
.feature__lede {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 10px;
}
.feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid currentColor;
  border-radius: 10px;
  padding: 9px 13px;
  transition: border-color .3s ease;
}
.feature__tag svg { flex: none; }
.feature__tag span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ==========================================================================
   Workflow
   ========================================================================== */

.wf-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(28px, 3vw, 40px);
}
.wf-step {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s ease;
  color: var(--faint);
  background: var(--white);
  border: 1px solid var(--line);
}
.wf-step[data-state='active'] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}
.wf-step[data-state='done'] {
  color: var(--indigo);
  background: rgba(79, 70, 229, .07);
  border-color: rgba(79, 70, 229, .25);
}

.wf-canvas {
  position: relative;
  margin-top: clamp(24px, 3vw, 36px);
}
.wf-canvas__svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.wf-canvas__path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.1s ease;
}
.wf-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.wf-card {
  background: rgba(250, 251, 253, .94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  transition: opacity .6s ease, box-shadow .6s ease;
  opacity: .38;
  box-shadow: none;
}
.wf-card[data-state='active'],
.wf-card[data-state='done'] { opacity: 1; }
.wf-card[data-state='active'] { box-shadow: 0 18px 44px rgba(79, 70, 229, .16); }
.wf-card--process { grid-column: 2; grid-row: 2; }
.wf-card--deliver { grid-column: 1; grid-row: 2; }

.wf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wf-card__num {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
}
.wf-card__num--acquire { color: var(--indigo); }
.wf-card__num--fulfil { color: var(--blue); }
.wf-card__num--process { color: var(--cyan-deep); }
.wf-card__num--deliver { color: var(--violet); }
.wf-chip {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--faint);
  background: var(--white);
  border: 1px solid var(--line);
}
.wf-card[data-state='active'] .wf-chip {
  color: var(--indigo);
  background: rgba(79, 70, 229, .08);
  border-color: rgba(79, 70, 229, .3);
}
.wf-card[data-state='done'] .wf-chip {
  color: var(--green);
  background: rgba(14, 159, 110, .08);
  border-color: rgba(14, 159, 110, .25);
}
.wf-card__title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 8px;
}

.wf-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.wf-entry__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
}
.wf-entry__head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.wf-entry__mark {
  width: 22px; height: 22px;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-entry__mark--doctor {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  font-size: 8.5px;
}
.wf-entry__mark--direct {
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), #FB923C);
  font-size: 10px;
}
.wf-entry__name { font-size: 11.5px; font-weight: 650; color: var(--ink); }
.wf-entry__meta { font-size: 9.5px; color: var(--faint); }
.wf-entry__foot {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
}
.wf-entry__foot .mono { font-size: 9.5px; color: var(--muted); }
.wf-entry__state {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}
.wf-entry__state--sent { color: var(--green); }
.wf-entry__state--book { color: var(--orange); }
.wf-entry__label { font-size: 9.5px; font-weight: 600; color: var(--ink); }

.wf-merge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--faint);
}
.wf-merge__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(79, 70, 229, .08);
  border: 1px solid rgba(79, 70, 229, .22);
  border-radius: 999px;
  padding: 4px 11px;
}
.wf-merge__pill i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  display: block;
  animation: lnxPulse 1.8s infinite;
}

.wf-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.wf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.wf-row svg { flex: none; }
.wf-row__body { flex: 1; min-width: 0; }
.wf-row__title { font-size: 12px; font-weight: 650; color: var(--ink); }
.wf-row__meta { font-size: 10px; color: var(--faint); }
.wf-row__mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  color: var(--white);
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: linear-gradient(135deg, var(--blue), var(--sky));
}
.wf-row__tag {
  font-size: 9.5px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.wf-row__tag--assigned { color: var(--muted); background: var(--panel-2); }
.wf-row__tag--live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--indigo);
  background: rgba(79, 70, 229, .08);
}
.wf-row__tag--live i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  display: block;
  animation: lnxPulse 1.6s infinite;
}
.wf-row__tag--ready { color: var(--green); background: rgba(14, 159, 110, .08); }

.wf-sample {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}
.wf-sample__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wf-sample__id {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--faint);
}
.wf-sample__tat {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--cyan-deep);
}
.wf-sample__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 11px;
}
.wf-sample__step {
  display: flex;
  align-items: center;
  gap: 9px;
}
.wf-sample__bullet {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--dim);
}
.wf-sample__bullet--done { background: var(--green); }
.wf-sample__bullet--now {
  background: var(--amber);
  animation: lnxPulse 1.4s infinite;
}
.wf-sample__name {
  flex: 1;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.wf-sample__name--queued { font-weight: 500; color: var(--muted); }
.wf-sample__state { font-size: 9.5px; font-weight: 600; }
.wf-sample__state--done { color: var(--green); }
.wf-sample__state--now { color: var(--amber); }
.wf-sample__state--queued { font-weight: 400; color: var(--faint); }
.wf-sample__meter {
  height: 5px;
  background: var(--track);
  border-radius: 3px;
  margin-top: 12px;
}
.wf-sample__meter div {
  width: 52%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan-deep), var(--sky));
}
.wf-note {
  font-size: 10.5px;
  color: var(--faint);
  margin-top: 10px;
  text-align: center;
}

.wf-report {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 14px;
}
.wf-report__icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(109, 40, 217, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.wf-fanout {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 11px;
}
.wf-fanout__row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.wf-fanout__dash {
  width: 16px;
  border-top: 1.5px dashed var(--dim);
}
.wf-fanout__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
.wf-fanout__pill i {
  width: 5px; height: 5px;
  border-radius: 50%;
  display: block;
}
.wf-fanout__meta { font-size: 10px; color: var(--faint); }

@media (max-width: 920px) {
  .wf-cards { grid-template-columns: 1fr; }
  .wf-card--process,
  .wf-card--deliver { grid-column: auto; grid-row: auto; }
  .wf-card { opacity: 1; box-shadow: none; }
}

/* ==========================================================================
   Showcase
   ========================================================================== */

.showcase__tabs {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.showcase__tablist {
  display: inline-flex;
  gap: 4px;
  background: var(--track);
  border-radius: 12px;
  padding: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.showcase__tab {
  padding: 9px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  transition: all .25s ease;
}
.showcase__tab[aria-selected='true'] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(10, 15, 30, .1);
}

.showcase__window {
  max-width: 960px;
  margin: 26px auto 0;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(10, 15, 30, .08);
  overflow: hidden;
}
.showcase__chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-3);
}
.showcase__chrome i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #E4E9F1;
}
.showcase__caption {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.showcase__body { padding: clamp(16px, 2.5vw, 26px); }
.showcase__panel[hidden] { display: none; }
.showcase__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.showcase__col { min-width: 0; }
.showcase__tiles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.showcase__tile {
  flex: 1;
  min-width: 120px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.showcase__tile-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--faint);
}
.showcase__tile-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 2px;
}
.showcase__tile-delta { font-size: 11.5px; font-weight: 600; color: var(--green); }
.showcase__tile-delta--muted { color: var(--faint); }
.showcase__chart { margin-top: 16px; }
.showcase__headline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.showcase__headline-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.showcase__headline-delta { font-size: 12.5px; font-weight: 600; color: var(--green); }
.showcase__headline-meta { font-size: 12px; color: var(--faint); }

.showcase__aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  min-width: 0;
}
.showcase__aside-title { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.showcase__aside-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}
.showcase__slot {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.showcase__slot-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  background: rgba(79, 70, 229, .08);
  border-radius: 6px;
  padding: 4px 7px;
}
.showcase__slot-body { min-width: 0; flex: 1; }
.showcase__slot-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.showcase__slot-meta { font-size: 11px; color: var(--faint); }

.showcase__bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.showcase__bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.showcase__bar-head span:first-child { font-weight: 600; color: var(--ink); }
.showcase__bar-head .mono { color: var(--muted); }
.showcase__bar-track {
  height: 7px;
  background: var(--track);
  border-radius: 4px;
  margin-top: 6px;
}
.showcase__bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-soft));
}
.showcase__footnote {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.showcase__footnote b { color: var(--ink); }

.funnel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}
.funnel__title { font-size: 13px; font-weight: 650; color: var(--ink); }
.funnel__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.funnel__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.funnel__label {
  width: 86px;
  font-size: 11.5px;
  color: var(--muted);
  flex: none;
}
.funnel__bar {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--white);
}
.funnel__bar--sent { background: linear-gradient(90deg, var(--indigo), #6366F1); }
.funnel__bar--booked {
  max-width: 78%;
  background: linear-gradient(90deg, #6366F1, var(--indigo-soft));
}
.funnel__bar--reported {
  max-width: 72%;
  background: linear-gradient(90deg, var(--indigo-soft), var(--sky));
}

.doctor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.doctor-row__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  color: var(--white);
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.doctor-row__avatar--1 { background: linear-gradient(135deg, var(--indigo), var(--sky)); }
.doctor-row__avatar--2 { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.doctor-row__avatar--3 { background: linear-gradient(135deg, var(--indigo-soft), var(--sky)); }
.doctor-row__body { flex: 1; min-width: 0; }
.doctor-row__name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.doctor-row__meta { font-size: 11px; color: var(--faint); }
.doctor-row__count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.metric-row span:first-child { font-size: 12.5px; color: var(--ink-3); }
.metric-row .mono {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Security
   ========================================================================== */

.security__aura {
  position: absolute;
  right: -180px; top: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .22), transparent);
  pointer-events: none;
}
.security__shell { position: relative; }
.security__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.security__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .62);
  max-width: 480px;
}
.security__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 22px;
  margin-top: 28px;
}
.security__item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.security__item svg { flex: none; margin-top: 2px; }
.security__item-title { font-size: 14.5px; font-weight: 650; color: var(--white); }
.security__item-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}

.audit {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.audit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.audit__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}
.audit__stream {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
}
.audit__stream i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  display: block;
  animation: lnxPulse 1.6s infinite;
}
.audit__log {
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .72);
}
.audit__time { color: rgba(255, 255, 255, .38); }
.audit__evt--ok { color: var(--emerald); }
.audit__evt--info { color: var(--sky-soft); }
.audit__evt--role { color: var(--indigo-soft); }
.audit__evt--warn { color: var(--amber-soft); }
.audit__caret {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--sky-soft);
  margin-left: 6px;
  vertical-align: -2px;
  animation: lnxBlink 1.1s step-end infinite;
}

.security__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.security__stat {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.security__stat-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
}
.security__stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}

/* ==========================================================================
   Testimonials
   Hidden in the design until real customer stories are available. Kept in the
   DOM, and kept hidden, exactly as designed — the copy is placeholder.
   ========================================================================== */

.testimonials { display: none; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__metric {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--indigo), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.testimonial__quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.testimonial__avatar--1 { background: linear-gradient(135deg, var(--indigo), var(--sky)); }
.testimonial__avatar--2 { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.testimonial__avatar--3 { background: linear-gradient(135deg, var(--indigo-soft), var(--sky)); }
.testimonial__name { font-size: 14px; font-weight: 650; color: var(--ink); }
.testimonial__role { font-size: 12.5px; color: var(--faint); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: 104px;
}
.faq__lede {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 360px;
  text-wrap: pretty;
}
.faq__aside {
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: 22px;
  border-top: 1px solid var(--line-4);
}
.faq__aside-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.faq__aside-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
  transition: gap .25s ease;
}
.faq__aside-link:hover { gap: 10px; }

.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--line-4);
  background: transparent;
  border-radius: 12px;
  transition: background .35s ease;
}
.faq__item.is-open {
  border-top-color: transparent;
  background: rgba(79, 70, 229, .05);
}
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 20px 18px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq__num {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--faint-2);
  padding-top: 3px;
  flex: none;
  transition: color .35s ease;
}
.faq__item.is-open .faq__num { color: var(--indigo); }
.faq__q {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq__sign {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  margin-top: 2px;
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transform: translate(-50%, -50%);
}
.faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.faq__item.is-open .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1);
}
.faq__item.is-open .faq__answer { max-height: 420px; }
.faq__answer p {
  padding: 0 18px 22px 50px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 920px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ==========================================================================
   Demo / lead capture
   ========================================================================== */

.demo {
  padding: clamp(72px, 9vw, 120px) 0;
}
.demo__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 20%, #000 30%, transparent 100%);
}
.demo__aura {
  position: absolute;
  left: -160px; bottom: -200px;
  width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .3), transparent);
  pointer-events: none;
}
.demo__shell { position: relative; }
.demo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.demo__title {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -.032em;
  font-weight: 700;
  color: var(--white);
  text-wrap: balance;
}
.demo__lede {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .64);
  max-width: 520px;
  text-wrap: pretty;
}
.demo__points {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 30px;
}
.demo__point {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .8);
}
.demo__point svg { flex: none; }
.demo__floats {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}
.demo__float {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lnxFloat 8s ease-in-out infinite;
  max-width: 240px;
}
.demo__float--delayed { animation-delay: 1.4s; }
.demo__float-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo__float-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.demo__float-icon--green { background: rgba(52, 211, 153, .16); }
.demo__float-icon--sky { background: rgba(125, 211, 252, .16); }
.demo__float-title { font-size: 12.5px; font-weight: 650; color: var(--white); }
.demo__float-meta { font-size: 11px; color: rgba(255, 255, 255, .55); }

.lead {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(3, 7, 18, .5);
}
.lead__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
}
.lead__sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
  margin-top: 6px;
}
.lead__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.lead__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.lead__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead__label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}
.lead__input {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--white);
  outline: none;
  width: 100%;
}
.lead__input:focus {
  border-color: var(--sky);
  background: rgba(255, 255, 255, .09);
}
.lead__phone {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  overflow: hidden;
}
.lead__phone[data-state='valid'] { border-color: rgba(56, 189, 248, .5); }
.lead__phone[data-state='verified'] { border-color: rgba(52, 211, 153, .55); }
.lead__cc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .7);
  padding: 12px 10px 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  flex: none;
}
.lead__phone-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--white);
  outline: none;
}
.lead__verified {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  color: var(--emerald);
  padding: 0 13px;
  white-space: nowrap;
}
.lead__otp {
  letter-spacing: .24em;
  margin-top: 2px;
}
.lead__err { font-size: 11.5px; color: var(--red-soft); }
.lead__hint { font-size: 11.5px; color: var(--sky-soft); }
.lead__submit {
  margin-top: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: var(--white);
  font-size: 15.5px;
  font-weight: 650;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .4);
  font-family: inherit;
}
.lead__submit:disabled {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .45);
  cursor: not-allowed;
  box-shadow: none;
}
.lead__form-err {
  font-size: 12.5px;
  color: var(--red-soft);
  text-align: center;
}
.lead__assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 2px;
}
.lead__assurances span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
}
.lead__done { text-align: center; padding: 34px 10px; }
.lead__done-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .14);
  border: 1px solid rgba(52, 211, 153, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lead__done-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  margin-top: 18px;
}
.lead__done-text {
  margin: 10px auto 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .62);
  max-width: 340px;
}
#demo input::placeholder { color: rgba(255, 255, 255, .22); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--night-deep);
  padding: 56px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}
.site-footer__about { max-width: 280px; }
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(160deg, #1A2036, #0B0F1E);
  border: 1px solid rgba(129, 140, 248, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.site-footer__mark img { width: 21px; height: 21px; }
.site-footer__name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--white);
}
.site-footer__text {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .45);
}
.site-footer__heading {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .4);
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.site-footer__links a,
.site-footer__links button {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .66);
  transition: color .25s ease;
}
.site-footer__links button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.site-footer__links a:hover,
.site-footer__links button:hover { color: var(--white); }

.site-footer__address {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .4);
}
.site-footer__org { font-weight: 600; color: rgba(255, 255, 255, .55); }
.site-footer__sep { color: rgba(255, 255, 255, .28); }
.site-footer__address a {
  color: rgba(255, 255, 255, .6);
  transition: color .25s ease;
}
.site-footer__address a:hover { color: var(--white); }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.site-footer__copy { font-size: 12px; color: rgba(255, 255, 255, .38); }
.site-footer__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .32);
}
