:root {
  --navy-950: #03182c;
  --navy-900: #061f39;
  --navy-800: #0a2c4c;
  --navy-700: #123e63;
  --navy-500: #52708c;
  --red-600: #d90f27;
  --red-500: #ee1b2f;
  --red-400: #ff3d4f;
  --ink: #10253d;
  --muted: #607086;
  --line: #dfe5ea;
  --soft: #f3f6f8;
  --white: #ffffff;
  --green: #1ba673;
  --orange: #ff9a3e;
  --yellow: #f2c94c;
  --blue: #4d8df7;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 16px 42px rgba(6, 31, 57, 0.09);
  --shadow-lg: 0 45px 110px rgba(0, 19, 37, 0.22);
  --container: min(1240px, calc(100% - 48px));
  --font: "Aptos", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  left: 20px;
  top: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--red-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

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

h1,
h2,
h3 {
  color: var(--navy-950);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 5.25vw, 5.3rem);
  font-weight: 760;
  line-height: 0.98;
}

h1 span,
h2 em {
  color: var(--red-500);
  font-style: normal;
}

h2 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.4vw, 4.55rem);
  font-weight: 740;
  line-height: 1.03;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.section-light,
.section-white,
.section-dark,
.section-navy {
  position: relative;
  padding: 130px 0;
}

.section-light {
  background: var(--soft);
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-navy {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(238, 27, 47, 0.28);
  outline-offset: 3px;
}

.button-red {
  color: var(--white);
  background: var(--red-500);
  box-shadow: 0 16px 34px rgba(238, 27, 47, 0.25);
}

.button-red:hover {
  background: var(--red-600);
  box-shadow: 0 20px 42px rgba(238, 27, 47, 0.32);
}

.button-dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 14px 34px rgba(6, 31, 57, 0.2);
}

.button-dark:hover {
  background: var(--navy-800);
}

.button-small {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 0.82rem;
}

.button-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.17);
  font-size: 0.9rem;
  transition: transform 220ms ease;
}

