/* Website + booking page preview for the homepage story (copied from the Branchen story styles, unscoped; snippets/kx-growth-web.liquid). */
.ks-phone {
  position: relative;
  border-radius: 2.6rem;
  padding: 0.55rem;
  background: #0B1428;
  box-shadow: 0 60px 120px -40px rgb(7 18 43 / 0.55), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
.ks-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 2.1rem;
  background: #fff;
  color: var(--ks-ink);
}
.ks-phone-notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 32%;
  height: 1.4rem;
  translate: -50% 0;
  border-radius: 9999px;
  background: #0B1428;
  z-index: 3;
}
.ks-web-browser {
  width: 100%;
  padding: 0;
  cursor: pointer;
  text-align: start;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgb(10 22 48 / .08);
  box-shadow: 0 60px 120px -50px rgb(7 18 43 / .55);
  text-decoration: none;
}
.ks-web-viewport {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  container-type: inline-size;
}
.ks-web-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  pointer-events: none;
  transform-origin: 0 0;
  background: #141211;
}
.ks-web-cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(7 18 43 / 0);
  transition: background .4s;
}
.ks-web-cta > span {
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: #0A1630;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 20px 40px -16px rgb(7 18 43 / .5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.group:hover .ks-web-cta, .group:focus-visible .ks-web-cta {
  background: rgb(7 18 43 / .28);
}
.group:hover .ks-web-cta > span, .group:focus-visible .ks-web-cta > span {
  opacity: 1;
  transform: none;
}
.ks-web-phone {
  position: absolute;
  z-index: 2;
  right: -1.5rem;
  bottom: -2.5rem;
  display: block;
  width: 11.5rem;
}
@media (min-width: 768px) {
  .ks-web-phone {
    width: 14rem;
    right: -3rem;
    bottom: -3rem;
  }
}
@media (max-width: 639px) {
  .ks-web-phone {
    right: .25rem;
    bottom: -2rem;
    width: 8.5rem;
  }
}
.ks-web-phone-screen {
  position: relative;
  display: block;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  container-type: inline-size;
}
.ks-web-phone-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  border: 0;
  pointer-events: none;
  transform-origin: 0 0;
  background: #141211;
}
.ks-web-phone .ks-web-cta > span {
  font-size: 11px;
  padding: .55rem .8rem;
  text-align: center;
}
.ks-web-phone {
  /* Keep device bezel/frame (do not zero out .ks-phone padding). */
  padding: 0.45rem;
  cursor: pointer;
  text-align: start;
  background: #0B1428;
  border-radius: 2.4rem;
  box-shadow: 0 50px 100px -40px rgb(7 18 43 / 0.55), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
.ks-web-browser:focus-visible, .ks-web-phone:focus-visible {
  outline: 3px solid #1E4BD2;
  outline-offset: 4px;
}
.ks-web-tap {
  position: absolute;
  z-index: 3;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgb(7 18 43 / .82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.ks-web-tap::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #5E8BFF;
  box-shadow: 0 0 0 0 rgb(94 139 255 / .6);
  animation: ks-demo-pulse 1.8s infinite;
}
@keyframes ks-demo-pulse {
  70% {
    box-shadow: 0 0 0 8px rgb(94 139 255 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(94 139 255 / 0);
  }
}
.ks-demo {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #07122B;
  color: #F4F7FC;
  overflow: hidden;
}
.ks-demo::backdrop {
  background: rgb(7 18 43 / .7);
}
.ks-demo[open] {
  display: grid;
  grid-template-rows: auto 1fr;
  animation: ks-demo-in .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes ks-demo-in {
  from {
    opacity: 0;
    transform: scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ks-demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  padding: .7rem max(1rem, env(safe-area-inset-left));
  border-bottom: 1px solid rgb(255 255 255 / .08);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ks-demo-brand {
  margin-inline-end: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.ks-demo-brand span {
  font-weight: 500;
  opacity: .6;
}
.ks-demo-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / .08);
}
.ks-demo-seg button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 36px;
  padding: 0 .95rem;
  border-radius: 999px;
  color: rgb(244 247 252 / .75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.ks-demo-seg button:hover {
  color: #fff;
}
.ks-demo-seg button[aria-pressed="true"] {
  background: #fff;
  color: #07122B;
}
.ks-demo-seg svg {
  width: 16px;
  height: 16px;
}
.ks-demo-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / .1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.ks-demo-close:hover {
  background: rgb(255 255 255 / .2);
}
.ks-demo-bar button:focus-visible {
  outline: 2px solid #5E8BFF;
  outline-offset: 2px;
}
.ks-demo-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 80% at 50% 0%, #132B6B 0%, #07122B 60%);
}
.ks-demo-frame {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  overflow: hidden;
  background: #141211;
}
.ks-demo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #141211;
}
.ks-demo[data-device="desktop"] .ks-demo-frame {
  border-radius: 0;
}
.ks-demo[data-device="mobile"] .ks-demo-frame {
  border-radius: 46px;
  box-shadow: 0 0 0 10px #0B0B0D, 0 0 0 11px rgb(255 255 255 / .14), 0 60px 120px -30px rgb(0 0 0 / .7);
}
.ks-demo-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgb(244 247 252 / .6);
  font-size: 13px;
  pointer-events: none;
  transition: opacity .3s;
}
.ks-demo-loading[hidden] {
  display: grid;
  opacity: 0;
}
@media (max-width: 639px) {
  .ks-demo-brand {
    flex-basis: calc(100% - 52px);
  }
  .ks-demo-seg button {
    padding: 0 .75rem;
  }
}
.ks-demo-frame {
  transition: opacity .3s ease;
}
.ks-web-viewport, .ks-web-phone-screen {
  background: #141211;
}
.ks-web-viewport iframe, .ks-web-phone-screen iframe {
  opacity: 0;
  transition: opacity .6s ease;
}
[data-ks-ready] > iframe {
  opacity: 1;
}
.ks-web-viewport:not([data-ks-ready])::before, .ks-web-phone-screen:not([data-ks-ready])::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .06) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: ks-demo-shimmer 1.6s linear infinite;
}
@keyframes ks-demo-shimmer {
  to {
    background-position: -200% 0;
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
html.kxg-demo-lock { overflow: hidden; }
