:root {
  --navy: #08245a;
  --navy-2: #0b2d6b;
  --blue: #0e6eff;
  --red: #d91e18;
  --ink: #10213f;
  --muted: #5f6f86;
  --pale: #f3f7fc;
  --line: #dce5f0;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(8, 36, 90, .14);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  left: 14px; top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { top: 14px; }
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
h1, h2, h3 {
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.12;
  margin-top: 0;
}
h1 { font-size: clamp(2.65rem, 5.3vw, 5.35rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.7vw, 3.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
.eyebrow {
  margin-bottom: 16px;
  color: #b9d6ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--blue); }
.section { padding: 110px 0; }
.section-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}
.section-heading p:last-child { color: var(--muted); font-size: 1.12rem; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered p:last-child { color: rgba(255,255,255,.72); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 30px rgba(8,36,90,.11);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  width: 245px;
  height: 60px;
  display: flex;
  align-items: center;
  border-radius: 4px;
}
.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}
.site-header:not(.scrolled) .brand {
  background: rgba(255,255,255,.94);
  padding: 5px 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 600;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { color: #91c3ff; }
.site-header.scrolled .main-nav a:hover { color: var(--blue); }
.main-nav .nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
}
.site-header.scrolled .main-nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  background: url("assets/hero-er.png") center 42% / cover no-repeat;
  transform: scale(1.03);
  animation: heroZoom 16s ease-out both;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,17,47,.94) 0%, rgba(6,31,75,.83) 47%, rgba(4,18,44,.28) 76%, rgba(4,18,44,.36) 100%),
    linear-gradient(0deg, rgba(5,19,47,.42), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
}
.hero-content > * { max-width: 800px; }
.hero-lead {
  max-width: 680px;
  margin: 24px 0 34px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.05rem, 1.75vw, 1.3rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(14,110,255,.32);
}
.button-primary:hover { background: #005de6; }
.button-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.button-secondary:hover { background: rgba(255,255,255,.16); }
.button-light { background: var(--white); color: var(--navy); }
.hero-note { margin-top: 24px; color: rgba(255,255,255,.64); font-size: .9rem; }
.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 50%;
  width: 30px; height: 48px;
  margin-left: -15px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 10px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-grid > div {
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; color: var(--navy); }
.trust-grid span { color: var(--muted); font-size: .89rem; }

.split-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(45px, 7vw, 95px);
  align-items: center;
}
.split-layout.reverse { grid-template-columns: 1.05fr .95fr; }
.image-card, .wait-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-card img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}
.image-accent {
  position: absolute;
  right: -1px; bottom: -1px;
  width: 130px; height: 130px;
  border-top-left-radius: 100%;
  background: linear-gradient(135deg, transparent 38%, rgba(14,110,255,.85));
}
.content-block h2 { color: var(--navy); }
.challenge-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.challenge-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.challenge-list span { color: var(--red); font-weight: 800; }
.challenge-list p { margin: 0; font-weight: 650; }
.reality { background: var(--pale); }
.wait-card img { width: 100%; object-fit: cover; }
.wait-caption {
  padding: 24px 26px;
  background: var(--navy);
  color: var(--white);
}
.wait-caption strong, .wait-caption span { display: block; }
.wait-caption span { margin-top: 3px; color: rgba(255,255,255,.7); }
.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.solution {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(14,110,255,.22), transparent 28%),
    linear-gradient(135deg, #071d4b, #0b2d6b 62%, #103b82);
  color: var(--white);
}
.solution::after {
  content: "";
  position: absolute;
  inset: auto -10% -170px 35%;
  height: 330px;
  border: 2px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.workflow::before {
  content: "";
  position: absolute;
  left: 9%; right: 9%; top: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), #46a0ff, rgba(255,255,255,.1));
}
.workflow-step {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.workflow-step.featured {
  background: rgba(14,110,255,.2);
  border-color: rgba(119,181,255,.55);
  transform: translateY(-10px);
}
.step-number {
  position: absolute;
  top: 18px; right: 18px;
  color: rgba(255,255,255,.45);
  font-weight: 800;
}
.step-icon {
  width: 76px; height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--white);
  color: var(--navy);
  border-radius: 50%;
  font-family: "Manrope";
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.workflow-step h3 { margin-bottom: 10px; }
.workflow-step p { margin: 0; color: rgba(255,255,255,.7); font-size: .93rem; }
.workflow-disclaimer {
  max-width: 830px;
  margin: 34px auto 0;
  color: rgba(255,255,255,.6);
  text-align: center;
  font-size: .86rem;
}

.hospitals { background: var(--white); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-card {
  min-height: 285px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.benefit-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 45px;
  background: #eaf3ff;
  color: var(--blue);
  border-radius: 13px;
  font-weight: 800;
}
.benefit-card h3 { color: var(--navy); }
.benefit-card p { color: var(--muted); margin-bottom: 0; }

.physician-banner {
  padding: 105px 0;
  background:
    linear-gradient(90deg, rgba(5,25,62,.97), rgba(7,36,83,.87)),
    url("assets/hero-er.png") center 60% / cover;
  color: var(--white);
}
.physician-content {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  gap: 45px 80px;
  align-items: center;
}
.physician-content h2 { margin-bottom: 20px; }
.physician-content p { color: rgba(255,255,255,.72); }
.physician-points {
  display: grid;
  gap: 13px;
}
.physician-points span {
  position: relative;
  padding-left: 29px;
  font-weight: 650;
}
.physician-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #72b2ff;
}
.physician-content .button { justify-self: start; }

.final-cta { background: var(--pale); }
.cta-panel {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 44px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cta-panel img { width: 190px; }
.cta-panel h2 { margin-bottom: 0; font-size: clamp(1.65rem, 2.6vw, 2.65rem); }
.cta-panel .eyebrow { color: var(--blue); }

.site-footer {
  padding: 72px 0 24px;
  background: #051633;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 70px;
}
.footer-brand img {
  width: 280px;
  padding: 7px 10px;
  background: var(--white);
  border-radius: 6px;
}
.footer-brand p { max-width: 470px; margin-top: 22px; color: rgba(255,255,255,.62); }
.footer-grid h3 { margin-bottom: 18px; font-size: 1rem; }
.footer-grid a, .footer-grid span {
  display: block;
  margin: 9px 0;
  color: rgba(255,255,255,.66);
  text-decoration: none;
}
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.46);
  font-size: .8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(18px); }
}

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .84rem; }
  .brand { width: 205px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow::before { display: none; }
  .workflow-step.featured { transform: none; }
  .cta-panel { grid-template-columns: 145px 1fr; }
  .cta-panel .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 46px; height: 46px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    width: 22px; height: 2px;
    background: var(--navy);
  }
  .main-nav {
    position: absolute;
    top: 76px; left: 20px; right: 20px;
    display: none;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .main-nav a, .site-header:not(.scrolled) .main-nav a { color: var(--ink); padding: 8px; }
  .main-nav .nav-cta, .site-header:not(.scrolled) .main-nav .nav-cta {
    background: var(--navy);
    color: var(--white);
    text-align: center;
  }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-layout, .split-layout.reverse { grid-template-columns: 1fr; }
  .image-card img { min-height: 450px; }
  .physician-content { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; text-align: center; }
  .cta-panel img { margin-inline: auto; }
  .cta-panel .button { grid-column: auto; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 74px; }
  .brand { width: 185px; height: 50px; }
  .hero { min-height: 800px; }
  .hero-content { padding-top: 90px; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(3,17,47,.94), rgba(4,22,54,.78));
  }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .workflow, .benefit-grid { grid-template-columns: 1fr; }
  .image-card img { min-height: 360px; }
  .cta-panel { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
