:root {
  --ink: #162234;
  --muted: #647286;
  --subtle: #8a96a7;
  --line: rgba(184, 207, 222, 0.42);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-solid: #ffffff;
  --blue: #2f89a6;
  --blue-deep: #1f5f78;
  --aqua: #45a99c;
  --coral: #d98265;
  --sage: #6f9a8d;
  --lilac: #7676aa;
  --mint: #dff7ef;
  --wash: #edf5fc;
  --cream: #fff9ef;
  --shadow: 0 24px 72px rgba(35, 68, 96, 0.12);
  --shadow-soft: 0 16px 46px rgba(35, 68, 96, 0.09);
  --surface-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 248, 250, 0.68));
  --radius: 8px;
  --scroll-progress: 0%;
  --scroll-ratio: 0;
  --scroll-shift: 0px;
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(242, 248, 250, 0.96), rgba(255, 255, 255, 0.98) 34%, rgba(241, 248, 247, 0.9)),
    #f8fbfb;
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(35, 73, 96, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 73, 96, 0.024) 1px, transparent 1px);
  background-position: 0 var(--scroll-shift);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(77, 152, 166, 0.07) 29%, transparent 45%),
    linear-gradient(62deg, transparent 8%, rgba(210, 226, 221, 0.16) 38%, transparent 68%);
  background-size: 160% 160%, 140% 140%;
  animation: ambientSheet 18s ease-in-out infinite alternate;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  overflow: hidden;
  padding: 9px 12px 9px 16px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 251, 251, 0.72));
  box-shadow:
    0 18px 48px rgba(35, 68, 96, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.08);
  transform: translateX(-50%);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-header::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(47, 137, 166, 0.18), rgba(69, 169, 156, 0.78), rgba(111, 154, 141, 0.22));
  border-radius: 999px;
  opacity: 0.72;
  transform: scaleX(var(--scroll-ratio));
  transform-origin: left;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 251, 0.84));
  box-shadow:
    0 16px 38px rgba(35, 68, 96, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.86);
  transform: translateX(-50%) translateY(-4px);
}

.brand,
.nav-links,
.hero-actions,
.hero-bottom,
.metric-row,
.screen-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f6faf9;
  box-shadow:
    0 8px 20px rgba(35, 68, 96, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.88);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  min-width: 54px;
  padding: 9px 10px;
  border-radius: 999px;
  color: #425367;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(47, 137, 166, 0.1);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.section-pad {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

#features,
#workflow,
#architecture,
#screens,
#clinical {
  scroll-margin-top: 104px;
}

.hero {
  min-height: 92svh;
  color: #fff;
  background: #0e1a2b;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.88), rgba(9, 24, 38, 0.6) 48%, rgba(10, 26, 38, 0.28)),
    linear-gradient(180deg, rgba(7, 18, 31, 0.32), rgba(7, 18, 31, 0.58));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 0.88fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 92svh;
  margin: 0 auto;
  padding: 112px 0 76px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  color: #6b7d95;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before {
  content: none;
}

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

.workflow .section-heading .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  max-width: 9.8em;
  margin-bottom: 24px;
  font-size: clamp(46px, 4.6vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 .title-line {
  display: block;
}

.title-nowrap {
  white-space: nowrap;
}

h1 em {
  font-style: normal;
  color: #91efe1;
  background-image: linear-gradient(100deg, #91efe1 0%, #dff7ef 42%, #7bc2cc 55%, #91efe1 72%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.12em;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(69, 169, 156, 0.24);
  animation: titleShimmer 5.8s ease-in-out infinite;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.75;
}

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

.primary-action,
.secondary-action {
  position: relative;
  min-width: 128px;
  overflow: hidden;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action::after,
.secondary-action::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(105deg, transparent 0 32%, rgba(255, 255, 255, 0.34) 46%, transparent 60% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 220ms ease, transform 520ms ease;
}

.primary-action:hover::after,
.primary-action:focus-visible::after,
.secondary-action:hover::after,
.secondary-action:focus-visible::after {
  opacity: 0.8;
  transform: translateX(120%);
}

.primary-action {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 52%),
    #2d7478;
  color: #f7ffff;
  box-shadow:
    0 16px 34px rgba(34, 93, 101, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  transform: translateY(-2px);
}

.primary-action:hover,
.primary-action:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 48%),
    #255f65;
  box-shadow:
    0 18px 36px rgba(34, 93, 101, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-panel {
  position: relative;
  justify-self: end;
  width: min(430px, 100%);
}

.phone-shell {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 42px 108px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 16px 48px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-shell::after {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border-radius: 24px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 38% 100%);
  mix-blend-mode: screen;
}

.phone-shell img {
  width: 100%;
  border-radius: 24px;
}

.floating-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 249, 0.72));
  color: var(--ink);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.floating-chip strong {
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
}

.floating-chip strong sup {
  margin-left: 2px;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.72em;
  font-weight: 900;
  line-height: 0;
  vertical-align: 0.38em;
  -webkit-text-stroke: 0.8px var(--blue);
  text-shadow:
    0.026em 0 0 currentColor,
    -0.026em 0 0 currentColor,
    0 0.026em 0 currentColor,
    0 -0.026em 0 currentColor;
}

.floating-chip.chip-sunnybrook {
  min-width: 176px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 243, 239, 0.8));
}

.floating-chip.chip-sunnybrook strong {
  color: var(--aqua);
  font-size: 24px;
  letter-spacing: 0;
}

.floating-chip span {
  color: #59667a;
  font-size: 12px;
  font-weight: 800;
}

.chip-a {
  top: 22%;
  left: -68px;
  animation: chipMove 6s ease-in-out infinite;
}

.chip-b {
  right: -52px;
  bottom: 16%;
  animation: chipMove 6.8s ease-in-out infinite reverse;
}

.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  gap: 12px;
  width: min(1180px, calc(100% - 36px));
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.hero-bottom span {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

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

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro {
  padding-top: 108px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 44px;
  align-items: start;
}

.intro-text {
  margin: 0;
  color: #43536b;
  font-size: 19px;
  line-height: 2;
}

.metric-row {
  gap: 12px;
  justify-content: stretch;
}

.metric-row div {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 24px 18px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 248, 0.72));
  box-shadow:
    var(--shadow-soft),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.metric-row div::after {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 54%;
  height: 100%;
  pointer-events: none;
  content: "";
  background: linear-gradient(118deg, transparent, rgba(47, 137, 166, 0.08), transparent);
  opacity: 0.74;
  transform: skewX(-12deg);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  white-space: nowrap;
}

