:root {
  --ink: #111113;
  --ink-soft: #3f4248;
  --muted: #6f737b;
  --line: rgba(17, 17, 19, 0.12);
  --paper: #f5f5f7;
  --white: #ffffff;
  --dark: #050609;
  --blue: #0071e3;
  --teal: #1a9c8f;
  --sage: #b7c9ba;
  --gold: #d6b26e;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  text-rendering: geometricPrecision;
}

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

.global-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand-mark,
.site-nav a,
.nav-action,
.button {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: #303237;
  font-size: 0.78rem;
}

.site-nav a,
.nav-action {
  opacity: 0.86;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.nav-action:hover {
  color: var(--blue);
  opacity: 1;
}

.nav-action {
  justify-self: end;
  color: var(--blue);
  font-size: 0.78rem;
}

.section-panel {
  min-height: 680px;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(68px, 8vw, 118px) 24px;
  overflow: hidden;
}

.section-dark {
  position: relative;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(ellipse at 50% 110%, rgba(26, 156, 143, 0.32), transparent 46%),
    linear-gradient(145deg, #06070a 0%, #191b1f 48%, #07080b 100%);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0 1px,
      transparent 1px 58px
    );
  opacity: 0.55;
}

.hero-copy,
.hero-visual,
.section-heading,
.feature-grid,
.band-copy,
.visit-steps,
.team-layout,
.cta-copy,
.cta-card {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
}

.hero-copy {
  justify-self: end;
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

h1,
h2 {
  margin-bottom: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 9.8ch;
  font-size: clamp(4rem, 8vw, 7.7rem);
}

h2 {
  font-size: clamp(2.6rem, 5.3vw, 5.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.16;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.band-copy p,
.doctor-card p,
.cta-copy p,
.cta-card p {
  color: color-mix(in srgb, currentColor 70%, transparent);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: #0066cc;
}

.button-ghost {
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent);
  background: rgba(255, 255, 255, 0.78);
}

.section-dark .button-ghost {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  justify-self: start;
  max-width: 580px;
  min-height: 580px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.clinic-device {
  width: min(92vw, 430px);
  aspect-ratio: 0.74;
  padding: 12px;
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(177, 201, 186, 0.52)),
    linear-gradient(145deg, #eff4f1, #7e8a8f);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotateX(5deg) rotateY(-13deg) rotateZ(2deg);
}

.device-bar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.device-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(17, 17, 19, 0.35);
}

.device-face {
  height: calc(100% - 38px);
  display: grid;
  grid-template-rows: 1fr repeat(3, auto);
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(155deg, #17211f 0%, #0d1115 46%, #1a2e2b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.device-face img {
  align-self: center;
  justify-self: center;
  width: min(56%, 210px);
  border-radius: 50%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.36));
}

.device-face div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.device-face span {
  color: rgba(255, 255, 255, 0.68);
}

.device-face strong {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

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

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading p {
  max-width: 760px;
}

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

.feature-card,
.doctor-card,
.metrics div,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card {
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card span {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.product-band {
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, #111113, #24443e 52%, #d6b26e);
}

.band-copy {
  justify-self: end;
  max-width: 560px;
}

.visit-steps {
  justify-self: start;
  max-width: 620px;
  display: grid;
  gap: 12px;
}

.visit-steps div {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  min-height: 98px;
  padding: 0 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.visit-steps strong {
  color: var(--gold);
  font-size: 1.4rem;
}

.visit-steps span {
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 650;
}

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

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 320px;
  gap: 16px;
}

.doctor-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 54px);
}

.portrait {
  display: grid;
  place-items: center;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #17302d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(183, 201, 186, 0.4)),
    var(--sage);
  font-size: 4.3rem;
  font-weight: 700;
}

.doctor-role {
  margin-bottom: 8px;
  color: var(--blue) !important;
  font-size: 0.94rem !important;
  font-weight: 700;
}

.metrics {
  display: grid;
  gap: 16px;
}

.metrics div {
  display: grid;
  align-content: center;
  min-height: 124px;
  padding: 22px;
}

.metrics strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.metrics span {
  margin-top: 10px;
  color: var(--muted);
}

.cta-section {
  min-height: 560px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.54fr);
  gap: clamp(28px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(5, 6, 9, 0.96), rgba(17, 28, 26, 0.88)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      transparent 1px 46px
    );
}

.cta-copy {
  justify-self: end;
  max-width: 720px;
}

.cta-card {
  justify-self: start;
  max-width: 360px;
  padding: 28px;
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.cta-card .button {
  width: 100%;
}

.cta-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  background: var(--paper);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 920px) {
  .global-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section-dark,
  .product-band,
  .cta-section,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .band-copy,
  .visit-steps,
  .cta-copy,
  .cta-card {
    justify-self: center;
  }

  .hero-copy,
  .band-copy,
  .cta-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 460px;
  }

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

  .feature-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .global-nav {
    padding-inline: 14px;
  }

  .brand-mark span {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section-panel {
    min-height: auto;
    padding: 58px 18px;
  }

  h1 {
    max-width: 8ch;
    margin-inline: auto;
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-copy p:not(.eyebrow),
  .section-heading p,
  .band-copy p,
  .doctor-card p,
  .cta-copy p {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .clinic-device {
    width: min(78vw, 330px);
    border-radius: 34px;
    transform: rotateX(4deg) rotateY(-9deg) rotateZ(1deg);
  }

  .device-face {
    border-radius: 25px;
  }

  .device-face div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  .visit-steps div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .doctor-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    width: 118px;
    font-size: 3.2rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }
}

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

  .reveal,
  .button,
  .site-nav a,
  .nav-action {
    transition: none;
  }

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