:root {
  --bg: #f6f9fb;
  --bg-soft: #eef3f6;
  --bg-strong: #0f172a;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-dark: #0e1b24;
  --text: #0f172a;
  --text-soft: #5b6b7a;
  --text-inverse: #f3f8fa;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --accent: #0e8f9e;
  --accent-dark: #0a7280;
  --accent-soft: rgba(14, 143, 158, 0.12);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.10);
  --mint: #e2f4f1;
  --shadow-xl: 0 30px 80px rgba(15, 35, 54, 0.10);
  --shadow-lg: 0 20px 56px rgba(15, 35, 54, 0.09);
  --shadow-md: 0 12px 34px rgba(15, 35, 54, 0.07);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
  --section-space: 112px;
  --ease: 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 143, 158, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36%, #eef3f6 100%);
}

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

.page-shell {
  position: relative;
  overflow: clip;
}

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

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section-tight {
  padding: 24px 0 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(15, 35, 54, 0.10);
  overflow: hidden;
}

.brand-text-wrap {
  display: grid;
  gap: 1px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
}

.brand-sub {
  color: var(--text-soft);
  font-size: 0.83rem;
}

.site-nav,
.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #14a6b6 0%, var(--accent-dark) 100%);
  box-shadow: 0 14px 30px rgba(14, 143, 158, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(14, 143, 158, 0.26);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 8px 18px rgba(15, 35, 54, 0.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
}

.btn-large {
  padding: 16px 22px;
  font-size: 1rem;
}

.btn-disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
  opacity: 0.85;
}

.hero {
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-grid,
.split-layout,
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

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

.eyebrow-pill,
.logo-strip-inner span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #41525f;
}

.eyebrow-pill {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 26px rgba(15, 35, 54, 0.05);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: linear-gradient(180deg, #2dd4bf, var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(14, 143, 158, 0.12);
}

.hero h1,
.section-heading h2,
.text-block h3,
.feature-copy h3,
.cta-panel h2 {
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 6.6vw, 5.4rem);
  margin-top: 22px;
  max-width: 14ch;
}

.hero-lead,
.section-heading p,
.text-block p,
.feature-copy p,
.step-card p,
.info-card p,
.glass-note p,
.cta-panel p,
.faq-card p,
.benefit-band p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 30px;
}

.hero-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 600;
  color: #3c4d59;
  box-shadow: 0 10px 24px rgba(15, 35, 54, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 840px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center, rgba(14, 143, 158, 0.28), transparent 68%);
  top: 120px;
  right: -60px;
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.26), transparent 68%);
  top: 30px;
  left: 48%;
}

.device-stack,
.visual-pair,
.triple-device,
.showcase {
  position: relative;
}

.hero-main {
  width: min(350px, 78vw);
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.tilt-left {
  transform: rotate(-10deg);
}

.tilt-right {
  transform: rotate(10deg);
}

.no-tilt {
  transform: none;
}

.depth-front { z-index: 3; }
.depth-mid { z-index: 2; }
.depth-back { z-index: 1; }

.device-stack .depth-back {
  width: 248px;
  position: absolute;
  left: 28px;
  top: 132px;
}

.device-stack .depth-mid {
  width: 248px;
  position: absolute;
  right: 18px;
  top: 150px;
}

.floating-card,
.glass-note,
.info-card,
.step-card,
.faq-card,
.cta-panel,
.benefit-band-inner article {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 38px rgba(15, 35, 54, 0.07);
}

.floating-card,
.glass-note {
  position: absolute;
  z-index: 4;
  padding: 18px 20px;
  border-radius: 22px;
  max-width: 260px;
}

.proof-card-left {
  left: -85px;
  top: 0px;
}

.proof-card-right {
  right: 0px;
  top: 529px;
}

.mini-label,
.feature-kicker,
.step-number,
.metric,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.floating-card strong,
.glass-note strong,
.info-card strong,
.step-card h3,
.faq-card summary,
.metric,
.mini-feature-grid strong {
  display: block;
  letter-spacing: -0.03em;
}

.floating-card strong,
.glass-note strong,
.info-card strong,
.metric,
.mini-feature-grid strong {
  font-size: 1rem;
  margin-top: 8px;
}

/* Clinical stat figure (big number + label) */
.stat-figure {
  display: grid;
  gap: 4px;
}

.stat-figure .stat-value {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}

.stat-figure .stat-label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.logo-strip {
  z-index: 2;
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 32px rgba(15, 35, 54, 0.04);
  flex-wrap: wrap;
}

.logo-strip-inner span {
  font-size: 0.92rem;
}

.feature-section-dark {
  background: linear-gradient(180deg, #0e1b24 0%, #122734 100%);
  color: var(--text-inverse);
}

.feature-section-dark .section-heading p,
.feature-section-dark .feature-copy p,
.feature-section-dark .text-block p,
.feature-section-dark .feature-list li,
.feature-section-dark .eyebrow,
.feature-section-dark .feature-kicker {
  color: rgba(243, 248, 250, 0.74);
}

.feature-section-dark .feature-kicker,
.feature-section-dark .eyebrow {
  color: #5fd6e2;
}

.feature-section-dark .step-card,
.feature-section-dark .info-card,
.feature-section-dark .faq-card,
.feature-section-dark .benefit-band-inner article {
  box-shadow: 0 30px 70px rgba(0, 20, 30, 0.34);
}

.feature-section-dark .info-card,
.feature-section-dark .step-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.section-heading h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  margin-top: 16px;
}

.section-heading p {
  margin-top: 18px;
}

.feature-grid-hero {
  align-items: center;
}

.feature-copy h3,
.text-block h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.feature-kicker,
.eyebrow {
  color: var(--accent);
  font-weight: 800;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  padding-left: 26px;
  position: relative;
  color: #3a4b57;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2dd4bf, var(--accent));
}

.feature-list-compact {
  max-width: 36rem;
}

.showcase {
  min-height: 900px;
}

.showcase-main {
  width: min(360px, 80vw);
  margin-left: auto;
}

.transcript-note {
  right: 252px;
  bottom: 270px;
}

.device-tall {
  width: min(350px, 82vw);
}

.device-medium {
  width: min(300px, 70vw);
}

.device-small {
  width: min(250px, 55vw);
}

.visual-block,
.text-block,
.feature-copy {
  position: relative;
}

.info-cards,
.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.info-card,
.step-card,
.faq-card,
.cta-panel,
.benefit-band-inner article,
.mini-feature-grid article {
  border-radius: 26px;
  padding: 24px;
}

.feature-section-soft {
  background: linear-gradient(180deg, rgba(226, 244, 241, 0.6), rgba(240, 247, 249, 0.7));
}

.visual-pair {
  min-height: 760px;
}

.visual-pair .device-medium:first-child {
  position: absolute;
  left: 20px;
  top: 120px;
}

.visual-pair .offset-up {
  position: absolute;
  right: 10px;
  top: 10px;
}

.workflow-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
}

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