.button:hover .button-icon {
  transform: rotate(45deg);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  transition: padding 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(6, 31, 57, 0.08);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  width: min(1320px, calc(100% - 40px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  padding: 6px 8px 6px 18px;
  border: 1px solid rgba(6, 31, 57, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 50px rgba(6, 31, 57, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  width: 176px;
  height: 40px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
}

.desktop-nav a {
  position: relative;
  color: #42556a;
  font-size: 0.87rem;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red-500);
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 132px;
  background:
    radial-gradient(circle at 88% 30%, rgba(238, 27, 47, 0.1), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(6, 31, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 31, 57, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.hero-orbit {
  position: absolute;
  right: -150px;
  top: 3%;
  width: min(60vw, 780px);
  opacity: 0.62;
  pointer-events: none;
}

.orbit-ring {
  fill: none;
  stroke: rgba(6, 31, 57, 0.1);
  stroke-width: 1;
  stroke-dasharray: 5 11;
  transform-origin: center;
}

.orbit-ring-a {
  animation: slow-rotate 48s linear infinite;
}

.orbit-ring-b {
  animation: slow-rotate 36s linear infinite reverse;
}

.orbit-path {
  fill: none;
  stroke: url(#orbitStroke);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 10;
  animation: orbit-flow 9s linear infinite;
}

.orbit-dot {
  fill: var(--red-500);
  transform-origin: center;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.orbit-dot-b {
  fill: var(--navy-900);
  animation-delay: -1.2s;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100svh - 132px);
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
  padding-bottom: 115px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: #586a7e;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  color: var(--red-500);
  transition: transform 220ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  color: #586a7e;
  font-size: 0.8rem;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 166, 115, 0.1);
}

.hero-product {
  position: relative;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}

.product-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: #f7f9fb;
  box-shadow: var(--shadow-lg);
}

.product-window::after {
  position: absolute;
  z-index: 6;
  inset: 0;
  border: 1px solid rgba(6, 31, 57, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.window-topbar {
  display: grid;
  height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border-bottom: 1px solid #e6ebef;
  background: rgba(255, 255, 255, 0.98);
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.mini-mark {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
}

.mini-mark b {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-900);
}

.mini-mark b:nth-child(1) {
  left: 0;
  top: 0;
}

.mini-mark b:nth-child(2) {
  right: 0;
  bottom: 0;
}

.mini-mark b:nth-child(3) {
  left: 7px;
  top: 7px;
  background: var(--red-500);
}

.window-search {
  max-width: 260px;
  justify-self: center;
  padding: 8px 16px;
  border-radius: 9px;
  color: #8290a0;
  background: #f2f5f7;
  font-size: 0.62rem;
}

.window-user {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.58rem;
  font-weight: 800;
}

.product-body {
  display: grid;
  grid-template-columns: 52px 1fr;
}

.product-sidebar {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-right: 1px solid #e3e9ee;
  background: var(--white);
}

.side-logo {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: #8b99a8;
  font-size: 0.8rem;
  font-weight: 800;
}

.side-logo.active {
  color: var(--white);
  background: var(--red-500);
  box-shadow: 0 8px 15px rgba(238, 27, 47, 0.2);
}

.dashboard {
  padding: 24px;
}

.dashboard-header,
.panel-title,
.copilot-head,
.summary-head,
.triage-top,
.journey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header {
  margin-bottom: 20px;
}

.dashboard-header > div {
  display: flex;
  flex-direction: column;
}

.dashboard-kicker {
  color: #8a98a8;
  font-size: 0.62rem;
  font-weight: 650;
}

.dashboard-header strong {
  color: var(--navy-950);
  font-size: 1rem;
}

.live-pill,
.connected-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(27, 166, 115, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(27, 166, 115, 0.07);
  font-size: 0.55rem;
  font-weight: 750;
}

.live-pill i,
.connected-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(27, 166, 115, 0.35);
  animation: live-pulse 1.8s ease-out infinite;
}

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

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  padding: 13px;
  border: 1px solid #e4e9ee;
  border-radius: 13px;
  background: var(--white);
}

.metric-card span,
.metric-card small {
  display: block;
  color: #788797;
  font-size: 0.53rem;
}

.metric-card strong {
  display: block;
  margin: 4px 0 1px;
  color: var(--navy-950);
  font-size: 1.4rem;
  line-height: 1;
}

.metric-card.accent {
  border-color: rgba(238, 27, 47, 0.12);
  background: linear-gradient(145deg, #fff 20%, #fff1f3 100%);
}

.metric-card.accent::after {
  position: absolute;
  right: -17px;
  bottom: -20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  content: "";
  background: var(--red-500);
  opacity: 0.08;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
  margin-top: 10px;
}

.patient-panel,
.copilot-panel {
  min-height: 238px;
  padding: 14px;
  border: 1px solid #e4e9ee;
  border-radius: 13px;
  background: var(--white);
}

.panel-title {
  margin-bottom: 12px;
  color: var(--navy-950);
  font-size: 0.66rem;
  font-weight: 800;
}

.panel-title button {
  padding: 4px 8px;
  border: 1px solid #e7ebef;
  border-radius: 6px;
  color: #7a8997;
  background: #fafbfc;
  font-size: 0.5rem;
}

.patient-row {
  display: grid;
  grid-template-columns: 5px 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 11px 5px;
  border-top: 1px solid #edf0f3;
  transition: background-color 300ms ease, transform 300ms ease;
}

.patient-row.active {
  margin-inline: -6px;
  padding-inline: 11px;
  border-color: transparent;
  border-radius: 9px;
  background: #f5f8fa;
}

.risk {
  width: 5px;
  height: 24px;
  border-radius: 999px;
}

.risk-red { background: var(--red-500); }
.risk-orange { background: var(--orange); }
.risk-green { background: var(--green); }

.patient-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: var(--red-500);
  background: #fff0f2;
  font-size: 0.5rem;
  font-weight: 800;
}

.patient-avatar.navy {
  color: var(--navy-800);
  background: #e8eef3;
}

.patient-avatar.pale {
  color: var(--green);
  background: #eaf8f3;
}

.patient-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.patient-info strong {
  overflow: hidden;
  color: var(--navy-950);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.patient-info small,
.patient-time {
  overflow: hidden;
  color: #8793a0;
  font-size: 0.48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copilot-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(238, 27, 47, 0.1), transparent 40%),
    var(--navy-950);
}

.copilot-panel::after {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  animation: slow-rotate 28s linear infinite;
}

.copilot-head {
  justify-content: flex-start;
  gap: 9px;
  margin-bottom: 20px;
}

.copilot-head > div {
  display: flex;
  flex-direction: column;
}

.copilot-head small {
  color: #8ca0b4;
  font-size: 0.5rem;
}

.copilot-head strong {
  color: var(--white);
  font-size: 0.68rem;
}

.ai-icon,
.ai-orb {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  background: var(--red-500);
  box-shadow: 0 8px 20px rgba(238, 27, 47, 0.3);
}

.ai-line {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.ai-line span {
  display: block;
  width: var(--line);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #596e83, #9fb0c0);
  transform-origin: left;
  animation: ai-type 3.8s ease-in-out infinite;
}

.clinical-alert {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid rgba(238, 27, 47, 0.28);
  border-radius: 9px;
  background: rgba(238, 27, 47, 0.08);
}

.clinical-alert > i {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red-500);
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 800;
}

.clinical-alert div {
  display: flex;
  flex-direction: column;
}

.clinical-alert strong {
  color: var(--white);
  font-size: 0.55rem;
}

.clinical-alert small {
  margin-top: 2px;
  color: #aebdca;
  font-size: 0.48rem;
  line-height: 1.4;
}

.illustrative-note {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 9px;
  color: #7790a7;
  font-size: 0.42rem;
}

.floating-status {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 175px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(6, 31, 57, 0.15);
  backdrop-filter: blur(12px);
}

.floating-status div {
  display: flex;
  flex-direction: column;
}

.floating-status small {
  color: #8995a2;
  font-size: 0.56rem;
}

.floating-status strong {
  color: var(--navy-950);
  font-size: 0.67rem;
}

.status-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  background: #e8f7f1;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-icon.ai {
  color: var(--white);
  background: var(--red-500);
}

.status-a {
  right: -24px;
  bottom: 46px;
  animation: float 4.8s ease-in-out infinite;
}

.status-b {
  left: -35px;
  top: 108px;
  animation: float 5.4s ease-in-out infinite reverse;
}

.hero-bottom {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 72px;
  color: var(--white);
  background: var(--navy-950);
}

.hero-bottom::before {
  position: absolute;
  top: -26px;
  right: -3%;
  width: 28%;
  height: 58px;
  border-radius: 100% 0 0 0;
  content: "";
  background: var(--red-500);
  transform: skewY(-3deg);
}

.hero-bottom-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9caebe;
  font-size: 0.68rem;
}

.scroll-cue i {
  display: block;
  width: 16px;
  height: 26px;
  border: 1px solid #526a7f;
  border-radius: 999px;
}

.scroll-cue i::after {
  display: block;
  width: 3px;
  height: 6px;
  margin: 5px auto 0;
  border-radius: 999px;
  content: "";
  background: var(--red-500);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.statement {
  padding: 98px 0 104px;
}

.statement::after {
  position: absolute;
  right: 7%;
  bottom: -42px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  content: "";
  background: var(--red-500);
}

.statement-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1.5fr) minmax(250px, 0.62fr);
  align-items: start;
  gap: 50px;
}

.section-index {
  padding-top: 10px;
  color: #72889c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement blockquote {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 3.55vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.statement blockquote span {
  color: var(--red-400);
}

.statement p {
  margin: 10px 0 0;
  color: #9dafbf;
  font-size: 0.96rem;
  line-height: 1.7;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
  margin-bottom: 70px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head > p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.7;
}

.section-head.compact {
  grid-template-columns: 1fr;
}

.section-head.inverted h2 {
  color: var(--white);
}

.section-head.inverted > p {
  color: #99acbe;
}

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

.loss-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #e1e7eb;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 15px 35px rgba(6, 31, 57, 0.035);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.loss-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: rgba(238, 27, 47, 0.18);
  box-shadow: var(--shadow-sm);
}

.card-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: #c8d1d9;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.line-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--navy-900);
  background: #eaf0f4;
  font-size: 1.1rem;
  font-weight: 800;
}

