:root {
    --midnight: #243447;
    --gold: #d4af37;
    --parchment: #f8f5ee;
    --ink: #243447;
    --muted: #6e7b89;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--parchment); color: var(--ink); font: 16px/1.45 Inter, system-ui, sans-serif; }
a { color: inherit; }
.app-header { display: flex; justify-content: space-between; align-items: center; padding: 16px max(20px, calc((100% - 980px) / 2)); background: var(--midnight); color: white; }
.brand { color: var(--gold); font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 8px; }
nav a { border-radius: 999px; padding: 8px 12px; text-decoration: none; }
nav a[aria-current="page"] { background: var(--gold); color: var(--midnight); }
main { width: min(100% - 32px, 980px); margin: 24px auto 64px; }
section { margin-bottom: 32px; }
.hero, .story { border-radius: 24px; padding: 24px; }
.dark { background: var(--midnight); color: white; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
.notice { padding: 14px 16px; border: 2px solid var(--gold); border-radius: 14px; background: white; }
.choice-grid, .world-grid, .reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
form { margin: 0; }
button, .choice { font: inherit; }
.choice { width: 100%; min-height: 88px; border: 2px solid var(--gold); border-radius: 18px; background: white; color: var(--ink); padding: 16px; text-align: left; cursor: pointer; }
.choice span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.timeline { list-style: none; padding: 0; }
.timeline li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #d9d5cc; }
.timeline span { color: var(--muted); }
.world-card { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 2px solid var(--gold); border-radius: 22px; background: var(--midnight); color: white; text-align: center; text-decoration: none; }
.world-card img { width: 112px; height: 112px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.world-card span { color: var(--gold); font-size: 14px; }
.world-card.locked { opacity: .7; }
.placeholder { font-size: 72px !important; }
.story { text-align: center; }
.story > img { width: 160px; height: 160px; border: 3px solid var(--gold); border-radius: 50%; object-fit: cover; }
blockquote { margin: 24px 0; border-radius: 18px; padding: 20px; background: var(--parchment); color: var(--ink); text-align: left; }
.question { color: var(--gold); font-weight: 700; }
.reflection-grid button { min-height: 56px; border: 2px solid var(--gold); border-radius: 14px; background: white; color: var(--ink); cursor: pointer; }
.reflection-grid form { display: flex; }
.reflection-grid form button { width: 100%; }
.reflection-grid button[aria-pressed="true"] { background: var(--gold); color: var(--midnight); font-weight: 800; }
.reflection-notice { color: var(--midnight); text-align: left; }

@media (max-width: 600px) {
    .app-header { align-items: flex-start; gap: 12px; }
    nav { flex-direction: column; }
    .choice-grid, .world-grid, .reflection-grid { grid-template-columns: 1fr; }
    .timeline li { flex-direction: column; }
}
