.home {
  --display: Outfit, Inter, sans-serif;
  --home-navy: #050814;
  --home-navy-soft: #0b1530;
  --home-blue: #2563eb;
  --home-cyan: #38bdf8;
  --home-orange: #fc6c26;
  --home-green: #10b981;
  --home-surface: #ffffff;
  --home-subtle: #f4f7fb;
  --home-text: #0f172a;
  --home-muted: #64748b;
  --home-line: rgba(148, 163, 184, 0.24);
  --home-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  background: var(--home-subtle);
  color: var(--home-text);
}

.home h1,
.home h2,
.home h3,
.home strong {
  font-family: var(--display);
}

.home section[id] {
  scroll-margin-top: 86px;
}

.home :focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.75);
  outline-offset: 3px;
}

/* Navigation */
.home .site-header {
  position: fixed;
  inset: 0 0 auto;
  min-height: 82px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  transition:
    min-height 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.home .site-header .wrap {
  min-height: 54px;
  padding: 0 4px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home .site-header .brand,
.home .site-header .nav a {
  color: rgba(255, 255, 255, 0.78);
}

.home .site-header .brand {
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
}

.home .brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #0ea5e9, #2563eb);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.home .brand-mark svg {
  width: 100%;
  height: 100%;
}

.home .brand-mark path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linejoin: round;
}

.home .brand-mark path:last-child {
  fill: currentColor;
}

.home .site-header .nav a {
  position: relative;
  font-size: 0.9rem;
}

.home .site-header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--home-cyan), #fff);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.home .site-header .nav a:hover,
.home .site-header .nav a.is-active {
  color: #fff;
}

.home .site-header .nav a:hover::after,
.home .site-header .nav a.is-active::after {
  transform: scaleX(1);
}

.home .site-header .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.home .site-header .menu-toggle {
  position: relative;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.home .menu-toggle > span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.home .menu-toggle > span:nth-child(1) { top: 13px; }
.home .menu-toggle > span:nth-child(2) { top: 19px; }
.home .menu-toggle > span:nth-child(3) { top: 25px; }
.home .menu-toggle[aria-expanded="true"] > span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.home .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.home .menu-toggle[aria-expanded="true"] > span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.home .site-header.is-scrolled {
  min-height: 70px;
  background: rgba(244, 247, 251, 0.72);
  border-bottom: 1px solid rgba(226, 232, 240, 0.68);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px) saturate(150%);
}

.home .site-header.is-scrolled .wrap {
  min-height: 52px;
}

.home .site-header.is-scrolled .brand {
  color: var(--home-text);
}

.home .site-header.is-scrolled .nav a {
  color: var(--home-muted);
}

.home .site-header.is-scrolled .nav a:hover,
.home .site-header.is-scrolled .nav a.is-active {
  color: var(--home-text);
}

.home .site-header.is-scrolled .nav a::after {
  background: linear-gradient(90deg, var(--home-blue), var(--home-cyan));
}

