@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0f1d;
  --bg-raised: #111a2a;
  --bg-soft: #172235;
  --paper: #f5f0e7;
  --ink: #f8f4ec;
  --muted: #9eacc0;
  --muted-dark: #536175;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.25);
  --lime: #d9f99d;
  --coral: #ff7b65;
  --sky: #8bd6e8;
  --violet: #b7a2ff;
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 38px;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .1;
  pointer-events: none;
}

.ambient-one {
  top: -22vw;
  right: -8vw;
  background: var(--coral);
}

.ambient-two {
  bottom: -28vw;
  left: -12vw;
  background: var(--sky);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header,
.site-footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  background: none;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
}

.brand-mark {
  position: relative;
  display: block;
  width: 31px;
  height: 31px;
}

.brand-mark i {
  position: absolute;
  inset: 3px;
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.brand-mark i:nth-child(2) { inset: 8px -1px 8px 7px; }
.brand-mark i:nth-child(3) { inset: 11px 8px -1px 8px; }

.header-note {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
}

main {
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr);
  align-items: center;
  min-height: 710px;
  padding-block: 70px 90px;
}

.eyebrow,
.section-number {
  margin: 0 0 24px;
  color: var(--lime);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span + span::before {
  margin-inline: 11px;
  content: "·";
}

.hero h1,
.quiz-intro h1,
.result-title-wrap h1,
.shared-card h1,
.error-state h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 8vw, 8.2rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .86;
}

.hero h1 em {
  color: var(--coral);
  font-weight: 600;
}

.hero-lede {
  max-width: 620px;
  margin: 36px 0 0;
  color: #bcc8d8;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.button-primary {
  color: #10180f;
  background: var(--lime);
}

.button-light {
  color: var(--bg);
  background: var(--paper);
}

.button-quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .035);
}

.button-quiet:hover:not(:disabled) {
  border-color: var(--ink);
  background: rgba(255,255,255,.08);
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}

.text-button:hover { color: var(--ink); }

.microcopy,
.share-note {
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-size: .82rem;
}

.hero-art {
  position: relative;
  min-height: 530px;
}

.orbit,
.atlas-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit {
  border: 1px solid rgba(217, 249, 157, .24);
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 24px rgba(217, 249, 157, .8);
  content: "";
}

.orbit-one {
  width: 440px;
  height: 440px;
  animation: slow-spin 32s linear infinite;
}

.orbit-one::before { top: 58px; left: 50px; }
.orbit-one::after { right: -5px; top: 210px; }

.orbit-one span {
  position: absolute;
  right: 42px;
  bottom: 45px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 3.4rem;
  transform: rotate(15deg);
}

.orbit-two {
  width: 330px;
  height: 330px;
  border-color: rgba(139, 214, 232, .3);
  animation: reverse-spin 25s linear infinite;
}

.orbit-two::before { right: 28px; bottom: 60px; background: var(--sky); }
.orbit-two::after { top: -5px; left: 158px; background: var(--sky); }

.orbit-three {
  width: 235px;
  height: 235px;
  border-style: dashed;
  border-color: rgba(255, 123, 101, .4);
  animation: slow-spin 19s linear infinite;
}

.orbit-three::before { left: -5px; top: 110px; background: var(--coral); }
.orbit-three::after { display: none; }

.atlas-core {
  display: grid;
  place-content: center;
  width: 164px;
  height: 164px;
  color: var(--bg);
  background: var(--paper);
  box-shadow: 0 0 80px rgba(245, 240, 231, .12);
  font-size: .83rem;
  letter-spacing: .14em;
  line-height: 1.4;
  text-align: center;
}

