body.lead-funnel-draft {
  min-width: 320px;
  background: #050605;
  color: #f3f4ef;
}

body.lead-funnel-draft::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.xlf-app-shell,
.xlf-app-shell * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.xlf-app-shell {
  --xlf-bg: #050605;
  --xlf-panel: #0d0f0e;
  --xlf-panel-2: #121513;
  --xlf-text: #f3f4ef;
  --xlf-muted: #818982;
  --xlf-line: rgba(239, 243, 237, 0.12);
  --xlf-line-strong: rgba(239, 243, 237, 0.24);
  --xlf-coral: #ff8064;
  --xlf-mint: #86eacc;
  --xlf-silver: #c6cbc5;
  min-height: 100svh;
  overflow: clip;
  background: var(--xlf-bg);
  color: var(--xlf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.xlf-app-shell button,
.xlf-app-shell input,
.xlf-app-shell textarea,
.xlf-app-shell select {
  font: inherit;
}

.xlf-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(239, 243, 237, 0.08);
  background: rgba(5, 6, 5, 0.88);
  backdrop-filter: blur(18px);
}

.xlf-brand,
.xlf-nav nav,
.xlf-nav-actions,
.xlf-live,
.xlf-kicker,
.xlf-meta-row,
.xlf-rendering-head,
.xlf-rendering-foot,
.xlf-reel-label,
.xlf-work-caption,
.xlf-section-head {
  display: flex;
  align-items: center;
}

.xlf-brand {
  justify-self: start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xlf-text);
}

.xlf-brand > span,
.xlf-user {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid #454a46;
  border-radius: 50%;
  font-size: 11px;
}

.xlf-brand strong {
  font-size: 14px;
  font-weight: 560;
}

.xlf-nav nav {
  justify-content: center;
  gap: 26px;
}

.xlf-nav nav button {
  position: relative;
  min-height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777e78;
  font-size: 12px;
}

.xlf-nav nav button:hover,
.xlf-nav nav button.is-active {
  color: var(--xlf-text);
}

.xlf-nav nav button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--xlf-coral);
  box-shadow: 0 0 12px rgba(255, 128, 100, 0.8);
}

.xlf-nav-actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.xlf-live {
  gap: 7px;
  color: #8f9790;
  font-size: 11px;
  white-space: nowrap;
}

.xlf-live i,
.xlf-ready i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--xlf-mint);
  box-shadow: 0 0 11px rgba(134, 234, 204, 0.8);
}

.xlf-balance {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--xlf-line);
  border-radius: 6px;
  background: transparent;
  color: #b8beb8;
  font-size: 11px;
}

.xlf-login-button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #dfe1dc;
  border-radius: 6px;
  background: #eceee9;
  color: #080908;
  font-size: 11px;
  font-weight: 600;
}

.xlf-login-button:hover {
  background: #ffffff;
}

.xlf-icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #858c86;
}

.xlf-icon-button svg {
  width: 16px;
  height: 16px;
}

.xlf-user {
  color: #ced2cd;
}

.xlf-page {
  width: 100%;
}

.xlf-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(460px, 1fr) auto;
  min-height: calc(100svh - 68px);
  overflow: hidden;
  border-bottom: 1px solid rgba(239, 243, 237, 0.08);
  background: #050605;
}

.xlf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 42%, rgba(255, 255, 255, 0.045) 49%, transparent 57%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 26%);
  animation: xlf-stage-shift 12s ease-in-out infinite alternate;
}

.xlf-hero-light {
  position: absolute;
  top: -65%;
  left: 49%;
  z-index: -1;
  width: 20%;
  height: 160%;
  opacity: 0.42;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), rgba(255, 112, 83, 0.14), transparent);
  filter: blur(24px);
  transform: rotate(18deg) translateX(-170%);
  animation: xlf-light-sweep 9s ease-in-out infinite;
}

.xlf-horizon {
  position: absolute;
  right: 7%;
  bottom: 22%;
  left: 7%;
  z-index: -1;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 38%, rgba(255, 126, 97, 0.42) 61%, transparent);
  box-shadow: 0 0 32px rgba(255, 126, 97, 0.2);
}