.home .site-header.is-scrolled .btn-ghost {
  color: var(--home-text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.home .site-header.is-scrolled .menu-toggle {
  color: var(--home-text);
  border-color: var(--line);
  background: #fff;
}

/* Hero */
.home .hero {
  min-height: 760px;
  padding: 148px 0 0;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 92% -8%, rgba(252, 108, 38, 0.28), transparent 52%),
    radial-gradient(760px 500px at 6% 22%, rgba(56, 189, 248, 0.27), transparent 53%),
    radial-gradient(680px 420px at 48% 108%, rgba(16, 185, 129, 0.16), transparent 50%),
    linear-gradient(160deg, var(--home-navy) 0%, #0a1736 48%, #1d4ed8 100%);
}

.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.48) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.home .hero::after {
  opacity: 0.52;
  background-size: 54px 54px;
  mask-image: linear-gradient(#000, transparent 88%);
}

.home .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(44px, 6vw, 78px);
}

.home .eyebrow {
  margin: 0;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home h1 {
  max-width: 720px;
  margin: 22px 0 20px;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.home h1 em {
  display: inline;
  font-style: normal;
  background: linear-gradient(90deg, #7dd3fc, #fff 48%, #fdba74);
  background-size: 190% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: home-shine 8s linear infinite;
}

@keyframes home-shine {
  to { background-position: 190% center; }
}

.home .hero .lede {
  max-width: 610px;
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.72;
}

.home .hero-ctas {
  align-items: center;
}

.home .hero .btn {
  min-height: 50px;
  padding-inline: 22px;
}

.home .hero .btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.home .hero .btn-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.trust-pills {
  gap: 9px;
  margin-top: 24px;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.74);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
}

.trust-pills i {
  color: #6ee7b7;
  font-style: normal;
  font-weight: 800;
}

.hero-stage {
  perspective: 1400px;
}

.dash-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow:
    0 42px 100px rgba(2, 6, 23, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px);
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
  animation: dashboard-float 7s ease-in-out infinite;
}

@keyframes dashboard-float {
  0%, 100% { transform: rotateY(-4deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(-2deg) rotateX(0deg) translateY(-9px); }
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 13px;
  background: rgba(2, 6, 23, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-dots {
  display: inline-flex;
  gap: 6px;
}

.dash-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.dash-dots i:nth-child(1) { background: #fb7185; }
.dash-dots i:nth-child(2) { background: #fbbf24; }
.dash-dots i:nth-child(3) { background: #34d399; }

.dash-url {
  flex: 1;
  overflow: hidden;
  padding: 5px 11px;
  border-radius: 999px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-body {
  display: grid;
  grid-template-columns: 62px 1fr;
  min-height: 328px;
}

.dash-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  background: rgba(2, 6, 23, 0.76);
}

.dash-rail b {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #fc8a4a, var(--home-orange));
  font-size: 0.66rem;
}

.dash-rail span {
  width: 21px;
  height: 6px;
  border-radius: 99px;
  background: #334155;
}

.dash-rail span.on {
  background: var(--home-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.65);
}

.dash-main {
  display: grid;
  gap: 11px;
  padding: 15px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e2e8f0;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
}

.dash-top small {
  color: #6ee7b7;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 600;
}

.home .mock-kpis {
  gap: 8px;
}

.home .mock-card {
  min-width: 0;
  height: auto;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(155deg, #17233a, #1e293b);
}

.home .mock-card:nth-child(2) {
  background: linear-gradient(155deg, #123b42, #164e63);
}

.home .mock-card:nth-child(3) {
  background: linear-gradient(155deg, #4b2b1c, #7c2d12);
}

.home .mock-card small {
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home .mock-card b {
  color: #fff;
  font-size: 1rem;
}

.dash-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 9px;
}

.home .mock-chart {
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    #172033;
  background-size: 28px 28px;
}

.dash-feed {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  list-style: none;
  background: #172033;
}

.dash-feed li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.68rem;
}

.dash-feed li:last-child {
  padding: 0;
  border: 0;
}

.dash-feed span {
  color: #64748b;
  font-size: 0.63rem;
}

.home .float-chip {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(15, 23, 42, 0.66);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
}

/* Moving product strip and verified metrics */
.home .marquee {
  margin-top: 76px;
  padding: 18px 0;
  background: rgba(2, 6, 23, 0.16);
}

.stats-float {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  padding: 0 0 18px !important;
  border: 0 !important;
  background: transparent !important;
}

.stats-float .stats-grid {
  overflow: hidden;
  gap: 0;
  padding: 22px 10px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(18px);
}

.stats-float .stats-grid > div {
  padding: 5px 14px;
  border-right: 1px solid var(--home-line);
}

.stats-float .stats-grid > div:last-child {
  border-right: 0;
}

.stats-float .stats-grid b {
  color: var(--home-text);
  font-size: clamp(1.28rem, 2.4vw, 2rem);
}

.stats-float .stats-grid span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
}

/* Shared section composition */
.home section:not(.hero):not(.stats-strip) {
  padding-block: clamp(72px, 8vw, 112px);
}

.section-head {
  max-width: 690px;
  margin-bottom: 36px;
}

.section-head-wide {
  max-width: 820px;
}

.home .section-kicker {
  margin: 0 0 10px;
  color: var(--home-blue);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.home h2 {
  margin: 0 0 14px;
  color: var(--home-text);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.home .section-head .muted,
.benefit-copy > .muted,
.faq-intro > .muted {
  max-width: 650px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.text-link,
.product-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span,
.product-copy a span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.product-copy a:hover span {
  transform: translateX(4px);
}

/* Interactive product showcase */
.platform-showcase {
  background:
    radial-gradient(560px 300px at 100% 20%, rgba(37, 99, 235, 0.07), transparent 68%),
    #f4f7fb;
}

.product-showcase {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
  padding: 8px;
  border-bottom: 1px solid var(--home-line);
  background: #f8fafc;
}

.product-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: var(--home-muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.product-tabs button span {
  color: #94a3b8;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.product-tabs button[aria-selected="true"] {
  color: var(--home-text);
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.08);
}

.product-tabs button[aria-selected="true"] span {
  color: var(--home-blue);
}

.product-browser {
  padding: 14px;
}

.product-browser-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #1e293b;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  color: #94a3b8;
  background: #0f172a;
  font-size: 0.72rem;
}

.product-browser-bar > span:nth-child(2) {
  flex: 1;
}

.browser-secure {
  color: #6ee7b7;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.42fr);
  gap: clamp(30px, 5vw, 72px);
  min-height: 490px;
  padding: clamp(32px, 5vw, 66px);
  align-items: center;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(550px 300px at 88% 50%, rgba(37, 99, 235, 0.18), transparent 66%),
    linear-gradient(145deg, #071020, #0b1b3c);
}

.product-panel[hidden] {
  display: none;
}

.product-panel.is-active {
  animation: panel-in 320ms ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
}

.product-copy {
  color: #fff;
}

.product-label {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.product-copy p {
  margin: 0 0 22px;
  color: #94a3b8;
  line-height: 1.75;
}

.product-copy a {
  color: #7dd3fc;
}

.product-ui {
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 25px 60px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(14px);
}

.ui-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.ui-kpi-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
}

.ui-kpi-row small {
  overflow: hidden;
  color: #cbd5e1;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.22);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.28) inset;
}

.ui-icon.cyan { background: rgba(6, 182, 212, 0.22); }
.ui-icon.orange { background: rgba(249, 115, 22, 0.24); }
.ui-icon.green { background: rgba(16, 185, 129, 0.22); }

.ui-chart-card {
  margin-top: 10px;
  padding: 13px 13px 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.3);
}

.ui-chart-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ui-chart-card strong { font-size: 0.75rem; }
.ui-chart-card small { color: #64748b; font-size: 0.64rem; }
.ui-chart-card svg { width: 100%; height: 128px; }
.ui-line { fill: none; stroke: #60a5fa; stroke-width: 3; stroke-linecap: round; }
.ui-area { fill: url(#area-gradient); }

.ui-room-row {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.ui-room-row span {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  font-size: 0.62rem;
  text-align: center;
}

.ui-room-row .occupied {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
}

.ui-room-row .vip {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
}

.patient-profile,
.pharmacy-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.patient-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.22);
  font-weight: 800;
}

.patient-profile > div,
.pharmacy-head > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.patient-profile small,
.pharmacy-head small {
  color: #64748b;
  font-size: 0.67rem;
}

.status-pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.65rem;
  font-weight: 700;
}

.patient-nav {
  display: flex;
  gap: 6px;
  margin: 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.patient-nav span {
  padding: 5px 8px;
  border-radius: 7px;
  color: #64748b;
  font-size: 0.63rem;
}

.patient-nav span.active {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
}

.timeline {
  display: grid;
  gap: 8px;
}

.timeline > div {
  display: flex;
  gap: 11px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline i {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 2px solid #60a5fa;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.timeline span {
  display: flex;
  flex-direction: column;
}

.timeline strong { font-size: 0.72rem; }
.timeline small { color: #64748b; font-size: 0.65rem; }

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #334155;
}

.workflow-track > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.workflow-track span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  place-items: center;
  border: 2px solid #334155;
  border-radius: 50%;
  color: #64748b;
  background: #111c31;
  font-size: 0.65rem;
}

.workflow-track .complete span {
  border-color: #10b981;
  color: #6ee7b7;
  background: #0b302a;
}

.workflow-track .current span {
  border-color: #60a5fa;
  color: #bfdbfe;
  background: #162c55;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.workflow-track strong { font-size: 0.65rem; }
.workflow-track small { color: #64748b; font-size: 0.58rem; }

.lab-table {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.lab-table > div {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.65fr;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.66rem;
}

.lab-table > div:last-child { border: 0; }
.lab-table .table-head { color: #64748b; background: rgba(2, 6, 23, 0.3); }
.lab-table .normal { color: #6ee7b7; }
.lab-table .review { color: #fdba74; }
.lab-table .ready { color: #93c5fd; }

.pharmacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.pharmacy-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.pharmacy-grid .ui-icon {
  grid-row: span 2;
}

.pharmacy-grid strong { font-size: 0.7rem; }
.pharmacy-grid small { color: #64748b; font-size: 0.63rem; }

.pharmacy-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px;
  border-radius: 11px;
  color: #cbd5e1;
  background: rgba(37, 99, 235, 0.12);
  font-size: 0.72rem;
}

.pharmacy-total strong { color: #93c5fd; }

/* Features */
.features-home {
  background: #fff;
}

.home .bento {
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}

.home .bento .card {
  grid-column: span 3;
  min-height: 238px;
  padding: 24px;
  border-color: var(--home-line);
  border-radius: 20px;
  background:
    radial-gradient(180px 120px at 100% 100%, rgba(37, 99, 235, 0.07), transparent 70%),
    #fff;
  box-shadow: none;
}

.home .bento .card.wide {
  grid-column: span 6;
}

.home .bento .featured-card {
  color: #fff;
  background:
    radial-gradient(330px 190px at 100% 0%, rgba(56, 189, 248, 0.26), transparent 66%),
    linear-gradient(145deg, #071020, #123a79);
}

.home .bento .featured-card p {
  color: #b9c7dc;
}

.home .card .icon {
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.home .featured-card .icon {
  color: #bfdbfe;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.home .bento .card h3 {
  margin-top: 20px;
  font-size: 1.18rem;
}

.home .bento .card p {
  line-height: 1.65;
  font-size: 0.9rem;
}

.section-cta {
  margin: 28px 0 0;
}

/* Facility cards */
.solutions-band {
  background:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    #f4f7fb;
  background-size: 44px 44px;
}

.solve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.solve-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 205px;
  padding: 24px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.solve-card::before {
  content: "";
  position: absolute;
  top: -62px;
  right: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 68%);
  transition: transform 280ms ease;
}

.solve-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--home-shadow);
}

.solve-card:hover::before {
  transform: scale(1.3);
}

.solve-card > span {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--home-blue);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.solve-card strong {
  font-size: 1.2rem;
}

.solve-card p {
  margin: 7px 0 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Benefits */
.benefits-band {
  overflow: hidden;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.benefit-visual {
  position: relative;
  min-height: 510px;
  padding: 54px 48px;
  border-radius: 30px;
  background:
    radial-gradient(420px 280px at 12% 90%, rgba(16, 185, 129, 0.22), transparent 68%),
    radial-gradient(440px 280px at 96% 4%, rgba(56, 189, 248, 0.25), transparent 68%),
    linear-gradient(145deg, #071020, #123a79);
  box-shadow: var(--home-shadow);
}

.brand-preview,
.role-matrix {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(14px);
}

.brand-preview {
  padding: 18px;
}

.brand-preview-top {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.brand-preview-top > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.brand-preview-top small {
  color: #94a3b8;
  font-size: 0.66rem;
}

.brand-preview-top > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  font-size: 0.62rem;
}

.theme-swatches {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-swatches i {
  width: 27px;
  height: 27px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #2563eb;
}

.theme-swatches i:nth-child(2) { background: #10b981; }
.theme-swatches i:nth-child(3) { background: #fc6c26; }
.theme-swatches i:nth-child(4) { background: #8b5cf6; }

.role-matrix {
  margin-top: 17px;
  padding: 18px;
}

.role-head,
.role-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.9fr);
  gap: 7px;
  align-items: center;
}

.role-head {
  padding-bottom: 13px;
  color: #fff;
}

.role-head strong { grid-column: span 3; }
.role-head span { color: #7dd3fc; font-size: 0.65rem; text-align: right; }

.role-row {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 0.66rem;
}

.role-row > span {
  font-weight: 700;
}

.role-row i {
  overflow: hidden;
  padding: 5px 4px;
  border-radius: 6px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-row i.access-on {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
}

.benefit-float {
  position: absolute;
  display: flex;
  gap: 5px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  color: #fff;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
}

.benefit-float small { color: #94a3b8; }
.float-top { top: 25px; right: -25px; flex-direction: column; }
.float-bottom { bottom: 25px; left: -25px; align-items: center; }

.benefit-copy h2 {
  margin-bottom: 18px;
}

.benefit-list {
  margin: 28px 0;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid var(--home-line);
}

.benefit-list article > span {
  color: var(--home-blue);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 800;
}

.benefit-list h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.benefit-list p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Social proof */
.home .partners {
  padding-block: 74px !important;
  border-block-color: var(--home-line);
  background: #f8fafc;
}

.home .partners h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.home .partners .muted {
  max-width: 640px;
  margin-inline: auto;
}

.home .chip {
  border-color: var(--home-line);
  color: #475569;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
}

/* Assistant */
.home .ai-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(540px 320px at 85% 10%, rgba(37, 99, 235, 0.24), transparent 66%),
    radial-gradient(440px 300px at 5% 100%, rgba(16, 185, 129, 0.14), transparent 66%),
    #071020;
}

.home .ai-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.home .ai-grid {
  position: relative;
}

.home .ai-band h2 {
  color: #fff;
}

.home .ai-kicker {
  color: #7dd3fc;
}

.home .ai-description {
  color: rgba(255, 255, 255, 0.75);
}

.ai-contact {
  margin: 22px 0 0;
}

.ai-points {
  max-width: 500px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(226, 232, 240, 0.82);
}

.ai-points li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-points li::before {
  content: "→";
  margin-right: 9px;
  color: #7dd3fc;
}

.home .chat {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  animation: assistant-float 8s ease-in-out infinite;
  backdrop-filter: blur(16px);
}

@keyframes assistant-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.home .chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Process */
.how-band {
  background: #fff;
}

.process-steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-cyan), var(--home-green), var(--home-orange));
  opacity: 0.28;
}

.process-card {
  position: relative;
  z-index: 1;
  padding: 0 24px 0 0;
}

.process-card + .process-card {
  padding-left: 24px;
  border-left: 1px solid var(--home-line);
}

.process-card .step-n {
  width: 40px;
  height: 40px;
  margin: 0 0 28px;
  border: 5px solid #fff;
  color: var(--home-blue);
  background: #dbeafe;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
  font-size: 0.66rem;
}

.process-card:nth-child(2) .step-n { color: #0e7490; background: #cffafe; }
.process-card:nth-child(3) .step-n { color: #047857; background: #d1fae5; }
.process-card:nth-child(4) .step-n { color: #c2410c; background: #ffedd5; }

.process-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  color: var(--home-blue);
  background: #f8fafc;
  font-family: var(--display);
  font-weight: 800;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.process-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* FAQ */
.faq-band {
  background: #f4f7fb;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 7vw, 90px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-intro h2 {
  margin-bottom: 15px;
}

.faq-intro .text-link {
  margin-top: 24px;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: #fff;
}

.faq-list details {
  border-bottom: 1px solid var(--home-line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 72px;
  padding: 20px 58px 20px 22px;
  align-items: center;
  color: var(--home-text);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 23px;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--home-blue);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details[open] summary {
  color: var(--home-blue);
}

.faq-list details > div {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 240ms ease, opacity 180ms ease;
}

.faq-list details[open] > div {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-list details > div > p {
  overflow: hidden;
  margin: 0;
  padding: 0 58px 21px 22px;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* Closing CTA */
.closing-cta {
  padding-top: 0 !important;
  background: #f4f7fb;
}

.home .cta-band {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(460px 250px at 88% 20%, rgba(56, 189, 248, 0.3), transparent 68%),
    radial-gradient(380px 240px at 8% 100%, rgba(16, 185, 129, 0.18), transparent 68%),
    linear-gradient(135deg, #081329, #1d4ed8);
  box-shadow: 0 32px 80px rgba(29, 78, 216, 0.2);
}

.home .cta-band h2 {
  max-width: 650px;
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.home .cta-band .section-kicker {
  color: #7dd3fc;
}

.home .cta-band .muted {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.home .inline-contact {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.home .cta-band .hero-ctas {
  flex: 0 0 auto;
  margin: 0;
}

.home .cta-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

/* Footer */
.home .site-footer {
  padding-top: 68px;
  background: #050814;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 0.75fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 10px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-contact-link {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-column strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.82rem;
}

.footer-column a,
.footer-column span {
  color: #94a3b8;
  font-size: 0.82rem;
}

.home .legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #64748b;
}

/* Motion */
.home [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: opacity, transform;
}

.home [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.home .bento [data-reveal]:nth-child(2),
.home .solve-grid [data-reveal]:nth-child(2),
.home .process-steps [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.home .bento [data-reveal]:nth-child(3),
.home .solve-grid [data-reveal]:nth-child(3),
.home .process-steps [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.home .bento [data-reveal]:nth-child(4),
.home .solve-grid [data-reveal]:nth-child(4),
.home .process-steps [data-reveal]:nth-child(4) { transition-delay: 210ms; }

/* Responsive */
@media (max-width: 1100px) {
  .home .site-header {
    overflow: visible;
  }

  .home .site-header .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    z-index: 60;
    margin: 0;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
  }

  .home .site-header .nav.open {
    display: flex;
  }

  .home .site-header .nav.open a,
  .home .site-header .nav.open .btn-ghost {
    color: var(--home-text);
  }

  .home .site-header .nav.open a::after {
    display: none;
  }

  .home .hero-grid {
    grid-template-columns: 1fr;
  }

  .home .hero-grid > div:first-child {
    max-width: 780px;
    text-align: center;
    margin-inline: auto;
  }

  .home .hero .lede {
    margin-inline: auto;
  }

  .home .hero-ctas,
  .trust-pills {
    justify-content: center;
  }

  .home .hero-stage {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .dash-window {
    transform: none;
    animation-name: dashboard-float-flat;
  }

  @keyframes dashboard-float-flat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 640px;
  }

  .home .bento .card,
  .home .bento .card.wide {
    grid-column: span 6;
  }

  .solve-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-visual {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .benefit-copy {
    max-width: 760px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-card,
  .process-card + .process-card {
    padding: 0;
    border: 0;
  }

  .process-card .step-n {
    margin-bottom: 18px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
    max-width: 680px;
  }

  .home-footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home .site-header {
    min-height: 70px;
  }

  .home .hero {
    min-height: auto;
    padding: 112px 0 0;
  }

  .home h1 {
    font-size: clamp(2.55rem, 11vw, 4.1rem);
  }

  .home .hero-grid > div:first-child {
    text-align: left;
  }

  .home .hero .lede {
    margin-inline: 0;
  }

  .home .hero-ctas,
  .trust-pills {
    justify-content: flex-start;
  }

  .home .hero .hero-ctas .btn {
    width: 100%;
  }

  .trust-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-pills span {
    width: fit-content;
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-rail {
    display: none;
  }

  .dash-window {
    animation: none;
  }

  .dash-split {
    grid-template-columns: 1fr;
  }

  .dash-feed {
    grid-template-columns: 1fr 1fr;
  }

  .home .marquee {
    margin-top: 48px;
  }

  .stats-float {
    margin-top: 0;
    padding: 22px 0 0 !important;
  }

  .stats-float .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-float .stats-grid > div:nth-child(2) {
    border-right: 0;
  }

  .stats-float .stats-grid > div:nth-child(-n + 2) {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--home-line);
  }

  .stats-float .stats-grid > div:nth-child(n + 3) {
    padding-top: 16px;
  }

  .home section:not(.hero):not(.stats-strip) {
    padding-block: 72px;
  }

  .product-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: visible;
  }

  .product-tabs button {
    min-width: 0;
    min-height: 48px;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .product-browser {
    padding: 8px;
  }

  .product-panel {
    min-height: 0;
    padding: 28px 18px;
  }

  .product-ui {
    padding: 12px;
  }

  .ui-kpi-row {
    grid-template-columns: 1fr;
  }

  .ui-room-row {
    flex-direction: column;
  }

  .workflow-track {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow-track::before {
    display: none;
  }

  .workflow-track > div {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0 10px;
    text-align: left;
  }

  .workflow-track span {
    grid-row: span 2;
    margin: 0;
  }

  .pharmacy-grid {
    grid-template-columns: 1fr;
  }

  .home .bento .card,
  .home .bento .card.wide {
    grid-column: span 12;
  }

  .solve-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .benefit-visual {
    min-height: auto;
    padding: 28px 18px;
  }

  .benefit-float {
    display: none;
  }

  .role-head,
  .role-row {
    grid-template-columns: 1fr repeat(2, 0.8fr);
  }

  .role-row i:last-child {
    display: none;
  }

  .role-head strong {
    grid-column: span 2;
  }

  .home .chat {
    animation: none;
  }

  .faq-list summary {
    min-height: 66px;
    padding-left: 17px;
    font-size: 0.92rem;
  }

  .faq-list details > div > p {
    padding-left: 17px;
    padding-right: 40px;
  }

  .home .cta-band {
    text-align: left;
  }

  .home .cta-band .hero-ctas {
    width: 100%;
  }

  .home .cta-band .btn {
    width: 100%;
  }

  .home-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .home .legal {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .home h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .home .hero .lede {
    font-size: 0.98rem;
  }

  .home .mock-kpis {
    grid-template-columns: 1fr;
  }

  .dash-feed {
    grid-template-columns: 1fr;
  }

  .dash-chrome .dash-dots {
    display: none;
  }

  .stats-float .stats-grid {
    padding-inline: 4px;
  }

  .stats-float .stats-grid > div {
    padding-inline: 7px;
  }

  .stats-float .stats-grid b {
    font-size: 1.16rem;
  }

  .product-copy h3 {
    font-size: 1.65rem;
  }

  .patient-nav {
    overflow-x: auto;
  }

  .patient-nav span {
    flex: 0 0 auto;
  }

  .lab-table > div {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .lab-table > div span:last-child {
    display: none;
  }

  .brand-preview-top > span {
    display: none;
  }

  .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (hover: hover) {
  .home .bento .card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: var(--home-shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .home [data-reveal] {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
