:root:not(.light) body:before {
  opacity: 0 !important;
}

html {
  background-color: #0a0a14 !important;
}
html body {
  background-color: #0a0a14 !important;
}

html.light {
  background-color: #f5f5f7 !important;
}
html.light body {
  background-color: #f5f5f7 !important;
}

nav.fixed.top-0 {
  padding-top: calc(2rem + env(safe-area-inset-top, 0px)) !important;
}

.caseline-direct-contact-card {
  isolation: isolate;
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    border-color .28s ease,
    box-shadow .28s ease,
    background-color .28s ease;
}

.caseline-direct-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 97, 255, .16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 44%);
}

.caseline-direct-contact-person {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .025);
}

.caseline-direct-contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.caseline-direct-contact-link {
  color: rgba(246, 246, 255, .78);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.caseline-direct-contact-link {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: "Sora", sans-serif;
  font-size: clamp(.92rem, 2.6vw, 1.12rem);
  line-height: 1.45;
}

.caseline-direct-contact-link:hover,
.caseline-direct-contact-link:focus-visible {
  color: #fff;
  outline: none;
}

.caseline-about-contact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .35rem;
  margin: -.25rem 0 1rem;
}

.caseline-about-contact-link {
  display: block;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: "Fira Code", monospace;
  font-size: .76rem;
  line-height: 1.55;
  letter-spacing: .035em;
  color: rgba(246, 246, 255, .86);
}

.caseline-direct-contact-card:hover,
.caseline-direct-contact-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(123, 97, 255, .36);
  background-color: rgba(255, 255, 255, .015);
  box-shadow: 0 26px 58px rgba(0, 0, 0, .24), 0 0 42px rgba(123, 97, 255, .12);
}

:root.light .caseline-direct-contact-card:hover,
:root.light .caseline-direct-contact-card:focus-within {
  border-color: rgba(96, 69, 226, .16);
  background-color: rgba(255, 255, 255, .55);
  box-shadow: 0 22px 48px rgba(40, 40, 60, .1), 0 0 34px rgba(96, 69, 226, .11);
}

:root.light .caseline-direct-contact-person {
  border-color: rgba(10, 10, 20, .08);
  background: rgba(255, 255, 255, .58);
}

:root.light .caseline-direct-contact-link {
  color: rgba(28, 28, 42, .74);
}

:root.light .caseline-direct-contact-link:hover,
:root.light .caseline-direct-contact-link:focus-visible {
  color: #0a0a14;
}

:root.light .caseline-about-contact-link {
  color: rgba(10, 10, 20, .72);
}

@media (max-width: 640px) {
  .caseline-direct-contact-card {
    border-radius: 1.5rem !important;
    padding: 1.25rem !important;
  }

  .caseline-direct-contact-person {
    padding: 1.15rem;
  }

  .caseline-about-contact-link {
    font-size: .72rem;
    letter-spacing: .015em;
  }
}

@media (min-width: 768px) {
  .caseline-direct-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

body.caseline-booking-page::after {
  content: none !important;
  display: none !important;
}

.caseline-calendly-shell {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: clamp(600px, 72vh, 660px) !important;
  min-height: 600px !important;
  max-height: 660px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 248, 252, .98)) !important;
  border-radius: 2rem !important;
}

.caseline-calendly-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(90deg, transparent, rgba(123, 97, 255, .07), transparent),
    radial-gradient(circle at 50% 20%, rgba(123, 97, 255, .08), transparent 32%);
  transition: opacity .25s ease;
}

.caseline-calendly-shell-ready::before {
  opacity: 0;
}

.caseline-calendly-widget,
.caseline-calendly-widget iframe,
.caseline-calendly-frame,
.calendly-inline-widget,
.calendly-inline-widget iframe {
  pointer-events: auto !important;
}

.caseline-calendly-widget,
.calendly-inline-widget {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  min-width: 320px !important;
  min-height: 100% !important;
  max-height: 100% !important;
  height: 100% !important;
  background: #fff !important;
  overflow: hidden !important;
}

.caseline-calendly-widget iframe,
.caseline-calendly-frame,
.calendly-inline-widget iframe {
  width: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: #fff !important;
  color-scheme: light !important;
}

@media (max-width: 640px) {
  .caseline-calendly-shell {
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
    border-radius: 1.5rem !important;
  }
}
