:root {
  --bg: #f7f4ed;
  --ink: #1d1d1d;
  --muted: #6a655d;
  --accent: #c8472f;
  --card: #ffffff;
  --border: #e5e0d6;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1a17;
    --ink: #f0ece4;
    --muted: #a39d92;
    --accent: #e07a5f;
    --card: #25231f;
    --border: #36332d;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem 2rem 2.25rem;
}

.title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.progress {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.prompt {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}

.options {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.options li {
  margin-bottom: 0.6rem;
}

.options label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.1s ease, background 0.1s ease;
}

.options label:hover {
  border-color: var(--accent);
}

.options input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

button.primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

button.primary:hover {
  filter: brightness(1.05);
}

.result-heading {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.result p {
  margin: 0 0 0.85rem;
}

form + form, .result + form {
  margin-top: 1rem;
}
