:root {
  --scene-a: #8b5cff;
  --scene-b: #ff3f9d;
  --scene-c: #ff784d;
  --scene-rgb-a: 139, 92, 255;
  --scene-rgb-b: 255, 63, 157;
}

html[data-route="app"] body:has(.step[data-step="1"].active),
html[data-route="app"] .app:has(.step[data-step="1"].active) {
  --scene-a: #45d8ff;
  --scene-b: #7967ff;
  --scene-c: #d14cff;
  --scene-rgb-a: 69, 216, 255;
  --scene-rgb-b: 121, 103, 255;
}

html[data-route="app"] body:has(.step[data-step="2"].active),
html[data-route="app"] .app:has(.step[data-step="2"].active) {
  --scene-a: #36e0c1;
  --scene-b: #42b8ff;
  --scene-c: #8468ff;
  --scene-rgb-a: 54, 224, 193;
  --scene-rgb-b: 66, 184, 255;
}

html[data-route="app"] body:has(.step[data-step="3"].active),
html[data-route="app"] .app:has(.step[data-step="3"].active) {
  --scene-a: #ffd466;
  --scene-b: #ff4f9d;
  --scene-c: #ff7652;
  --scene-rgb-a: 255, 212, 102;
  --scene-rgb-b: 255, 79, 157;
}

html[data-route="app"] body:has(.step[data-step="4"].active),
html[data-route="app"] .app:has(.step[data-step="4"].active) {
  --scene-a: #5f8cff;
  --scene-b: #42d9ff;
  --scene-c: #7a6cff;
  --scene-rgb-a: 95, 140, 255;
  --scene-rgb-b: 66, 217, 255;
}

html[data-route="app"] body:has(.step[data-step="5"].active),
html[data-route="app"] .app:has(.step[data-step="5"].active) {
  --scene-a: #ff3f9d;
  --scene-b: #ff774f;
  --scene-c: #ffd05f;
  --scene-rgb-a: 255, 63, 157;
  --scene-rgb-b: 255, 119, 79;
}

html[data-route="app"] body:has(.step[data-step="final"].active),
html[data-route="app"] .app:has(.step[data-step="final"].active) {
  --scene-a: #45e2bc;
  --scene-b: #8c67ff;
  --scene-c: #ff4fa2;
  --scene-rgb-a: 69, 226, 188;
  --scene-rgb-b: 140, 103, 255;
}

html[data-route="app"] body {
  background-image:
    linear-gradient(128deg, transparent 0 27%, rgba(var(--scene-rgb-a),.07) 41%, rgba(var(--scene-rgb-b),.13) 53%, transparent 68%),
    linear-gradient(52deg, transparent 0 39%, rgba(var(--scene-rgb-b),.08) 51%, transparent 70%),
    linear-gradient(180deg, #11101f 0%, #080810 44%, #0c0a13 100%);
  transition: background-color .7s ease;
}

html[data-route="app"] .topbar {
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(var(--scene-rgb-a),.045), rgba(var(--scene-rgb-b),.025)),
    rgba(11,11,20,.78);
}

html[data-route="app"] .home-hero {
  min-height: 492px;
  padding: 24px 24px 22px;
  background:
    linear-gradient(180deg, rgba(8,8,16,.10) 0%, rgba(8,8,16,.16) 22%, rgba(15,12,25,.90) 47%, rgba(17,14,28,.97) 100%),
    linear-gradient(125deg, rgba(139,92,255,.16), transparent 56%),
    url("./assets/live-stars-signature-hero.png") 50% 0 / auto 56% no-repeat,
    #11111d;
}

html[data-route="app"] .home-hero::before {
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--scene-a), var(--scene-b), var(--scene-c), transparent 96%);
}

html[data-route="app"] .home-hero::after {
  background:
    linear-gradient(108deg, transparent 18%, rgba(255,255,255,.07) 47%, transparent 70%),
    linear-gradient(180deg, transparent 0 34%, rgba(8,8,16,.36) 52%, transparent 72%);
}

html[data-route="app"] .home-logo {
  width: 58px;
  height: 58px;
  margin-bottom: 158px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--scene-a), var(--scene-b) 55%, var(--scene-c));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.20),
    0 14px 38px rgba(0,0,0,.32),
    0 0 30px rgba(var(--scene-rgb-b),.32);
}

html[data-route="app"] .home-logo::after {
  left: 72px;
  top: 17px;
  border-color: rgba(255,255,255,.20);
  background: rgba(9,9,17,.62);
  color: #fff;
  box-shadow: 0 0 18px rgba(var(--scene-rgb-a),.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

html[data-route="app"] .home h1 {
  max-width: 360px;
  font-size: 32px;
}

html[data-route="app"] .home h1 span,
html[data-route="app"] .eyebrow {
  background: linear-gradient(100deg, var(--scene-a), var(--scene-b), var(--scene-c));
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-route="app"] .home-cta,
html[data-route="app"] .btn.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, var(--scene-a), var(--scene-b) 56%, var(--scene-c));
  background-size: 180% 180%;
  box-shadow:
    0 13px 34px rgba(var(--scene-rgb-b),.27),
    0 0 30px rgba(var(--scene-rgb-a),.17);
}

html[data-route="app"] .home-cta {
  position: relative;
  overflow: hidden;
}

html[data-route="app"] .home-cta::before,
html[data-route="app"] .btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34%;
  width: 26%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  animation: signatureButtonFlash 4.8s ease-in-out infinite;
}

html[data-route="app"] .home-point {
  overflow: hidden;
}

html[data-route="app"] .home-point::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(255,255,255,.016),
    0 0 0 25px rgba(255,255,255,.009);
}

