.fl-glass {
  position: absolute; inset: 0; z-index: -1;
  display: block; width: 100%; height: 100%;
  border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .9s ease;
}
.fl-glass.is-live { opacity: 1; }

.fl-hero { padding-top: 0; }
.fl-panel {
  position: relative; z-index: 3; isolation: isolate;
  margin: 0 12px;
  min-height: 800px;
  border-radius: 28px;
  background:
    radial-gradient(60% 55% at 50% 88%, #2347ff 0%, rgb(35 71 255 / 0) 70%),
    #050a3a;
}
.fl-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background-image: var(--grain); background-size: 200px 200px;
  opacity: .22; mix-blend-mode: overlay;
}
/* the home page's hero: black, a tight blue light at the foot (glass.js
   look space; the gradient stands in until the glass draws), a starfield
   over its dark top */
.fl-panel--space {
  background:
    radial-gradient(56% 50% at 50% 96%, #2347ff 0%, rgb(35 71 255 / 0) 70%),
    #010104;
}
.fl-panel--space .fl-hero__composer .composer { background: rgb(255 255 255 / .9); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -24px rgb(0 0 0 / .8); }
.fl-panel--space .fl-hero__composer .composer:focus-within {
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgb(255 255 255 / .25), 0 30px 60px -24px rgb(0 0 0 / .8);
}
.fl-sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0 42%, transparent 82%);
  mask-image: linear-gradient(#000 0 42%, transparent 82%);
}
.fl-sky i { position: absolute; border-radius: 50%; background: #fff; }
.fl-sky__spark {
  position: absolute; left: var(--x); top: var(--y); width: var(--z); height: var(--z);
  fill: #fff; opacity: .4; filter: drop-shadow(0 0 2px #fff);
}
.fl-sky__meteor {
  position: absolute; left: var(--x); top: var(--y);
  width: 150px; height: 1px; opacity: 0;
  background: linear-gradient(90deg, #fff, rgb(255 255 255 / .35) 30%, transparent);
  transform-origin: 0 50%; transform: rotate(-24deg);
}
.fl-sky__meteor::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 3px; height: 3px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .fl-sky__spark { animation: fl-twinkle 3.4s ease-in-out var(--d) infinite; }
  .fl-sky__meteor { animation: fl-meteor var(--t) linear var(--d) infinite; }
}
@keyframes fl-twinkle { 50% { opacity: .9; scale: 1.2; rotate: 45deg; } }
@keyframes fl-meteor {
  0% { opacity: 0; transform: rotate(-24deg) translateX(0); }
  1.5% { opacity: 1; }
  7% { opacity: 0; transform: rotate(-24deg) translateX(-360px); }
  100% { opacity: 0; transform: rotate(-24deg) translateX(-360px); }
}

.fl-home .nav { transition: border-color .2s ease; }
.fl-home .nav:not(.is-stuck) { border-bottom-color: transparent; }
.fl-hero__head {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; padding: 104px 20px 120px;
  text-align: center;
}
.fl-ratings {
  display: inline-flex; gap: 22px;
  padding: 9px 16px; border-radius: 999px;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; color: rgb(255 255 255 / .8);
}
.fl-ratings img { width: 18px; height: 18px; }
.fl-hero__title {
  margin: 28px 0 0;
  font: 300 78px/1.04 var(--font-display); letter-spacing: -.032em;
  color: #fff; text-wrap: balance;
}
.fl-hero__sub {
  margin: 24px auto 0; max-width: 680px;
  font: 400 17px/28px var(--font-ui); color: rgb(255 255 255 / .72);
  text-wrap: pretty;
}
.fl-hero__composer { margin: 44px auto 0; max-width: 700px; text-align: left; }
.fl-hero__composer .shell { padding: 0; }
.fl-hero__composer .beam, .fl-hero__composer .glow { display: none; }
.fl-hero__composer .composer {
  background: rgb(255 255 255 / .84);
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -24px rgb(2 4 30 / .7);
}
.fl-hero__composer .composer:focus-within {
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgb(255 255 255 / .25), 0 30px 60px -24px rgb(2 4 30 / .7);
}
.fl-hero__composer .stack .logo, .fl-hero__composer .stack .more { box-shadow: 0 0 0 2px #f4f5fa; }

.fl-hero__perks {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0;
  margin: 20px 0 0; padding: 0; list-style: none;
  font: 500 15px/1 var(--font-ui); letter-spacing: -.006em; color: rgb(255 255 255 / .9);
}
.fl-hero__perks li { display: inline-flex; align-items: center; }
.fl-hero__perks li + li::before {
  content: ""; width: 5px; height: 5px; margin: 0 14px;
  background: rgb(255 255 255 / .45); transform: rotate(45deg);
}

.hero.is-enter .fl-hero__head > * { animation: heroIn .8s cubic-bezier(.22, .7, .16, 1) backwards; }
.hero.is-enter .fl-hero__head > :nth-child(1) { animation-delay: .04s; }
.hero.is-enter .fl-hero__head > :nth-child(2) { animation-delay: .12s; }
.hero.is-enter .fl-hero__head > :nth-child(3) { animation-delay: .22s; }
.hero.is-enter .fl-hero__head > :nth-child(4) { animation: heroRise .9s cubic-bezier(.22, .7, .16, 1) .32s backwards; }
.hero.is-enter .fl-hero__head > :nth-child(5) { animation-delay: .44s; }

.fl-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(90% 80% at 10% 105%, #2347ff 0%, transparent 70%), #050a3a;
}
.fl-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); background-size: 200px 200px;
  opacity: .2; mix-blend-mode: overlay;
}
.fl-card > :not(canvas) { position: relative; z-index: 1; }
.fl-card .stat__body { margin-top: auto; }

