:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #121417;
  --muted: #5a6672;
  --line: #e5e9ef;
  --btn: #111827;
  --btnText: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

/* Card */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Typography */

.h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.tagline {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

/* Hero-specific */

.eyebrow {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}

.lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 10px;
}

.card.hero .h1 {
  font-size: 28px;
  line-height: 1.15;
}

.card.hero .eyebrow {
  margin-bottom: 8px;
}

.card.hero .divider {
  margin: 16px 0;
}

/* Divider */

.divider {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: var(--btnText);
  font-weight: 650;
  cursor: pointer;
}

.btn:not(.secondary):hover {
  filter: brightness(0.97);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn.secondary:hover {
  border-color: #cfd7e3;
}

/* Rows */

.row {
  display: flex;
  gap: 10px;
}

.row > * {
  flex: 1;
}

/* Game UI (play.html) */

.progress {
  display: flex;
  gap: 6px;
  margin: 10px 0 2px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
}

.dot.on {
  background: var(--text);
  border-color: var(--text);
}

.word {
  font-size: 34px;
  letter-spacing: 6px;
  text-align: center;
  margin: 14px 0;
  font-weight: 750;
}

.question {
  margin: 6px 0 10px;
  font-weight: 650;
}

.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  margin-bottom: 10px;
}

.option input {
  margin-top: 3px;
}

.option:hover {
  border-color: #cfd7e3;
}

.feedback {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 10px;
}