html[data-route="app"] .home-point:nth-child(1) .ico {
  border-color: rgba(255,212,102,.20);
  background: rgba(255,212,102,.07);
}

html[data-route="app"] .home-point:nth-child(1) .ico svg {
  stroke: #ffd466;
  filter: drop-shadow(0 0 7px rgba(255,212,102,.42));
}

html[data-route="app"] .home-point:nth-child(2) .ico {
  border-color: rgba(69,226,188,.18);
  background: rgba(69,226,188,.06);
}

html[data-route="app"] .home-point:nth-child(2) .ico svg {
  stroke: #45e2bc;
  filter: drop-shadow(0 0 7px rgba(69,226,188,.38));
}

html[data-route="app"] .home-point:nth-child(3) .ico {
  border-color: rgba(95,140,255,.20);
  background: rgba(95,140,255,.07);
}

html[data-route="app"] .home-point:nth-child(3) .ico svg {
  stroke: #6e9bff;
  filter: drop-shadow(0 0 7px rgba(95,140,255,.42));
}

html[data-route="app"] .progress-fill,
html[data-route="app"] .dots i.done {
  background: linear-gradient(90deg, var(--scene-a), var(--scene-b), var(--scene-c));
  box-shadow:
    0 0 10px rgba(var(--scene-rgb-a),.62),
    0 0 18px rgba(var(--scene-rgb-b),.36);
}

html[data-route="app"] .icon-badge {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, var(--scene-a), var(--scene-b) 58%, var(--scene-c));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 0 27px rgba(var(--scene-rgb-a),.30),
    0 0 44px rgba(var(--scene-rgb-b),.16);
}

html[data-route="app"] .step[data-step="1"] > .icon-badge::after,
html[data-route="app"] .step[data-step="2"] > .icon-badge::after,
html[data-route="app"] .step[data-step="3"] > .icon-badge::after,
html[data-route="app"] .step[data-step="4"] > .icon-badge::after,
html[data-route="app"] .step[data-step="5"] > .icon-badge::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #0c0c16;
  border-radius: 50%;
  background: #f7f5fb;
  color: #0a0910;
  font: 800 9px/1 Inter, sans-serif;
  box-shadow: 0 7px 16px rgba(0,0,0,.30);
}

html[data-route="app"] .step[data-step="1"] > .icon-badge::after { content: "01"; }
html[data-route="app"] .step[data-step="2"] > .icon-badge::after { content: "02"; }
html[data-route="app"] .step[data-step="3"] > .icon-badge::after { content: "03"; }
html[data-route="app"] .step[data-step="4"] > .icon-badge::after { content: "04"; }
html[data-route="app"] .step[data-step="5"] > .icon-badge::after { content: "05"; }

html[data-route="app"] .card {
  border-color: rgba(var(--scene-rgb-a),.13);
  background:
    linear-gradient(135deg, rgba(var(--scene-rgb-a),.035), rgba(var(--scene-rgb-b),.018)),
    rgba(17,17,29,.82);
}

html[data-route="app"] .card::before {
  background: linear-gradient(90deg, transparent, var(--scene-a), var(--scene-b), transparent);
  box-shadow: 0 0 14px rgba(var(--scene-rgb-b),.30);
}

html[data-route="app"] .bullet .dot-ico {
  border-color: rgba(var(--scene-rgb-a),.20);
  background: rgba(var(--scene-rgb-a),.07);
}

html[data-route="app"] .bullet .dot-ico svg {
  stroke: var(--scene-a);
  filter: drop-shadow(0 0 5px rgba(var(--scene-rgb-a),.46));
}

html[data-route="app"] .note,
html[data-route="app"] .inline-warning {
  border-color: rgba(var(--scene-rgb-a),.25);
  background: linear-gradient(120deg, rgba(var(--scene-rgb-a),.105), rgba(var(--scene-rgb-b),.035));
}

html[data-route="app"] .note svg,
html[data-route="app"] .inline-warning svg {
  stroke: var(--scene-a);
  filter: drop-shadow(0 0 6px rgba(var(--scene-rgb-a),.42));
}

html[data-route="app"] .nav {
  border-color: rgba(var(--scene-rgb-a),.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 18px 48px rgba(0,0,0,.45),
    0 0 34px rgba(var(--scene-rgb-a),.12);
}

html[data-route="app"] .final {
  min-height: 460px;
  padding-top: 190px;
  background:
    linear-gradient(180deg, rgba(8,8,16,.06) 0%, rgba(13,11,22,.75) 37%, rgba(17,17,29,.98) 63%),
    url("./assets/live-stars-signature-hero.png") 50% 0 / auto 59% no-repeat,
    #11111d;
}

html[data-route="app"] .final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(69,226,188,.08), transparent 45%, rgba(140,103,255,.08));
}

html[data-route="app"] .final > * {
  position: relative;
  z-index: 1;
}

html[data-route="app"] .final .icon-badge {
  position: absolute;
  top: 22px;
  left: 22px;
}

@keyframes signatureButtonFlash {
  0%, 62% { left: -34%; opacity: 0; }
  69% { opacity: 1; }
  84%, 100% { left: 112%; opacity: 0; }
}

@media (max-width: 380px) {
  html[data-route="app"] .home-hero {
    min-height: 474px;
    padding-left: 19px;
    padding-right: 19px;
    background-size: auto 50%;
  }

  html[data-route="app"] .home-logo {
    margin-bottom: 148px;
  }

  html[data-route="app"] .home h1 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-route="app"] .home-cta::before,
  html[data-route="app"] .btn.primary::before {
    animation: none !important;
    display: none;
  }
}