.facet-tag {
  position: absolute;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(10, 15, 29, .78);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag-one { top: 8%; left: 13%; }
.tag-two { top: 26%; right: 0; }
.tag-three { bottom: 12%; left: 18%; }
.tag-four { right: 10%; bottom: 24%; }

@keyframes slow-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes reverse-spin { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.reveal { animation: reveal .7s cubic-bezier(.2,.7,.2,1) both; }
.delay-one { animation-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.stat-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-band > div:last-child { border-right: 0; }

.stat-band strong {
  font-family: var(--display);
  font-size: 2.8rem;
  letter-spacing: -.06em;
}

.stat-band span {
  color: var(--muted);
  font-size: .82rem;
}

.manifesto {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 90px;
  padding-block: 140px;
}

.manifesto h2,
.section-heading h2,
.result-footer h2,
.shared-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.manifesto-copy {
  padding-top: 45px;
  color: #bdc7d7;
  font-size: 1.06rem;
}

.manifesto-copy p + p { margin-top: 26px; }

.facet-ribbon {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--lime);
  color: #10180f;
}

.facet-ribbon > div {
  display: flex;
  width: max-content;
  animation: ribbon 32s linear infinite;
}

.facet-ribbon span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 15px 28px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.facet-ribbon i {
  font-style: normal;
  opacity: .5;
}

@keyframes ribbon { to { transform: translateX(-50%); } }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-block: 110px;
  border: 1px solid var(--line);
  background: var(--line);
}

.principles article {
  min-height: 260px;
  padding: 35px;
  background: var(--bg);
}

.principle-icon {
  color: var(--coral);
  font-family: var(--display);
  font-size: 2rem;
}

.principles h3 {
  margin: 55px 0 10px;
  font-size: 1.15rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 30px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-size: .72rem;
}

/* Assessment */
.quiz-shell {
  max-width: 960px;
  padding-block: 42px 100px;
}

.quiz-progress {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 18px 0 15px;
  background: rgba(10, 15, 29, .9);
  backdrop-filter: blur(18px);
}

.progress-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.progress-meta span:last-child { text-align: right; }

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--lime));
  transition: width .3s ease;
}

.quiz-intro {
  max-width: 780px;
  padding: 76px 0 60px;
}

.quiz-intro h1 {
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: .98;
}

.quiz-intro > p:last-child {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
}

.question-stack {
  display: grid;
  gap: 18px;
}

.question-card {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(17, 26, 42, .72);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.question-card:focus-within,
.question-card.answered {
  border-color: rgba(217, 249, 157, .42);
  background: rgba(23, 34, 53, .94);
}

.question-card legend {
  display: flex;
  gap: 18px;
  align-items: baseline;
  max-width: 100%;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.62rem);
  line-height: 1.3;
}

.question-card legend span {
  flex: 0 0 auto;
  color: var(--coral);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.likert-labels {
  display: flex;
  justify-content: space-between;
  margin: 30px 2px 8px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.likert {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.likert label {
  position: relative;
  cursor: pointer;
}

.likert input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.likert label span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: .85rem;
  transition: .16s ease;
}

.likert label:hover span {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translateY(-2px);
}

.likert input:focus-visible + span {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.likert input:checked + span {
  border-color: var(--lime);
  color: #10180f;
  background: var(--lime);
  font-weight: 700;
}

.quiz-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
}

.quiz-controls > :last-child { justify-self: end; }
.quiz-controls p { color: var(--muted); font-size: .78rem; text-align: center; }

/* Results */
.results-hero {
  min-height: 720px;
  padding-block: 68px 90px;
}

.result-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--lime);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.result-title-wrap {
  max-width: 1020px;
  padding-top: 78px;
}

.result-title-wrap > p:first-child,
.shared-overline {
  color: var(--muted);
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-title-wrap h1,
.shared-card h1 {
  margin-top: 12px;
  color: var(--paper);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: .93;
}

.result-tagline {
  max-width: 740px;
  margin: 28px 0 0;
  color: #c4cfde;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.35;
}

.signature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 42px;
}

.signature-chips span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce4ee;
  background: rgba(255,255,255,.025);
  font-size: .76rem;
}

