﻿:root {
  --ink: #08265a;
  --muted: #64707d;
  --line: #dce3e8;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --teal: #14833b;
  --teal-dark: #08306b;
  --coral: #e66b4f;
  --gold: #f4b942;
  --green: #14833b;
  --site-gutter: clamp(24px, 4vw, 64px);
  --shadow: 0 24px 60px rgba(8, 38, 90, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #eef3f8;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10002;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

/* â”€â”€ top row: brand + nav + CTA â”€â”€ */
.header-top {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 var(--site-gutter);
  height: 64px;
  border-bottom: 1px solid var(--line);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--teal-dark);
  margin-right: 32px;
}

.brand-logo,
.button,
.feature-grid article,
.module-list article,
.price-card,
.product-shot {
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease),
    border-color 240ms var(--ease),
    background-color 240ms var(--ease);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

.brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  transition: color 180ms, border-color 180ms;
}

.nav a:hover {
  color: var(--teal-dark);
}

.nav a.nav-active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.nav-cta {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 0.9rem;
}

.nav-admin {
  flex: 0 0 auto;
  margin-left: 10px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 180ms, border-color 180ms, background 180ms;
}

.nav-admin:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: rgba(20, 131, 59, 0.06);
}

.footer-admin-link {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.7;
  text-decoration: underline;
  transition: opacity 180ms;
}

.footer-admin-link:hover {
  opacity: 1;
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 12px 0 auto;
  flex: 0 0 auto;
  z-index: 10003;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 300ms var(--ease);
  position: absolute;
  left: 8px;
}

.menu-toggle span:nth-child(1) {
  top: 10px;
}

.menu-toggle span:nth-child(2) {
  top: 18px;
  opacity: 1;
}

.menu-toggle span:nth-child(3) {
  top: 26px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  display: grid;
  gap: 0;
  min-height: calc(100vh - 76px);
  padding: 26px var(--site-gutter) 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(120deg, #e7edf4, #f7fafc 58%, #e4ebf3);
}

.header-support {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  height: 38px;
  padding: 0 var(--site-gutter);
  background: var(--soft);
  color: var(--teal-dark);
  font-size: 0.82rem;
}

.support-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}

.support-item:first-child {
  border-left: 1px solid var(--line);
  margin-left: auto;
}

.support-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 1px;
}

.support-label strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.support-label span,
.support-label {
  color: var(--muted);
  font-weight: 400;
}

.support-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--teal-dark);
  stroke: var(--teal-dark);
}

.support-svg.green {
  color: var(--green);
  stroke: var(--green);
}

.phone-link {
  color: var(--teal-dark);
  text-decoration: none;
}

.phone-link:hover .support-label strong {
  color: var(--teal);
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: stretch;
  gap: 34px;
  min-height: 650px;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(8, 48, 107, 0.14);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(8, 38, 90, 0.15);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(5, 36, 78, 0.08) 55%, rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(8, 48, 107, 0.08), rgba(20, 131, 59, 0.08));
}

.software-brand-card,
.software-menu,
.patient-panel,
.hospital-panel,
.quick-panel {
  position: absolute;
  z-index: 2;
}

.software-brand-card {
  top: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 16px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.software-brand-card img {
  width: 62px;
  height: 62px;
  min-height: 0;
  object-fit: contain;
  filter: none;
}

.software-brand-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.08;
}

.software-brand-card span {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 700;
}

