:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #5f6c80;
  --line: #d7dee9;
  --blue: #244fd9;
  --green: #21765d;
  --soft: #eef2f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--blue);
}

.doc {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.doc.wide {
  width: min(1120px, calc(100% - 32px));
}

.back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.13rem;
}

.big-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style-position: inside;
}

.big-list li,
.prompt,
.note,
.choice,
.prompt-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
}

.prompt {
  border-left: 5px solid var(--blue);
}

.note {
  border-left: 5px solid var(--green);
}

.primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.choice-grid,
.prompt-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.choice-grid {
  grid-template-columns: repeat(2, 1fr);
}

.prompt-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  color: var(--ink);
  text-decoration: none;
}

.choice strong {
  display: block;
  margin-bottom: 5px;
}

.choice span {
  color: var(--muted);
}

.prompt-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .choice-grid,
  .prompt-grid {
    grid-template-columns: 1fr;
  }
}