.metric-row strong[data-suffix]::after {
  content: attr(data-suffix);
  display: inline-block;
  margin-left: 0.06em;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.62em;
  font-weight: 900;
  line-height: 1;
  vertical-align: 0.38em;
  -webkit-text-stroke: 0.9px var(--blue);
  text-shadow:
    0.026em 0 0 currentColor,
    -0.026em 0 0 currentColor,
    0 0.026em 0 currentColor,
    0 -0.026em 0 currentColor;
}

.metric-row span {
  color: var(--muted);
  font-weight: 800;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  padding: 26px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 249, 249, 0.68));
  box-shadow:
    0 18px 42px rgba(34, 72, 112, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.feature-card::before,
.architecture-card::before,
.value-item::before,
.screen-showcase::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.5) 42%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-42%);
  transition: opacity 240ms ease, transform 640ms ease;
}

.feature-card:hover::before,
.architecture-card:hover::before,
.value-item:hover::before,
.screen-showcase:hover::before {
  opacity: 0.72;
  transform: translateX(42%);
}

.feature-card:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 247, 0.82));
  box-shadow:
    0 28px 68px rgba(34, 72, 112, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.86);
  transform: translateY(-6px);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(238, 247, 248, 0.96), rgba(255, 255, 255, 0.7));
  box-shadow:
    0 14px 28px rgba(35, 68, 96, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.feature-icon::before {
  width: 30px;
  height: 30px;
  background: var(--blue);
  content: "";
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.feature-icon-face {
  --icon-url: url("assets/icons/feature/face-id.svg");
}

.feature-icon-report {
  --icon-url: url("assets/icons/feature/report-medical.svg");
}

.feature-icon-doctor {
  --icon-url: url("assets/icons/feature/doctor.svg");
}

.feature-icon-exercise {
  --icon-url: url("assets/icons/feature/exercise.svg");
}

.feature-card:nth-child(2) .feature-icon::before {
  background: var(--aqua);
}

.feature-card:nth-child(3) .feature-icon::before {
  background: var(--coral);
}

.feature-card:nth-child(4) .feature-icon::before {
  background: var(--lilac);
}

.feature-card h3,
.timeline-item h3,
.value-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.35;
}

.feature-card p,
.timeline-item p,
.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.workflow {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #000000;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.workflow-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.78) contrast(1.05) brightness(0.72);
}

.workflow::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(116deg, rgba(100, 206, 251, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(4, 10, 18, 0.94), rgba(7, 18, 31, 0.78) 48%, rgba(4, 10, 18, 0.88)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(4, 10, 18, 0.92));
}

.workflow::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
}

.workflow .section-heading,
.workflow .timeline {
  position: relative;
  z-index: 1;
}

.workflow .section-heading .eyebrow {
  color: #a6e7dc;
}

.workflow .section-heading p,
.workflow .timeline-item p {
  color: rgba(232, 242, 250, 0.78);
}

.workflow .section-heading {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 0.56fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.workflow .section-heading .eyebrow,
.workflow .section-heading h2 {
  grid-column: 1;
}

.workflow .section-heading h2 {
  margin-bottom: 0;
}

.workflow .section-heading h2 span {
  display: block;
}

.shiny-text {
  color: #9fdbe0;
  background-image: linear-gradient(
    100deg,
    #9fdbe0 0%,
    #9fdbe0 35%,
    #ffffff 48%,
    #d3f3f0 54%,
    #9fdbe0 66%,
    #9fdbe0 100%
  );
  background-size: 260% 100%;
  background-position: -160% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinySweep 3s linear infinite;
}

.workflow .section-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 390px;
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(8, 17, 31, 0.44);
  color: rgba(232, 242, 250, 0.78);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(240px, 1.05fr) minmax(240px, 1.05fr) minmax(240px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.timeline::before {
  position: absolute;
  top: 49px;
  right: 6%;
  left: 6%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(121, 239, 231, 0.08), rgba(121, 239, 231, 0.46), rgba(121, 239, 231, 0.08));
}

.timeline-item {
  position: relative;
  min-height: 272px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(13, 32, 56, 0.62)),
    rgba(8, 17, 31, 0.38);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.timeline-item::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, rgba(121, 239, 231, 0.72), rgba(106, 151, 205, 0.32));
  opacity: 0.68;
}

.timeline-item:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(106, 151, 205, 0.66), rgba(121, 239, 231, 0.42));
}

.timeline-item:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(121, 239, 231, 0.58), rgba(118, 202, 177, 0.38));
}

.timeline-item:nth-child(4)::before {
  background: linear-gradient(90deg, rgba(118, 202, 177, 0.52), rgba(121, 239, 231, 0.24));
}

.timeline-item:nth-child(2),
.timeline-item:nth-child(3) {
  transform: translateY(28px);
}

.timeline-item:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(106, 151, 205, 0.22), rgba(13, 32, 56, 0.62)),
    rgba(8, 17, 31, 0.4);
}

.timeline-item:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(100, 179, 173, 0.2), rgba(13, 32, 56, 0.62)),
    rgba(8, 17, 31, 0.4);
}

.timeline-item:hover {
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(153, 229, 225, 0.14);
  transform: translateY(-4px);
}

.timeline-item:nth-child(2):hover,
.timeline-item:nth-child(3):hover {
  transform: translateY(20px);
}

.timeline-item::after {
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 190px;
  height: 88px;
  content: "";
  background: linear-gradient(126deg, transparent, rgba(121, 239, 231, 0.12), transparent);
  transform: rotate(-12deg);
}

.timeline-item span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(121, 239, 231, 0.14);
  color: #a6e7dc;
  font-size: 14px;
  font-weight: 800;
}

.timeline-item strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(227, 249, 246, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.architecture {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 247, 0.78)),
    #f8fbfb;
}

.architecture::before {
  position: absolute;
  inset: 7% 0 auto;
  height: 58%;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 8%, rgba(69, 169, 156, 0.1) 34%, transparent 62%),
    linear-gradient(70deg, transparent 18%, rgba(47, 137, 166, 0.08) 52%, transparent 78%);
  content: "";
  filter: blur(2px);
}

.architecture-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.86;
}

.architecture .section-heading,
.architecture-grid,
.tech-stack {
  position: relative;
  z-index: 1;
}

.arc-bank {
  position: absolute;
  pointer-events: none;
}

.arc-bank span {
  position: absolute;
  display: block;
  border: 1.5px solid rgba(96, 178, 190, 0.22);
  opacity: 0;
  animation: architectureArcPulse 6.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(47, 141, 167, 0.06));
}

.arc-bank-left {
  top: 16%;
  bottom: 10%;
  left: max(12px, calc((100vw - 1320px) / 2));
  width: 330px;
}

.arc-bank-right {
  top: 12%;
  right: max(12px, calc((100vw - 1320px) / 2));
  bottom: 12%;
  width: 330px;
}

