:root {
  --bg: #090a09;
  --cream: #f3eadb;
  --cream-2: #d9c9b4;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --muted: rgba(255, 255, 255, 0.66);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 0%, rgba(243, 234, 219, 0.09), transparent 30%),
    radial-gradient(circle at 8% 38%, rgba(120, 145, 143, 0.12), transparent 26%),
    var(--bg);
  color: white;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1148px, calc(100% - 76px));
  margin: 0 auto;
  padding: 23px 0 36px;
}

.nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  position: relative;
  z-index: 6;
  min-height: 50px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
  height: 34px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 48px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 0;
  border-radius: 7px;
  padding: 0 29px;
  color: #111;
  background: linear-gradient(180deg, #fff7ea, var(--cream));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 14px 42px rgba(243, 234, 219, 0.09);
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 18px 54px rgba(243, 234, 219, 0.14);
}

.hero {
  position: relative;
  min-height: 585px;
  margin-top: 18px;
  overflow: hidden;
  padding: 90px 10px 120px;
}

.hero::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.99) 0%, rgba(9, 10, 9, 0.9) 28%, rgba(9, 10, 9, 0.34) 68%, rgba(9, 10, 9, 0.58) 100%),
    url("./assets/hero-ai-wave.png") center right / cover no-repeat;
  opacity: 0.98;
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60.5%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.19), transparent);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo,
.chair,
.lamp,
.operator,
.signal,
.glow-lines {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  animation: fade-up 650ms ease-out both;
}

.eyebrow {
  margin: 0 0 19px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(51px, 6vw, 69px);
  font-weight: 430;
  letter-spacing: -0.063em;
  line-height: 1.045;
}

h1 span {
  color: var(--cream-2);
}

.hero-text {
  max-width: 360px;
  margin: 33px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 35px;
  margin-top: 42px;
}

.text-link {
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font-size: 14px;
  font-weight: 720;
  font-family: inherit;
  cursor: pointer;
}

.play-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.play-icon::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--cream);
  content: "";
}

.patient-badge {
  position: absolute;
  z-index: 2;
  top: 41px;
  left: 68%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.24;
}

.patient-badge span {
  display: block;
  color: var(--cream);
  font-weight: 720;
}

.mini-chart,
.metrics,
.demo-panel,
.system-card,
.audit-card,
.testimonial,
.final-cta {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.mini-chart {
  position: absolute;
  right: 230px;
  bottom: 48px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: 105px;
  height: 91px;
  border-radius: 8px;
  padding: 14px;
}

.mini-chart i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(255, 246, 230, 0.9), rgba(255, 246, 230, 0.48));
}

.metrics {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -54px;
  border-radius: 14px;
  padding: 31px 44px 23px;
}

.metrics article {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-width: 0;
}

.metrics article + article {
  border-left: 1px solid var(--line-soft);
  padding-left: 34px;
}

.metric-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.035);
  font-size: 16px;
}

.metrics strong {
  display: block;
  font-size: 31px;
  font-weight: 480;
  letter-spacing: -0.055em;
}

.metrics span {
  display: block;
  max-width: 175px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  line-height: 1.32;
}

.metrics-source {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.43);
  font-size: 11px;
  line-height: 1.5;
}

.demo-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  gap: 52px;
  overflow: hidden;
  margin-top: 32px;
  border-radius: 16px;
  padding: 76px 54px;
}

.demo-panel::before,
.audit-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.72), rgba(9, 10, 9, 0.22)),
    url("./assets/hero-ai-wave.png") center right / cover no-repeat;
  opacity: 0.42;
}

.demo-panel::after {
  position: absolute;
  inset: auto -5% -40% 42%;
  height: 145%;
  content: "";
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px 14px);
  opacity: 0.18;
}

.demo-panel > * {
  position: relative;
  z-index: 1;
}

.demo-panel h2,
.section h2,
.included-section h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.8vw, 52px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.demo-panel p,
.audit-card p,
.final-cta p {
  color: var(--muted);
  line-height: 1.55;
}

.demo-panel > div > p:last-child {
  max-width: 350px;
  margin-top: 27px;
}

.call-card {
  justify-self: end;
  width: min(100%, 525px);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 17px;
  padding: 38px 39px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.034));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.32);
}

.status-dot {
  margin-bottom: 31px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.status-dot span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #52dda0;
  box-shadow: 0 0 18px rgba(82, 221, 160, 0.78);
}

label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0 18px;
}

.phone-input span {
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 57px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.call-card .button {
  width: 100%;
  margin-top: 22px;
}

.privacy,
.form-note {
  margin: 21px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.form-note {
  min-height: 18px;
  color: #bdebd6;
}

.section,
.included-section {
  margin-top: 54px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 23px;
}

.system-card {
  position: relative;
  min-height: 304px;
  overflow: hidden;
  border-radius: 13px;
  padding: 31px 26px;
}

.system-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(9, 10, 9, 0.43), rgba(9, 10, 9, 0.82)),
    url("./assets/systems-triptych.png") center / 305% 100% no-repeat;
  opacity: 0.74;
}

.system-card:nth-child(1)::before {
  background-position: left center;
}

