* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 0 16px 40px;
  background: #0b1f3a;
  color: #eef3f9;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid #7fe0cf; outline-offset: 2px; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }
.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  color: #0b1f3a;
  font-size: 13px;
}
.tag { padding: 3px 10px; border-radius: 20px; background: #16345c; font-size: 13px; font-weight: 700; }

.stage { display: grid; gap: 16px; max-width: 520px; margin: 0 auto; }

.card { padding: 26px 22px; background: #fff; color: #16243a; border-radius: 16px; }
.card h1 { color: #0b1f3a; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.card h1.prompt { font-size: 21px; line-height: 1.35; margin-top: 6px; }
.card h2 { color: #0b1f3a; font-size: 20px; line-height: 1.3; font-weight: 800; }

.eyebrow { color: #086457; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.muted { margin-top: 8px; color: #55657a; font-size: 16px; }
.meta { color: #55657a; font-size: 14px; font-weight: 600; }

.progress { display: flex; gap: 6px; margin-bottom: 14px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: #dde4ec; }
.progress .on { background: #0b7f71; }

.options { display: grid; gap: 10px; margin-top: 18px; }
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1.5px solid #dde4ec;
  border-radius: 10px;
  background: #fff;
  color: #16243a;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.option:hover { border-color: #0b7f71; }
.option.chosen { border-color: #0b7f71; background: #dff3ef; color: #086457; }
.letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #f3f6f9;
  font-size: 14px;
  font-weight: 800;
}

.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: #0b7f71;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover { background: #086457; }
.primary:disabled { background: #dde4ec; color: #55657a; cursor: default; }

.score { color: #0b1f3a; font-size: 52px; line-height: 1.1; font-weight: 800; }

.review { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dde4ec; }
.verdict { font-size: 14px; font-weight: 700; }
.verdict.right { color: #086457; }
.verdict.wrong { color: #a86f08; }
.review-prompt { margin-top: 2px; color: #0b1f3a; font-weight: 700; }

.note { background: #dff3ef; }

.again { text-align: center; }
.text {
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
