/* Deliberately plain. A task surface should look like an ordinary page: any
   styling that draws attention to itself is a cue a bot could learn, and an
   unusual layout changes how real people interact, which would bias the
   behavioural comparison against production sessions. */

:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --accent: #1f6fb2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

#app {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.panel[hidden] { display: none; }

h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }

.hint, .progress { color: var(--muted); font-size: .9rem; }

.stimulus {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin: 3rem 0;
  letter-spacing: .01em;
  user-select: none;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

button {
  font: inherit;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: .8rem 1rem;
}

button:hover { border-color: #c4c4c4; }

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice { text-transform: capitalize; }

.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: .7rem 1.5rem;
}

.primary:hover { background: #333; border-color: #333; }

@media (prefers-color-scheme: dark) {
  :root { --ink: #ececec; --muted: #9a9a9a; --line: #3a3a3a; }
  body { background: #131313; }
  button { background: #1c1c1c; color: var(--ink); }
  button:hover { border-color: #555; }
  .primary { background: #ececec; color: #131313; border-color: #ececec; }
  .primary:hover { background: #fff; border-color: #fff; }
}