.line-icon.red {
  color: var(--red-500);
  background: #fff0f2;
}

.loss-card h3 {
  margin-bottom: 12px;
}

.loss-card p {
  margin-bottom: 28px;
  font-size: 0.91rem;
  line-height: 1.68;
}

.card-signal {
  display: flex;
  height: 50px;
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
}

.card-signal i {
  width: 9px;
  border-radius: 99px 99px 3px 3px;
  background: #dce4ea;
  animation: signal 2.8s ease-in-out infinite;
}

.card-signal i:nth-child(1) { height: 20px; }
.card-signal i:nth-child(2) { height: 42px; animation-delay: -.8s; }
.card-signal i:nth-child(3) { height: 30px; animation-delay: -1.6s; }
.card-signal i:nth-child(4) { height: 12px; animation-delay: -2.2s; background: var(--red-500); }

.card-network {
  position: relative;
  height: 50px;
  margin-top: auto;
}

.card-network::before,
.card-network::after,
.card-network b {
  position: absolute;
  height: 1px;
  content: "";
  background: #d7e0e7;
}

.card-network::before { left: 20px; right: 48%; top: 13px; transform: rotate(13deg); }
.card-network::after { left: 48%; right: 18px; top: 30px; transform: rotate(-16deg); }
.card-network b { left: 23px; right: 23px; top: 28px; }

.card-network i {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 1px #ccd7df;
}

.card-network i:nth-child(1) { left: 12px; top: 7px; }
.card-network i:nth-child(2) { left: 47%; top: 22px; background: var(--red-500); }
.card-network i:nth-child(3) { right: 10px; top: 12px; }

.card-pill {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 11px;
  border: 1px solid #dfe6eb;
  border-radius: 999px;
  color: #687b8e;
  font-size: 0.67rem;
  font-weight: 750;
}

.loss-card-red {
  color: var(--white);
  border-color: var(--red-500);
  background: var(--red-500);
  box-shadow: 0 20px 50px rgba(238, 27, 47, 0.18);
}

.loss-card-red::before {
  position: absolute;
  right: -85px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
  animation: slow-rotate 30s linear infinite;
}

.loss-card-red .card-number,
.loss-card-red p {
  color: rgba(255, 255, 255, 0.73);
}

.loss-card-red h3 {
  color: var(--white);
}

.line-icon.light {
  color: var(--red-500);
  background: var(--white);
}

.bed-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 750;
}

.bed-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.7fr) minmax(600px, 1.3fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.platform-copy p {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #42576c;
  font-size: 0.9rem;
  font-weight: 650;
}

.check-list i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #e9f8f2;
  font-size: 0.62rem;
  font-style: normal;
}