.arc-bank-left span,
.arc-bank-right span {
  top: calc(var(--i) * 3.3%);
  width: calc(74px + var(--i) * 13px);
  height: calc(66% - var(--i) * 2.2%);
}

.arc-bank-left span {
  left: 0;
  border-left: 0;
  border-radius: 0 82% 82% 0;
}

.arc-bank-right span {
  right: 0;
  border-right: 0;
  border-radius: 82% 0 0 82%;
}

.arc-bank-top {
  display: none;
}

.arc-bank span:nth-child(1) {
  --i: 0;
  animation-delay: 0s;
}

.arc-bank span:nth-child(2) {
  --i: 1;
  animation-delay: 0.24s;
}

.arc-bank span:nth-child(3) {
  --i: 2;
  animation-delay: 0.48s;
}

.arc-bank span:nth-child(4) {
  --i: 3;
  animation-delay: 0.72s;
}

.arc-bank span:nth-child(5) {
  --i: 4;
  animation-delay: 0.96s;
}

.arc-bank span:nth-child(6) {
  --i: 5;
  animation-delay: 1.2s;
}

.arc-bank span:nth-child(7) {
  --i: 6;
  animation-delay: 1.44s;
}

.arc-bank span:nth-child(8) {
  --i: 7;
  animation-delay: 1.68s;
}

.arc-bank span:nth-child(9) {
  --i: 8;
  animation-delay: 1.92s;
}

.arc-bank span:nth-child(10) {
  --i: 9;
  animation-delay: 2.16s;
}

.arc-bank span:nth-child(11) {
  --i: 10;
  animation-delay: 2.4s;
}

.arc-bank span:nth-child(12) {
  --i: 11;
  animation-delay: 2.64s;
}

.architecture-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.architecture-grid::before {
  position: absolute;
  top: 32px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 137, 166, 0.04), rgba(69, 169, 156, 0.34), rgba(217, 130, 101, 0.08));
  content: "";
}

.architecture-card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 249, 249, 0.7));
  box-shadow:
    0 18px 44px rgba(34, 72, 112, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  backdrop-filter: blur(12px);
}

.architecture-card:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 246, 0.82));
  box-shadow:
    0 26px 64px rgba(34, 72, 112, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.86);
  transform: translateY(-5px);
}

.architecture-card span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  place-items: center;
  border: 7px solid #f7fbff;
  border-radius: 50%;
  background: linear-gradient(135deg, #347d91, var(--aqua));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(35, 112, 126, 0.18);
}

.architecture-card:nth-child(2) span {
  background: linear-gradient(135deg, var(--aqua), var(--sage));
}

.architecture-card:nth-child(3) span {
  background: linear-gradient(135deg, var(--coral), #c89568);
}

.architecture-card:nth-child(4) span {
  background: linear-gradient(135deg, var(--lilac), var(--blue));
}

.architecture-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.architecture-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(237, 247, 247, 0.72), rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.tech-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #40516a;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(47, 137, 166, 0.08);
}

.screens {
  padding-bottom: 108px;
}

.screen-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 247, 0.82)),
    #fff;
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.screen-showcase::after {
  position: absolute;
  inset: auto -8% -18% 36%;
  height: 48%;
  pointer-events: none;
  content: "";
  background: linear-gradient(116deg, transparent, rgba(47, 137, 166, 0.1), transparent);
  transform: skewY(-6deg);
}

.screen-copy {
  position: relative;
  z-index: 1;
  padding: 12px;
}

.screen-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: #6b7d95;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.screen-kicker::before {
  content: none;
}

.screen-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
}

.screen-copy p:not(.screen-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.screen-tabs {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.screen-tabs button {
  min-width: 72px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #506078;
  cursor: pointer;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(47, 137, 166, 0.08);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.screen-tabs button:hover,
.screen-tabs button:focus-visible {
  transform: translateY(-1px);
}

.screen-tabs button.is-active {
  background: #2d7478;
  color: #fff;
  box-shadow:
    0 12px 26px rgba(45, 116, 120, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.screen-device {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 760px;
  border: 10px solid #152235;
  border-radius: 32px;
  background: #152235;
  box-shadow:
    0 34px 90px rgba(20, 32, 51, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.screen-device img {
  width: 100%;
  border-radius: 20px;
  background: #eaf4ff;
  object-fit: cover;
  object-position: top;
  transition: opacity 220ms ease, transform 360ms ease;
}

.screen-device img.is-switching {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.clinical {
  width: 100%;
  max-width: none;
  padding-bottom: 56px;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(98deg, rgba(231, 244, 242, 0.78), rgba(250, 247, 240, 0.56) 54%, rgba(241, 248, 250, 0.82)),
    #f8fbfb;
}

.clinical-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.82fr);
  gap: 54px;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 249, 0.68));
  box-shadow:
    0 16px 42px rgba(34, 72, 112, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.value-item:hover {
  transform: translateX(4px);
  box-shadow:
    0 22px 54px rgba(34, 72, 112, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.value-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 247, 0.84));
  box-shadow:
    0 14px 28px rgba(35, 68, 96, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item:nth-child(2) .value-icon svg {
  stroke: var(--aqua);
}

.value-item:nth-child(3) .value-icon svg {
  stroke: var(--coral);
}

.value-item:nth-child(4) .value-icon svg {
  stroke: var(--lilac);
}

.closing {
  width: 100%;
  max-width: none;
  padding: 58px max(18px, calc((100vw - 1180px) / 2)) 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(239, 247, 246, 0.92));
}

.closing-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(248, 252, 253, 0.96) 0%, rgba(235, 247, 246, 0.88) 54%, rgba(211, 230, 234, 0.7) 100%),
    url("assets/generated/closing-service-bg.png"),
    #eef7f8;
  background-position: center right;
  background-size: cover;
  color: var(--ink);
  box-shadow:
    0 34px 96px rgba(42, 74, 112, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(116, 162, 184, 0.1);
}

.closing-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.36), transparent 42%),
    linear-gradient(64deg, transparent 18%, rgba(119, 180, 198, 0.16) 58%, transparent 82%),
    linear-gradient(90deg, rgba(45, 77, 104, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 77, 104, 0.016) 1px, transparent 1px);
  background-size: auto, auto, 116px 116px, 116px 116px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 76%);
}

.closing-shell::after {
  position: absolute;
  right: clamp(26px, 5vw, 80px);
  bottom: -72px;
  width: min(36vw, 500px);
  height: 180px;
  pointer-events: none;
  content: "";
  background: linear-gradient(116deg, transparent, rgba(120, 176, 184, 0.15), transparent);
  filter: blur(6px);
  transform: rotate(-10deg);
}

.closing-copy,
.closing-panel {
  position: relative;
  z-index: 1;
}

.closing-copy {
  align-self: center;
  max-width: 680px;
}

.closing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 22px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #426678;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 10px 28px rgba(73, 117, 137, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.closing-copy h2 {
  max-width: 11.2em;
  margin: 0 0 22px;
  color: #142033;
  font-size: clamp(34px, 4.15vw, 54px);
  line-height: 1.14;
  text-wrap: balance;
}