.signature-chips i {
  color: var(--coral);
  font-style: normal;
  font-weight: 700;
}

.signature-section,
.full-map {
  padding-block: 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.facet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.facet-grid.featured .result-facet:first-child {
  grid-column: 1 / -1;
  padding-block: 42px;
  background: linear-gradient(135deg, rgba(217, 249, 157, .12), rgba(139, 214, 232, .05));
}

.result-facet {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(17, 26, 42, .65);
}

.result-facet.sensitive {
  background: rgba(255, 123, 101, .04);
}

.facet-heading {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
}

.facet-heading p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.facet-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.facet-heading strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 2rem;
}

.facet-meter {
  height: 4px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
}

.facet-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--lime));
}

.result-facet > p {
  margin: 0;
  color: #aebbcf;
  font-size: .9rem;
}

.map-drawer {
  border-top: 1px solid var(--line);
}

.map-drawer:last-of-type { border-bottom: 1px solid var(--line); }

.map-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4px;
  font-family: var(--display);
  font-size: 1.45rem;
  cursor: pointer;
  list-style: none;
}

.map-drawer summary::-webkit-details-marker { display: none; }
.map-drawer summary i { color: var(--coral); font-family: var(--sans); font-style: normal; font-size: 1.6rem; }
.map-drawer[open] summary i { transform: rotate(45deg); }
.map-drawer .facet-grid { padding-bottom: 30px; }

.privacy-callout {
  display: grid;
  grid-template-columns: .3fr .7fr;
  gap: 50px;
  margin: 0 0 22px;
  padding: 22px 26px;
  border-left: 3px solid var(--coral);
  color: var(--muted);
  background: rgba(255,123,101,.06);
}

.privacy-callout strong { color: var(--ink); }
.privacy-callout p { margin: 0; }

.result-footer {
  display: grid;
  grid-template-columns: .35fr 1fr auto;
  gap: 60px;
  align-items: end;
  padding-block: 110px;
  border-top: 1px solid var(--line);
}

.result-footer p:not(.section-number) {
  max-width: 630px;
  margin: 25px 0 0;
  color: var(--muted);
}

/* Shared view */
.shared-shell {
  padding-block: 80px 120px;
}

.shared-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(217,249,157,.2), transparent 32%),
    radial-gradient(circle at 15% 110%, rgba(255,123,101,.18), transparent 35%),
    var(--bg-raised);
  box-shadow: var(--shadow);
}

