﻿:root {
  color-scheme: light;
  --text: #1b1b1b;
  --muted: #6a5f57;
  --border: #e2d6cc;
  --bg: #f7f1eb;
  --panel: #fff8f1;
  --accent: #111;
  --accent-red: #b11226;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #f9f2ea 0%, #f4ece4 100%);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
  line-height: 1.5;
}

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

.section {
  display: none;
}

.section.is-active {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(36, 28, 22, 0.08);
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  background: #fffdfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:disabled {
  background: #f0e7df;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(177, 18, 38, 0.12);
}

button {
  appearance: none;
  border: 1px solid var(--accent-red);
  background: var(--accent-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--accent-red);
  background: var(--accent-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
}

button.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.timer {
  font-weight: 600;
  margin: 8px 0 24px;
  color: var(--accent);
}

.question {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.question:last-of-type {
  border-bottom: 0;
}

.actions {
  margin-top: 24px;
}

.welcome-text ol {
  margin: 0 0 18px 18px;
  padding: 0;
}

.welcome-text li {
  margin-bottom: 10px;
}