.step-card {
  min-height: 100%;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1rem;
}

.step-card h3 {
  font-size: 1.4rem;
  margin: 18px 0 10px;
}

.triple-device {
  min-height: 660px;
}

.triple-device .device-small {
  position: absolute;
  top: 110px;
}

.triple-device .tilt-left {
  left: 0;
}

.triple-device .triple-center {
  left: 50%;
  transform: translateX(-50%);
  top: 45px;
  z-index: 2;
}

.triple-device .tilt-right {
  right: 0;
}

/* Medical disclaimer band */
.disclaimer-band {
  padding-top: 0;
  padding-bottom: var(--section-space);
}

.disclaimer-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-radius: 26px;
  padding: 26px 28px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.disclaimer-card .disclaimer-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.2rem;
}

.disclaimer-card strong {
  display: block;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.disclaimer-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.97rem;
}

.benefit-band {
  padding-top: 20px;
  padding-bottom: 30px;
}

.benefit-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  color: var(--accent-dark);
}

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

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  line-height: 1.4;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-bottom: 0;
}

.cta-section {
  padding-bottom: 120px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  background:
    radial-gradient(circle at top left, rgba(14, 143, 158, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.cta-panel h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  margin-top: 16px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 143, 158, 0.22);
}

.split-reverse > :first-child {
  order: 2;
}

.split-reverse > :last-child {
  order: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 110ms; }
.reveal-delay-2 { transition-delay: 220ms; }

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .feature-grid,
  .steps-grid,
  .benefit-band-inner,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-heading {
    text-align: center;
  }

  .hero-actions,
  .cta-actions,
  .header-actions,
  .site-nav,
  .hero-points {
    justify-content: center;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .showcase,
  .visual-pair,
  .triple-device {
    min-height: 0;
  }

  .device-stack {
    display: grid;
    gap: 20px;
    justify-items: center;
  }

  .hero-main,
  .device-stack .depth-back,
  .device-stack .depth-mid,
  .visual-pair .device-medium:first-child,
  .visual-pair .offset-up,
  .triple-device .device-small,
  .triple-device .triple-center,
  .proof-card-left,
  .proof-card-right,
  .transcript-note {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0 auto;
  }

  .floating-card,
  .glass-note {
    max-width: min(100%, 460px);
  }

  .device-tall,
  .device-medium,
  .device-small,
  .showcase-main,
  .hero-main {
    width: min(360px, 84vw);
  }

  .visual-pair,
  .triple-device {
    display: grid;
    justify-items: center;
    gap: 20px;
  }

  .split-reverse > :first-child,
  .split-reverse > :last-child {
    order: initial;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  :root { --section-space: 88px; }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
  }

  .info-cards,
  .mini-feature-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip-inner {
    border-radius: 28px;
    justify-content: center;
  }

  .disclaimer-card {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100vw - 24px, 1000px);
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .hero-actions,
  .header-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .step-card,
  .faq-card,
  .cta-panel,
  .info-card,
  .mini-feature-grid article {
    padding: 20px;
  }
}

/* Brand icon image */
.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.55;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-brand:hover {
  opacity: 1;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}