.journey-shell {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 28px;
  border: 1px solid #dfe6eb;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(6, 31, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 31, 57, 0.035) 1px, transparent 1px),
    #f7f9fa;
  background-size: 32px 32px;
  box-shadow: var(--shadow-sm);
}

.journey-shell::after {
  position: absolute;
  right: -110px;
  top: -130px;
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(238, 27, 47, 0.22);
  border-radius: 50%;
  content: "";
  animation: slow-rotate 36s linear infinite;
}

.journey-top {
  position: relative;
  z-index: 2;
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 800;
}

.journey-visual {
  position: relative;
  height: 310px;
  margin-top: 18px;
}

.journey-svg {
  position: absolute;
  left: 1%;
  top: 20px;
  width: 98%;
  height: 280px;
}

.journey-track,
.journey-progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
}

.journey-track {
  stroke: #dbe3e9;
}

.journey-progress {
  stroke: var(--red-500);
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
  animation: journey-progress 8s ease-in-out infinite;
}

.pulse-node {
  fill: var(--white);
  stroke: #ccd8e0;
  stroke-width: 4;
  animation: node-fill 8s ease-in-out infinite;
}

.pulse-node.n2 { animation-delay: .45s; }
.pulse-node.n3 { animation-delay: .9s; }
.pulse-node.n4 { animation-delay: 1.35s; }
.pulse-node.n5 { animation-delay: 1.8s; }
.pulse-node.n6 { animation-delay: 2.25s; }
.pulse-node.n7 { animation-delay: 2.7s; }

.journey-labels {
  position: absolute;
  right: 6.5%;
  bottom: 14px;
  left: 6.5%;
  height: 94px;
}

.journey-labels > span {
  position: absolute;
  left: var(--pos);
  display: flex;
  width: 94px;
  flex-direction: column;
  transform: translateX(-50%);
  color: var(--navy-950);
  font-size: 0.63rem;
  font-weight: 800;
  text-align: center;
}

.journey-labels small {
  color: #8898a6;
  font-size: 0.51rem;
  font-weight: 600;
}

.journey-patient {
  position: absolute;
  z-index: 3;
  left: 6.5%;
  top: 130px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--red-500);
  box-shadow: 0 9px 22px rgba(238, 27, 47, 0.26);
  animation: patient-journey 8s ease-in-out infinite;
}

.journey-patient span {
  font-size: 0.92rem;
  font-weight: 800;
}

.journey-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e0e6eb;
  border-radius: 14px;
  background: #e0e6eb;
}

.journey-footer div {
  display: flex;
  flex-direction: column;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.88);
}

.journey-footer span {
  color: #8a98a6;
  font-size: 0.58rem;
}

.journey-footer strong {
  color: var(--navy-950);
  font-size: 0.72rem;
}

.copilot {
  padding-bottom: 145px;
}

.copilot-glow {
  position: absolute;
  top: 8%;
  left: 36%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 27, 47, 0.13), transparent 64%);
  pointer-events: none;
}

.copilot-demo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 110px rgba(0, 10, 24, 0.38);
}

.copilot-demo-nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 34px;
  border-bottom: 1px solid #e3e9ed;
}

.demo-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-profile > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.73rem;
  font-weight: 800;
}

.demo-profile > div {
  display: flex;
  flex-direction: column;
}

.demo-profile strong {
  color: var(--navy-950);
  font-size: 0.88rem;
}

.demo-profile small {
  color: #8493a1;
  font-size: 0.67rem;
}

.demo-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #f0f4f6;
}

.demo-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #687a8b;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.demo-tabs button.active {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 7px 16px rgba(6, 31, 57, 0.18);
}

.copilot-demo-grid {
  display: grid;
  min-height: 480px;
  grid-template-columns: 0.82fr 1.18fr;
}

.demo-record {
  padding: 42px;
  border-right: 1px solid #e3e9ed;
  background: #f7f9fa;
}

.record-label {
  display: block;
  margin-bottom: 24px;
  color: var(--navy-950);
  font-size: 0.74rem;
  font-weight: 800;
}

.record-line {
  width: 63%;
  height: 7px;
  margin-top: 11px;
  border-radius: 999px;
  background: #dfe6eb;
}

.record-line.wide { width: 88%; }
.record-line.medium { width: 75%; margin-bottom: 38px; }

.record-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #e1e7ec;
  border-radius: 12px;
  background: var(--white);
}

.record-card > span {
  color: #8a97a4;
  font-size: 0.62rem;
}

.record-card > div {
  display: flex;
  flex-direction: column;
}

.record-card strong {
  color: var(--navy-950);
  font-size: 0.7rem;
}

.record-card small {
  color: #8a97a4;
  font-size: 0.58rem;
}

.record-card i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #e9f8f2;
  font-size: 0.6rem;
  font-style: normal;
}

.ai-summary {
  position: relative;
  padding: 42px;
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 27, 47, 0.06), transparent 33%),
    var(--white);
}

