.neoo-demo-page {
  --nd-ink: #11143f;
  --nd-muted: #59617d;
  --nd-line: #dfe4f0;
  --nd-accent: #2510f3;
  --nd-accent-deep: #171155;
  --nd-soft: #eef6ff;
  overflow-x: clip;
  background: #f6f8ff;
  color: var(--nd-ink);
}

.nd-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nd-booking {
  position: relative;
  min-height: calc(100svh - 95px);
  padding: clamp(24px, 3.2vh, 36px) 0 clamp(30px, 4vh, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(82, 218, 255, .3) 0 0, rgba(82, 218, 255, 0) 29%),
    radial-gradient(circle at 5% 95%, rgba(89, 102, 242, .13) 0 0, rgba(89, 102, 242, 0) 30%),
    linear-gradient(145deg, #f8f9ff 0%, #f2f7ff 100%);
}

.nd-booking::after {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -245px;
  right: 6vw;
  border: 1px solid rgba(37, 16, 243, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nd-booking > .nd-shell {
  position: relative;
  z-index: 1;
}

.nd-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  margin-bottom: clamp(16px, 2.4vh, 24px);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
}

.nd-eyebrow,
.nd-step {
  margin: 0 0 7px;
  color: #5966f2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.nd-intro h1 {
  margin: 0;
  font-family: var(--cb-display-font);
  font-size: clamp(2.75rem, 4.2vw, 4rem);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
}

.nd-intro__lead {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--nd-muted);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  font-weight: 300;
  line-height: 1.5;
}

.nd-booking__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr);
  align-items: stretch;
  gap: 16px;
}

.nd-scheduler,
.nd-form {
  min-width: 0;
  border: 1px solid rgba(207, 215, 234, .94);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 70px rgba(36, 42, 91, .1);
  backdrop-filter: blur(18px);
}

.nd-scheduler {
  padding: clamp(18px, 2vw, 24px);
}

.nd-scheduler__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 14px;
  align-items: start;
  gap: 16px;
}

.nd-scheduler__heading h2,
.nd-form__heading h2 {
  margin: 0;
  font-family: var(--cb-display-font);
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: var(--cb-display-weight);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.nd-scheduler__meta {
  display: flex;
  margin: 7px 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--nd-muted);
  font-size: .8rem;
}

.nd-scheduler__nav {
  display: flex;
  gap: 7px;
}

.nd-scheduler__nav button,
.nd-date-tab,
.nd-slot {
  border: 1px solid #ccd3e5;
  color: #252d56;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.nd-scheduler__nav button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  font-size: 1.05rem;
}

.nd-scheduler__nav button:hover:not(:disabled) {
  border-color: #9ca8c9;
  background: #f5f6ff;
}

.nd-scheduler__nav button:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.nd-status {
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--nd-muted);
  background: #edf0f8;
  font-size: .88rem;
}

.nd-date-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.nd-date-tab {
  display: grid;
  min-width: 0;
  min-height: 58px;
  padding: 8px 7px;
  place-items: center;
  gap: 1px;
  border-radius: 13px;
  text-align: center;
}

.nd-date-tab:hover,
.nd-date-tab[aria-selected="true"] {
  border-color: var(--nd-accent-deep);
  color: #fff;
  background: var(--nd-accent-deep);
}

.nd-date-tab__day {
  overflow: hidden;
  max-width: 100%;
  font-size: .72rem;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap;
}

.nd-date-tab__date {
  font-size: .88rem;
}

.nd-day {
  min-width: 0;
}

.nd-day__slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.nd-slot {
  width: 100%;
  min-height: 40px;
  padding: 0 7px;
  border-radius: 10px;
  font-size: .86rem;
}

.nd-slot:hover,
.nd-slot[aria-pressed="true"] {
  border-color: var(--nd-accent);
  color: #fff;
  background: var(--nd-accent);
}

.nd-day__empty {
  margin: 16px 0;
  color: var(--nd-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.nd-scheduler button:focus-visible,
.nd-form :is(input, textarea, button, a):focus-visible {
  outline: 3px solid rgba(37, 16, 243, .34);
  outline-offset: 2px;
}

.nd-form {
  position: relative;
  padding: clamp(18px, 2vw, 24px);
  overflow: hidden;
}

.nd-form::after {
  position: absolute;
  width: 190px;
  height: 190px;
  top: -132px;
  right: -84px;
  border-radius: 50%;
  background: rgba(82, 218, 255, .16);
  content: "";
  pointer-events: none;
}

.nd-form__back {
  display: none;
}

.nd-form__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.nd-form__heading p:last-child {
  margin: 6px 0 0;
  color: var(--nd-muted);
  font-size: .84rem;
  line-height: 1.4;
}

.nd-selection {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 38px;
  margin: 0 0 11px;
  padding: 8px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 11px;
  color: #fff;
  background: var(--nd-accent-deep);
}

.nd-selection span {
  color: #cbd1f5;
  font-size: .74rem;
}

.nd-selection strong {
  font-size: .82rem;
  text-align: right;
  text-transform: capitalize;
}

.nd-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.nd-form label:not(.nd-consent) {
  display: grid;
  gap: 4px;
  color: #30375d;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}

.nd-form input:not([type="checkbox"]),
.nd-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d2d8e8;
  border-radius: 10px;
  color: var(--nd-ink);
  background: #fff;
  font: inherit;
  font-size: .92rem;
  font-weight: 400;
}

.nd-form textarea {
  min-height: 70px;
  resize: vertical;
}

.nd-form__context {
  margin-top: 10px;
}

.nd-consent {
  display: flex;
  margin: 12px 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--nd-muted);
  font-size: .76rem;
  line-height: 1.35;
}

.nd-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--nd-accent);
}