.software-menu {
  bottom: 118px;
  left: 24px;
  display: grid;
  gap: 9px;
  width: 205px;
  padding: 16px;
  color: white;
  background: rgba(7, 43, 99, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(8, 38, 90, 0.26);
}

.software-menu span {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.software-menu .active {
  background: #178ee8;
}

.patient-panel,
.hospital-panel,
.quick-panel {
  color: white;
  background: rgba(7, 55, 116, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(8, 38, 90, 0.22);
  backdrop-filter: blur(10px);
}

.patient-panel {
  left: 26%;
  bottom: 104px;
  width: min(330px, 42%);
  padding: 20px;
}

.patient-panel h3,
.hospital-panel h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.patient-panel p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
}

.panel-avatar {
  float: left;
  width: 54px;
  height: 54px;
  margin-right: 14px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 30%, #0b2f68 0 18%, transparent 19%),
    radial-gradient(circle at 50% 88%, #0b2f68 0 34%, transparent 35%),
    rgba(255, 255, 255, 0.88);
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.quick-row span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px;
  color: white;
  text-align: center;
  font-size: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}

.hospital-panel {
  top: 152px;
  right: 24px;
  width: min(340px, 42%);
  padding: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.metric-grid span {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  font-size: 0.66rem;
}

.metric-grid strong {
  font-size: 1.22rem;
}

.line-chart {
  position: relative;
  height: 120px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 12px;
  background:
    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: 36px 30px;
}

.line-chart i {
  position: absolute;
  inset: 26px 18px 22px;
  display: block;
  border-bottom: 4px solid white;
  border-radius: 50% 30% 40% 20%;
  transform: rotate(-8deg);
}

.quick-panel {
  right: 24px;
  bottom: 54px;
  width: min(360px, 46%);
  padding: 18px;
}

.quick-panel div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.quick-panel span {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px;
  text-align: center;
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}

.hero-pulse {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  animation: softPulse 3.4s var(--ease) infinite;
}

.pulse-one {
  left: 23%;
  bottom: 24%;
}

.pulse-two {
  right: 15%;
  bottom: 36%;
  width: 82px;
  height: 82px;
  animation-delay: 520ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  color: #173b73;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.help-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  background: transparent;
  border-radius: 0;
}

.help-panel h1 {
  color: var(--teal-dark);
}

.help-panel h1::first-line {
  color: var(--teal-dark);
}

.help-panel h1 {
  background: linear-gradient(180deg, var(--teal-dark) 0 47%, var(--green) 47% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-points {
  display: grid;
  gap: 16px;
  margin: 28px 0 10px;
}

.support-points div {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--teal-dark);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 48, 107, 0.12);
}

.point-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  color: white;
  background: var(--teal-dark);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.banner-benefits {
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  /* extend background to edges, keep inner content gutter */
  margin: -4px calc(-1 * var(--site-gutter)) 0;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  overflow: hidden;
  position: relative;
}

.banner-benefits::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background: var(--line);
  z-index: -1;
}

.banner-benefits article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 128px;
  padding: 24px 16px;
  text-align: center;
  background: white;
  border-right: 1px solid var(--line);
  border-radius: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.banner-benefits article:first-child,
.banner-benefits article:last-child {
  border-radius: 0;
}

.banner-benefits article:last-child {
  border-right: 0;
}

.banner-benefits strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.banner-benefits span {
  color: var(--muted);
  font-size: 0.88rem;
}

.banner-footer-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  margin-top: 0;
  /* expand to full viewport width */
  margin-left: calc(-1 * var(--site-gutter));
  margin-right: calc(-1 * var(--site-gutter));
  /* keep inner gutters so text doesn't touch viewport */
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  color: white;
  background: var(--teal-dark);
  border-radius: 0;
}

.banner-footer-strip::after {
  position: absolute;
  right: -40px;
  bottom: -72px;
  width: 420px;
  height: 150px;
  content: "";
  background: var(--green);
  border-radius: 50% 0 0 0;
}

.banner-footer-strip strong,
.banner-footer-strip span,
.banner-footer-strip em {
  position: relative;
  z-index: 1;
}


.banner-footer-strip strong {
  color: #f3f7fb;
  font-size: 1.18rem;
}

.banner-footer-strip em {
  max-width: 330px;
  font-style: normal;
  text-align: right;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 127, 140, 0.22);
}

.button.secondary {
  color: var(--teal-dark);
  background: white;
  border-color: var(--line);
}

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

.product-shot {
  overflow: hidden;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  transform-origin: center;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: #edf5f6;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--gold);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 70px 1fr;
  min-height: 420px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 18px;
  background: var(--teal-dark);
}

.preview-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.preview-sidebar .active {
  background: white;
}

.preview-main {
  display: grid;
  gap: 22px;
  padding: 26px;
}

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

.preview-top div,
.patient-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

small {
  display: block;
  color: var(--muted);
}

.chart {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--green));
  animation: chartPulse 3.8s var(--ease) infinite;
  transform-origin: bottom;
}

.chart span:nth-child(2) {
  animation-delay: 180ms;
}

.chart span:nth-child(3) {
  animation-delay: 360ms;
}

.chart span:nth-child(4) {
  animation-delay: 120ms;
}

.chart span:nth-child(5) {
  animation-delay: 520ms;
}

.chart span:nth-child(6) {
  animation-delay: 260ms;
}

.patient-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust-strip div {
  /* Match the banner-benefits card style for consistent look-and-feel */
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 128px;
  padding: 24px 18px;
  text-align: center;
  background: white;
  border-right: 1px solid var(--line);
}

.trust-strip div:first-child,
.trust-strip div:last-child {
  border-radius: 0;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.45rem;
}

.trust-strip span,
.section-heading p,
article p,
.cta-section p,
li {
  color: var(--muted);
}

.section,
.cta-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid,
.pricing-grid,
.module-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.module-list article,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-grid article {
  padding: 24px;
}

.feature-grid article:hover,
.module-list article:hover,
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 127, 140, 0.42);
  box-shadow: 0 18px 44px rgba(15, 31, 43, 0.1);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--coral);
  font-weight: 900;
}

.tinted {
  background: var(--soft);
}