.summary-head {
  justify-content: flex-start;
  gap: 13px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e5e9ed;
}

.summary-head > div {
  display: flex;
  flex-direction: column;
}

.summary-head small {
  color: #8a97a4;
  font-size: 0.62rem;
}

.summary-head strong {
  color: var(--navy-950);
  font-size: 0.92rem;
}

.processing {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: #eaf8f3;
  font-size: 0.6rem;
  font-weight: 750;
}

.processing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.summary-content {
  display: grid;
  gap: 12px;
  padding-top: 26px;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e1e7eb;
  border-radius: 14px;
  background: #fbfcfc;
  animation: summary-enter 420ms ease both;
}

.summary-item > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: #eaf8f3;
  font-size: 0.7rem;
  font-weight: 800;
}

.summary-item.warning {
  border-color: rgba(238, 27, 47, 0.2);
  background: #fff8f8;
}

.summary-item.warning > span {
  color: var(--red-500);
  background: #ffecef;
}

.summary-item > div {
  display: flex;
  flex-direction: column;
}

.summary-item strong {
  color: var(--navy-950);
  font-size: 0.76rem;
}

.summary-item small {
  margin-top: 3px;
  color: #758595;
  font-size: 0.65rem;
  line-height: 1.5;
}

.data-note {
  position: absolute;
  right: 42px;
  bottom: 24px;
  left: 42px;
  margin: 0;
  color: #95a1ad;
  font-size: 0.58rem;
}

.solutions {
  padding-top: 145px;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.solution-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid #dde5ea;
  border-radius: var(--radius-md);
  background: var(--white);
}

.solution-card.large {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
  min-height: 430px;
  padding: 48px;
}

.solution-card h3 {
  max-width: 500px;
  margin: 14px 0 16px;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
}

.solution-card p {
  max-width: 560px;
  margin-bottom: 0;
  line-height: 1.7;
}

.solution-tag {
  color: var(--red-500);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.triage-visual {
  position: relative;
  z-index: 2;
  padding: 30px;
  border: 1px solid #e1e7eb;
  border-radius: 20px;
  background: #f8fafb;
  box-shadow: var(--shadow-sm);
}

.triage-top {
  margin-bottom: 28px;
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 800;
}

.triage-top small {
  color: #8997a5;
  font-size: 0.6rem;
  font-weight: 600;
}

.triage-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.triage-bars i {
  height: 11px;
  border-radius: 999px;
}

.triage-bars .blue { background: var(--blue); }
.triage-bars .green { background: var(--green); }
.triage-bars .yellow { background: var(--yellow); }
.triage-bars .orange { background: var(--orange); animation: risk-highlight 2.2s ease-in-out infinite; }
.triage-bars .red { background: var(--red-500); }

.triage-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 15px;
  border: 1px solid rgba(255, 154, 62, 0.22);
  border-radius: 12px;
  background: #fffaf5;
}

.orange-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 154, 62, 0.12);
}

.triage-result > div {
  display: flex;
  flex-direction: column;
}

.triage-result small {
  color: #9a8877;
  font-size: 0.56rem;
}

.triage-result strong {
  color: var(--navy-950);
  font-size: 0.75rem;
}

.triage-result b {
  margin-left: auto;
  color: var(--orange);
  font-size: 1.2rem;
}

.mini-prescription {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid #e1e7eb;
  border-radius: 16px;
  background: #f7f9fa;
}

.mini-prescription span {
  display: block;
  width: 82%;
  height: 8px;
  border-radius: 99px;
  background: #dce4e9;
}

.mini-prescription span:nth-child(2) { width: 58%; }
.mini-prescription span:nth-child(3) { width: 70%; }

.mini-prescription i {
  position: absolute;
  right: 20px;
  top: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--green);
  background: #e6f7f0;
  font-style: normal;
}

.solution-card.dark {
  border-color: var(--navy-900);
  background:
    radial-gradient(circle at 100% 0, rgba(238, 27, 47, 0.17), transparent 42%),
    var(--navy-900);
}

.solution-card.dark h3 {
  color: var(--white);
}

.solution-card.dark p {
  color: #9dafbf;
}

.solution-card.dark .solution-tag {
  color: var(--red-400);
}

.bed-flow {
  position: absolute;
  right: 34px;
  bottom: 45px;
  left: 34px;
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
}

.bed-flow div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9caebe;
  font-size: 0.59rem;
  font-weight: 700;
}

.bed-flow div > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.bed-flow div > i::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8398ab;
}

.bed-flow b {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.bed-flow b::after {
  display: block;
  width: 30%;
  height: 100%;
  content: "";
  background: var(--red-500);
  animation: flow-line 2.4s ease-in-out infinite;
}

.bed-flow .done {
  color: var(--white);
}

.bed-flow .done > i {
  color: var(--white);
  border-color: rgba(27, 166, 115, 0.35);
  background: var(--green);
  font-style: normal;
}

.bed-flow .done > i::after {
  display: none;
}

.comparison-intro {
  display: grid;
  grid-template-columns: 1fr 1.7fr 0.8fr;
  align-items: end;
  gap: 45px;
  margin-bottom: 60px;
}

.comparison-intro .eyebrow {
  align-self: start;
  margin-top: 10px;
}

.comparison-intro h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 3.8vw, 4rem);
}