.xlf-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 62px 260px 42px;
  text-align: center;
}

.xlf-kicker {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: #a3aaa4;
  font-size: 10px;
  text-transform: uppercase;
}

.xlf-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--xlf-coral);
  box-shadow: 0 0 12px rgba(255, 128, 100, 0.78);
}

.xlf-hero h1 {
  max-width: 760px;
  margin: 22px 0 16px;
  color: #f5f5f1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 94px;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.xlf-hero h1 em {
  color: var(--xlf-coral);
  font-style: italic;
}

.xlf-hero-copy > p {
  margin: 0 0 30px;
  color: #8e958f;
  font-size: 13px;
}

.xlf-command {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 40px;
  align-items: center;
  width: min(590px, 100%);
  min-height: 60px;
  padding: 5px 6px 5px 12px;
  border: 1px solid #484d49;
  border-radius: 7px;
  background: rgba(15, 17, 16, 0.82);
  color: #e8eae6;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  text-align: left;
  backdrop-filter: blur(14px);
}

.xlf-command:hover {
  border-color: #7c827d;
  background: rgba(20, 22, 21, 0.9);
  transform: translateY(-1px);
}

.xlf-command strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 450;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xlf-command-icon,
.xlf-command-go {
  display: grid;
  place-items: center;
}

.xlf-command-icon {
  color: #8e958f;
}

.xlf-command-go {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: #eeefea;
  color: #080908;
  transform: rotate(135deg);
}

.xlf-command svg {
  width: 16px;
  height: 16px;
}

.xlf-meta-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 15px;
  color: #747b75;
  font-size: 10px;
}

.xlf-meta-row > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xlf-meta-row > span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3d413e;
}

.xlf-meta-row .xlf-ready {
  color: var(--xlf-mint);
}

