:root {
  --ink: #15191e;
  --muted: #5d6875;
  --line: #d9e0e8;
  --soft: #f4f7fa;
  --white: #ffffff;
  --blue: #116a9b;
  --blue-deep: #0b3c5c;
  --blue-soft: #e7f3fa;
  --gold: #c8952b;
  --green: #26735f;
  --amber: #9f6a18;
  --red: #9d3e3e;
  --shadow: 0 24px 70px rgba(18, 31, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 224, 232, 0.82);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #314253;
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a,
.nav-cta,
.button {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
}

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

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 82px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(115deg, rgba(231, 243, 250, 0.96), rgba(255, 255, 255, 0.72) 48%),
    radial-gradient(circle at 86% 24%, rgba(200, 149, 43, 0.18), transparent 26%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.25rem, 6.6vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-title-primary,
.hero-title-secondary {
  display: block;
}

.hero-title-brand {
  color: var(--blue);
}

.hero-title-secondary {
  margin-top: 0.32em;
  font-size: 0.5em;
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.24;
}

.hero-lede {
  margin: 26px 0 0;
  max-width: 680px;
  color: #394858;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.product-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 106, 155, 0.22);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: var(--shadow);
}

.product-surface::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  content: "";
}

.surface-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px 18px;
  color: #2e4657;
  font-size: 0.9rem;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(38, 115, 95, 0.14);
}

.surface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.metric-panel,
.review-panel,
.release-panel,
.ehr-card,
.command-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-panel {
  padding: 20px;
}

.metric-label,
.metric-note {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.metric-panel strong {
  display: block;
  margin: 12px 0 4px;
  color: var(--blue-deep);
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
  line-height: 1;
}

.review-panel,
.release-panel {
  grid-column: 1 / -1;
  padding: 20px;
}

.panel-heading,
.dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.panel-heading {
  margin-bottom: 14px;
  color: #2f3d4b;
  font-weight: 800;
}

.panel-heading b {
  color: var(--green);
  font-size: 0.8rem;
}

.lane {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 14px;
  border-left: 4px solid var(--line);
  background: var(--soft);
  color: #2e3d4c;
  font-weight: 720;
}

.lane.safe {
  border-color: var(--blue);
}

.lane.warn {
  border-color: var(--red);
}

.lane.neutral {
  border-color: var(--gold);
}

.lane.hold {
  border-color: var(--amber);
}

.release-panel p {
  margin: 10px 0 0;
  color: #334657;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 146px;
  padding: 30px clamp(20px, 3vw, 42px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--blue-deep);
  font-size: 1.02rem;
}

.trust-strip span {
  margin-top: 9px;
  color: var(--muted);
}

.customization-band {
  padding: 24px clamp(18px, 5vw, 72px);
  text-align: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.customization-band p {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 650;
  line-height: 1.25;
}

.customization-band strong {
  color: var(--blue);
  font-weight: 850;
}

.section {
  padding: clamp(68px, 8vw, 116px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.platform-section .section-heading {
  align-items: start;
}

.platform-overview {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.workbench-figure {
  margin: 0;
  min-width: 0;
}

.workbench-figure video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(17, 106, 155, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 31, 45, 0.14);
}

.workbench-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.workbench-video-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.workbench-video-links a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.workbench-transcript {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.workbench-transcript summary {
  width: fit-content;
  color: var(--blue);
  cursor: pointer;
}

.workbench-transcript ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.workbench-transcript li + li {
  margin-top: 8px;
}

.section-heading.narrow {
  display: block;
  max-width: 900px;
}

.capability-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.capability-grid article,
.security-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cap-icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.capability-grid p,
.security-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.workflow-section {
  background: var(--blue-deep);
  color: var(--white);
}

.workflow-section .eyebrow,
.workflow-section h2 {
  color: var(--white);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.22);
}

.workflow-list li {
  display: flex;
  gap: 18px;
  min-height: 300px;
  padding: 30px 26px;
  background: #0d466a;
}

.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff1d2;
  font-weight: 850;
}

.workflow-list p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.command-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  background: var(--soft);
}

.command-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.command-dashboard {
  padding: 12px;
  box-shadow: 0 18px 52px rgba(18, 31, 45, 0.1);
}

.dashboard-row {
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-row:last-child {
  border-bottom: 0;
}

.dashboard-row span {
  color: #304154;
  font-weight: 720;
}

.dashboard-row b {
  color: var(--blue);
  font-size: 0.9rem;
}

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

.rac-section {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}

.rac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.rac-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(17, 106, 155, 0.2);
  border-radius: 8px;
  background: var(--white);
}

.rac-grid h3 {
  color: var(--blue-deep);
}

.rac-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.ehr-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.ehr-section p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.disclaimer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem !important;
}

.ehr-card {
  padding: 26px;
}

.ehr-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-weight: 850;
}

.ehr-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
  color: #334657;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 56px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(30px, 5vw, 62px);
  padding: clamp(50px, 8vw, 86px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(11, 60, 92, 0.96), rgba(17, 106, 155, 0.92)),
    linear-gradient(90deg, var(--blue-deep), var(--blue));
}

.final-cta-copy {
  min-width: 0;
}

.final-cta-brand {
  display: grid;
  justify-items: center;
  gap: 20px;
  width: 240px;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.final-cta-brand img {
  display: block;
  width: 180px;
  height: auto;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
}

.final-cta-brand figcaption {
  max-width: 100%;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta h2 {
  max-width: 900px;
  margin-top: 0;
  line-height: 1.1;
}

.final-cta-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.final-cta .button {
  margin-top: 18px;
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--white);
}

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

@media (max-width: 1080px) {
  .hero,
  .section-heading,
  .command-section,
  .ehr-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .capability-grid,
  .security-grid,
  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .final-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .final-cta-brand {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.86rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .surface-grid,
  .trust-strip,
  .capability-grid,
  .workflow-list,
  .security-grid,
  .rac-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .workflow-list li,
  .capability-grid article,
  .security-grid article,
  .rac-grid article {
    min-height: auto;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .final-cta {
    padding: 36px 22px;
  }
}