.shared-card::after {
  position: absolute;
  top: -250px;
  right: -160px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(217,249,157,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(217,249,157,.035), 0 0 0 140px rgba(217,249,157,.025);
  content: "";
}

.shared-card > * { position: relative; z-index: 1; }
.shared-card h1 { max-width: 900px; }

.shared-cta {
  max-width: 760px;
  margin: 110px auto 0;
  text-align: center;
}

.shared-cta p:not(.section-number) { color: var(--muted); }
.shared-cta .button { margin-top: 22px; }

.error-state {
  min-height: 620px;
  padding-block: 120px;
}

.error-state h1 { max-width: 900px; }
.error-state > p:last-child { max-width: 600px; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-art { min-height: 500px; margin-top: 25px; }
  .manifesto, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .manifesto-copy { padding-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; }
  .principles h3 { margin-top: 25px; }
  .result-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  .shell, .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; }
  .header-note { display: none; }
  .hero { min-height: auto; padding-block: 64px 80px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 6rem); }
  .hero-art { min-height: 390px; transform: scale(.86); margin-inline: -30px; }
  .orbit-one { width: 370px; height: 370px; }
  .orbit-two { width: 285px; height: 285px; }
  .orbit-three { width: 205px; height: 205px; }
  .atlas-core { width: 140px; height: 140px; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .manifesto { padding-block: 90px; }
  .principles { margin-block: 80px; }
  .site-footer { flex-direction: column; gap: 6px; }
  .quiz-shell { width: min(100% - 20px, 960px); padding-top: 20px; }
  .progress-meta { grid-template-columns: 1fr auto; }
  .progress-meta > span:nth-child(2) { display: none; }
  .quiz-intro { padding-block: 55px 38px; }
  .quiz-intro h1 { font-size: 3rem; }
  .question-card { padding: 22px 16px; }
  .question-card legend { gap: 10px; font-size: 1.2rem; }
  .likert { gap: 5px; }
  .likert label span { min-height: 44px; border-radius: 10px; }
  .likert-labels { font-size: .58rem; }
  .quiz-controls { grid-template-columns: 1fr 1fr; }
  .quiz-controls p { display: none; }
  .results-hero { min-height: auto; padding-block: 52px 75px; }
  .result-title-wrap { padding-top: 58px; }
  .result-title-wrap h1, .shared-card h1 { font-size: clamp(3.7rem, 17vw, 6rem); }
  .signature-section, .full-map { padding-block: 85px; }
  .facet-grid { grid-template-columns: 1fr; }
  .facet-grid.featured .result-facet:first-child { grid-column: auto; }
  .result-facet { padding: 22px; }
  .privacy-callout { grid-template-columns: 1fr; gap: 8px; }
  .result-footer { padding-block: 80px; }
  .shared-shell { padding-block: 40px 90px; }
  .shared-card { min-height: 530px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Signal Run remix */
.hero-remix {
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
}

.button-xl {
  min-height: 64px;
  padding-inline: 28px;
  font-size: 1.02rem;
}

.hero-demo {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255,123,101,.3), transparent 30%),
    radial-gradient(circle at 4% 100%, rgba(139,214,232,.2), transparent 35%),
    #151d31;
  box-shadow: 0 45px 110px rgba(0,0,0,.42);
  transform: rotate(1.5deg);
}

.hero-demo::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,.018) 18px 19px);
  pointer-events: none;
  content: "";
}

.demo-top,
.poster-top,
.poster-foot,
.reveal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.62);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.demo-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 46px 0 24px;
  border: 1px solid rgba(217,249,157,.5);
  border-radius: 24px;
  background: rgba(217,249,157,.09);
  box-shadow: 0 0 45px rgba(217,249,157,.12);
  font-size: 2.3rem;
}

.hero-demo h2 {
  max-width: 520px;
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.03;
}

.demo-choices {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.demo-choices span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(0,0,0,.12);
  font-size: .82rem;
}

.demo-choices .active {
  border-color: var(--lime);
  color: #11180e;
  background: var(--lime);
  font-weight: 700;
}

.demo-signal {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  color: var(--sky);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.demo-signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 16px var(--sky);
}

.stat-band-remix strong { color: var(--lime); }

.mode-section {
  padding-block: 140px;
}

.mode-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.mode-heading .section-number { grid-column: 1 / -1; margin-bottom: -28px; }
.mode-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 5.6vw, 5.3rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.mode-heading > p:last-child { margin: 0; color: var(--muted); }

.mode-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(17,26,42,.7);
}

.mode-card-featured {
  border-color: rgba(217,249,157,.38);
  background:
    radial-gradient(circle at 100% 0, rgba(217,249,157,.17), transparent 36%),
    rgba(23,34,53,.94);
}

.mode-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 11px;
  border-radius: 99px;
  color: #10180f;
  background: var(--lime);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.mode-icon { margin-bottom: 70px; font-size: 2.4rem; }
