:root {
  color-scheme: light;
  --ink: #102426;
  --muted: #53696a;
  --paper: #f7faf9;
  --white: #ffffff;
  --jade: #087f78;
  --jade-dark: #05645f;
  --line: rgba(16, 36, 38, 0.16);
  --accent: #ee7a54;
  --page-padding: clamp(24px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  border-bottom: 1px solid rgba(16, 36, 38, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid var(--jade);
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.site-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--jade);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: 94svh;
  align-items: center;
  overflow: hidden;
  padding: 126px var(--page-padding) 112px;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/future-medical-hero.png?v=20260710");
  background-position: center center;
  background-size: cover;
  animation: reveal 900ms ease-out both;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 251, 250, 0.98) 0%,
    rgba(248, 251, 250, 0.94) 28%,
    rgba(248, 251, 250, 0.64) 46%,
    rgba(248, 251, 250, 0.08) 69%
  );
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 23%;
  background: linear-gradient(0deg, rgba(8, 46, 47, 0.22), transparent);
  content: "";
  pointer-events: none;
}

.hero-content {
  width: min(660px, 52vw);
  animation: rise 720ms 120ms ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 25px;
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(238, 122, 84, 0.16);
}

h1 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(56px, 7.4vw, 112px);
  font-weight: 570;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--jade);
}

.button-primary:hover {
  background: var(--jade-dark);
}

.button-secondary {
  border-color: rgba(16, 36, 38, 0.38);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--jade);
  color: var(--jade-dark);
  background: rgba(255, 255, 255, 0.82);
}

.hero-meta {
  position: absolute;
  right: var(--page-padding);
  bottom: 33px;
  display: flex;
  gap: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #79e5d4;
  content: "";
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: var(--page-padding);
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(16, 36, 38, 0.25);
  border-radius: 50%;
  font-size: 16px;
}

.vision {
  padding: 110px var(--page-padding) 100px;
  background: var(--paper);
}

.section-label {
  margin: 0 0 38px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: end;
}

.vision h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: 0;
}

.vision-layout > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

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

.capabilities article {
  min-height: 290px;
  padding: 42px var(--page-padding) 50px;
}

.capabilities article + article {
  border-left: 1px solid var(--line);
}

.capabilities span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.capabilities h3 {
  margin: 68px 0 15px;
  font-size: 26px;
  font-weight: 600;
}

.capabilities p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 var(--page-padding);
  color: var(--muted);
  font-size: 13px;
}

.site-footer > :first-child {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.site-footer > :last-child {
  justify-self: end;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 70px;
  }

  .site-nav {
    gap: 19px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 90svh;
    align-items: flex-end;
    padding-top: 112px;
    padding-bottom: 118px;
  }

  .hero-background {
    background-position: 61% center;
  }

  .hero::before {
    background: linear-gradient(
      0deg,
      rgba(248, 251, 250, 0.98) 0%,
      rgba(248, 251, 250, 0.93) 42%,
      rgba(248, 251, 250, 0.22) 75%
    );
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .desktop-break {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .vision-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .capabilities article {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .capabilities article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .capabilities h3 {
    margin-top: 34px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

  .site-nav {
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 145px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .scroll-cue {
    display: none;
  }

  .vision {
    padding-top: 78px;
    padding-bottom: 74px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-footer > :last-child {
    justify-self: start;
  }
}

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

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