.nd-consent a {
  color: var(--nd-accent);
}

.nd-form__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.nd-captcha {
  width: 300px;
  max-width: 100%;
  min-height: 65px;
}

.nd-submit {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--nd-accent);
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
}

.nd-submit:hover {
  background: #1607bf;
}

.nd-submit:disabled {
  cursor: wait;
  opacity: .58;
}

.nd-form__status {
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 11px;
  color: #30375d;
  background: #eceff8;
  font-size: .84rem;
  line-height: 1.4;
}

.nd-form__status[data-state="success"] {
  color: #0a5935;
  background: #e1f6ea;
}

.nd-form__status[data-state="error"] {
  color: #8b1e32;
  background: #fde8ed;
}

.nd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.neoo-demo-page [hidden] {
  display: none !important;
}

.nd-reassurance {
  padding: clamp(72px, 9vw, 118px) 0;
  background: #f1f5ff;
}

.nd-reassurance h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--cb-display-font);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
}

.nd-reassurance .nd-shell > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.nd-reassurance article {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(208, 216, 235, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
}

.nd-reassurance article > span {
  color: #6570f2;
  font-weight: 700;
  letter-spacing: .1em;
}

.nd-reassurance h3 {
  margin: 24px 0 12px;
  font-size: 1.3rem;
}

.nd-reassurance article p {
  margin: 0;
  color: var(--nd-muted);
  line-height: 1.65;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .nd-booking__workspace {
    grid-template-columns: minmax(0, 1fr) minmax(405px, .84fr);
  }

  .nd-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nd-submit {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .nd-booking {
    min-height: calc(100svh - 82px);
    padding: 20px 0 26px;
  }

  .nd-intro {
    grid-template-columns: 1fr;
    margin-bottom: 15px;
    gap: 8px;
  }

  .nd-intro h1 {
    font-size: clamp(2.45rem, 8vw, 3.6rem);
  }

  .nd-intro__lead {
    max-width: 720px;
    font-size: .92rem;
    line-height: 1.4;
  }

  .nd-booking__workspace {
    display: block;
    max-width: 720px;
    margin-inline: auto;
  }

  .nd-reassurance .nd-shell > div {
    grid-template-columns: 1fr;
  }

  .nd-booking[data-mobile-step="schedule"] .nd-form,
  .nd-booking[data-mobile-step="form"] .nd-scheduler {
    display: none;
  }

  .nd-form__back {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 0;
    align-items: center;
    gap: 7px;
    border: 0;
    color: var(--nd-accent);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
  }

  .nd-slot {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .nd-shell {
    width: min(100% - 28px, 1180px);
  }

  .nd-booking {
    padding-top: 16px;
  }

  .nd-intro {
    margin-bottom: 12px;
  }

  .nd-intro h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .nd-intro__lead {
    font-size: .86rem;
  }

  .nd-form__heading p:last-child {
    display: none;
  }

  .nd-form__heading {
    margin-bottom: 8px;
  }

  .nd-scheduler,
  .nd-form {
    padding: 16px;
    border-radius: 19px;
  }

  .nd-scheduler__top {
    margin-bottom: 12px;
  }

  .nd-scheduler__heading h2,
  .nd-form__heading h2 {
    font-size: 1.5rem;
  }

  .nd-date-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-date-tab {
    min-height: 52px;
  }

  .nd-day__slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nd-form input:not([type="checkbox"]),
  .nd-form textarea {
    font-size: 1rem;
  }

  .nd-form__context {
    margin-top: 8px;
  }

  .nd-consent {
    margin-block: 8px;
  }

  .nd-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nd-submit {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .nd-form__grid,
  .nd-reassurance .nd-shell > div {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 800px) and (min-width: 901px) {
  .nd-booking {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .nd-intro {
    margin-bottom: 14px;
  }

  .nd-intro h1 {
    font-size: clamp(2.5rem, 3.7vw, 3.45rem);
  }

  .nd-scheduler,
  .nd-form {
    padding: 18px 20px;
  }

  .nd-form__heading {
    margin-bottom: 8px;
  }

  .nd-selection {
    min-height: 30px;
    margin-bottom: 6px;
    padding: 4px 9px;
  }

  .nd-form__grid {
    gap: 7px 12px;
  }

  .nd-form__context {
    margin-top: 7px;
  }

  .nd-form textarea {
    height: 58px;
    min-height: 58px;
  }

  .nd-consent {
    margin-block: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neoo-demo-page *,
  .neoo-demo-page *::before,
  .neoo-demo-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
