:root {
  --bg: #f4f1e8;
  --surface: #fffdf9;
  --surface-strong: #f7efe0;
  --text: #1f2a2e;
  --muted: #6a756f;
  --border: #d9d0be;
  --accent: #1f6f5b;
  --accent-dark: #174e41;
  --danger: #b74a3d;
  --shadow: 0 18px 60px rgba(40, 55, 48, 0.12);
  --radius: 18px;
  --font-title: "Georgia", "Times New Roman", serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 91, 0.14), transparent 34%),
    linear-gradient(180deg, #fbf8f2, var(--bg));
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}

.alert {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.alert-danger {
  background: rgba(183, 74, 61, 0.1);
  color: var(--danger);
}

.button-link,
button {
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button-link:hover,
button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.state-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.state-page main {
  max-width: 560px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