.comparison-intro > p {
  margin-bottom: 7px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid #dbe3e8;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.table-row {
  display: grid;
  min-height: 98px;
  grid-template-columns: 0.62fr 1fr 1fr;
  border-top: 1px solid #e1e7eb;
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  border-left: 1px solid #e1e7eb;
  color: #5f7082;
  font-size: 0.85rem;
  line-height: 1.55;
}

.table-row > div:first-child {
  border-left: 0;
}

.table-row > div:first-child strong {
  color: var(--navy-950);
}

.table-head {
  min-height: 70px;
  color: var(--white);
  background: var(--navy-950);
}

.table-head > div {
  color: #9fb0c0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-row .ruby-column {
  border-left-color: rgba(238, 27, 47, 0.12);
  background: #fff4f5;
}

.table-head .ruby-column {
  color: var(--white);
  background: var(--red-500);
}

.table-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--navy-900);
  background: #eaf0f4;
  font-weight: 800;
}

.modules {
  overflow: hidden;
}

.modules::before {
  position: absolute;
  right: -140px;
  top: 12%;
  width: 460px;
  height: 460px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  animation: slow-rotate 50s linear infinite;
}

.modules-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: 95px;
}

.modules-copy {
  position: sticky;
  top: 130px;
}

.modules-copy h2 {
  color: var(--white);
  font-size: clamp(2.7rem, 4vw, 4.25rem);
}

.modules-copy p {
  max-width: 450px;
  color: #97aabc;
  line-height: 1.75;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.module-list article {
  display: grid;
  min-height: 116px;
  grid-template-columns: 38px 1fr;
  align-content: center;
  column-gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  transition: background-color 250ms ease;
}

.module-list article:hover {
  background: rgba(255, 255, 255, 0.08);
}

.module-list article > span {
  grid-row: 1 / 3;
  color: var(--red-400);
  font-size: 0.62rem;
  font-weight: 800;
}

.module-list strong {
  color: var(--white);
  font-size: 0.86rem;
}

.module-list small {
  margin-top: 3px;
  color: #8298ab;
  font-size: 0.67rem;
}

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

.step {
  position: relative;
}

.step-number {
  margin-bottom: 30px;
  color: var(--red-500);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.step-line {
  position: relative;
  height: 2px;
  margin-bottom: 30px;
  background: #d6dfe5;
}

.step-line::after {
  position: absolute;
  top: -3px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #c5d0d8;
}

.step-line i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--soft);
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 1px var(--red-500);
}

.step h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.step p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact {
  padding: 145px 0;
}

.contact-orbit {
  position: absolute;
  right: -240px;
  bottom: -300px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  border-radius: inherit;
  content: "";
}

.contact-orbit::before {
  inset: 80px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: slow-rotate 40s linear infinite;
}

.contact-orbit::after {
  inset: 180px;
  background: var(--red-500);
  opacity: 0.82;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: clamp(60px, 8vw, 110px);
}

.contact-copy {
  padding-top: 28px;
}

.contact-copy h2 {
  color: var(--white);
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
}

.contact-copy > p {
  max-width: 540px;
  color: #9cafc0;
  line-height: 1.75;
}

.demo-points {
  display: grid;
  gap: 15px;
  margin: 38px 0;
}

.demo-points > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 13px;
}

.demo-points > div > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: var(--red-400);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.67rem;
  font-weight: 800;
}

.demo-points p {
  display: flex;
  flex-direction: column;
  margin: 1px 0 0;
  color: #8fa4b7;
  font-size: 0.76rem;
}

.demo-points strong {
  margin-bottom: 2px;
  color: var(--white);
  font-size: 0.82rem;
}

.direct-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.direct-contact a {
  align-self: flex-start;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 650;
}

.direct-contact a:hover {
  color: var(--red-400);
}

.contact-form {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 38px 90px rgba(0, 10, 25, 0.28);
}

.form-head {
  margin-bottom: 30px;
}

.form-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-950);
  font-size: 1.35rem;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.form-head p {
  margin: 0;
  font-size: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px 14px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field-full {
  grid-column: 1 / -1;
}

.field > span {
  margin: 0 0 7px 2px;
  color: #43566a;
  font-size: 0.69rem;
  font-weight: 750;
}

.field > span i {
  color: #92a0ad;
  font-style: normal;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dae2e8;
  border-radius: 11px;
  color: var(--navy-950);
  background: #fbfcfc;
  font-size: 0.83rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 105px;
  padding: 13px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a0abb5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 31, 57, 0.06);
  outline: 0;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--red-500);
  box-shadow: 0 0 0 4px rgba(238, 27, 47, 0.06);
}

.field-error {
  display: none;
  margin: 5px 0 0 2px;
  color: var(--red-600);
  font-size: 0.61rem;
}