.system-card:nth-child(2)::before {
  background-position: center center;
}

.system-card:nth-child(3)::before {
  background-position: right center;
}

.system-card > * {
  position: relative;
  z-index: 1;
}

.system-card span,
.system-card b {
  display: block;
}

.system-card span {
  color: var(--cream);
  font-size: 17px;
}

.system-card b {
  margin-top: 83px;
  margin-bottom: 22px;
  color: var(--cream);
  font-size: 24px;
  font-weight: 500;
}

.system-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 680;
}

.system-card p {
  max-width: 275px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.48;
}

.included-section {
  display: grid;
  grid-template-columns: 1.23fr 0.91fr;
  gap: 45px;
  align-items: start;
}

.included-section > div > h2 {
  max-width: 560px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 13px;
  margin-top: 34px;
}

.included-grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.included-grid span {
  min-height: 39px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  padding: 11px 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.audit-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 42px 36px;
}

.audit-card::before {
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.78), rgba(9, 10, 9, 0.28)),
    url("./assets/hero-ai-wave.png") right center / cover no-repeat;
  opacity: 0.62;
}

.audit-card > * {
  position: relative;
  z-index: 1;
}

.audit-card h2 {
  font-size: clamp(33px, 4vw, 42px);
}

.audit-card p {
  margin: 25px 0 29px;
}

.testimonial {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 47px;
  align-items: center;
  overflow: hidden;
  margin-top: 21px;
  border-radius: 14px;
  padding: 31px 49px 31px 38px;
}

.testimonial::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.06), rgba(9, 10, 9, 0.72) 38%, rgba(9, 10, 9, 0.52)),
    url("./assets/signal-vortex.png") left center / cover no-repeat;
  opacity: 0.86;
}

.testimonial > * {
  position: relative;
  z-index: 1;
}

.quote-visual {
  min-height: 154px;
}

.quote-visual span {
  display: none;
}

blockquote {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.testimonial p {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial p span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 520;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 17px;
  border-radius: 13px;
  padding: 29px 39px;
}

.final-cta h2 {
  font-size: clamp(31px, 4vw, 38px);
}

.final-cta p {
  margin: 8px 0 0;
  font-size: 17px;
}

footer {
  padding: 32px 5px 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 12px;
}

footer .brand {
  width: 112px;
  height: auto;
}

footer div {
  display: flex;
  gap: 36px;
}

.video-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  cursor: pointer;
}

.video-dialog {
  position: relative;
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #050606;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.65);
}

.video-dialog::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.video-dialog iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.64);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

body.video-open {
  overflow: hidden;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 28px, 760px);
  }

  .nav-links,
  .nav-cta,
  .patient-badge,
  .mini-chart {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 78px 0 112px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(9, 10, 9, 0.98), rgba(9, 10, 9, 0.72), rgba(9, 10, 9, 0.84)),
      url("./assets/hero-ai-wave.png") center right / cover no-repeat;
  }

  .hero::after {
    display: none;
  }

  .metrics,
  .demo-panel,
  .system-grid,
  .included-section,
  .testimonial {
    grid-template-columns: 1fr;
  }

  .metrics {
    gap: 18px;
    padding: 25px;
  }

  .metrics article + article {
    border-left: 0;
    padding-left: 0;
  }

  .demo-panel,
  .testimonial,
  .final-cta {
    padding: 28px;
  }

  .call-card {
    justify-self: stretch;
    padding: 26px;
  }

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

  .quote-visual {
    display: none;
  }

  .final-cta,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    padding-top: 0;
  }

  .brand {
    width: 124px;
  }

  .nav {
    position: absolute;
    top: 18px;
    right: 22px;
    left: 22px;
    min-height: 42px;
    background: transparent;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
    padding: 142px 22px 108px;
  }

  .hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(9, 10, 9, 0.36) 0%, rgba(9, 10, 9, 0.76) 58%, rgba(9, 10, 9, 0.96) 100%),
      linear-gradient(90deg, rgba(9, 10, 9, 0.9), rgba(9, 10, 9, 0.24)),
      url("./assets/hero-ai-wave.png") 72% 48% / auto 118% no-repeat;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.075em;
  }

  h1 {
    max-width: 390px;
    font-size: 43px;
    letter-spacing: -0.055em;
    line-height: 1.08;
  }

  .hero-text {
    max-width: 360px;
    margin-top: 27px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: -58px;
    margin-right: 16px;
    margin-left: 16px;
    padding: 8px 24px 18px;
  }

  .metrics article {
    align-items: center;
    flex-direction: row;
    gap: 17px;
    padding: 18px 0;
  }

  .metrics article + article {
    border-top: 1px solid var(--line-soft);
  }

  .metrics strong {
    font-size: 31px;
  }

  .metrics span {
    max-width: none;
    font-size: 13px;
  }

  .metrics-source {
    margin-top: 4px;
    padding-top: 14px;
  }

  .demo-panel,
  .section,
  .included-section,
  .testimonial,
  .final-cta {
    margin-right: 16px;
    margin-left: 16px;
  }

  footer {
    padding-right: 16px;
    padding-left: 16px;
  }
}