.closing-copy h2 span {
  display: block;
}

.closing-copy p {
  max-width: 600px;
  margin: 0 0 30px;
  color: #50627a;
  font-size: 16px;
  line-height: 1.9;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.closing-actions .primary-action {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 48%),
    #4a7c7f;
  box-shadow:
    0 14px 30px rgba(65, 112, 128, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.closing-actions .primary-action:hover,
.closing-actions .primary-action:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 48%),
    #3d6d70;
}

.secondary-action-dark {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.64);
  color: #294058;
  box-shadow:
    0 14px 30px rgba(42, 74, 112, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.secondary-action-dark:hover {
  border-color: transparent;
  background: rgba(250, 253, 253, 0.9);
}

.closing-panel {
  align-self: center;
  padding: clamp(18px, 2.8vw, 26px);
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 26px 68px rgba(42, 74, 112, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px);
}

.closing-score {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 243, 247, 0.66), rgba(244, 251, 249, 0.72)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(135, 186, 199, 0.16);
}

.closing-score::after {
  position: absolute;
  right: -28px;
  top: 12px;
  width: 140px;
  height: 72px;
  content: "";
  background: linear-gradient(116deg, transparent, rgba(98, 152, 164, 0.12), transparent);
  transform: rotate(-10deg);
}

.closing-score span,
.closing-score small {
  display: block;
  color: #617289;
  font-size: 13px;
  font-weight: 700;
}

.closing-score strong {
  display: block;
  margin: 8px 0;
  color: #234f72;
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1;
}

.closing-grid {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.closing-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  padding: 18px 16px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.24));
  transition: background 180ms ease, transform 180ms ease;
}

.closing-grid article + article {
  border-top: 1px solid rgba(124, 164, 184, 0.14);
}

.closing-grid article:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.34));
  transform: translateX(3px);
}

.closing-grid article span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(218, 240, 239, 0.68);
  color: #477c86;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.closing-grid article strong {
  color: #1d2d43;
  font-size: 16px;
}

.closing-grid article p {
  margin: 0;
  color: #647389;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--ink);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand .brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: #ffffff;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 15px;
  line-height: 1.35;
}

.footer-brand span {
  margin-top: 3px;
  color: #53647b;
  font-size: 12px;
  font-weight: 700;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  gap: 6px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 34px rgba(42, 74, 112, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.footer-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #263a55;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  background: #223a4a;
  color: #ffffff;
}

.footer-meta {
  justify-content: flex-end;
  gap: 8px;
}

.footer-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4d6074;
  font-size: 12px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.985);
  transition: opacity 720ms ease, filter 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, filter, transform;
}

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

.hero .reveal,
.clinical .reveal,
.closing-shell.reveal {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(-0.8%, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1%, -0.8%, 0);
  }
}

@keyframes ambientSheet {
  from {
    background-position: 0% 0%, 20% 0%;
  }
  to {
    background-position: 80% 42%, 0% 64%;
  }
}

