:root {
  --purple-deep: #22093a;
  --purple-dark: #3b195d;
  --purple-mid: #532384;
  --cyan: #45bbd8;
  --cyan-light: #50d9fb;
  --text-soft: #a3bac6;
  --text-muted: #8a9bab;
  --white: #ffffff;
  --green-ok: #29c287;
  --font-head: "Montserrat", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--purple-deep); scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 88% -10%, rgba(83, 35, 132, .55), transparent 42%),
    radial-gradient(circle at 0% 88%, rgba(69, 187, 216, .12), transparent 36%),
    var(--purple-deep);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, #000 20%, transparent 75%);
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}

.nav img { height: 40px; width: auto; display: block; }

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(69, 187, 216, .3);
  border-radius: 999px;
  background: rgba(69, 187, 216, .1);
  color: var(--cyan-light);
  font: 700 11px/1 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(69, 187, 216, .18);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 42px 0 72px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font: 700 12px/1 var(--font-head);
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font: 800 clamp(34px, 5vw, 56px)/1.05 var(--font-head);
  letter-spacing: -.045em;
}

h1 em {
  font-style: normal;
  color: var(--cyan-light);
}

.lead {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 18px;
}

.beats { display: grid; gap: 14px; margin: 0 0 28px; }

.beat {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.beat b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(69, 187, 216, .12);
  color: var(--cyan-light);
  font: 800 13px/1 var(--font-head);
}

.beat p { color: var(--text-soft); font-size: 14.5px; }
.beat strong { color: var(--white); font-weight: 700; }

.expect {
  margin-bottom: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(69, 187, 216, .16);
  border-radius: 14px;
  background: rgba(69, 187, 216, .06);
  color: var(--text-soft);
  font-size: 14px;
}

.expect strong { color: var(--cyan-light); }

.card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  padding: 28px 26px 24px;
  background: linear-gradient(160deg, rgba(83, 35, 132, .38), rgba(34, 9, 58, .72));
  box-shadow: 0 30px 80px rgba(8, 2, 18, .35);
}

.card + .card { margin-top: 16px; }
.card.recover { background: linear-gradient(160deg, rgba(34, 9, 58, .72), rgba(83, 35, 132, .28)); }
.card h2 {
  margin-bottom: 8px;
  font: 800 22px/1.2 var(--font-head);
}

.card .hint { margin-bottom: 22px; color: var(--text-soft); font-size: 14.5px; }

label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font: 700 12px/1 var(--font-head);
}

input {
  width: 100%;
  height: 50px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
  color: var(--white);
  font: 500 15px/1 var(--font-body);
  outline: none;
}

input::placeholder { color: #6f8493; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(69, 187, 216, .16); }

.btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  color: var(--purple-deep);
  font: 800 15px/1 var(--font-head);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(69, 187, 216, .28);
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .62; cursor: wait; transform: none; }

.fine { margin-top: 12px; color: var(--text-muted); font-size: 12px; text-align: center; }

.alert {
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #fecdca;
  background: rgba(180, 35, 24, .16);
  color: #fecaca;
  font-size: 13px;
}

.stage { display: none; }
.stage.is-on { display: block; }
body.widget-live .preview { opacity: .42; }

.preview {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #2a1245, #1a072c);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, .22);
  color: var(--text-muted);
  font-size: 12px;
}

.preview-bar span { width: 8px; height: 8px; border-radius: 50%; background: #5a3a78; }
.preview-bar span:first-child { background: #45bbd8; }

.preview-page { padding: 36px 32px 80px; }

.preview-page small {
  color: var(--cyan);
  font: 700 11px/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preview-page h3 {
  max-width: 12ch;
  margin: 12px 0 10px;
  font: 800 34px/1.05 var(--font-head);
}

.preview-page p { max-width: 28ch; color: var(--text-muted); font-size: 14px; }

.launcher {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  color: var(--purple-deep);
  font: 800 13px/1 var(--font-head);
  box-shadow: 0 16px 40px rgba(69, 187, 216, .32);
}

.launcher i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(69, 187, 216, .22), transparent 68%);
  pointer-events: none;
}

.foot {
  padding: 0 0 36px;
  color: var(--text-muted);
  font-size: 12px;
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  h1 { max-width: none; }
  .preview { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .launcher { transition: none; }
}
