/* Design & Feel #2 tokens. Layout: one phone-width column of stacked person cards. */
:root {
  --bg: #FBF8F7; --surface: #FFFFFF; --text: #2A2226; --text-muted: #66595F;
  --accent: #C9434D; --accent-text: #FFFFFF; --line: #EFE7E8;
  --tint-1: #FCE6D9; --tint-2: #ECE3F7; --tint-3: #DDEDF7;
  --tint-1-deep: #F6CDB6; --tint-2-deep: #D9C9EF; --tint-3-deep: #BFDDF0;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171315; --surface: #221C1F; --text: #F5EEF0; --text-muted: #C4B6BC;
    --accent: #F0767C; --accent-text: #2A1215; --line: #332A2E;
    --tint-1: #3A2820; --tint-2: #2E2639; --tint-3: #1F2D38;
    --tint-1-deep: #56392B; --tint-2-deep: #443854; --tint-3-deep: #2C4352;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
main { max-width: 440px; margin: 0 auto; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.top h1 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0; }
.muted { color: var(--text-muted); font-size: 14px; }

.cards { display: grid; gap: 16px; }
.card {
  border-radius: var(--radius); padding: 20px 20px 16px; display: grid; gap: 4px;
  background: radial-gradient(120% 60% at 0% 0%, var(--deep) 0%, var(--tint) 55%);
}
.tint-1 { --tint: var(--tint-1); --deep: var(--tint-1-deep); }
.tint-2 { --tint: var(--tint-2); --deep: var(--tint-2-deep); }
.tint-3 { --tint: var(--tint-3); --deep: var(--tint-3-deep); }
.card .name { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.card .answer { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: .95; margin: 8px 0 0; text-wrap: balance; }
.card .answer.small { font-size: 40px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.actions form { margin: 0; }
.pill {
  background: var(--accent); color: var(--accent-text); border: 0; border-radius: 999px;
  padding: 0 22px; min-height: 48px; font-weight: 600; font-size: 16px;
}
@media (prefers-reduced-motion: no-preference) { .pill { transition: transform .2s ease-out; } .pill:active { transform: scale(.97); } }