@keyframes titleShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  48%,
  58% {
    background-position: 100% 50%;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

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

@keyframes shinySweep {
  from {
    background-position: -160% 0;
  }
  to {
    background-position: 160% 0;
  }
}

@keyframes architectureArcPulse {
  0% {
    opacity: 0;
    transform: scaleX(0.96) scaleY(1);
  }
  18% {
    opacity: 0.48;
  }
  68% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: scaleX(0.88) scaleY(0.96);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .intro-grid,
  .screen-showcase,
  .clinical-layout,
  .closing-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10em;
  }

  .hero-inner {
    align-items: start;
    padding-top: 132px;
  }

  .hero-panel {
    justify-self: start;
    max-width: 360px;
  }

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

  .workflow .section-heading {
    grid-template-columns: 1fr;
  }

  .workflow .section-heading .eyebrow,
  .workflow .section-heading h2,
  .workflow .section-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .workflow .section-heading p:not(.eyebrow) {
    max-width: 680px;
  }

  .timeline-item:nth-child(2),
  .timeline-item:nth-child(3),
  .timeline-item:nth-child(2):hover,
  .timeline-item:nth-child(3):hover {
    transform: none;
  }

  .architecture-grid::before {
    display: none;
  }

  .arc-bank-left,
  .arc-bank-right {
    opacity: 0.42;
  }

  .screen-device {
    max-height: 640px;
  }

  .closing {
    padding-top: 82px;
  }

  .closing-shell {
    min-height: 0;
  }

  .closing-copy {
    max-width: none;
  }

  .closing-copy h2 {
    max-width: 11em;
  }

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

  .footer-links,
  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding-left: 12px;
  }

  .brand {
    min-width: 0;
    font-size: 13px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-pad {
    width: calc(100% - 28px);
    max-width: 1180px;
    padding: 64px 0;
  }

  .workflow {
    width: 100%;
    max-width: none;
    padding: 64px 14px;
    background-position: 58% center;
  }

  .workflow .section-heading h2 {
    font-size: 28px;
    line-height: 1.22;
  }

  .architecture {
    width: 100%;
    max-width: none;
    padding: 64px 14px;
  }

  .arc-bank-left,
  .arc-bank-right {
    display: none;
  }

  .arc-bank-top {
    top: 0;
    right: 10%;
    left: 10%;
    display: block;
    height: 180px;
  }

  .arc-bank-top span {
    top: calc(18px + var(--i) * 14px);
    left: calc(6% + var(--i) * 2.2%);
    width: calc(88% - var(--i) * 4.4%);
    height: calc(72px + var(--i) * 8px);
    border-top: 0;
    border-radius: 0 0 78% 78%;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-inner {
    width: calc(100% - 28px);
    max-width: 1180px;
    min-height: 72svh;
    padding: 128px 0 18px;
  }

  .hero-copy,
  .hero-lede,
  h1,
  .section-heading,
  .intro-text,
  .screen-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy {
    width: min(100%, 350px);
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.15;
  }

  .hero-lede {
    max-width: 340px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .secondary-action,
  .primary-action {
    width: min(100%, 342px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .floating-chip {
    position: static;
    display: inline-grid;
    margin: 12px 8px 0 0;
  }

  .phone-shell {
    border-radius: 26px;
  }

  .hero-bottom {
    display: none;
  }

  .intro {
    padding-top: 42px;
  }

  .metric-row {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-grid,
  .timeline,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .timeline-item,
  .architecture-card {
    min-height: 0;
  }

  .timeline-item span {
    margin-bottom: 24px;
  }

  .timeline-item strong {
    margin-bottom: 12px;
  }

  .architecture-card span {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-width: 6px;
  }

  .tech-stack {
    padding: 14px;
  }

  .tech-stack span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 0 10px;
    text-align: center;
  }

  .screen-showcase {
    padding: 18px;
  }

  .screen-copy {
    padding: 0;
  }

  .screen-tabs button {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
  }

  .screen-device {
    max-height: 540px;
    border-width: 8px;
    border-radius: 24px;
  }

  .screen-device img {
    border-radius: 16px;
  }

  .value-item {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .value-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .value-icon svg {
    width: 23px;
    height: 23px;
  }

  .closing {
    padding: 64px 14px 28px;
  }

  .closing-shell {
    padding: 24px 22px;
  }

  .closing-copy h2 {
    max-width: 10.8em;
    font-size: 29px;
    line-height: 1.16;
  }

  .closing-copy .title-nowrap {
    white-space: normal;
  }

  .closing-copy p,
  .closing-grid article p {
    font-size: 15px;
  }

  .closing-actions .primary-action,
  .closing-actions .secondary-action {
    width: 100%;
  }

  .closing-panel {
    padding: 16px;
  }

  .closing-score {
    padding: 18px;
  }

  .closing-grid article {
    grid-template-columns: 1fr;
  }

  .closing-grid article span {
    grid-row: auto;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding-bottom: 28px;
  }

  .footer-links {
    border-radius: var(--radius);
  }

  .footer-links a,
  .footer-meta span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }
}

/* 2026 visual refinement layer */
:root {
  --ink: #111d2d;
  --muted: #5d6c80;
  --blue: #277f9b;
  --blue-deep: #174c63;
  --aqua: #3ca494;
  --shadow: 0 28px 78px rgba(27, 55, 81, 0.14);
  --shadow-soft: 0 18px 52px rgba(27, 55, 81, 0.09);
  --pointer-x: 72%;
  --pointer-y: 38%;
}

body {
  background:
    linear-gradient(180deg, #f4f9fa 0%, #ffffff 27%, #f4f8f7 68%, #fbfaf7 100%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(74, 184, 170, 0.38);
  outline-offset: 3px;
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(1120px, calc(100% - 32px));
  overflow: visible;
  padding: 8px 10px 8px 12px;
  border-radius: 8px;
  background: rgba(248, 252, 252, 0.78);
  box-shadow:
    0 18px 50px rgba(8, 23, 37, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(24px) saturate(1.12);
}

.site-header::after {
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: linear-gradient(90deg, #2b819a, #53b7a8 64%, #d4a875);
  opacity: 0.88;
}

.site-header.is-scrolled {
  background: rgba(250, 253, 253, 0.92);
  box-shadow:
    0 16px 42px rgba(8, 23, 37, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  justify-self: center;
  gap: 2px;
  padding: 4px;
  border-radius: 8px;
}

.nav-links a {
  position: relative;
  min-width: 58px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #45566a;
}

.nav-links a::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--aqua);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  background: rgba(37, 117, 139, 0.08);
  color: #153f52;
  transform: none;
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #183f50;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(24, 63, 80, 0.2);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.site-header.is-menu-open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  min-height: 92svh;
  isolation: isolate;
  background: #07131f;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(184, 231, 226, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 231, 226, 0.032) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 70%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(92, 211, 194, 0.16), transparent 22%);
  transition: background-position 120ms ease-out;
}

.hero-media img {
  object-position: center 44%;
  filter: saturate(0.94) contrast(1.02) brightness(1.12);
}

.hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 25, 0.87) 0%, rgba(5, 18, 31, 0.7) 43%, rgba(5, 20, 31, 0.2) 72%, rgba(4, 14, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 13, 22, 0.12), rgba(4, 13, 22, 0.56));
}

.hero-inner {
  display: block;
  width: min(1120px, calc(100% - 36px));
  min-height: 92svh;
  padding: 148px 470px 118px 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.hero .eyebrow {
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(225, 244, 242, 0.78);
  font-size: 13px;
}

.live-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6de2c8;
  box-shadow: 0 0 0 5px rgba(109, 226, 200, 0.1), 0 0 18px rgba(109, 226, 200, 0.7);
}

.live-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(109, 226, 200, 0.48);
  border-radius: 50%;
  content: "";
  animation: signalPulse 2.4s ease-out infinite;
}

h1 {
  max-width: 9em;
  margin-bottom: 26px;
  font-size: 60px;
  line-height: 1.08;
}

h1 em {
  color: #89ead8;
  background-image: linear-gradient(100deg, #77d9ca 0%, #d9fff5 44%, #6ab9c2 59%, #8be7d6 78%);
  text-shadow: 0 0 38px rgba(82, 201, 183, 0.2);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(232, 241, 244, 0.8);
  font-size: 18px;
  line-height: 1.85;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  border-radius: 7px;
}

.primary-action {
  background: linear-gradient(135deg, #2b8291, #3ba998);
  box-shadow: 0 16px 36px rgba(26, 126, 128, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: linear-gradient(135deg, #236f7d, #318d80);
}

.secondary-action {
  border-color: rgba(216, 241, 238, 0.3);
  background: rgba(9, 27, 40, 0.36);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(223, 246, 242, 0.13);
  color: rgba(222, 235, 239, 0.58);
  font-size: 11px;
}

.hero-proof span {
  display: grid;
  gap: 3px;
}

.hero-proof strong {
  color: rgba(242, 252, 250, 0.9);
  font-size: 13px;
}

.hero-panel {
  position: absolute;
  top: 116px;
  right: 0;
  z-index: 2;
  width: min(410px, 36vw);
  transform: perspective(1200px) rotateX(var(--panel-rx, 0deg)) rotateY(var(--panel-ry, -4deg)) translate3d(0, var(--panel-y, 0), 0);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.hero-panel.reveal.is-visible {
  transform: perspective(1200px) rotateX(var(--panel-rx, 0deg)) rotateY(var(--panel-ry, -4deg)) translate3d(0, var(--panel-y, 0), 0);
}

.device-signal {
  position: absolute;
  top: -22px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: 8px auto;
  gap: 2px 9px;
  align-items: center;
  min-width: 190px;
  padding: 10px 13px;
  border-radius: 7px;
  background: rgba(5, 19, 30, 0.76);
  color: #f4fffc;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(194, 240, 232, 0.13);
  backdrop-filter: blur(16px);
}

.device-signal > span {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #65ddc1;
  box-shadow: 0 0 15px rgba(101, 221, 193, 0.8);
}

.device-signal strong {
  font-size: 10px;
  letter-spacing: 0;
}

.device-signal small {
  color: rgba(220, 239, 236, 0.55);
  font-size: 10px;
}

.phone-shell {
  padding: 9px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.42), rgba(120, 187, 185, 0.08));
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(227, 250, 247, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  animation: none;
}

.phone-shell::after {
  inset: 9px;
  border-radius: 17px;
}

.phone-shell img {
  border-radius: 17px;
}

.floating-chip {
  border-radius: 7px;
  background: rgba(247, 252, 251, 0.88);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.chip-a {
  left: -76px;
}

.chip-b {
  right: -42px;
}

.hero-bottom {
  bottom: 24px;
  z-index: 4;
  width: min(1120px, calc(100% - 36px));
}

.hero-bottom span {
  position: relative;
  padding: 0 0 0 14px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-bottom span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #66bcae;
  content: "";
  transform: translateY(-50%);
}

.hero-bottom small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.section-pad {
  padding-top: 112px;
  padding-bottom: 112px;
}

#features,
#workflow,
#architecture,
#screens,
#clinical {
  scroll-margin-top: 0;
}

.section-heading {
  position: relative;
  max-width: 820px;
  margin-bottom: 42px;
  padding-left: 22px;
}

.section-heading::before {
  position: absolute;
  top: 3px;
  bottom: 2px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua), rgba(60, 164, 148, 0.05));
  content: "";
}

.section-heading[data-index]::after {
  position: absolute;
  top: -2px;
  right: 0;
  color: rgba(33, 73, 96, 0.09);
  content: attr(data-index);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.section-heading h2 {
  max-width: 15em;
  font-size: 46px;
  line-height: 1.16;
}

.intro-grid {
  gap: 64px;
}

.intro-text {
  color: #34475d;
  font-size: 18px;
}

.metric-row {
  gap: 0;
  border-top: 1px solid rgba(40, 91, 113, 0.13);
  border-bottom: 1px solid rgba(40, 91, 113, 0.13);
}

.metric-row div {
  padding: 25px 20px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.metric-row div + div {
  border-left: 1px solid rgba(40, 91, 113, 0.1);
}

.metric-row strong {
  font-size: 46px;
}

.features {
  position: relative;
}

.features::before {
  display: none;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  --card-rgb: 39, 127, 155;
  isolation: isolate;
  min-height: 206px;
  padding: 32px 34px 32px 96px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.92) 0%, rgba(var(--card-rgb), 0.095) 54%, rgba(255, 255, 255, 0.66) 100%);
  box-shadow:
    0 20px 48px rgba(28, 60, 89, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -18px 30px rgba(var(--card-rgb), 0.055);
  backdrop-filter: blur(18px) saturate(1.16);
  transition:
    transform 420ms cubic-bezier(0.22, 1.35, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.feature-card::before {
  position: absolute;
  top: 1px;
  right: 12%;
  bottom: auto;
  left: 12%;
  width: auto;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96) 48%, transparent);
  content: "";
  opacity: 0.9;
  transform: none;
  filter: blur(0.2px);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.22, 1.35, 0.36, 1);
}

.feature-card::after {
  position: absolute;
  inset: auto 10px 9px;
  z-index: 0;
  display: block;
  height: 44%;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent, rgba(var(--card-rgb), 0.085));
  content: "";
  opacity: 0.72;
  filter: blur(7px);
  transform: none;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(0.22, 1.35, 0.36, 1);
}

.feature-card[data-accent="blue"] { --card-rgb: 39, 127, 155; }
.feature-card[data-accent="aqua"] { --card-rgb: 60, 164, 148; }
.feature-card[data-accent="coral"] { --card-rgb: 203, 126, 101; }
.feature-card[data-accent="lilac"] { --card-rgb: 118, 118, 170; }

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(138deg, rgba(255, 255, 255, 0.98), rgba(var(--card-rgb), 0.13) 56%, rgba(255, 255, 255, 0.76));
  box-shadow:
    0 28px 64px rgba(28, 60, 89, 0.14),
    inset 0 1px 0 #ffffff,
    inset 0 -22px 36px rgba(var(--card-rgb), 0.075);
  transform: translateY(-5px) scale(1.006);
}

.feature-card:hover::before {
  opacity: 1;
  transform: scaleX(0.9);
}

.feature-card:hover::after {
  opacity: 0.96;
  transform: translateY(-2px) scaleX(0.98);
}

.feature-number {
  position: absolute;
  right: 18px;
  bottom: -14px;
  color: rgba(var(--card-rgb), 0.075);
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
}

.feature-icon {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(var(--card-rgb), 0.1));
  box-shadow:
    0 10px 24px rgba(var(--card-rgb), 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 14px rgba(var(--card-rgb), 0.08);
}

.feature-icon::before,
.feature-card:nth-child(2) .feature-icon::before,
.feature-card:nth-child(3) .feature-icon::before,
.feature-card:nth-child(4) .feature-icon::before {
  width: 28px;
  height: 28px;
  background: rgb(var(--card-rgb));
}

.feature-card h3,
.feature-card p,
.feature-icon,
.feature-number {
  position: relative;
  z-index: 1;
}

.feature-icon,
.feature-number {
  position: absolute;
}

.feature-card h3 {
  max-width: 18em;
  margin: 1px 46px 12px 0;
  font-size: 22px;
}

.feature-card p {
  max-width: 29em;
  line-height: 1.75;
}

.workflow {
  min-height: 760px;
  padding-top: 118px;
  padding-bottom: 118px;
}

.workflow-video {
  opacity: 0.54;
  filter: saturate(0.62) contrast(1.08) brightness(0.6);
}

.workflow .section-heading::before {
  background: linear-gradient(180deg, #72dfca, rgba(114, 223, 202, 0.04));
}

.workflow .section-heading[data-index]::after {
  color: rgba(211, 247, 241, 0.1);
}

.timeline-item,
.architecture-card,
.screen-showcase,
.value-item,
.closing-panel {
  border-radius: 8px;
}

.timeline-item {
  background: rgba(7, 21, 34, 0.58);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(207, 244, 239, 0.09);
}

.architecture {
  background:
    linear-gradient(180deg, #f8fbfb 0%, #edf5f4 100%);
}

.architecture-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(26, 65, 91, 0.07), inset 0 0 0 1px rgba(37, 95, 119, 0.07);
}

.tech-stack,
.tech-stack span {
  border-radius: 7px;
}

.screens {
  padding-top: 128px;
  padding-bottom: 128px;
}

.screen-showcase {
  grid-template-columns: minmax(0, 0.78fr) minmax(390px, 0.82fr);
  gap: 72px;
  overflow: visible;
  padding: 18px 0 0;
  background: transparent;
  box-shadow: none;
}

.screen-showcase::before {
  display: none;
}

.screen-showcase::after {
  inset: 5% -8% -6% 46%;
  height: auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 158, 151, 0.18), rgba(49, 131, 159, 0.06) 44%, transparent 72%);
  filter: blur(8px);
  transform: none;
}

.screen-tabs {
  width: fit-content;
  padding: 4px;
  border-radius: 8px;
  background: rgba(232, 242, 241, 0.82);
}

.screen-tabs button {
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

.screen-tabs button.is-active {
  background: #1d5667;
}

.screen-device {
  max-height: 690px;
  padding-top: 43px;
  border-width: 5px;
  border-radius: 8px;
  background: #101d2c;
  box-shadow: 0 44px 100px rgba(19, 45, 67, 0.22), 0 0 0 1px rgba(20, 55, 75, 0.08);
}

.screen-device-status {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 7px auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: 43px;
  padding: 0 13px;
  color: rgba(240, 250, 249, 0.84);
}

.screen-device-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd6bb;
  box-shadow: 0 0 12px rgba(95, 214, 187, 0.7);
}

.screen-device-status strong,
.screen-device-status small {
  font-size: 10px;
}

.screen-device-status small {
  justify-self: end;
  color: rgba(229, 242, 240, 0.42);
}

.screen-device img {
  border-radius: 3px;
  transition: opacity 100ms ease, transform 150ms ease;
}

.screen-device img.is-switching {
  opacity: 0.62;
  transform: scale(0.997);
}

.clinical {
  padding-top: 124px;
  padding-bottom: 92px;
  background: linear-gradient(100deg, #eef7f5 0%, #fbfaf6 54%, #eef5f7 100%);
}

.value-item {
  background: rgba(255, 255, 255, 0.72);
}

.value-icon {
  border-radius: 8px;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 120px 18px 104px;
  background:
    linear-gradient(100deg, rgba(5, 17, 29, 0.96) 0%, rgba(8, 29, 42, 0.91) 46%, rgba(7, 24, 35, 0.74) 100%),
    url("assets/generated/closing-service-bg.png") center / cover,
    #071725;
}

.closing::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(184, 231, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 231, 226, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 78%);
}

.closing-shell {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.96fr);
  gap: clamp(54px, 7vw, 92px);
  min-height: 520px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #f5fbfa;
  box-shadow: none;
}

