:root {
  --ink: #061d4f;
  --muted: #5f708e;
  --paper: #f7faff;
  --green: #078da8;
  --green-dark: #063979;
  --line: #dce6f2;
  --lavender: #4e79d8;
}

html {
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 76% 12%, rgba(70, 160, 231, 0.1), transparent 28%),
    var(--paper);
}

.announcement,
.journey,
.cta-card {
  background-color: #061d4f;
}

.site-header.scrolled {
  background: rgba(247, 250, 255, 0.92);
}

.brand {
  gap: 8px;
  color: #061d4f;
  letter-spacing: -1px;
}

.brand b,
.mini-brand b {
  color: #078da8;
}

.brand-image {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 11px;
  mix-blend-mode: multiply;
}

.footer-brand {
  display: block;
  width: 190px;
  height: 82px;
  overflow: hidden;
}

.footer-brand img {
  width: 190px;
  height: auto;
  mix-blend-mode: multiply;
  transform: translateY(-5px);
}

.mini-brand img {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 6px;
}

.button-dark {
  background: linear-gradient(135deg, #07346d, #061d4f);
}

.button-primary {
  background: linear-gradient(135deg, #078da8, #0878ba);
  box-shadow: 0 12px 24px rgba(7, 120, 186, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #067d97, #066cad);
}

.visual-glow {
  background: rgba(47, 146, 224, 0.17);
}

.dashboard-window {
  border-color: #cfdef0;
  box-shadow: 0 32px 70px rgba(6, 29, 79, 0.16);
}

.mini-sidebar {
  background: #061d4f;
}

.mini-sidebar .active,
.dashboard-heading button,
.chart-grid .line,
.stock-row div i {
  background: #078da8;
}

.chart-grid .line {
  stroke: #078da8;
  background: none;
}

.feature-card:hover {
  border-color: #b8cfe8;
  box-shadow: 0 22px 50px rgba(6, 29, 79, 0.1);
}

.feature-icon,
.security-copy li > i {
  background: #dff3f7;
  color: #087f98;
}

.journey-callout,
.timeline-icon {
  border-color: rgba(80, 175, 209, 0.35);
}

.timeline-icon,
.journey-callout > span {
  background: #0a346d;
  color: #62c8dd;
}

.timeline-line i {
  background: linear-gradient(90deg, #078da8, #51a9e2);
}

.security-panel {
  background: #edf4fb;
  border-color: #d9e6f3;
}

.shield {
  background: #07346d;
  color: #66cddd;
}

.comparison-column.new {
  border-color: #078da8;
  background: #fbfdff;
}

.recommended {
  background: linear-gradient(90deg, #078da8, #0878ba);
}

.comparison-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.cta-orb {
  background: rgba(34, 149, 212, 0.15);
}

@media (max-width: 640px) {
  .brand-image {
    width: 36px;
    height: 36px;
  }
}

.product-explorer {
  padding: 130px 0 55px;
}

.explorer-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.explorer-heading .eyebrow {
  justify-content: center;
}

.explorer-heading h2,
.faq-heading h2 {
  margin: 18px 0;
  font: 600 48px/1.1 var(--font-display);
  letter-spacing: -2.6px;
}

.explorer-heading h2 em,
.faq-heading h2 em {
  color: var(--green);
  font-style: normal;
}

.explorer-heading > p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.product-tabs {
  --active-index: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef4f7;
  box-shadow: 0 10px 26px rgba(6, 29, 79, 0.07);
  isolation: isolate;
}

.product-tabs::before {
  position: absolute;
  z-index: 0;
  top: 7px;
  bottom: 7px;
  left: 7px;
  width: calc((100% - 14px) / 4);
  border: 1px solid rgba(7, 141, 168, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(6, 29, 79, 0.09);
  content: "";
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform 300ms cubic-bezier(.22, .8, .3, 1);
}

.product-tab {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #52647f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

.product-tab svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green);
}

.product-tab .tab-label { min-width: 0; }

.product-tab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.product-tab.active {
  background: transparent;
  color: var(--ink);
}

.product-tab:focus-visible {
  outline: 3px solid rgba(7, 141, 168, 0.25);
  outline-offset: 2px;
}

.tab-panels {
  margin-top: 16px;
}

.tab-panel {
  min-height: 540px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 50px;
  align-items: center;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(6, 29, 79, 0.08);
  animation: panel-in 300ms cubic-bezier(.22, .8, .3, 1);
}

.tab-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.module-tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 6px;
  background: #e6f4f7;
  color: #087d96;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tab-copy h3 {
  margin: 20px 0 13px;
  font: 700 30px/1.18 var(--font-display);
  letter-spacing: -1.3px;
}

.tab-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.tab-copy ul {
  margin: 23px 0;
  padding: 0;
  list-style: none;
}

.tab-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  color: #405374;
  font-size: 11px;
}

.tab-copy li i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #e0f3f6;
  color: #078da8;
  font-size: 8px;
  font-style: normal;
}

.tab-copy > a {
  display: inline-flex;
  gap: 18px;
  color: #087d96;
  font-size: 11px;
  font-weight: 800;
}

.real-ui {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e3ef;
  border-radius: 13px;
  background: #f7f9fc;
  box-shadow: 0 20px 45px rgba(6, 29, 79, 0.12);
  color: #132c59;
}

.ui-top {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 145px auto;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid #e0e7ef;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.ui-top > div {
  padding: 7px 9px;
  border: 1px solid #e0e7ef;
  border-radius: 5px;
  color: #60708b;
  font-size: 7px;
  font-weight: 600;
}

.ui-top > div b { float: right; }

.ui-top > i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #dfeaf7;
  color: #507092;
  font-size: 0;
  font-style: normal;
}

.ui-top > i::after {
  content: "AM";
  font-size: 7px;
}

.ui-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 15px 16px 10px;
}

