:root {
  color-scheme: light dark;
  --bg: #f4efe6;
  --card: #fffdf8;
  --text: #1d2a24;
  --muted: #5b6660;
  --brand: #1f3d30;
  --accent: #b8873b;
  --on-brand: #fffdf8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12201a;
    --card: #1b2c24;
    --text: #f1ece2;
    --muted: #b7c0ba;
    --brand: #d6ab5f;
    --accent: #d6ab5f;
    --on-brand: #12201a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}
main {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.brand {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
}
p {
  margin: 0 0 16px;
  color: var(--muted);
}
.actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
a.button,
button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
a.button {
  background: var(--brand);
  color: var(--on-brand);
}
button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
}
a.button:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.note {
  font-size: 14px;
  margin-top: 20px;
}
.status {
  min-height: 1.5em;
  font-size: 15px;
  color: var(--text);
  margin: 8px 0 0;
}
[hidden] {
  display: none !important;
}