.mode-card > p:first-of-type { margin: 0 0 14px; color: var(--coral); font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.mode-card h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.mode-card h3 + p { color: var(--muted); }
.mode-card .button { align-self: flex-start; margin-top: auto; }
.mode-card small { margin-top: 14px; color: var(--muted-dark); }

.method-note {
  max-width: 850px;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
  color: var(--muted-dark);
  font-size: .78rem;
}

.method-note strong { color: var(--muted); }

/* One-at-a-time scenarios */
.signal-shell {
  max-width: 1120px;
  min-height: calc(100vh - 82px);
  padding-block: 26px 70px;
}

.signal-progress {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 420px) 1fr;
  gap: 24px;
  align-items: center;
  padding-block: 17px;
  color: var(--muted);
  background: rgba(10,15,29,.92);
  backdrop-filter: blur(18px);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.signal-progress > span:last-child { text-align: right; }
.signal-progress-center { text-align: center; }
.signal-progress-center > span { display: inline-block; margin-bottom: 9px; color: var(--lime); }

.scenario-stage {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 34px;
  padding-top: clamp(45px, 7vh, 80px);
  animation: scenario-enter .42s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes scenario-enter {
  from { opacity: 0; transform: translateY(14px) scale(.99); }
}

.scenario-orb {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(139,214,232,.35);
  border-radius: 31px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.12), transparent 30%),
    rgba(139,214,232,.07);
  box-shadow: 0 18px 60px rgba(0,0,0,.3), inset 0 0 30px rgba(139,214,232,.06);
  font-size: 2.8rem;
  transform: rotate(-4deg);
}

.chapter-start .scenario-orb { border-color: rgba(255,123,101,.5); background-color: rgba(255,123,101,.08); }
.scenario-copy { max-width: 880px; }

.scenario-kicker {
  display: flex;
  gap: 18px;
  margin: 0 0 16px;
  color: var(--coral);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scenario-kicker span + span { color: var(--muted-dark); }
.scenario-kicker span + span::before { margin-right: 18px; content: "//"; }

.scenario-copy h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.1vw, 6rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .96;
}

.scenario-copy > p:last-child {
  max-width: 700px;
  margin: 22px 0 0;
  color: #adbacd;
  font-size: clamp(.98rem, 1.7vw, 1.15rem);
}

.scenario-choices {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 42px;
}

.scenario-choice {
  position: relative;
  display: grid;
  grid-template-columns: 28px 42px 1fr 20px;
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(17,26,42,.72);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.scenario-choice:hover {
  z-index: 2;
  border-color: rgba(217,249,157,.48);
  background: rgba(23,34,53,.98);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  transform: translateY(-3px);
}

.scenario-choice.selected {
  border-color: var(--lime);
  color: #10180f;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217,249,157,.1), 0 22px 60px rgba(0,0,0,.32);
  transform: translateY(-3px) scale(1.01);
}

.choice-key {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
}

.selected .choice-key { border-color: rgba(0,0,0,.25); color: #10180f; }
.choice-icon { font-size: 1.65rem; }
.choice-copy { display: grid; gap: 4px; }
.choice-copy strong { font-size: 1rem; }
.choice-copy small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.selected .choice-copy small { color: rgba(16,24,15,.67); }
.choice-arrow { color: var(--coral); font-size: 1.1rem; opacity: .3; transform: translateX(-5px); transition: .18s ease; }
.scenario-choice:hover .choice-arrow, .scenario-choice.selected .choice-arrow { opacity: 1; transform: translateX(0); }
.selected .choice-arrow { color: #10180f; }

.signal-captured {
  grid-column: 2;
  height: 26px;
  margin-top: 16px;
  color: var(--sky);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: .2s ease;
}

.scenario-stage.answered .signal-captured { opacity: 1; transform: translateY(0); }
.signal-captured span { margin-right: 8px; }

.scenario-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 26px;
}

.scenario-nav > :last-child { justify-self: end; }
.scenario-nav p { margin: 0; color: var(--muted-dark); font-size: .7rem; }
.scenario-nav kbd { display: inline-grid; place-items: center; min-width: 22px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--bg-raised); font-family: var(--sans); }

/* Screenshot-first results */
.results-stage { padding-block: 48px 100px; }
.reveal-label { margin-bottom: 20px; }
.reveal-label span:first-child { color: var(--lime); }

.result-poster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr);
  grid-template-rows: auto 1fr auto auto;
  aspect-ratio: 16 / 9;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 34px;
  background:
    linear-gradient(125deg, rgba(13,20,40,.98) 5%, rgba(49,30,70,.96) 55%, rgba(222,79,65,.96) 125%);
  box-shadow: 0 55px 140px rgba(0,0,0,.48);
  isolation: isolate;
}