.field.invalid .field-error {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-privacy {
  margin: 12px 0 0;
  color: #96a2ad;
  font-size: 0.62rem;
  text-align: center;
}

.form-feedback {
  display: none;
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  color: #12714f;
  background: #e8f7f1;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.form-feedback.visible {
  display: block;
}

.footer {
  padding: 70px 0 24px;
  background: var(--white);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  max-width: 310px;
}

.footer-brand img {
  width: 215px;
}

.footer-brand p {
  margin: 20px 0 0;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 90px;
}

.footer-links > div {
  display: flex;
  min-width: 170px;
  flex-direction: column;
  gap: 10px;
}

.footer-links span {
  margin-bottom: 6px;
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 800;
}

.footer-links a {
  color: #6a7b8c;
  font-size: 0.78rem;
}

.footer-links a:hover {
  color: var(--red-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #e2e7eb;
  color: #8a97a4;
  font-size: 0.67rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 750ms cubic-bezier(.2,.75,.25,1), transform 750ms cubic-bezier(.2,.75,.25,1);
}

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

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@keyframes slow-rotate {
  to { transform: rotate(360deg); }
}

@keyframes orbit-flow {
  to { stroke-dashoffset: -220; }
}

@keyframes dot-pulse {
  0%, 100% { opacity: .65; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.28); }
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 166, 115, .38); }
  70% { box-shadow: 0 0 0 7px rgba(27, 166, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 166, 115, 0); }
}

