@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Inter:wght@400;600&display=swap');

:root{--paper:#f7f1e8;--card:#fffaf2;--ink:#2b2118;--muted:#6b5b4b;--accent:#c2562f;--gold:#e0a03a;--action:#a44020;--line:#dfd0be;--radius:12px;--shadow:0 8px 24px rgba(0,0,0,.08)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 Inter,system-ui,sans-serif}
.wrap{width:100%;max-width:1120px;margin-inline:auto;padding-inline:24px}
a{color:var(--action);text-underline-offset:4px}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--action);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.2}
h1,h2{font-family:Fraunces,Georgia,serif;font-weight:700}
h1{font-size:48px;letter-spacing:-.045em}
h2{font-size:28px;letter-spacing:-.025em}
h3{font-size:18px}
p{max-width:70ch}
.skip{position:absolute;z-index:5;top:8px;left:8px;padding:12px;background:var(--card);transform:translateY(-140%)}
.skip:focus{transform:none}
.topbar{border-bottom:1px solid var(--line)}
.topbar-inner,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar-inner{min-height:64px}
.wordmark{display:inline-flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-weight:600;white-space:nowrap}
.mark{width:28px;height:28px;border-radius:8px;background:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:2px}
.mark i{width:3px;height:8px;background:var(--gold);border-radius:2px;transform:rotate(14deg)}
.mark i:nth-child(2){height:12px}.mark i:last-child{height:16px}
nav{display:flex;gap:16px;flex-wrap:wrap}
nav a{font-size:14px;color:var(--muted);font-weight:600;text-decoration:none}
nav a:hover{text-decoration:underline}
.hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:48px;padding-block:48px 32px}
.eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--action);margin-bottom:12px}
.eyebrow span{width:16px;border-top:2px solid var(--accent)}
.intro{padding-block:16px}
.lede{font-size:18px;color:var(--muted);margin-block:16px 24px;max-width:38ch}
.button{display:inline-flex;min-height:44px;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:var(--radius);padding:8px 16px;font:600 14px/1.4 Inter,system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.primary{background:var(--action);color:#fff}.primary:hover{background:#853217;color:#fff}
.secondary{background:var(--card);border-color:var(--ink);color:var(--ink)}.secondary:hover{background:var(--paper)}
.hintline{margin-top:8px;color:var(--muted);font-size:12px}
.game{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.game-top,.game-bottom{padding:12px 24px;font-size:14px}
.game-top{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--ink);color:var(--card);font-weight:600}
.game-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--gold);margin-right:6px}
.game-tag{font-size:12px;color:#e8d8c3}
.game-body{min-height:352px;display:grid;place-items:center;padding:24px}
.game-body>div{width:100%}
[data-cover],[data-finish]{text-align:center}
[data-cover] p,[data-finish] p{max-width:33ch;margin:12px auto;color:var(--muted)}
[data-finish] .eyebrow{justify-content:center;color:var(--action)}
[data-cover] .button,[data-finish] .button{margin-top:12px}
.tally-art{height:64px;width:min(100%,232px);display:grid;grid-template-columns:repeat(15,1fr);align-items:end;gap:4px;margin:0 auto 24px;border-bottom:1px solid var(--line);padding-bottom:4px}
.tally-art i{height:16px;background:var(--line);border-radius:4px 4px 0 0}
.tally-art i:nth-child(3n){height:24px}.tally-art i:nth-child(4n){height:32px}
.tally-art i:nth-child(n+5):nth-child(-n+11){height:36px;background:var(--gold)}
.tally-art i:nth-child(6),.tally-art i:nth-child(10){height:44px!important}
.tally-art i:nth-child(7),.tally-art i:nth-child(9){height:48px!important}
.tally-art i:nth-child(8){height:60px!important;background:var(--accent)!important}
.game-bottom{border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.round-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:14px;font-weight:600}
progress{width:100%;height:8px;margin-bottom:12px;accent-color:var(--action)}
[data-prompt]{font-size:22px;margin-bottom:16px}
.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.choice{justify-content:flex-start;text-align:left;color:var(--ink);background:var(--card);border-color:var(--line)}
.choice:hover:not(:disabled){border-color:var(--action);background:var(--paper)}
.choice:disabled{cursor:default}.choice[data-top]{background:#f7e7c7;border-color:#8c5a1e}
.choice[data-picked]{border:2px solid var(--action)}
.round-end{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:16px;min-height:44px}
.round-end p{font-size:14px}.round-end button{flex-shrink:0}
.final-score{font-size:48px;color:var(--action);font-variant-numeric:tabular-nums}
.guide-nav{padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:12px 24px}
.prose{max-width:72ch}
.guide,.inner{padding-block:48px 64px}
.prose h2{margin-top:32px;margin-bottom:12px}.prose h2:first-child{margin-top:0}
.prose h3{margin-top:24px;margin-bottom:8px}
.prose p,.prose ul,.prose ol{margin-block:0 16px}
.prose li+li{margin-top:8px}
.prose h1{margin-bottom:24px}.back{display:inline-flex;margin-bottom:16px;font-size:14px}
.feedback-form{display:grid;gap:8px;margin-top:24px;max-width:480px}.feedback-form label{font-weight:600}
.feedback-form input,.feedback-form textarea{width:100%;font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--muted);border-radius:var(--radius);padding:8px 12px}
.feedback-form button{justify-self:start}
.footer{border-top:1px solid var(--line);padding-block:24px 32px}
.footer-inner{align-items:flex-start}.footer p{color:var(--muted);font-size:12px;margin-top:4px}
@media(max-width:640px){.wrap{padding-inline:16px}.hero{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:24px}.intro{padding:0}h1{font-size:36px}.lede{margin-block:12px 16px}.button{width:100%}.topbar nav{gap:8px}.topbar nav a{font-size:12px}.topbar-inner{gap:8px}.game-top,.game-bottom,.game-body{padding-inline:16px}.game-body{min-height:336px}.choices{grid-template-columns:minmax(0,1fr)}.round-end{display:grid;min-height:0}.footer-inner{flex-direction:column}.guide,.inner{padding-block:32px 48px}}
