:root {
  --ink: #18131d;
  --night: #17111f;
  --paper: #f4f1ec;
  --paper-2: #eae4dc;
  --white: #fffefa;
  --purple: #8a38f5;
  --purple-dark: #5e20b7;
  --lime: #d9ff66;
  --coral: #ff775f;
  --muted: #777078;
  --line: rgba(24, 19, 29, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 28px 32px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: invert(1);
}

.private-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 255, 102, 0.1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 730px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 35%, rgba(138, 56, 245, 0.28), transparent 34%),
    linear-gradient(135deg, #17111f 0%, #21172c 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--purple) 0 62%, var(--lime) 62% 76%, var(--coral) 76%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(630px, 100%);
  margin-left: max(32px, calc((100vw - 1176px) / 2));
  padding: 120px 40px 88px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 6.3vw, 88px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

h1 em {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 590px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.55;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 210px;
  gap: 24px;
  padding: 17px 18px 17px 22px;
  border: 1px solid var(--purple);
  border-radius: 4px;
  background: var(--purple);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--purple-dark);
}

.primary-button span {
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.decision-disc {
  position: absolute;
  top: 50%;
  left: 47%;
  z-index: 2;
  display: grid;
  place-content: center;
  width: min(300px, 40vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(14, 9, 19, 0.72);
  box-shadow: 0 0 90px rgba(138, 56, 245, 0.24);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.decision-disc span,
.decision-disc small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.decision-disc strong {
  margin: 8px;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 110px;
  font-weight: 400;
  line-height: 0.8;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 47%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 660px; height: 660px; }

.signal-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chip-one { top: 23%; left: 12%; transform: rotate(-8deg); }
.chip-two { top: 64%; right: 10%; transform: rotate(7deg); }
.chip-three { bottom: 17%; left: 16%; transform: rotate(3deg); }

.room {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 110px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2,
.debrief h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.game-context {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1px;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  background: var(--line);
}

.context-copy,
.context-steps {
  background: var(--white);
}

.context-copy {
  padding: 34px;
}

.context-duration {
  color: var(--purple);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.context-copy h3 {
  max-width: 620px;
  margin: 18px 0;
  font-family: Georgia, serif;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.context-copy > p {
  max-width: 690px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.preview-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--lime);
  background: var(--night);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

.preview-note strong {
  color: white;
}

.context-steps {
  margin: 0;
  padding: 12px 30px;
  list-style: none;
}

.context-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.context-steps li:last-child {
  border-bottom: 0;
}

.context-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--purple);
  font-size: 9px;
  font-weight: 900;
}

.context-steps strong,
.context-steps small {
  display: block;
}

.context-steps strong {
  margin: 1px 0 5px;
  font-size: 13px;
}

.context-steps small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.case-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.case-heading .eyebrow {
  margin-bottom: 8px;
}

.case-heading h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.token-bank {
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.token-bank > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tokens {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.token {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 10px;
  font-weight: 900;
  transition: opacity 200ms ease, transform 200ms ease;
}

.token.spent {
  opacity: 0.18;
  transform: scale(0.85);
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(490px, 1.35fr);
  gap: 22px;
}

.brief-card,
.decision-panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.brief-card {
  padding: 28px;
}

.company-line {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.company-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--night);
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.company-line p,
.candidate-snapshot p {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.company-line span,
.candidate-snapshot span {
  color: var(--muted);
  font-size: 11px;
}

.brief-copy {
  padding: 24px 0;
}

.brief-copy > p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
}

dl {
  margin: 24px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.candidate-snapshot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 15px;
  background: var(--paper);
}

.avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(138, 56, 245, 0.35);
  border-radius: 50%;
  color: var(--purple);
  font-size: 11px;
  font-weight: 850;
}

.candidate-snapshot .baseline {
  color: var(--purple);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.resume-note {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.decision-panel {
  padding: 28px;
}

.confidence-card {
  padding: 20px;
  background: var(--night);
  color: white;
}

.confidence-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.confidence-header p {
  margin: 0 0 3px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.confidence-header strong {
  font-size: 34px;
  letter-spacing: -0.05em;
}

.direction {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.direction.neutral { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.direction.up { background: rgba(217,255,102,.15); color: var(--lime); }
.direction.down { background: rgba(255,119,95,.16); color: #ff9b88; }

.confidence-track {
  position: relative;
  height: 9px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}

.confidence-track span {
  display: block;
  width: 46%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--lime));
  transition: width 500ms cubic-bezier(.2,.8,.2,1);
}

.confidence-track i {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.62);
}

.update-explanation {
  min-height: 37px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.45;
}

.signal-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 27px 0 15px;
}

.signal-heading .eyebrow {
  margin-bottom: 7px;
}

.signal-heading h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.signal-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.signal-card {
  position: relative;
  min-height: 142px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.signal-card:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--purple);
  background: #f1eafa;
}

.signal-card:disabled {
  cursor: default;
}

.signal-card.locked-budget {
  opacity: .44;
}

.signal-card .signal-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.signal-card .signal-index,
.signal-card .signal-cost {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.signal-card h4 {
  margin: 28px 0 4px;
  font-size: 15px;
  letter-spacing: -.02em;
}

.signal-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.signal-card .reveal {
  display: none;
}

.signal-card.revealed {
  border-color: var(--purple);
  background: #efe6fb;
}

.signal-card.revealed .locked-copy {
  display: none;
}

.signal-card.revealed .reveal {
  display: block;
}

.signal-card.revealed h4 {
  margin-top: 13px;
}

.signal-card .impact {
  display: inline-flex;
  margin-top: 11px;
  padding: 5px 7px;
  background: var(--night);
  color: white;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.call-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.call-zone p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.call-actions {
  display: flex;
  gap: 8px;
}

.decision-button {
  min-width: 98px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.decision-button.yes:not(:disabled):hover { background: var(--purple); border-color: var(--purple); color: white; }
.decision-button.no:not(:disabled):hover { background: var(--ink); color: white; }
.decision-button:disabled { opacity: .28; cursor: not-allowed; }

.debrief {
  background: var(--purple);
  color: var(--white);
}

.debrief-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 110px;
}

.debrief .eyebrow {
  color: var(--lime);
}

.debrief-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 50px;
  align-items: end;
}

.decision-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.5);
  color: white;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.decision-readout {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.55;
}

.evidence-summary {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.25);
}

.evidence-summary div {
  padding: 20px;
  background: rgba(31,13,54,.34);
}

.evidence-summary span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.evidence-summary strong {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.lesson-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  margin: 58px 0 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.lesson-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.lesson-strip p {
  margin: 2px 18px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}

.lesson-strip strong {
  color: white;
}

.closing-card {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-top: 64px;
  padding: 36px;
  background: var(--night);
}

.closing-card h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.04em;
}

.closing-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.5;
}

.closing-actions {
  display: grid;
  gap: 10px;
  min-width: 235px;
}

.primary-button.inverse {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.primary-button.inverse:hover {
  background: white;
}

.text-button {
  padding: 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.64);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 23px max(32px, calc((100vw - 1176px) / 2));
  background: var(--night);
  color: rgba(255,255,255,.5);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { margin: 0; padding: 150px 32px 64px; }
  .hero-visual { min-height: 460px; }
  .decision-disc, .orbit { left: 50%; }
  .game-grid { grid-template-columns: 1fr; }
  .game-context { grid-template-columns: 1fr; }
  .brief-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .company-line, .candidate-snapshot, .resume-note { grid-column: 1 / -1; }
  .debrief-grid { grid-template-columns: 1fr; }
  .evidence-summary { grid-template-columns: 1fr 1fr; }
  .closing-card { align-items: start; flex-direction: column; }
}

@media (max-width: 650px) {
  .site-header { padding: 20px; }
  .brand { font-size: 10px; }
  .private-pill { padding: 8px 10px; font-size: 9px; }
  .hero-copy { padding: 132px 20px 55px; }
  .hero-visual { min-height: 390px; }
  .decision-disc { width: 220px; }
  .decision-disc strong { font-size: 86px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 470px; height: 470px; }
  .signal-chip { font-size: 8px; }
  .chip-one { left: 4%; }
  .chip-two { right: 4%; }
  .room, .debrief-inner { padding: 72px 18px 82px; }
  .section-heading { align-items: start; flex-direction: column; }
  .context-copy { padding: 26px 20px; }
  .context-steps { padding: 8px 20px; }
  .case-heading { align-items: start; flex-direction: column; }
  .token-bank { width: 100%; }
  .brief-card { display: block; padding: 20px; }
  .decision-panel { padding: 18px; }
  .candidate-snapshot { grid-template-columns: auto 1fr; }
  .candidate-snapshot .baseline { grid-column: 2; }
  .signal-heading { align-items: start; flex-direction: column; }
  .signal-grid { grid-template-columns: 1fr; }
  .call-zone { align-items: stretch; flex-direction: column; }
  .call-zone p { max-width: none; }
  .call-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .evidence-summary { grid-template-columns: 1fr; }
  .lesson-strip { grid-template-columns: auto 1fr; }
  .lesson-strip p { margin-right: 0; }
  .closing-card { margin-top: 46px; padding: 26px 20px; }
  .closing-actions { width: 100%; min-width: 0; }
  footer { align-items: start; flex-direction: column; padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
