:root {
  --ink: #18252b;
  --muted: #5f7075;
  --paper: #fffdf8;
  --cream: #f5eedf;
  --line: #d9d2c5;
  --teal: #166b68;
  --yellow: #f3c94b;
  --shadow: 0 18px 50px rgba(46, 56, 47, 0.13);
  --coral: #db765b;
  --blue: #dcebea;
  --page: #101923;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); }
body { height: 100svh; overflow: hidden; margin: 0; color: var(--ink); font: 16px/1.5 system-ui, sans-serif; background: radial-gradient(circle at 86% 3%, rgba(243, 201, 75, .12), transparent 23rem), radial-gradient(circle at 4% 38%, rgba(22, 107, 104, .18), transparent 24rem), var(--page); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(760px, calc(100% - 28px)); height: 100svh; margin: 0 auto; padding: 14px 0 8px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 18px; }
.brand { color: #f4f8f7; font-weight: 850; text-decoration: none; }
.quiet-link { color: var(--teal); font-size: .82rem; font-weight: 700; }
.intro { max-width: 790px; padding: 42px 0 34px; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 12ch; margin-bottom: 14px; font-size: clamp(2.8rem, 10vw, 6rem); line-height: .92; letter-spacing: -.07em; }
h2 { margin-bottom: 8px; line-height: 1.08; letter-spacing: -.025em; }
.lead { max-width: 600px; color: var(--muted); font-size: 1.12rem; }
.privacy-note { display: inline-flex; gap: 8px; margin: 8px 0 0; color: var(--teal); font-size: .9rem; font-weight: 700; }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 700px; margin: 28px 0 4px; }
.promise span { display: grid; gap: 5px; padding: 13px 14px; border: 1px solid rgba(22, 107, 104, .14); border-radius: 16px; background: rgba(255, 253, 248, .62); color: var(--muted); font-size: .82rem; }
.promise strong { font-size: 1.15rem; line-height: 1; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.map { padding: 18px; background: rgba(255, 253, 248, .82); }
.map summary { cursor: pointer; list-style: none; }
.map summary::-webkit-details-marker { display: none; }
.map summary::after { content: '＋'; color: var(--teal); font-size: 1.1rem; }
.map[open] summary::after { content: '−'; }
.map summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 8px; }
.map:not([open]) { box-shadow: 0 8px 24px rgba(46, 56, 47, .08); }
.map-heading { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .82rem; font-weight: 800; }
.progress { height: 7px; overflow: hidden; border-radius: 99px; background: #e9e1d4; }
.progress span { display: block; height: 100%; width: 12.5%; border-radius: inherit; background: var(--yellow); transition: width .2s ease; }
.momentum { min-height: 1.4em; margin: 12px 0 0; color: var(--teal); font-size: .84rem; font-weight: 750; }
.stage-list { display: grid; gap: 5px; margin-top: 14px; }
.stage-list button { border: 0; border-radius: 12px; padding: 10px 12px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.stage-list button { transition: transform .15s ease, background .15s ease; }
.stage-list button:hover, .stage-list button:focus-visible, .stage-list button.is-current { background: #fff3c9; color: var(--ink); }
.stage-list button:hover { transform: translateX(3px); }
.stage-list button.is-current { font-weight: 850; }
.map-footnote { margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
.journey { display: grid; min-height: 0; align-items: center; }
.work-card { position: relative; height: 100%; overflow: hidden; padding: clamp(20px, 5vw, 40px); border-color: rgba(189, 245, 255, .18); background: linear-gradient(145deg, #182735 0%, #111d29 68%, #102c3b 170%); color: #eefcff; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.work-card::after { position: absolute; top: -100px; right: -100px; width: 220px; height: 220px; border: 1px solid rgba(219, 118, 91, .2); border-radius: 50%; box-shadow: 0 0 0 18px rgba(219, 118, 91, .05), 0 0 0 38px rgba(219, 118, 91, .035); content: ''; pointer-events: none; }
.journey-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.journey-kicker { margin: -7px 0 0; color: #b9c8ca; font-size: .86rem; }
.stage-count { padding: 7px 10px; border-radius: 99px; background: #fff3c9; color: var(--ink); font-size: .82rem; font-weight: 850; white-space: nowrap; }
.journey > .work-card > .progress { margin-top: 4px; }
.game-world { position: relative; height: clamp(240px, 46vw, 360px); margin: 18px -10px 0; overflow: hidden; border: 1px solid rgba(117, 223, 255, .28); border-radius: 20px; background: #071426; box-shadow: inset 0 0 45px rgba(69, 201, 236, .12); }
.game-world canvas { display: block; width: 100%; height: 100%; }
.game-hud { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; color: #bdf5ff; font-size: .8rem; font-weight: 850; pointer-events: none; }
.game-hud strong { padding: 4px 8px; border-radius: 99px; background: rgba(6, 14, 26, .82); color: #fff1b4; }
.flight-readout { color: #d9f8ff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.game-world > p { position: absolute; top: 38px; right: 14px; max-width: 25ch; margin: 0; color: #bdf5ff; font-size: .76rem; font-weight: 750; text-align: right; pointer-events: none; }
.flight-controls { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: end; justify-content: center; gap: 7px; pointer-events: none; transition: opacity .2s ease; }
.flight-controls.is-landed { opacity: .12; pointer-events: none; }
.flight-controls button { min-width: 40px; min-height: 38px; border: 1px solid rgba(189, 245, 255, .35); border-radius: 11px; padding: 7px 10px; background: rgba(6, 14, 26, .78); color: #eefcff; font-weight: 850; cursor: pointer; pointer-events: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.flight-controls button.is-held, .flight-controls button:hover { background: rgba(44, 156, 186, .65); }
.flight-controls .boost { border-color: rgba(255, 179, 71, .6); color: #ffd98d; }
.game-question { position: absolute; inset: 12px; z-index: 5; overflow: hidden; padding: 12px; border: 1px solid rgba(189, 245, 255, .34); border-radius: 16px; background: rgba(6, 14, 26, .94); color: #eefcff; box-shadow: 0 14px 35px rgba(0, 0, 0, .35); }
.game-question[hidden] { display: none; }
.game-question h2 { margin: 0 0 2px; color: #fff1b4; font-size: clamp(1.1rem, 4vw, 1.7rem); }
.game-question-state, .game-question-support { margin: 0 0 4px; color: #bdf5ff; font-size: .8rem; }
.game-question .suggestions { display: none; }
.game-question .suggestions-label, .game-question label, .game-question legend { color: #c5dce2; }
.game-question input, .game-question textarea { border-color: rgba(189, 245, 255, .28); background: rgba(255, 255, 255, .96); }
.game-question .fields { gap: 6px; }
.game-question .actions { flex-wrap: nowrap; margin-top: 6px; }
.game-question .actions button { min-width: 0; min-height: 40px; flex: 1 1 auto; padding-inline: 10px; }
.game-question input, .game-question textarea { padding: 9px 11px; }
.game-question textarea { height: 56px; min-height: 56px; }
.card-heading { margin: clamp(28px, 7vw, 58px) 0 24px; }
.card-heading h2 { max-width: 25ch; font-size: clamp(1.6rem, 5vw, 2.5rem); }
.stage-support { max-width: 52ch; margin: 10px 0 0; color: var(--muted); }
.suggestions { margin: 0 0 22px; }
.suggestions-label { margin: 0 0 8px; color: var(--muted); font-size: .85rem; font-weight: 750; }
.suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestion { border: 1px solid rgba(22, 107, 104, .28); border-radius: 999px; padding: 9px 12px; background: var(--blue); color: var(--teal); font-size: .9rem; font-weight: 750; cursor: pointer; }
.suggestion:hover, .suggestion:focus-visible { border-color: var(--teal); background: #c9e3e1; transform: translateY(-1px); }
.fields { display: grid; gap: 16px; }
.action-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.action-row > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: .85rem; }
.action-row input[type="checkbox"] { width: auto; }
label, legend { color: var(--muted); font-weight: 750; }
label { display: grid; gap: 7px; }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(22, 107, 104, .3); outline-offset: 2px; }
fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.actions button { min-height: 46px; border: 0; border-radius: 999px; padding: 11px 16px; font-weight: 850; cursor: pointer; }
.primary { background: var(--teal); color: white; box-shadow: 0 7px 0 #0e4f4c; transform: translateY(-2px); }
.primary:hover, .primary:focus-visible { background: #1b7b77; transform: translateY(-3px); }
.primary:active { box-shadow: 0 3px 0 #0e4f4c; transform: translateY(2px); }
.secondary { border: 1px solid rgba(189, 245, 255, .28) !important; background: transparent; color: #eefcff; }
.status { min-height: 1.5em; margin: 12px 0 0; color: #b9c8ca; font-size: .88rem; }
.summary { margin-top: 22px; padding: 12px 14px; border-left: 4px solid var(--yellow); background: rgba(6, 14, 26, .48); }
.summary .eyebrow { margin-bottom: 2px; }
.summary p:last-child { margin-bottom: 0; color: #eefcff; font-weight: 700; }
.privacy-tools { margin: 12px 0 0; color: #b9c8ca; font-size: .82rem; }
.privacy-tools summary { cursor: pointer; }
.privacy-tools p { margin: 8px 0; }
.privacy-tools p { max-width: 60ch; color: #9eb0b3; }
.summary h2 { font-size: 1.35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 800px) { .work-card { padding: 42px 56px; } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } .promise span { grid-template-columns: auto 1fr; align-items: center; } .game-hud { gap: 6px; font-size: .72rem; } .flight-readout { font-size: .68rem; } .game-world { height: clamp(340px, 82vw, 420px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } .game-world canvas { opacity: .85; } }
