.jdc-dialog.jd-window {
  --jd-line: #b7c8dc45;
  --jd-mute: #b9c9d8;
  --jd-ice: #c4deed;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: dark;
  color: #f7f9fc;
  background: #0c1521;
  background-image: radial-gradient(ellipse at 98% 5%, #24344577, transparent 56%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html:has(.jd-window[open]) { overflow: hidden; }
.jd-window::backdrop { background: #09111b; }
.jd-window-inner {
  width: min(89%, 1530px);
  min-height: 100%;
  margin: auto;
  padding-top: env(safe-area-inset-top);
  padding-bottom: max(30px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.jd-window-header {
  min-height: clamp(82px, 12svh, 115px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--jd-line);
}
.jd-window-logo { width: clamp(115px, 11vw, 165px); height: auto; }
.jd-window-close {
  padding: 0 0 0 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #f8faff;
  border: 0;
  background: transparent;
  font-size: .88rem;
}
.jd-window .jd-caption {
  margin: 0 0 clamp(16px,2.4vh,30px);
  font-size: .77rem; line-height: 1.4; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--jd-mute);
}
.jd-menu-layout, .jd-service-layout {
  flex: 1; display: grid; align-items: center;
  grid-template-columns: minmax(0,1.3fr) minmax(255px,.75fr);
  column-gap: clamp(35px,8vw,156px);
  padding-block: clamp(28px,5vh,80px);
}
.jd-menu-navigation { display: grid; justify-items: start; }
.jd-menu-navigation a {
  display: block;
  padding: .08em 0; color: #f7f9fb; text-decoration: none;
  font-size: clamp(2.15rem,min(4.65vw,7.15vh),5.2rem);
  line-height: 1.13; font-weight: 300; letter-spacing: -.063em;
  transition: color .22s, transform .22s;
}
.jd-menu-navigation a:hover, .jd-menu-navigation a:focus-visible {
  color: #b0daec; transform: translateX(7px);
}
.jd-menu-aside { width: 100%; max-width: 470px; justify-self: end; }
.jd-menu-clinic {
  margin: 0; isolation: isolate; overflow: hidden; position: relative;
  aspect-ratio: 1 / .95; max-height: 43vh; background: #304050;
}
.jd-menu-clinic img, .jd-luna-frame img, .jd-device-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.jd-menu-clinic img { filter: saturate(.65); }
.jd-menu-clinic::after, .jd-luna-frame::after, .jd-device-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,transparent 35%,#091320d9 100%);
}
.jd-menu-clinic figcaption, .jd-luna-frame figcaption {
  z-index: 1; position: absolute; bottom: clamp(18px,2.1vw,34px); left: clamp(18px,2.4vw,36px);
  font-size: 1.12rem; font-weight: 400; line-height: 1.2;
}
.jd-menu-clinic figcaption span, .jd-luna-frame figcaption span {
  display: block; color: #e0e6ea; font-size: .85rem; margin-top: .5em;
}
.jd-secondary-navigation {
  display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 4px; padding-top: 15px;
}
.jd-secondary-navigation a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: #d3e2ec; font-size: .89rem; text-decoration: none;
}
.jd-secondary-navigation a:hover { color: #a4deff; }
.jd-service-layout {
  grid-template-columns: minmax(0,1.1fr) minmax(280px,.8fr);
  column-gap: clamp(40px,7vw,100px);
}
.jd-service-copy { min-width: 0; max-width: 690px; }
.jd-window .jd-service-copy h2 {
  margin: 0; font-size: clamp(3rem,6.65vw,7.5rem); line-height: 1.01;
  font-weight: 300; letter-spacing: -.078em; color: #fafbfd; text-wrap: balance;
}
.jd-service-copy h2 em { font-style: normal; color: var(--jd-ice); }
.jd-window .jd-service-intro {
  max-width: 34em; font-weight: 400; line-height: 1.65;
  font-size: clamp(.95rem,1.16vw,1.14rem); margin: clamp(16px,2.6vh,28px) 0;
  color: #c2cfdc;
}
.jd-phone { margin: 0 0 16px; }
.jd-visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.jd-window .jd-hours {
  max-width: 30rem; margin: clamp(23px,5vh,58px) 0 0; padding-top: 16px;
  border-top: 1px solid var(--jd-line); display: flex; justify-content: space-between; gap: 15px;
  color: var(--jd-mute); font-size: .82rem;
}
.jd-luna-frame {
  position: relative; margin: 0; width: 100%; height: clamp(345px,61svh,730px);
  overflow: hidden; align-self: center; justify-self: end; background: #293747;
}
.jd-luna-frame img { object-position: center 26%; }
.jd-luna-frame figcaption strong { font-weight: 300; font-size: 2rem; letter-spacing: -.05em; }
.jd-install-art {
  position: relative; display: grid; place-items: center; width: 100%;
  min-height: clamp(355px,56svh,660px); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 47% 47%,#446474 0%,#233847 35%,#152530 78%,#182933 100%);
}
.jd-install-art::before {
  content: ""; position: absolute; inset: 12%; border: 1px solid #d5f7ff29; border-radius: var(--button-radius);
  transform: rotate(-29deg) scale(1.55,.65);
}
.jd-device {
  width: clamp(140px,min(16vw,26vh),260px); aspect-ratio: 1/1.94; padding: 5px;
  border: 1px solid #99abba; border-radius: 31px; background: #0a1119;
  transform: rotate(7deg); box-shadow: 20px 30px 35px #06141d7d;
}
.jd-device-screen {
  display: grid; align-items: start; position: relative; width: 100%; height: 100%;
  border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff;
}
.jd-device-screen::after { z-index: -1; background: linear-gradient(165deg,#03132280,#102e4877 60%,#0a1c30f2); }
.jd-device-photo { z-index: -2; position: absolute; inset: 0; object-position: 58% center; filter: saturate(.48); }
.jd-device-logo { width: 55%; margin: 21% 0 0 12%; height: auto; }
.jd-device-icon { position: absolute; left: 12%; bottom: 13%; display: grid; gap: 5px; justify-items: center; font-size: .64rem; }
.jd-device-icon img { width: clamp(30px,3vw,48px); height: auto; border-radius: 23%; }
.jd-install-native { margin: 0 0 17px; }
.jd-guide-platforms { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--jd-line); width: fit-content; }
.jd-guide-platforms button {
  position: relative; min-height: 42px; padding: 6px 12px; color: #bcc9d5;
  background: transparent; border: 0; font-size: .85rem;
}
.jd-guide-platforms button:first-child { padding-left: 0; }
.jd-guide-platforms button[aria-pressed="true"] { color: white; }
.jd-guide-platforms button[aria-pressed="true"]::after {
  position: absolute; inset: auto 0 -1px; height: 2px; content: ""; background: #c9edf9;
}
.jd-window ol.jd-guide-steps {
  display: grid; gap: 10px; padding: 0; margin: 20px 0 0;
  list-style: none; counter-reset: step;
}
.jd-window .jd-guide-steps li {
  counter-increment: step; position: relative; padding-left: 34px;
  color: #dae5ef; margin: 0; line-height: 1.5; font-size: .94rem;
}
.jd-guide-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 23px; height: 23px;
  display: grid; place-items: center; border: 1px solid var(--jd-line); border-radius: var(--button-radius);
  font-size: .7rem; font-variant-numeric: tabular-nums; color: #d6e7ee;
}
.jd-window [hidden] { display: none; }
@media (max-width: 760px) {
  .jd-window-inner { width: min(88%,630px); }
  .jd-window-header { min-height: 75px; }
  .jd-window-logo { width: 112px; }
  .jd-window-close { gap: 8px; }
  .jd-window-close span { width: 34px; height: 34px; }
  .jd-menu-layout, .jd-service-layout { grid-template-columns: 1fr; gap: 24px; align-content: start; padding-block: 27px 12px; }
  .jd-menu-navigation a { font-size: clamp(2.08rem,8vw,3.3rem); padding: .09em 0; }
  .jd-menu-aside { justify-self: start; max-width: none; }
  .jd-menu-clinic { height: clamp(108px,16vh,160px); max-height: none; aspect-ratio: auto; }
  .jd-menu-clinic img { object-position: 50% 53%; }
  .jd-menu-clinic figcaption { bottom: 14px; left: 16px; }
  .jd-menu-clinic figcaption span { display: inline; margin-left: .5em; }
  .jd-secondary-navigation { padding-top: 5px; gap: 2px 18px; }
  .jd-secondary-navigation a { font-size: .84rem; }
  .jd-window .jd-caption { font-size: .73rem; margin-bottom: 12px; }
  .jd-window .jd-service-copy h2 { font-size: clamp(2.8rem,10vw,4.6rem); }
  .jd-window .jd-service-intro { margin-block: 13px 20px; }
  .jd-window .jd-hours { margin-top: 20px; padding-top: 11px; }
  .jd-luna-frame { height: clamp(205px,31vh,325px); }
  .jd-luna-frame img { object-position: center 23%; }
  .jd-luna-frame figcaption { bottom: 16px; }
  .jd-luna-frame figcaption strong { font-size: 1.6rem; }
  .jd-install-art { min-height: 205px; max-height: 240px; }
  .jd-device { width: 115px; padding: 3px; border-radius: 17px; margin: 12px 0; }
  .jd-device-screen { border-radius: 14px; }
}
@media (min-width: 761px) and (max-height: 580px) {
  .jd-window-header { min-height: 65px; }
  .jd-service-layout,.jd-menu-layout { padding-block: 24px; }
  .jd-luna-frame, .jd-install-art { min-height: 280px; max-height: 72svh; }
  .jd-menu-navigation a { font-size: clamp(1.7rem,5.5vh,2.6rem); }
  .jd-window .jd-service-copy h2 { font-size: 3.8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .jd-window[open] .jd-menu-layout, .jd-window[open] .jd-service-layout { animation: jd-reveal .33s ease-out both; }
  @keyframes jd-reveal { from { opacity:0; transform:translateY(10px) } to { opacity:1; transform:none } }
}
@media (prefers-reduced-motion: reduce) {
  .jd-menu-navigation a, .jd-window-close span { transition: none; }
  .jd-menu-navigation a:hover, .jd-menu-navigation a:focus-visible { transform: none; }
}
.jd-replay {
  display: inline-flex; gap: .55em; align-items: center; min-height: 40px;
  margin-top: 6px; padding: 0; border: 0; background: transparent;
  color: #b7c8d8; font-size: .82rem;
}
.jd-replay span { font-size: .93rem; }
.jd-replay:hover { color: #fff; }

@media (min-width: 761px) {
  .jd-menu-layout {
    grid-template-columns: minmax(265px,.91fr) minmax(0,1.15fr);
    grid-template-areas: "image navigation";
  }
  .jd-menu-links { grid-area: navigation; }
  .jd-menu-aside { grid-area: image; justify-self: start; max-width: 520px; }
  .jd-menu-clinic { aspect-ratio: 1.27; max-height: 36vh; }
}
@media (prefers-reduced-motion:no-preference) {
  .jd-menu[open] .jd-menu-layout { animation: unfold-menu .38s cubic-bezier(.15,.55,.3,1) both; }
  @keyframes unfold-menu { from { opacity:.4; transform:translateY(-13px); } to { opacity:1; transform:none; } }
}