@keyframes ai-type {
  0%, 18% { transform: scaleX(.15); opacity: .45; }
  55%, 78% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.15); opacity: .45; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes signal {
  0%, 100% { transform: scaleY(.72); opacity: .7; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes journey-progress {
  0%, 12% { stroke-dashoffset: 680; }
  68%, 82% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -680; }
}

@keyframes node-fill {
  0%, 12% { fill: #fff; stroke: #ccd8e0; }
  32%, 78% { fill: #ee1b2f; stroke: #ee1b2f; }
  100% { fill: #fff; stroke: #ccd8e0; }
}

@keyframes patient-journey {
  0%, 12% { left: 6.5%; }
  68%, 82% { left: calc(93.5% - 36px); }
  100% { left: 6.5%; }
}

@keyframes summary-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes risk-highlight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 154, 62, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 154, 62, .13); }
}

@keyframes flow-line {
  from { transform: translateX(-100%); }
  to { transform: translateX(340%); }
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 40px, 1040px);
  }

  .desktop-nav {
    gap: 20px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
    gap: 40px;
  }

  h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }

  .status-b {
    left: -20px;
  }

  .status-a {
    right: -10px;
  }

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

  .loss-card {
    min-height: 345px;
  }

  .platform-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
  }

  .journey-shell {
    min-height: 430px;
    padding: 22px;
  }

  .journey-labels > span {
    font-size: 0.57rem;
  }

  .modules-layout {
    gap: 60px;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-shell {
    min-height: 60px;
  }

  .menu-toggle {
    display: flex;
    width: 45px;
    height: 45px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    background: var(--navy-900);
  }

  .menu-toggle span {
    width: 17px;
    height: 2px;
    background: var(--white);
    transition: transform 220ms ease;
  }

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

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

  .mobile-nav {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 110px 30px 45px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.98);
    transition: opacity 230ms ease, visibility 230ms ease;
  }

  .mobile-nav.open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-nav > a:not(.button) {
    color: var(--navy-950);
    font-size: clamp(2rem, 7vw, 3.3rem);
    font-weight: 750;
    letter-spacing: -0.045em;
  }

  .mobile-nav .button {
    margin-top: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding-bottom: 160px;
  }

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

  .hero-product {
    width: min(100%, 690px);
    margin-inline: auto;
    transform: none;
  }

  .hero-orbit {
    top: 37%;
    right: -28%;
    width: 90vw;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-index {
    padding: 0;
  }

  .statement p {
    max-width: 580px;
  }

  .section-head,
  .comparison-intro,
  .platform-layout,
  .modules-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    gap: 24px;
  }

  .section-head > p {
    max-width: 640px;
  }

  .platform-layout {
    gap: 65px;
  }

  .journey-shell {
    min-height: 460px;
  }

  .copilot-demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-record {
    display: none;
  }

  .ai-summary {
    min-height: 460px;
  }

  .solution-card.large {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .comparison-intro {
    gap: 22px;
  }

  .comparison-intro .eyebrow {
    margin-top: 0;
  }

  .comparison-intro > p {
    max-width: 620px;
  }

  .modules-copy {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 28px;
  }

  .contact-copy {
    max-width: 690px;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
    --radius-lg: 23px;
    --radius-md: 17px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .section-light,
  .section-white,
  .section-dark,
  .section-navy {
    padding: 88px 0;
  }

  .site-header {
    padding: 9px 0;
  }

  .header-shell {
    width: calc(100% - 20px);
    padding-left: 14px;
  }

  .brand {
    width: 155px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.05rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .hero {
    padding-top: 125px;
  }

  .hero-layout {
    gap: 58px;
    padding-bottom: 128px;
  }

  .hero-copy .eyebrow {
    max-width: 300px;
    line-height: 1.5;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: center;
  }

  .trust-row {
    display: grid;
    gap: 12px;
  }

  .hero-product {
    width: 112%;
    margin-left: -6%;
  }

  .product-window {
    border-radius: 18px;
  }

  .window-topbar {
    height: 48px;
    gap: 8px;
    padding: 0 11px;
  }

  .window-search {
    max-width: 150px;
    padding: 7px 9px;
    font-size: 0.48rem;
  }

  .window-user {
    width: 27px;
    height: 27px;
  }

  .product-body {
    grid-template-columns: 38px 1fr;
  }

  .product-sidebar {
    min-height: 385px;
    gap: 8px;
    padding-top: 17px;
  }

  .side-logo {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }

  .dashboard {
    padding: 15px 12px;
  }

  .live-pill {
    display: none;
  }

  .metric-card {
    min-height: 82px;
    padding: 9px;
  }

  .metric-card span,
  .metric-card small {
    font-size: 0.43rem;
  }

  .metric-card strong {
    font-size: 1.06rem;
  }

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

  .patient-panel {
    min-height: 222px;
  }

  .copilot-panel {
    display: none;
  }

  .floating-status {
    min-width: 150px;
    padding: 10px;
  }

  .floating-status strong {
    font-size: 0.58rem;
  }

  .status-a {
    right: -3px;
    bottom: 28px;
  }

  .status-b {
    left: -3px;
    top: 76px;
  }

  .hero-bottom-inner > span {
    display: none;
  }

  .hero-bottom-inner {
    justify-content: flex-start;
  }

  .hero-bottom::before {
    width: 47%;
  }

  .statement {
    padding: 76px 0 84px;
  }

  .statement blockquote {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .statement::after {
    right: 9%;
    bottom: -28px;
    width: 58px;
    height: 58px;
  }

  .section-head {
    margin-bottom: 45px;
  }

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

  .loss-card {
    min-height: 325px;
  }

  .journey-shell {
    min-height: 530px;
    padding: 20px 16px;
  }

  .journey-visual {
    height: 370px;
    margin-top: 20px;
  }

  .journey-svg {
    display: none;
  }

  .journey-labels {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    height: auto;
    gap: 7px;
  }

  .journey-labels::before {
    position: absolute;
    top: 19px;
    bottom: 19px;
    left: 19px;
    width: 2px;
    content: "";
    background: linear-gradient(var(--red-500), #dce4e9);
  }

  .journey-labels > span {
    position: relative;
    left: auto !important;
    display: flex;
    width: auto;
    min-height: 44px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 52px;
    transform: none;
    border: 1px solid #e0e6ea;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    text-align: left;
  }

  .journey-labels > span::before {
    position: absolute;
    z-index: 2;
    left: 14px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--white);
    border-radius: 50%;
    content: "";
    background: var(--red-500);
    box-shadow: 0 0 0 1px rgba(238, 27, 47, 0.25);
  }

  .journey-labels small {
    font-size: 0.54rem;
  }

  .journey-patient {
    display: none;
  }

  .journey-footer {
    grid-template-columns: 1fr;
  }

  .copilot-demo-nav {
    min-height: 130px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }

  .demo-tabs {
    width: 100%;
  }

  .demo-tabs button {
    flex: 1;
    padding-inline: 8px;
  }

  .ai-summary {
    min-height: 525px;
    padding: 25px 20px;
  }

  .summary-head {
    flex-wrap: wrap;
  }

  .processing {
    margin-left: 0;
  }

  .summary-item {
    padding: 14px;
  }

  .data-note {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

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

  .solution-card,
  .solution-card.large {
    grid-column: auto;
    min-height: 440px;
    padding: 28px 24px;
  }

  .solution-card.large {
    gap: 32px;
  }

  .triage-visual {
    padding: 21px 17px;
  }

  .triage-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .solution-card h3 {
    font-size: 1.95rem;
  }

  .bed-flow {
    right: 20px;
    bottom: 35px;
    left: 20px;
    grid-template-columns: 1fr 17px 1fr 17px 1fr;
  }

  .comparison-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .table-row {
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid #dde5ea;
    border-radius: 15px;
    background: var(--white);
  }

  .table-row > div {
    min-height: 70px;
    padding: 18px;
    border-top: 1px solid #e1e7eb;
    border-left: 0;
    font-size: 0.78rem;
  }

  .table-row > div:first-child {
    min-height: 58px;
    border-top: 0;
  }

  .table-head {
    display: none;
  }

  .table-row > div:nth-child(2)::before,
  .table-row > div:nth-child(3)::before {
    flex: 0 0 92px;
    color: #82919f;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .table-row > div:nth-child(2)::before {
    content: "Tradicional";
  }

  .table-row > div:nth-child(3)::before {
    color: var(--red-500);
    content: "Rubycare";
  }

  .module-list {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .step-line {
    margin-bottom: 24px;
  }

  .contact-form {
    padding: 26px 18px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