.closing-shell::before,
.closing-shell::after {
  display: none;
}

.closing-kicker {
  border-radius: 7px;
  background: rgba(101, 202, 185, 0.1);
  color: #9ee5d8;
  box-shadow: inset 0 0 0 1px rgba(158, 229, 216, 0.14);
}

.closing-copy h2 {
  color: #f5fbfa;
}

.closing-copy p {
  color: rgba(224, 238, 238, 0.68);
}

.closing-panel {
  position: relative;
  align-self: center;
  display: grid;
  align-content: center;
  min-height: 470px;
  overflow: visible;
  padding: 42px 0 20px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.closing-panel::before {
  display: none;
}

.closing-panel::after {
  display: none;
}

.closing-score {
  position: relative;
  z-index: 1;
  overflow: visible;
  justify-self: center;
  width: min(390px, 92%);
  padding: 28px 24px;
  border: 1px solid rgba(220, 250, 245, 0.16);
  border-radius: 8px;
  background: linear-gradient(138deg, rgba(214, 248, 242, 0.12), rgba(52, 137, 151, 0.16) 55%, rgba(255, 255, 255, 0.045));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -18px 30px rgba(79, 194, 176, 0.055);
  backdrop-filter: blur(18px) saturate(1.14);
  text-align: center;
}

.closing-score::after {
  position: absolute;
  top: 1px;
  right: 14%;
  left: 14%;
  width: auto;
  height: 1px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  content: "";
  transform: none;
}

.closing-score span,
.closing-score small,
.closing-grid article p {
  color: rgba(224, 239, 237, 0.62);
}

.closing-score strong,
.closing-grid article strong {
  color: #f4fbfa;
}

.closing-score strong {
  position: relative;
  z-index: 1;
  font-size: 42px;
}

.closing-score span,
.closing-score small {
  position: relative;
  z-index: 1;
}

.closing-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.closing-grid article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
  padding: 20px 14px 18px;
  border: 1px solid rgba(218, 248, 243, 0.11);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(66, 162, 153, 0.07));
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -12px 20px rgba(70, 187, 169, 0.035);
  backdrop-filter: blur(14px) saturate(1.12);
  text-align: center;
  transition: transform 360ms cubic-bezier(0.22, 1.35, 0.36, 1), background 220ms ease, border-color 220ms ease;
}

