:root { color-scheme: light; --ink: #20202c; --muted: #6d6c7d; --paper: #fffaf3; --pink: #f66d8b; --yellow: #f9d66b; --blue: #a7d8f4; --line: #20202c; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--yellow); font-family: "Trebuchet MS", "Avenir Next", sans-serif; }
.app-shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 32px; }
.masthead { text-align: center; margin-bottom: 30px; }
.eyebrow, .kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 14px; font-size: clamp(2.7rem, 9vw, 5.5rem); line-height: .9; letter-spacing: -.07em; }
h1 span { color: var(--pink); text-shadow: 2px 2px 0 var(--ink); } h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: -.04em; }
.lede { max-width: 510px; margin: auto; color: var(--muted); line-height: 1.5; }
.card { background: var(--paper); border: 3px solid var(--line); border-radius: 22px; box-shadow: 8px 8px 0 var(--line); padding: clamp(24px, 6vw, 48px); }
.intro-card { text-align: center; } .intro-card p:not(.kicker) { max-width: 470px; margin: 0 auto 28px; color: var(--muted); line-height: 1.55; }
button { font: inherit; cursor: pointer; } .button { border: 2px solid var(--line); border-radius: 999px; padding: 13px 22px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.button:hover, .button:focus-visible { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--line); } .button-primary { background: var(--pink); color: var(--ink); } .button-secondary { background: var(--blue); color: var(--ink); }
.survey-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.progress-track { height: 10px; margin: 14px 0 34px; overflow: hidden; border: 2px solid var(--line); border-radius: 20px; } #progress-bar { height: 100%; width: 0; background: var(--pink); transition: width .25s ease; }
.question-help { color: var(--muted); line-height: 1.5; } .answers { display: grid; gap: 10px; margin: 28px 0; }
.answer-option { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 12px; padding: 13px 15px; cursor: pointer; } .answer-option:has(input:checked) { background: var(--blue); }
.answer-option input { accent-color: var(--pink); width: 18px; height: 18px; }
.quadrant-wrap { display: grid; grid-template-columns: minmax(220px, 1fr) 1fr; gap: 24px; align-items: center; margin: 28px 0; }
.axis-chart { position: relative; aspect-ratio: 1; border: 3px solid var(--line); background: linear-gradient(135deg, var(--pink) 0 50%, var(--blue) 50%); }
.axis-line { position: absolute; background: var(--line); } .axis-horizontal { width: 100%; height: 3px; top: 50%; } .axis-vertical { height: 100%; width: 3px; left: 50%; }
.chart-label { position: absolute; z-index: 1; font-size: .65rem; font-weight: 800; } .chart-label-up { top: 5px; left: 50%; transform: translateX(-50%); } .chart-label-down { bottom: 5px; left: 50%; transform: translateX(-50%); } .chart-label-good { top: 50%; right: 6px; transform: translateY(-50%); } .chart-label-bad { top: 50%; left: 6px; transform: translateY(-50%); }
.result-dot { position: absolute; width: 25px; height: 25px; transform: translate(-50%, 50%); border: 4px solid var(--paper); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.score-list p { display: flex; flex-direction: column; gap: 5px; padding: 12px 0; border-bottom: 2px solid var(--line); } .score-list span { color: var(--pink); font-size: 1.4rem; font-weight: 800; }
.constraint-note { padding: 14px; border: 2px dashed var(--line); background: var(--yellow); line-height: 1.45; } .result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
footer { text-align: center; padding: 8px 16px 30px; color: var(--ink); font-size: .78rem; } [hidden] { display: none !important; }
@media (max-width: 560px) { .quadrant-wrap { grid-template-columns: 1fr; } .axis-chart { max-width: 300px; margin: auto; width: 100%; } }
