:root {
  --bg: #120f18;
  --panel: rgba(28, 22, 39, 0.84);
  --text: #f8f6fb;
  --muted: #aaa2b7;
  --purple: #6C2C9C;
  --purple-2: #9d55cf;
  --lime: #c7ff5b;
  --line: rgba(255,255,255,.10);
  --shadow: 0 30px 80px rgba(0,0,0,.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(108,44,156,.16), transparent 32rem),
    radial-gradient(circle at 85% 80%, rgba(157,85,207,.10), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}
button, input { font: inherit; }
.ambient { position: fixed; border-radius: 999px; filter: blur(80px); pointer-events: none; opacity: .35; }
.ambient-a { width: 26rem; height: 26rem; background: #6C2C9C; left: -13rem; top: 12vh; }
.ambient-b { width: 22rem; height: 22rem; background: #2540d3; right: -12rem; bottom: 4vh; }
.shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 2px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(145deg, var(--purple-2), var(--purple)); font-weight: 900;
}
.brand-name { font-weight: 900; letter-spacing: .13em; }
.event-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted);
  font-size: .76rem; letter-spacing: .12em; font-weight: 700;
}
.stage { display: grid; place-items: center; padding: 28px 0 48px; }
.card {
  width: min(980px, 100%);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(37,29,50,.86), rgba(24,19,33,.88));
  box-shadow: var(--shadow);
  border-radius: 32px;
  padding: clamp(26px, 5vw, 64px);
  backdrop-filter: blur(18px);
  animation: rise .45s ease both;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.eyebrow { margin: 0 0 14px; font-size: .75rem; line-height: 1; letter-spacing: .18em; color: var(--purple-2); font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
h3 { font-size: 1.15rem; }
.lede { max-width: 59ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.disclaimer { margin: 16px 0 0; color: #7f768b; font-size: .86rem; }
.primary, .secondary {
  border: 0; border-radius: 16px; cursor: pointer;
  transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.primary { margin-top: 26px; padding: 16px 22px; background: linear-gradient(135deg, var(--lime), #9ce23f); color: #15150f; font-weight: 900; }
.primary:hover, .secondary:hover, .answer:hover { transform: translateY(-2px); }
.primary:hover { filter: brightness(1.06); }
.secondary { padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); font-weight: 800; }
.train-card {
  min-height: 310px; border-radius: 28px;
  background: linear-gradient(145deg, rgba(108,44,156,.42), rgba(30,24,41,.80)),
              repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.025) 48px 49px);
  border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden;
}
.train-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: rgba(255,255,255,.18); }
.train-line::before, .train-line::after {
  content: ""; position: absolute; width: 11px; height: 11px; top: -5px; background: var(--lime);
  border-radius: 50%; box-shadow: 0 0 20px rgba(199,255,91,.75);
}
.train-line::before { left: 0; }
.train-line::after { right: 0; }
.train {
  position: absolute; top: calc(50% - 33px); left: 13%; width: 110px; height: 46px;
  background: #f8f6fb; border-radius: 8px 20px 7px 7px; box-shadow: 0 12px 28px rgba(0,0,0,.27);
  animation: shuttle 4.8s ease-in-out infinite alternate;
}
.train::after { content: ""; position: absolute; left: 13px; top: 10px; width: 54px; height: 12px; background: #241a32; border-radius: 3px; }
.metric {
  position: absolute; padding: 9px 11px; border-radius: 12px; font-size: .75rem;
  background: rgba(17,13,23,.72); border: 1px solid rgba(255,255,255,.09); color: #d8d2de;
}
.metric.one { top: 18%; left: 12%; }
.metric.two { right: 10%; top: 28%; }
.metric.three { right: 16%; bottom: 16%; }
.progress-wrap { display: flex; align-items: center; gap: 15px; margin-bottom: 36px; }
.progress-label { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.progress { height: 6px; flex: 1; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--purple-2), var(--lime)); transition: width .35s ease; }
.question-text { max-width: 17ch; margin-bottom: 32px; }
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.answer {
  min-height: 100px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; text-align: left;
  color: var(--text); border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.045);
  cursor: pointer; transition: .16s ease;
}
.answer:hover { border-color: rgba(157,85,207,.72); background: rgba(108,44,156,.13); }
.answer-index {
  display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: var(--purple-2); font-size: .8rem; font-weight: 900;
}
.answer-copy { line-height: 1.35; font-weight: 720; }
.back-row { margin-top: 22px; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px; }
.text-button:hover { color: var(--text); }
.calculating { min-height: 410px; display: grid; place-items: center; text-align: center; }
.orbit { width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; position: relative; margin: 0 auto 26px; }
.orbit::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--lime);
  top: -11px; left: calc(50% - 11px); box-shadow: 0 0 30px rgba(199,255,91,.5);
  transform-origin: 11px 86px; animation: orbit 1.2s linear infinite;
}
.calc-status { color: var(--muted); }
.result-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 36px; align-items: start; }
.result-badge {
  min-height: 360px; padding: 28px; border-radius: 26px;
  background: linear-gradient(145deg, rgba(108,44,156,.35), rgba(255,255,255,.035));
  border: 1px solid rgba(157,85,207,.3); position: relative; overflow: hidden;
}
.result-badge::after {
  content: ""; position: absolute; inset: auto -20% -35% 15%; height: 200px; border-radius: 50%;
  border: 22px solid rgba(255,255,255,.035); transform: rotate(-15deg);
}
.result-icon { font-size: 4.4rem; margin-bottom: 28px; }
.result-title { font-size: clamp(2rem, 4vw, 3.9rem); line-height: .95; }
.confidence { margin-top: 30px; display: inline-flex; gap: 9px; align-items: center; color: var(--lime); font-weight: 900; font-size: .83rem; letter-spacing: .08em; }
.result-copy { color: #d9d4df; line-height: 1.65; font-size: 1.07rem; }
.secondary-type { margin: 20px 0 26px; padding: 14px 16px; border-left: 3px solid var(--purple-2); background: rgba(255,255,255,.035); color: var(--muted); }
.topic-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 26px; }
.topic { border-radius: 999px; padding: 8px 11px; background: rgba(255,255,255,.055); border: 1px solid var(--line); color: #dcd6e3; font-size: .82rem; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 22px; }
.lead-form input { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.16); color: var(--text); outline: none; }
.lead-form input:focus { border-color: var(--purple-2); }
.form-note { color: var(--muted); font-size: .79rem; margin-top: 9px; }
.success { color: var(--lime); font-weight: 800; }
.footer { display: flex; justify-content: space-between; padding: 24px 2px 30px; color: #756c80; font-size: .78rem; }
dialog { border: 0; padding: 0; border-radius: 24px; background: transparent; color: var(--text); }
dialog::backdrop { background: rgba(8,6,11,.76); backdrop-filter: blur(6px); }
.dialog-card { position: relative; width: min(560px, calc(100vw - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #21192d; box-shadow: var(--shadow); line-height: 1.6; }
.dialog-close { position: absolute; top: 13px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; font-size: 1.3rem; }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes shuttle { from { transform: translateX(0); } to { transform: translateX(185px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .event-chip { display: none; }
  .hero, .result-grid { grid-template-columns: 1fr; }
  .train-card { min-height: 230px; }
  .answers { grid-template-columns: 1fr; }
  .answer { min-height: 78px; }
  .card { border-radius: 24px; }
  .lead-form { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