.closing-grid article + article {
  border: 0;
}

.closing-grid article:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(68, 145, 178, 0.075));
}

.closing-grid article:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(120, 118, 170, 0.075));
}

.closing-grid article:hover {
  border-color: rgba(225, 250, 246, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(66, 162, 153, 0.1));
  transform: translateY(-5px) scale(1.01);
}

.closing-grid article span {
  grid-row: auto;
  justify-self: center;
  width: 38px;
  height: 38px;
  background: rgba(96, 202, 181, 0.1);
  color: #89dccc;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 14px rgba(86, 206, 184, 0.08);
}

.closing-grid article strong {
  font-size: 15px;
}

.closing-grid article p {
  font-size: 12px;
  line-height: 1.65;
}

.secondary-action-dark {
  color: #eefaf8;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(213, 241, 237, 0.16);
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 30px max(18px, calc((100vw - 1180px) / 2)) 34px;
  background: #08131e;
  color: #edf7f5;
}

.footer-brand span,
.footer-meta span {
  color: rgba(218, 234, 232, 0.56);
}

.footer-links {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(217, 240, 237, 0.08);
}

.footer-links a {
  border-radius: 5px;
  color: rgba(235, 246, 244, 0.78);
}

.footer-links a:hover {
  background: rgba(91, 192, 174, 0.14);
}

