@font-face {
  font-family: Manrope;
  src: url("assets/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Manrope, Arial, sans-serif;
  color: #fbfcf8;
  background: #07090a;
  --ink: #fbfcf8;
  --teal: #00b7bd;
  --muted: #b5c4c5;
  --line: #344649;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: #07090a; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(100% - 96px, 1520px); margin: auto; min-height: 100svh; }
.top { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #27383b; }
.brand { width: 250px; height: auto; display: block; }
.top__actions { display: flex; align-items: center; gap: 26px; }
.restart { padding: 8px 0; border: 0; background: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.restart:hover { color: var(--ink); }
.progress { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; white-space: nowrap; }
#counter { display: flex; align-items: center; gap: 10px; }
.progress b { color: var(--teal); }
.progress__track { display: flex; gap: 6px; }
.progress i { width: 29px; height: 3px; display: block; background: #435456; border-radius: 2px; transition: background .25s; }
.progress i.is-current { background: var(--teal); }
main { padding: 38px 0; }
.screen { min-width: 0; }
/* One stable prompt frame. Choosing an answer cannot move the illustrations. */
.prompt { display: grid; grid-template-rows: auto auto var(--feedback-height, 80px); gap: 14px; margin-bottom: 16px; }
.question { max-width: 1190px; margin: 0; padding-bottom: 10px; font-weight: 800; font-size: clamp(36px, 3.7vw, 62px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; outline: none; }
.feedback { margin: 0; max-width: 830px; line-height: 1.5; color: var(--muted); font-weight: 500; font-size: 17px; text-wrap: pretty; }
.feedback.is-answered { color: #e4f1ef; }
.feedback-measure { position: absolute; top: 0; left: 0; visibility: hidden; height: auto; max-width: none; pointer-events: none; }
.choices { display: grid; grid-template-columns: repeat(var(--options, 4), minmax(0, 1fr)); gap: 0; }
/* Art, number and label have independent tracks; line count never moves them. */
.choice {
  position: relative; --art-height: 248px;
  display: grid; grid-template-rows: var(--art-height) 20px auto; gap: 12px;
  padding: 10px 20px 20px; min-width: 0; align-content: start;
  color: var(--ink); background: transparent; border: 0;
  border-left: 1px solid var(--line); border-radius: 0; text-align: left;
  font-size: clamp(19px, 1.65vw, 25px); line-height: 1.27;
  font-weight: 600; letter-spacing: 0;
  transition: background .25s;
}
.choice:last-child { border-right: 1px solid var(--line); }
.choice:hover { background: #0d191b; }
.choice[aria-pressed="true"] { background: #09272a; }
.choice::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.choice[aria-pressed="true"]::after { transform: scaleX(1); }
.choice__index { font-size: 12px; line-height: 20px; letter-spacing: .12em; color: #94adaf; font-weight: 800; pointer-events: none; }
.choice[aria-pressed="true"] .choice__index { color: var(--teal); }
.choice__label { padding-right: 22px; align-self: start; text-wrap: pretty; pointer-events: none; }
.choice__marker {
  position: absolute; right: 17px; top: calc(var(--art-height) + 56px); width: 18px; height: 18px;
  border: 2px solid #91a6a8; border-radius: 50%;
}
.choice[aria-pressed="true"] .choice__marker { border: 5px solid var(--teal); background: var(--ink); }
.choice__art {
  display: block; width: 100%; height: 100%; min-height: 0;
  filter: grayscale(1) brightness(.95); opacity: .86; pointer-events: none;
  transition: filter .35s, opacity .35s;
}
.atlas-art svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.choice:hover .choice__art { opacity: 1; }
.choice[aria-pressed="true"] .choice__art { opacity: 1; filter: none; }
.choice[data-visual-state="inquiries"][aria-pressed="true"] .choice__art,
.choice[data-visual-state="money"][aria-pressed="true"] .choice__art {
  filter: sepia(.7) saturate(2.4) hue-rotate(120deg) brightness(1.18);
}
.choice[data-visual-state="unknown"][aria-pressed="true"] .choice__art { filter: grayscale(1) brightness(1.1); }
.controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #263a3d; }
.primary { border: 1px solid var(--ink); background: var(--ink); color: #081213; display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 51px; padding: 14px 24px; border-radius: 99px; font-size: 14px; font-weight: 800; transition: background .2s; }
.primary:hover:not(:disabled) { background: #c6edef; }
.primary:disabled { background: #26383b; border-color: #26383b; color: #95a5a6; }
.back, .text-button { border: 0; background: none; color: #d3e0e0; font-size: 14px; font-weight: 700; padding: 12px 0; }
.back { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.back:disabled { visibility: hidden; }
.text-button:hover, .back:hover { color: var(--teal); }
.screen[data-finished="true"] .prompt { display: block; margin-bottom: 28px; }
.result { padding-top: 6px; }
.result-overview { display: grid; grid-template-columns: 1fr 230px; align-items: start; gap: 40px; margin-bottom: 30px; }
.result-context { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
.result-intro { font-size: 21px; line-height: 1.5; margin: 0; color: #dce8e7; }
.result-observed { margin: 15px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.result-visual { display: block; height: 200px; width: 230px; }
.result-overview[data-visual-state="unknown"] .result-visual { filter: grayscale(1); }
.result-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-bottom: 30px; }
.result-check { padding: 20px 0 0; border-top: 2px solid var(--teal); }
.result-check small { display: block; color: var(--teal); font-weight: 800; letter-spacing: .08em; font-size: 12px; margin-bottom: 15px; }
.result-check h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; }
.result-check p { color: #c2d2d3; line-height: 1.55; font-size: 16px; margin: 0; }
.remaining-checks { margin: 0 0 32px; }
.remaining-checks > h2 { font-size: 24px; margin: 0 0 18px; }
.remaining-check { display: grid; grid-template-columns: minmax(230px, 1fr) 2fr; column-gap: 26px; border-top: 1px solid var(--line); padding: 18px 0; }
.remaining-check h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.remaining-check p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.remaining-check__action { grid-column: 2; }
.result-tips { margin: 0 0 32px; max-width: 1030px; }
.result-tips h2 { font-size: 20px; margin: 22px 0 10px; }
.result-tips p { font-size: 16px; line-height: 1.6; color: #c8d9d9; margin: 0 0 14px; }
.result-tips .result-boundary { color: var(--muted); font-size: 14px; }
.remaining-details { grid-column: 2; font-size: 15px; }
.remaining-details summary { color: #e4f1ef; padding: 8px 0; cursor: pointer; text-underline-offset: 4px; }
.remaining-details h4 { font-size: 16px; margin: 22px 0 8px; }
.remaining-details blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--teal); line-height: 1.55; }
.guide-downloads { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.guide-downloads h2 { font-size: 24px; margin: 0 0 10px; }
.guide-downloads > p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.guide-downloads ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.guide-downloads a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.guide-downloads a:hover { color: var(--teal); }
.guide-downloads a span { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.reply { padding: 26px 30px; border-left: 3px solid var(--teal); background: #102023; margin: 0 0 30px; }
.reply h2 { font-size: 14px; color: #b6ced0; line-height: 1.5; margin: 0 0 14px; font-weight: 600; }
.reply blockquote { font-size: clamp(20px, 2.1vw, 29px); line-height: 1.4; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.result-action h2 { font-size: 24px; margin: 0 0 10px; }
.result-action p { font-size: 18px; line-height: 1.55; color: #c8d9d9; max-width: 950px; margin: 0 0 28px; }
.result-tools { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.screen[data-finished="true"] { max-width: 1140px; }
.screen[data-finished="true"] .question { max-width: 1020px; font-size: clamp(34px, 3.5vw, 54px); letter-spacing: -.015em; }
.result-overview { align-items: center; margin-bottom: 24px; }
.result-intro { max-width: 790px; }
.result-visual { height: 160px; }
.reply { padding: 24px 28px; margin-bottom: 24px; }
.reply blockquote { max-width: 900px; font-size: clamp(20px, 2vw, 26px); letter-spacing: 0; }
.result-action h2 { font-size: 18px; }
.result-action p { font-size: 17px; margin-bottom: 18px; }
.result .guide-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 20px 0 12px; }
.guide-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 24px; padding: 0; }
.guide-topics li { color: #d3e0e0; font-size: 14px; display: flex; gap: 9px; align-items: baseline; }
.guide-topics li::before { content: "·"; color: var(--teal); font-weight: 800; }
.pdf-tag { font-size: 11px; letter-spacing: .06em; opacity: .75; }
.result-tools .copy-status { flex-basis: 100%; color: var(--muted); }
.result-tools .copy-status:empty { display: none; }
@media (max-width: 650px) {
  .screen[data-finished="true"] .question { font-size: 32px; line-height: 1.16; }
  .screen[data-finished="true"] .prompt { margin-bottom: 12px; }
  .result-overview { display: grid; grid-template-columns: 1fr 100px; gap: 14px; align-items: start; }
  .result-visual { width: 100px; height: 125px; margin: 0; }
  .result-intro { font-size: 15px; line-height: 1.55; }
  .reply { padding: 18px 20px; }
  .reply blockquote { font-size: 19px; }
  .result-action p { font-size: 15px; }
  .result .guide-note { font-size: 13px; }
  .guide-topics { gap: 8px 16px; }
  .result-tools { gap: 12px 22px; }
}
.copy-status { font-size: 14px; color: var(--teal); }
.answer-summary { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 20px; }
.answer-summary summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.answer-summary ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.answer-summary li { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: #c0d3d4; }
.answer-summary button { color: var(--ink); border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; text-align: right; padding: 8px 0; }
.screen.is-entering { animation: screen-enter .25s ease-out; }
@keyframes screen-enter { from { opacity: .35; } to { opacity: 1; } }
.noscript { padding: 20px; border: 1px solid var(--line); }
@media (min-width: 1800px) {
  main { padding-top: 50px; }
  .choice { --art-height: 280px; }
}
@media (max-width: 1100px) and (min-width: 651px) {
  .choice { font-size: 18px; padding-inline: 14px; }
  .choice__label { padding-right: 15px; }
  .choice__marker { right: 10px; width: 15px; height: 15px; }
  .top__actions { gap: 15px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .brand { width: 210px; }
  .progress { gap: 12px; }
  .progress i { width: 18px; }
  main { padding-top: 30px; }
  .question { font-size: clamp(34px, 4.8vw, 43px); }
  .result-overview { grid-template-columns: 1fr 200px; gap: 24px; }
  .result-visual { width: 200px; height: 200px; }
}
@media (max-width: 650px) {
  .brand { width: 165px; }
  .top { height: 88px; gap: 14px; }
  .top__actions { flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; }
  .restart { padding: 0; font-size: 11px; }
  .progress { font-size: 11px; gap: 8px; }
  #counter { gap: 7px; }
  .progress__track { gap: 4px; }
  .progress i { width: 10px; }
  .question { font-size: clamp(31px, 7.8vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
  .prompt { grid-template-rows: auto var(--feedback-height, 100px); gap: 18px; margin-bottom: 14px; }
  .feedback { font-size: 15px; line-height: 1.5; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { --art-height: 156px; grid-template-rows: var(--art-height) 16px auto; gap: 10px; padding: 8px 12px 18px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.27; }
  .choice:nth-child(2) { border-right: 1px solid var(--line); }
  .choice__index { font-size: 11px; line-height: 16px; }
  .choice__label { padding-right: 13px; }
  .choice__marker { right: 8px; top: calc(var(--art-height) + 44px); width: 14px; height: 14px; }
  .choices[data-count="3"] .choice:last-child {
    grid-column: 1/-1; min-height: 134px; grid-template-columns: 44% minmax(0, 1fr);
    grid-template-rows: 20px auto; column-gap: 20px; row-gap: 10px; padding: 16px 14px;
  }
  .choices[data-count="3"] .choice:last-child .choice__art { grid-column: 1; grid-row: 1/3; }
  .choices[data-count="3"] .choice:last-child .choice__index { grid-column: 2; grid-row: 1; }
  .choices[data-count="3"] .choice:last-child .choice__label { grid-column: 2; grid-row: 2; }
  .choices[data-count="3"] .choice:last-child .choice__marker { top: 49px; right: 14px; }
  .primary { font-size: 13px; padding: 13px 20px; gap: 20px; }
  .controls { padding-top: 15px; margin-top: 22px; }
  .result-overview { display: block; margin-bottom: 25px; }
  .result-intro { font-size: 17px; }
  .result-context, .result-observed { font-size: 14px; }
  .result-visual { height: 170px; width: 200px; margin: 15px auto 0; }
  .result-checks { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .result-check h2, .result-action h2, .remaining-checks > h2 { font-size: 22px; }
  .result-check p { font-size: 15px; }
  .remaining-check { display: block; }
  .remaining-check h3 { font-size: 18px; margin-bottom: 10px; }
  .guide-downloads a { align-items: flex-start; flex-direction: column; gap: 7px; }
  .reply { padding: 20px; margin-bottom: 24px; }
  .reply h2 { font-size: 12px; }
  .reply blockquote { font-size: 19px; }
  .result-action p { font-size: 16px; }
  .result-tools { gap: 20px; }
  .answer-summary li { align-items: flex-start; font-size: 13px; }
  .answer-summary button { max-width: 65%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .brand { width: 140px; }
  .progress { gap: 6px; font-size: 10px; }
  .progress i { width: 7px; }
  .question { font-size: 29px; }
  .progress { display: grid; justify-items: end; gap: 5px; }
  .choice { font-size: 16px; --art-height: 140px; }
  .choice__label { padding-right: 10px; }
}
@media (max-width: 650px) {
  .screen[data-finished="true"] .result-overview { display: grid; grid-template-columns: 1fr 100px; gap: 14px; align-items: start; }
  .screen[data-finished="true"] .result-visual { width: 100px; height: 125px; margin: 0; }
  .screen[data-finished="true"] .result-intro { font-size: 15px; line-height: 1.55; }
  .screen[data-finished="true"] .reply { padding: 18px 20px; }
  .screen[data-finished="true"] .result-action p { font-size: 15px; }
  .screen[data-finished="true"] .result-tools { gap: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.result-detail { padding: 18px 0; border-top: 1px solid var(--line); }
.result-detail summary { cursor: pointer; font-size: 19px; font-weight: 700; }
.result-detail p, .result-detail blockquote { max-width: 900px; line-height: 1.55; color: var(--muted); }
.result-detail blockquote { margin: 18px 0; color: var(--ink); }
.guide-topics { display: block; margin: 0 0 32px; }
.reading-route { margin: 24px 0; }
.reading-route h2 { font-size: 22px; }
.reading-route ol { padding-left: 22px; }
.reading-route li { padding: 9px 0; }
.reading-route a { color: var(--ink); text-decoration-color: var(--teal); text-underline-offset: 4px; }
.reading-page { display: inline-block; margin-left: 16px; color: var(--teal); font-size: 13px; }
@media (max-width: 600px) {
  .screen[data-finished="true"] .result-overview { grid-template-columns: minmax(0,1fr); }
  .screen[data-finished="true"] .result-visual { width: 170px; height: 140px; margin: 12px auto 0; }
  .prompt { grid-template-rows: auto auto var(--feedback-height,100px); }
  .result-detail summary { font-size: 17px; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; color: #111; }
  .shell { width: 100%; }
  .top, .result-visual, .choices, .feedback, .controls, .result-tools, .answer-summary, .guide-downloads, .remaining-details summary { display: none !important; }
  .question { font-size: 28px; }
  .result-intro, .result-context, .result-observed, .result-check p, .remaining-check p, .reply blockquote, .result-action p { color: #111; }
  .result-checks, .remaining-check { display: block; }
  .result-check { break-inside: avoid; margin-bottom: 20px; }
  .reply { background: transparent; border-color: #05686c; }
  .result-check small { color: #05686c; }
  .reply h2 { color: #333; }
  .result-tips p, .result-tips .result-boundary { color: #333; }
  .remaining-check h3 { margin-bottom: 12px; }
  .remaining-details h4 { margin: 16px 0 8px; }
  .remaining-details { color: #111; }
  .remaining-details blockquote { color: #111; }
  h1, h2, h3, h4 { break-after: avoid; }
  p, blockquote { orphans: 3; widows: 3; }
}
