* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 430px;
  margin: 0 auto;
  padding: 28px 20px;
  background: #fff;
  color: #1a1a1a;
}

/* ── Главная страница ── */
h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 36px;
  color: #1a1a1a;
}

.dialog-list {
  list-style: none;
}

.dialog-list li {
  margin-bottom: 28px;
}

.dialog-list a {
  color: #E07B39;
  text-decoration: none;
  font-size: 18px;
}

/* ── Страницы диалогов ── */
.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #E07B39;
  text-decoration: none;
  display: block;
  margin-bottom: 28px;
}

.dialog-entry {
  margin-bottom: 28px;
  margin-top: 28px;
}

.russian {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 32px;
}

.reference-info h3 {
  margin-bottom: 24px !important;
}

.toggle-expressions {
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid #E07B39;
  border-radius: 4px;
  background: transparent;
  color: #E07B39;
  cursor: pointer;
  font: inherit;
}

.toggle-expressions:hover {
  background: #E07B39;
  color: #fff;
}

.english {
  font-size: 16px;
  line-height: 1.5;
  color: #fefefe;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.english.revealed {
  color: #ccc;
}

.english.question-english {
  margin-bottom: 20px;
}

.russian.question-russian,
.english.question-english {
  font-weight: 700;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-links a {
  display: inline-block;
  color: #E07B39;
  font-size: 18px;
  text-decoration: none;
}

.menu-links a:hover {
  text-decoration: underline;
}