@keyframes signalPulse {
  0% { opacity: 0.72; transform: scale(0.65); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 1080px) {
  .hero-inner {
    padding-right: 390px;
  }

  .hero-panel {
    right: -28px;
    width: 355px;
  }

  .chip-a {
    left: -38px;
  }

  .chip-b {
    right: -12px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(249, 252, 252, 0.96);
    box-shadow: 0 24px 64px rgba(8, 23, 37, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.88);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    justify-self: stretch;
    text-align: left;
  }

  .hero-inner {
    display: flex;
    align-items: center;
    min-height: 88svh;
    padding: 126px 285px 92px 0;
  }

  .hero-panel {
    top: 154px;
    right: -130px;
    width: 350px;
    opacity: 0.42;
  }

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

  h1 {
    font-size: 52px;
  }

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

  .screen-showcase {
    grid-template-columns: 1fr;
  }

  .closing-shell {
    grid-template-columns: 1fr;
  }

  .screen-device {
    width: min(560px, 100%);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    display: flex;
    width: calc(100% - 28px);
    min-height: 88svh;
    padding: 106px 0 76px;
  }

  .hero-panel {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 14, 25, 0.91), rgba(5, 18, 31, 0.62)),
      linear-gradient(180deg, rgba(4, 13, 22, 0.16), rgba(4, 13, 22, 0.62));
  }

  .hero-media img {
    object-position: 57% center;
  }

  .hero-copy {
    width: 100%;
    max-width: 390px;
  }

  .hero .eyebrow {
    font-size: 12px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.12;
  }

  .hero-lede {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .hero-proof span:last-child {
    display: none;
  }

  .hero-bottom {
    display: none;
  }

  .section-pad {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading {
    margin-bottom: 30px;
    padding-left: 16px;
  }

  .section-heading[data-index]::after {
    top: 0;
    font-size: 38px;
  }

  .section-heading h2 {
    padding-right: 38px;
    font-size: 30px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
  }

  .intro-grid {
    gap: 34px;
  }

  .intro-text {
    font-size: 16px;
    line-height: 1.85;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-row div {
    padding: 20px 8px;
    text-align: center;
  }

  .metric-row div + div {
    border-top: 0;
    border-left: 1px solid rgba(40, 91, 113, 0.1);
  }

  .metric-row strong {
    font-size: 30px;
  }

  .metric-row span {
    font-size: 11px;
  }

  .feature-card {
    min-height: 190px;
    padding: 72px 22px 24px;
  }

  .feature-icon {
    top: 22px;
    left: 22px;
  }

  .feature-number {
    top: auto;
    right: 12px;
    bottom: -10px;
    font-size: 70px;
  }

  .feature-card h3 {
    margin-right: 0;
    font-size: 20px;
  }

  .workflow {
    min-height: 0;
    padding: 82px 14px;
  }

  .workflow .section-heading h2 {
    font-size: 29px;
  }

  .timeline-item {
    padding: 22px;
  }

  .screens {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .screen-showcase {
    gap: 26px;
    padding: 8px 0 0;
  }

  .screen-copy h3 {
    font-size: 27px;
  }

  .screen-copy p:not(.screen-kicker) {
    font-size: 15px;
  }

  .screen-device {
    padding-top: 40px;
    border-width: 6px;
    border-radius: 8px;
  }

  .screen-device-status {
    min-height: 40px;
  }

  .screen-device-status small {
    display: none;
  }

  .clinical {
    padding-top: 82px;
    padding-bottom: 76px;
  }

  .closing {
    padding: 84px 14px 72px;
  }

  .closing-shell {
    gap: 38px;
  }

  .closing-copy h2 {
    font-size: 32px;
  }

  .closing-panel {
    min-height: 0;
    padding: 28px 0 0;
  }

  .closing-panel::before {
    display: none;
  }

  .closing-score {
    padding: 28px 10px 34px;
  }

  .closing-score strong {
    font-size: 36px;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 0;
  }

  .closing-grid article {
    grid-template-columns: 42px 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 14px 12px;
    text-align: left;
  }

  .closing-grid article span {
    grid-row: span 2;
  }

  .closing-grid article p {
    margin: 0;
  }

  .site-footer {
    width: 100%;
    padding: 28px 14px 30px;
  }
}

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

  .workflow-video {
    display: none;
  }

  .shiny-text {
    background: none;
    color: #9fdbe0;
    -webkit-text-fill-color: currentColor;
  }
}

/* Language controls and room for longer English labels. */
.hero,
.hero-inner {
  min-height: 100svh;
}

.site-header { grid-template-columns: auto 1fr auto; overflow: visible; }
.language-picker { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(47,137,166,.18); border-radius: 999px; }
.language-picker button { min-width: 37px; min-height: 32px; padding: 4px 9px; border: 0; border-radius: 999px; background: transparent; color: #425367; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-picker button.is-active { background: #1d5667; color: #fff; }
.language-picker button:focus-visible { outline: 2px solid #1d5667; outline-offset: 2px; }
html[lang="en"] { font-family: "Segoe UI", Arial, sans-serif; }
html[lang="en"] h1 { max-width: 12em; font-size: clamp(40px,4.5vw,60px); line-height: 1.08; letter-spacing: -.035em; }
html[lang="en"] h1 .title-line:last-child { max-width: 11em; font-size: .82em; line-height: 1.16; margin-top: 12px; }
html[lang="en"] .hero .eyebrow { font-size: 12px; line-height: 1.5; }
html[lang="en"] .hero-lede { font-size: 17px; line-height: 1.65; }
html[lang="en"] .hero-proof { flex-wrap: wrap; gap: 18px; }
html[lang="en"] .hero-proof strong { font-size: 14px; }
html[lang="en"] .hero-proof span { font-size: 11px; }
html[lang="en"] .hero-proof span:last-child { min-width: 0; }
html[lang="en"] .section-heading h2 { max-width: 20em; font-size: clamp(30px,3.7vw,46px); line-height: 1.18; letter-spacing: -.025em; }
html[lang="en"] .feature-card h3 { font-size: 21px; }
html[lang="en"] .timeline-item h3 { line-height: 1.3; }
html[lang="en"] .screen-tabs { flex-wrap: wrap; max-width: 100%; }
html[lang="en"] .screen-tabs button { min-width: 0; padding-inline: 14px; }
html[lang="en"] .closing-copy h2 { font-size: clamp(30px,3.5vw,44px); line-height: 1.18; }
html[lang="en"] .closing-grid article { min-height: 180px; }
html[lang="en"] .closing-grid article strong { font-size: 14px; line-height: 1.35; }
html[lang="en"] .footer-brand > div > span { max-width: 34em; line-height: 1.5; }
@media (max-width: 1100px) and (min-width: 981px) {
  .site-header { gap: 8px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 7px; font-size: 13px; }
}
@media (max-width: 980px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; }
  .nav-links { visibility: hidden; }
  .site-header.is-menu-open .nav-links { visibility: visible; }
  html[lang="en"] .hero-inner { padding-right: 220px; }
}
@media (max-width: 720px) {
  .site-header { gap: 6px; }
  .brand { gap: 7px; font-size: 12px; min-width: 0; }
  .brand > span:last-child { white-space: normal; line-height: 1.2; }
  .brand-mark { width: 29px; height: 29px; flex-shrink: 0; }
  .language-picker button { min-width: 32px; padding-inline: 6px; }
  html[lang="en"] .hero-inner { padding-right: 0; }
  html[lang="en"] h1 { font-size: clamp(36px,9.5vw,48px); }
  html[lang="en"] .hero-lede { font-size: 15px; }
  html[lang="en"] .section-heading h2 { font-size: 30px; }
  html[lang="en"] .closing-grid article { min-height: 0; }
  html[lang="en"] .hero-proof { gap: 12px; }
}