.module-list {
  grid-template-columns: repeat(4, 1fr);
}
.module-list article {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.module-list article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15, 31, 43, 0.06);
  border-color: rgba(8, 127, 140, 0.18);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.price-card.featured::after {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 127, 140, 0.34), rgba(230, 107, 79, 0.22));
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.price-card.featured:hover::after {
  opacity: 1;
}

.plan-label {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 9px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--coral);
  border-radius: 8px;
}

.price {
  color: var(--teal-dark);
  font-size: 1.7rem;
  font-weight: 900;
}

ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 8px 0 26px;
}

.price-card .button {
  margin-top: auto;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  color: white;
  background: var(--teal-dark);
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(8, 127, 140, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 48, 107, 0.9), rgba(20, 131, 59, 0.72)),
    url("assets/lab-support-banner.jpg") center / cover;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.content-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: white;
}

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

.detail-grid article,
.module-detail-list article,
.split-section > div {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid p,
.module-detail-list p,
.split-section p {
  color: var(--muted);
}

.module-detail-list {
  display: grid;
  gap: 18px;
}

.module-detail-list article {
  border-left: 6px solid var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-page-section {
  margin: 0;
}

.animate-in {
  animation: riseIn 820ms var(--ease) both;
}

.delay-1 {
  animation-delay: 160ms;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease),
    box-shadow 240ms var(--ease),
    border-color 240ms var(--ease);
}

.reveal.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .stagger-item:nth-child(2) {
  transition-delay: 80ms;
}

.reveal.is-visible .stagger-item:nth-child(3) {
  transition-delay: 160ms;
}

.reveal.is-visible .stagger-item:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

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

@keyframes chartPulse {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.84);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.12);
  }
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .header-main {
    justify-content: space-between;
  }

  .header-support {
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    gap: 12px;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .header-support {
    justify-content: center;
  }

  .header-main {
    justify-content: space-between;
  }

  .hero-showcase,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 560px;
  }

  .hero-showcase {
    gap: 18px;
    background: transparent;
  }

  .help-panel {
    padding-inline: 0;
  }

  .banner-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 0;
    background: var(--line);
  }

  .banner-benefits article,
  .banner-benefits article:first-child,
  .banner-benefits article:last-child {
    border-radius: 0;
    border: 0;
  }

  .banner-benefits {
    margin: -4px 0 0;
    padding: 0 clamp(10px, 2vw, 28px);
  }

  .feature-grid,
  .module-list,
  .pricing-grid,
  .detail-grid,
  .split-section {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  .site-header {
    position: sticky;
  }

  .header-top {
    position: relative;
    padding: 0 var(--site-gutter);
    height: auto;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
    border-bottom: none;
  }

  .brand {
    flex: 1;
    margin-right: 0;
    height: 64px;
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms var(--ease);
    z-index: 10001;
    box-shadow: 0 12px 40px rgba(8, 38, 90, 0.18);
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    max-height: 600px;
  }

  .nav a {
    display: flex;
    align-items: center;
    height: auto;
    padding: 16px var(--site-gutter);
    border-bottom: 1px solid var(--line);
    border-right: 4px solid transparent;
    width: 100%;
    font-weight: 600;
    color: var(--muted);
    transition: all 180ms;
  }

  .nav a:hover {
    background: var(--soft);
    color: var(--teal-dark);
  }

  .nav a.nav-active {
    color: var(--teal-dark);
    border-bottom-color: var(--line);
    border-right-color: var(--teal);
    background: rgba(20, 131, 59, 0.08);
  }

  .nav-cta,
  .nav-admin {
    display: none;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  h1 {
    font-size: 2.7rem;
  }

  .header-support {
    display: none;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 620px;
  }

  .help-panel {
    padding: 30px 22px;
  }

  .software-brand-card {
    top: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .software-menu {
    top: 142px;
    bottom: auto;
    left: 16px;
    width: 185px;
  }

  .hospital-panel {
    top: 142px;
    right: 16px;
    width: calc(100% - 225px);
    min-width: 150px;
  }

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

  .patient-panel {
    left: 16px;
    right: 16px;
    bottom: 120px;
    width: auto;
  }

  .quick-panel {
    right: 16px;
    bottom: 20px;
    left: 16px;
    width: auto;
  }

  .quick-panel div,
  .quick-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-benefits {
    grid-template-columns: 1fr;
    /* reset to center within content on small screens */
    margin: -4px 0 0;
    padding: 0 clamp(10px, 2vw, 28px);
  }

  .banner-footer-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .banner-footer-strip em {
    text-align: left;
  }

  .product-shot {
    min-width: 0;
  }

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

  .preview-sidebar {
    display: none;
  }

  .preview-top,
  .feature-grid,
  .module-list,
  .pricing-grid,
  .trust-strip,
  .detail-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .chart {
    min-height: 130px;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .reveal,
  .stagger-item {
    opacity: 1;
    transform: none;
  }
}