.fl-band { background: #050507; }
.fl-band > .fl-glass { z-index: -2; }
.fl-home .connect__band {
  --cx-out: clamp(0px,
                  calc((90vw - var(--container)) / 2),
                  calc((100vw - var(--container)) / 2 - 12px));
}

.fl-home { --fl-line: #f1f3f8; }
.fl-home .rails::before { border-color: var(--fl-line); }
.fl-home .marquee { border-color: var(--fl-line); }
.fl-home .flow__canvas { border-color: var(--fl-line); }
.fl-home .plat { border-top-color: var(--fl-line); }
.fl-home .foot { border-top-color: var(--fl-line); }

.fl-close {
  background:
    radial-gradient(50% 70% at 80% 55%, #2347ff 0%, rgb(35 71 255 / 0) 70%),
    #050a3a;
}
.fl-close .promo__art {
  --bp-guide:     rgb(255 255 255 / .4);
  --bp-fill:      rgb(255 255 255 / .38);
  --bp-fill-fade: rgb(255 255 255 / .16);
  --bp-edge:      #fff;
  --bp-edge-fade: rgb(255 255 255 / .6);
}

.fl-mcp {
  position: fixed; right: 20px; bottom: 20px; z-index: 25;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px 0 7px; border-radius: 999px;
  background: rgb(6 10 44 / .9); border: 1px solid rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 14px 34px -14px rgb(2 4 30 / .6);
  font: 500 13.5px/1 var(--font-ui); letter-spacing: -.006em; color: #fff;
  transition: background-color .15s ease;
  animation: flMcpIn .6s cubic-bezier(.22, .7, .16, 1) 1.4s backwards;
}
.fl-mcp:hover { background: rgb(14 22 80 / .94); }
.fl-mcp__icons { display: inline-flex; }
.fl-mcp__icons span {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px rgb(6 10 44);
}
.fl-mcp__icons span + span { margin-left: -6px; background: #0d0d0d; }
.fl-mcp__icons img { width: 18px; height: 18px; display: block; object-fit: contain; }
.fl-mcp__go { width: 14px; height: 14px; margin-left: -2px; color: rgb(255 255 255 / .7); transition: transform .2s ease; }
.fl-mcp:hover .fl-mcp__go { transform: translateX(2px); }
@keyframes flMcpIn { from { opacity: 0; transform: translateY(12px); } }
/* Crisp's chat button takes the corner on landerlab.io (has-chat, components/Tracking.astro): the pill sits over it */
.has-chat .fl-mcp { bottom: 96px; }

@media (max-width: 1100px) {
  .fl-hero__title { font-size: 64px; }
}

@media (max-width: 760px) {
  .fl-panel { margin: 0 8px; min-height: 0; border-radius: 22px; }
  .fl-hero__head { padding: 64px 16px 72px; }
  .fl-ratings { gap: 14px; padding-inline: 14px; font-size: 13px; }
  .fl-hero__title { font-size: 42px; letter-spacing: -.03em; }
  .fl-hero__sub { font-size: 16px; line-height: 26px; }
  .fl-hero__br { display: none; }
  .fl-hero__composer { margin-top: 32px; }
  .fl-sky__meteor { width: 90px; }
  /* a sparser sky on phones: a third of the dots, three stars, one shooting star */
  .fl-sky i:not(:nth-of-type(3n)) { display: none; }
  .fl-sky__spark:not(:nth-of-type(1), :nth-of-type(7), :nth-of-type(9)) { display: none; }
  .fl-sky__meteor:nth-of-type(2) { display: none; }
}

@media (max-width: 520px) {
  .fl-hero__title { font-size: 34px; }
  .fl-mcp { right: 12px; bottom: 12px; height: 42px; padding-right: 15px; font-size: 13px; }
  .fl-mcp__icons span { width: 28px; height: 28px; }
  .fl-mcp__icons img { width: 16px; height: 16px; }
  .fl-mcp__more, .fl-mcp__go { display: none; }
  .has-chat .fl-mcp { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .fl-hero__head > *, .fl-mcp { animation: none !important; }
}