.ui-kpis > div {
  padding: 12px;
  border: 1px solid #e1e7ee;
  border-radius: 7px;
  background: #fff;
}

.ui-kpis small,
.ui-kpis strong { display: block; }
.ui-kpis small { color: #7b899f; font-size: 6px; }
.ui-kpis strong { margin-top: 4px; font: 700 16px var(--font-display); }
.ui-kpis .critical strong { color: #dc6d59; }

.ui-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px 12px;
}

.ui-toolbar > div {
  width: 220px;
  padding: 8px 10px;
  border: 1px solid #e0e7ef;
  border-radius: 5px;
  background: #fff;
  color: #98a4b5;
  font-size: 7px;
}

.ui-toolbar button,
.role-head button {
  padding: 8px 11px;
  border: 0;
  border-radius: 5px;
  background: #078da8;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

.ui-table {
  margin: 0 16px 17px;
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #fff;
}

.ui-table > div {
  display: grid;
  grid-template-columns: 2fr 0.6fr 0.8fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #edf1f5;
  font-size: 7px;
}

.ui-table > div > span b,
.ui-table > div > span small { display: block; }
.ui-table > div > span small { margin-top: 3px; color: #8e9aae; font-size: 6px; }
.ui-table > div > small { color: #6f7e94; }
.ui-table .table-head { border: 0; background: #f0f4f8; color: #78879d; font-size: 6px; font-weight: 700; text-transform: uppercase; }
.status { justify-self: start; padding: 5px 7px; border-radius: 10px; font-size: 6px; font-style: normal; }
.status.good { background: #dff3ef; color: #188878; }
.status.critical { background: #fae6df; color: #cf684e; }

.patient-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 17px;
  padding: 14px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}

.patient-summary small,
.patient-summary strong,
.patient-summary span { display: block; }
.patient-summary small { color: #8794a8; font-size: 6px; }
.patient-summary strong { font-size: 10px; }
.patient-summary span { margin-top: 3px; color: #748298; font-size: 7px; }
.patient-summary em { margin-left: auto; padding: 5px 8px; border-radius: 10px; background: #dff3ef; color: #168676; font-size: 6px; font-style: normal; }
.patient-summary .patient-avatar { margin: 0; }

.trace-history {
  margin: 0 17px 17px;
  padding: 16px 18px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}

.trace-history h4 { margin: 0 0 12px; font-size: 9px; }
.trace-history h4 span { float: right; padding: 4px 7px; border-radius: 4px; background: #e8f2fb; color: #2975aa; font-size: 6px; }
.trace-history > div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #edf1f5; }
.trace-history > div > i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #dff3ef; color: #128877; font-size: 7px; font-style: normal; }
.trace-history p { margin: 0; flex: 1; }
.trace-history p b,.trace-history p span { display: block; font-size: 7px; }
.trace-history p span { margin-top: 2px; color: #8592a6; font-size: 6px; }
.trace-history > div > small { color: #8a97a9; font-size: 6px; }

.role-head { display: flex; justify-content: space-between; align-items: center; margin: 17px; }
.role-head small,.role-head strong { display: block; }
.role-head small { color: #8491a5; font-size: 6px; }
.role-head strong { font: 700 19px var(--font-display); }
.role-list { margin: 0 17px 18px; overflow: hidden; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; }
.role-list > div { display: grid; grid-template-columns: 32px 1.3fr 1fr auto; gap: 10px; align-items: center; padding: 13px; border-top: 1px solid #edf1f5; }
.role-list > div:first-child { border: 0; }
.role-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; font-size: 7px; font-weight: 800; }
.role-avatar.blue { background: #dfeaf7; color: #3e6795; }
.role-avatar.teal { background: #dff3ef; color: #237f73; }
.role-avatar.purple { background: #e8e5f7; color: #7166b6; }
.role-list p { margin: 0; }
.role-list p b,.role-list p small { display: block; font-size: 7px; }
.role-list p small { margin-top: 3px; color: #8794a7; font-size: 6px; }
.role-list em { color: #65758e; font-size: 6px; font-style: normal; }
.role-list > div > i { padding: 4px 7px; border-radius: 10px; background: #dff3ef; color: #168676; font-size: 6px; font-style: normal; }

.analytics-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 4px; }
.analytics-head small,.analytics-head strong { display: block; }
.analytics-head small { color: #8491a5; font-size: 7px; }
.analytics-head strong { margin-top: 4px; font: 700 21px var(--font-display); }
.analytics-head strong em { color: #8190a5; font: 500 7px var(--font-body); font-style: normal; }
.analytics-head > span { padding: 6px 8px; border-radius: 10px; background: #dff3ef; color: #168676; font-size: 6px; }
.bar-chart { height: 230px; display: flex; align-items: end; justify-content: space-around; gap: 16px; margin: 0 22px; padding: 25px 16px 12px; border-bottom: 1px solid #dce4ec; background: repeating-linear-gradient(to bottom,transparent 0,transparent 44px,#e9eef3 45px); }
.bar-chart div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; }
.bar-chart i { width: 72%; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(#149eb7,#0779b4); box-shadow: 0 8px 18px rgba(7,121,180,.18); }
.bar-chart small { color: #7c899d; font-size: 6px; }
.analytics-foot { display: flex; justify-content: space-between; padding: 13px 23px; color: #758399; font-size: 6px; }
.analytics-foot span i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 2px; background: #078da8; }
.analytics-foot b { color: #087d96; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.service-strip > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 23px 28px;
  border-left: 1px solid var(--line);
}

.service-strip > div:first-child { border: 0; }
.service-strip > div > span { color: #078da8; font: 800 9px var(--font-display); }
.service-strip p { margin: 0; color: #76859b; font-size: 9px; line-height: 1.45; }
.service-strip strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 10px; }

.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  padding: 120px 0;
}

.faq-heading h2 { font-size: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; color: #18345f; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e6f1f8; color: #078da8; font-size: 17px; font-weight: 400; transition: .2s; }
.faq details[open] summary span { transform: rotate(45deg); background: #078da8; color: #fff; }
.faq details p { margin: -5px 45px 22px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

@media (max-width: 900px) {
  .product-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .product-tabs::before { display: none; }
  .product-tab { min-width: 205px; scroll-snap-align: start; }
  .product-tab.active { background: #fff; box-shadow: 0 5px 16px rgba(6, 29, 79, 0.09); }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-copy { max-width: 620px; }
  .faq { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 640px) {
  .product-explorer { padding-top: 90px; }
  .explorer-heading h2,
  .faq-heading h2 { font-size: 37px; letter-spacing: -2px; }
  .product-tab { min-width: 190px; }
  .tab-panel { min-height: 0; gap: 36px; padding: 28px 20px; }
  .tab-copy h3 { font-size: 25px; }
  .ui-top { grid-template-columns: 1fr 115px auto; }
  .ui-kpis { grid-template-columns: 1fr 1fr; }
  .ui-table > div { grid-template-columns: 1.7fr .7fr .8fr; }
  .ui-table > div > small,.ui-table .table-head span:last-child { display: none; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip > div { border: 0; border-top: 1px solid var(--line); }
  .role-list > div { grid-template-columns: 32px 1fr auto; }
  .role-list em { display: none; }
  .bar-chart { height: 180px; gap: 7px; }
  .faq { padding: 90px 0; }
}