.result-poster::before {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -45%;
  width: 66%;
  aspect-ratio: 1;
  border: 1px solid rgba(217,249,157,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(217,249,157,.025), 0 0 0 150px rgba(217,249,157,.018);
  content: "";
}

.poster-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.012) 3px 4px),
    radial-gradient(circle at 15% 95%, rgba(139,214,232,.2), transparent 30%);
}

.poster-top { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.17); }
.poster-copy { align-self: center; padding: 28px 20px 20px 0; }
.poster-copy > p:first-child { margin: 0 0 12px; color: var(--lime); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }

.poster-copy h1 {
  max-width: 800px;
  margin: 0;
  color: #fff9ef;
  font-family: var(--display);
  font-size: clamp(4rem, 7.7vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -.068em;
  line-height: .86;
  text-wrap: balance;
}

.poster-tagline { max-width: 700px; margin: 24px 0 0; color: #eccbd2; font-family: var(--display); font-size: clamp(1.05rem, 1.9vw, 1.5rem); line-height: 1.32; }
.poster-visual { display: grid; place-items: center; align-self: center; }
.constellation { width: min(100%, 390px); overflow: visible; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.constellation > circle { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1; }
.constellation line { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.constellation polygon { fill: rgba(217,249,157,.08); stroke: var(--lime); stroke-width: 2; }
.constellation .star { fill: var(--lime); stroke: #11182d; stroke-width: 3; }
.constellation .star-2 { fill: var(--sky); }
.constellation .star-3 { fill: #ffc46b; }
.constellation .star-4 { fill: #e7b7ff; }
.constellation .star-5 { fill: #ffaca0; }
.constellation text { fill: #11182d; font-family: var(--sans); font-size: 7px; font-weight: 800; }

.poster-signals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding-block: 18px;
  border-block: 1px solid rgba(255,255,255,.16);
}

.poster-signals span { display: flex; gap: 9px; align-items: center; min-width: 0; color: rgba(255,255,255,.82); font-size: .7rem; line-height: 1.2; }
.poster-signals i { flex: 0 0 auto; color: var(--lime); font-style: normal; font-weight: 800; }
.poster-signals span:nth-child(2) i { color: var(--sky); }
.poster-signals span:nth-child(3) i { color: #ffc46b; }
.poster-signals span:nth-child(4) i { color: #e7b7ff; }
.poster-signals span:nth-child(5) i { color: #ffaca0; }
.poster-foot { grid-column: 1 / -1; padding-top: 17px; }
.poster-foot strong { color: #fff9ef; font-size: .82rem; letter-spacing: 0; text-transform: lowercase; }
.poster-actions { justify-content: center; margin-top: 28px; }
.results-stage > .share-note { text-align: center; }

.insight-section { padding-block: 120px; border-top: 1px solid var(--line); }
.insight-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.insight-card { min-height: 320px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-raised); }
.insight-1 { background: linear-gradient(145deg, rgba(217,249,157,.14), rgba(17,26,42,.9)); }
.insight-2 { background: linear-gradient(145deg, rgba(139,214,232,.12), rgba(17,26,42,.9)); }
.insight-3 { background: linear-gradient(145deg, rgba(255,123,101,.12), rgba(17,26,42,.9)); }
.insight-card > p:first-child { margin: 0 0 55px; color: var(--coral); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.insight-card h3 { margin: 0 0 18px; font-family: var(--display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.insight-card h3 + p { margin: 0; color: var(--muted); font-size: .86rem; }

.signal-ranking { max-width: 900px; margin: 90px auto 0; }
.rank-row { display: grid; grid-template-columns: 42px minmax(180px, 1fr) 2fr 38px; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.rank-row > span { color: var(--coral); font-size: .7rem; font-weight: 700; }
.rank-row strong { font-family: var(--display); font-size: 1.18rem; }
.rank-row > div { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.rank-row > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--lime)); }
.rank-row em { color: var(--muted); font-style: normal; font-size: .72rem; text-align: right; }

.shared-shell .result-poster { width: 100%; }

@media (max-width: 900px) {
  .hero-remix { grid-template-columns: 1fr; }
  .hero-demo { margin-top: 10px; transform: none; }
  .mode-heading, .mode-grid { grid-template-columns: 1fr; }
  .mode-heading .section-number { margin-bottom: -15px; }
  .mode-card { min-height: 470px; }
  .scenario-stage { grid-template-columns: 80px minmax(0, 1fr); gap: 22px; }
  .scenario-orb { width: 72px; height: 72px; border-radius: 23px; font-size: 2.1rem; }
  .scenario-choices, .signal-captured { grid-column: 1 / -1; }
  .result-poster { grid-template-columns: 1fr .65fr; min-height: 560px; }
  .poster-copy h1 { font-size: clamp(3.6rem, 9vw, 6rem); }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .insight-1 { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .hero-remix { padding-top: 60px; }
  .hero-demo { padding: 22px; border-radius: 24px; }
  .demo-icon { margin-top: 34px; }
  .mode-section { padding-block: 90px; }
  .mode-heading h2 { font-size: 3.3rem; }
  .mode-grid { margin-inline: -3px; }
  .mode-card { min-height: 480px; padding: 26px; border-radius: 22px; }
  .mode-icon { margin-bottom: 58px; }
  .signal-shell { width: min(100% - 20px, 1120px); padding-top: 10px; }
  .signal-progress { grid-template-columns: 1fr auto; }
  .signal-progress-center { display: none; }
  .scenario-stage { display: block; padding-top: 35px; }
  .scenario-orb { width: 64px; height: 64px; margin-bottom: 26px; font-size: 1.9rem; }
  .scenario-copy h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .scenario-kicker span:last-child { display: none; }
  .scenario-choices { grid-template-columns: 1fr; gap: 8px; margin-top: 30px; }
  .scenario-choice { grid-template-columns: 26px 36px 1fr 16px; min-height: 92px; padding: 13px; }
  .choice-icon { font-size: 1.4rem; }
  .scenario-nav { grid-template-columns: 1fr 1fr; }
  .scenario-nav p { display: none; }
  .results-stage { width: min(100% - 16px, 1180px); padding-top: 28px; }
  .reveal-label span:last-child { display: none; }
  .result-poster {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 690px;
    padding: 24px;
    border-radius: 24px;
  }
  .poster-top span:last-child { display: none; }
  .poster-copy { order: 1; padding: 50px 0 10px; }
  .poster-copy h1 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .poster-visual { order: 2; position: absolute; right: -65px; bottom: 95px; width: 290px; opacity: .5; }
  .poster-signals { order: 3; z-index: 1; grid-template-columns: 1fr; width: 62%; margin-top: auto; }
  .poster-foot { order: 4; z-index: 1; }
  .poster-foot span { display: none; }
  .poster-actions { display: grid; }
  .poster-actions .button { width: 100%; }
  .insight-section, .full-map { padding-block: 85px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-1 { grid-column: auto; }
  .insight-card { min-height: auto; }
  .rank-row { grid-template-columns: 30px 1fr 32px; gap: 10px; }
  .rank-row > div { grid-column: 2 / -1; grid-row: 2; }
}