.xlf-rendering {
  position: absolute;
  top: 96px;
  right: 28px;
  z-index: 5;
  width: 224px;
  padding: 14px;
  border: 1px solid #292d2a;
  border-radius: 7px;
  background: rgba(9, 11, 10, 0.74);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.xlf-rendering-head,
.xlf-rendering-foot {
  justify-content: space-between;
  gap: 10px;
  color: #7e867f;
  font-size: 10px;
}

.xlf-rendering-head b,
.xlf-rendering-foot b {
  color: var(--xlf-coral);
  font-weight: 500;
}

.xlf-rendering.is-done .xlf-rendering-head b,
.xlf-rendering.is-done .xlf-rendering-foot b {
  color: var(--xlf-mint);
}

.xlf-rendering.is-failed .xlf-rendering-head b,
.xlf-rendering.is-failed .xlf-rendering-foot b {
  color: #ff7070;
}

.xlf-rendering > strong {
  display: block;
  margin-top: 17px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 450;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xlf-rendering > small {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #737a74;
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xlf-progress {
  height: 2px;
  margin-top: 20px;
  overflow: hidden;
  background: #2c302d;
}

.xlf-progress span {
  display: block;
  min-width: 3px;
  height: 100%;
  background: var(--xlf-coral);
  box-shadow: 0 0 10px rgba(255, 128, 100, 0.72);
  transition: width 0.4s ease;
}

.xlf-rendering.is-done .xlf-progress span {
  background: var(--xlf-mint);
  box-shadow: 0 0 10px rgba(134, 234, 204, 0.72);
}

.xlf-reel {
  position: relative;
  z-index: 4;
  margin: 0 28px 24px;
}

.xlf-reel-label {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: #6d746e;
  font-size: 9px;
}

.xlf-reel-label button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa19b;
  font-size: 10px;
}

.xlf-reel-label svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

.xlf-reel-track {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.xlf-work {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #282c29;
  border-radius: 6px;
  background: #0b0d0c;
  color: #ecede9;
  text-align: left;
}

button.xlf-work:hover {
  border-color: #676d68;
  transform: translateY(-3px);
}

.xlf-work-media {
  position: relative;
  display: block;
  aspect-ratio: 2.25 / 1;
  overflow: hidden;
  background: #111411;
}

.xlf-work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 30%, rgba(0, 0, 0, 0.2));
}

.xlf-work-media img,
.xlf-work-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xlf-work.is-placeholder.scene-a .xlf-work-media {
  background: linear-gradient(145deg, #26483b, #a95f4e 52%, #191112);
}

.xlf-work.is-placeholder.scene-b .xlf-work-media {
  background: linear-gradient(145deg, #101722, #526f7c 48%, #121418);
}

.xlf-work.is-placeholder.scene-c .xlf-work-media {
  background: linear-gradient(145deg, #4c4336, #b9a27c 46%, #211d18);
}

.xlf-work.is-placeholder.scene-d .xlf-work-media {
  background: linear-gradient(145deg, #201b22, #92473e 52%, #111011);
}

.xlf-work.is-placeholder .xlf-work-media i {
  position: absolute;
  top: 18%;
  left: 38%;
  width: 24%;
  height: 62%;
  border: 1px solid rgba(255, 236, 202, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(17deg);
  box-shadow: 0 0 24px rgba(255, 215, 161, 0.16);
}

.xlf-work.is-placeholder .xlf-work-media b {
  position: absolute;
  top: 28%;
  left: 46%;
  width: 12%;
  height: 44%;
  background: rgba(255, 226, 187, 0.3);
  filter: blur(8px);
  transform: rotate(22deg);
}

.xlf-work-caption {
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
}

.xlf-work-caption strong,
.xlf-work-caption small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xlf-work-caption strong {
  font-size: 10px;
  font-weight: 450;
}

.xlf-work-caption small {
  color: #737a74;
  font-size: 8px;
}

.xlf-metal {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.72;
  background: linear-gradient(135deg, #090a09 0%, #b7bcb7 18%, #171918 35%, #e0e2dd 47%, #202322 63%, #8f9690 76%, #070807 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45), inset -10px -10px 20px rgba(0, 0, 0, 0.36);
}

.xlf-metal-one {
  right: 27%;
  bottom: 20%;
  width: 32px;
  height: 86px;
  border-radius: 42% 58% 48% 42%;
  transform: rotate(27deg);
  animation: xlf-float-one 8s ease-in-out infinite;
}

.xlf-metal-two {
  right: 21%;
  bottom: 19%;
  width: 48px;
  height: 62px;
  border-radius: 38% 52% 42% 46%;
  transform: rotate(-18deg);
  animation: xlf-float-two 10s ease-in-out infinite;
}

.xlf-metal-three {
  right: 15%;
  bottom: 22%;
  width: 18px;
  height: 74px;
  border-radius: 50%;
  transform: rotate(42deg);
  animation: xlf-float-three 9s ease-in-out infinite;
}

.xlf-studio {
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 74px 42px 80px;
  scroll-margin-top: 68px;
}

.xlf-access {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 74px 42px 86px;
  scroll-margin-top: 68px;
}

.xlf-access > .auth-layout {
  min-height: auto;
  grid-template-columns: minmax(320px, 460px);
  justify-content: center;
  padding: 26px 0 0;
  overflow: visible;
}

.xlf-access > .auth-layout::before,
.xlf-access .auth-copy {
  display: none;
}

.xlf-access .auth-panel {
  border-radius: 7px;
  border-color: var(--xlf-line-strong);
  background: rgba(13, 15, 14, 0.95);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.xlf-access .auth-panel .primary-button {
  background: var(--xlf-coral);
  color: #120805;
}

.xlf-access .auth-tabs button.active {
  color: var(--xlf-coral);
}

.xlf-section-head {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--xlf-line);
}

.xlf-section-head > div {
  min-width: 0;
}

.xlf-section-head span {
  color: var(--xlf-coral);
  font-size: 9px;
  font-weight: 700;
}

.xlf-section-head h2 {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.xlf-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--xlf-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

.xlf-studio > .center-hero {
  display: none;
}

.xlf-studio .workspace-panel,
.xlf-studio .wide-panel,
.xlf-studio .token-panel {
  border-color: var(--xlf-line);
  border-radius: 7px;
  background: rgba(13, 15, 14, 0.94);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.xlf-studio .mode-tabs {
  background: #080a09;
}

.xlf-studio .mode-tabs button.active,
.xlf-studio .primary-button {
  background: var(--xlf-coral);
  color: #120805;
}

.xlf-studio .field input:focus,
.xlf-studio .field textarea:focus,
.xlf-studio .field select:focus {
  border-color: rgba(255, 128, 100, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 128, 100, 0.12);
}

@keyframes xlf-stage-shift {
  from { transform: translateX(-1%); }
  to { transform: translateX(1%); }
}

@keyframes xlf-light-sweep {
  0%, 24% { transform: rotate(18deg) translateX(-170%); }
  74%, 100% { transform: rotate(18deg) translateX(230%); }
}

@keyframes xlf-float-one {
  0%, 100% { transform: rotate(27deg) translateY(0); }
  50% { transform: rotate(35deg) translateY(-10px); }
}

@keyframes xlf-float-two {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-14px); }
}

@keyframes xlf-float-three {
  0%, 100% { transform: rotate(42deg) translateY(0); }
  50% { transform: rotate(24deg) translateY(-9px); }
}

@media (max-width: 1050px) {
  .xlf-nav {
    grid-template-columns: minmax(150px, 1fr) auto minmax(210px, 1fr);
    padding: 0 18px;
  }

  .xlf-live {
    display: none;
  }

  .xlf-hero-copy {
    align-items: flex-start;
    padding-right: 270px;
    padding-left: 9%;
    text-align: left;
  }

  .xlf-kicker,
  .xlf-meta-row {
    justify-content: flex-start;
  }

  .xlf-hero h1 {
    font-size: 78px;
  }

  .xlf-reel-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .xlf-work-caption {
    display: grid;
  }
}

@media (max-width: 760px) {
  .xlf-nav {
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding: 0 14px;
  }

  .xlf-nav nav,
  .xlf-balance,
  .xlf-icon-button,
  .xlf-live {
    display: none;
  }

  .xlf-hero {
    grid-template-rows: auto auto;
    min-height: calc(100svh - 62px);
  }

  .xlf-hero-copy {
    align-items: center;
    min-height: 455px;
    padding: 74px 16px 122px;
    text-align: center;
  }

  .xlf-kicker,
  .xlf-meta-row {
    justify-content: center;
  }

  .xlf-hero h1 {
    font-size: 64px;
  }

  .xlf-rendering {
    top: 392px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .xlf-reel {
    margin: 70px 16px 16px;
  }

  .xlf-reel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xlf-work:nth-child(n + 3) {
    display: none;
  }

  .xlf-metal-one {
    right: 10%;
    bottom: 31%;
  }

  .xlf-metal-two {
    right: 2%;
    bottom: 29%;
  }

  .xlf-metal-three {
    display: none;
  }

  .xlf-studio {
    padding: 56px 18px 96px;
  }

  .xlf-access {
    padding: 56px 18px 76px;
  }

  .xlf-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .xlf-section-head p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .xlf-brand strong {
    font-size: 13px;
  }

  .xlf-user {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .xlf-hero-copy {
    min-height: 435px;
    padding-top: 62px;
  }

  .xlf-hero h1 {
    margin-top: 18px;
    font-size: 54px;
  }

  .xlf-hero-copy > p {
    max-width: 290px;
    font-size: 12px;
  }

  .xlf-command strong {
    font-size: 12px;
  }

  .xlf-meta-row {
    gap: 9px;
  }

  .xlf-meta-row > span:nth-child(2),
  .xlf-meta-row > span:nth-child(3) {
    display: none;
  }

  .xlf-rendering {
    top: 372px;
  }

  .xlf-reel {
    margin-top: 82px;
  }

  .xlf-work-caption small {
    display: none;
  }

  .xlf-section-head h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xlf-hero::before,
  .xlf-hero-light,
  .xlf-metal {
    animation: none;
  }

  .xlf-app-shell * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
