:root {
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe3ee;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --warn: #b45309;
  --warn-hover: #92400e;
  --surface: #f8fbff;
  --ring: rgba(29, 78, 216, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(900px 300px at 20% -5%, #dbeafe 0%, rgba(219, 234, 254, 0) 60%),
    radial-gradient(1100px 280px at 90% 0%, #e2e8f0 0%, rgba(226, 232, 240, 0) 65%),
    var(--bg);
  color: var(--text);
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 16px 44px;
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow:
    0 2px 10px rgba(15, 23, 42, 0.04),
    0 16px 30px rgba(15, 23, 42, 0.03);
}

.hero {
  background: linear-gradient(120deg, #ffffff 0%, #f8fbff 100%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 10px;
}

h1,
h2 {
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  letter-spacing: -0.025em;
}

h2 {
  font-size: 24px;
}

.muted {
  color: var(--muted);
  line-height: 1.5;
}

.heroText {
  max-width: 66ch;
}

.pillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  font-size: 12px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  padding: 6px 10px;
}

.row {
  display: flex;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.gap {
  gap: 10px;
}

.cleanList {
  margin: 8px 0 16px;
  padding-left: 22px;
  line-height: 1.65;
}

.label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 3px;
}

.value {
  font-size: 18px;
  font-weight: 600;
}

.statusGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statusItem {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.context {
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0 12px;
  line-height: 1.45;
}

.cardInset {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.question {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
}

.playbackWrap {
  display: grid;
  gap: 4px;
  border-color: #bfdbfe;
  background: linear-gradient(120deg, #eff6ff 0%, #f8fbff 100%);
}

.playbackTitle {
  font-weight: 600;
  color: #1e3a8a;
}

.timerValue {
  font-size: 28px;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: -0.02em;
}

.answers {
  display: grid;
  gap: 10px;
}

button {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 160ms ease;
}

button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.primary {
  color: #fff;
  background: var(--primary);
}

.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.answerBtn {
  text-align: left;
  background: #ffffff;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.answerBtn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.warn {
  color: #fff;
  background: var(--warn);
}

.warn:hover {
  background: var(--warn-hover);
  transform: translateY(-1px);
}

.ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #334155;
}

.ghost:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.feedback {
  min-height: 26px;
  font-size: 14px;
  color: #0f766e;
  margin-top: 10px;
}

.scoreList li {
  margin-bottom: 2px;
}

.siteFooter {
  margin-top: 4px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.hidden {
  display: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

@media (max-width: 700px) {
  .container {
    padding-top: 20px;
  }

  .statusGrid {
    grid-template-columns: 1fr;
  }

  .row.gap {
    flex-direction: column;
    align-items: stretch;
  }
}
