:root {
  --ink: #1e3a42;
  --ink-soft: #4a7080;
  --paper: #f0f8fa;
  --paper-low: #e8f4f7;
  --brand: #28788c;
  --brand-dark: #1d5f70;
  --accent: #6b8e6f;
  --line: #d3e2e6;
  --error: #c0392b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

button {
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.1rem;
  background: var(--brand);
  color: white;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover { background: var(--brand-dark); }
button:active { transform: scale(0.98); }

button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 2.1rem;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button-secondary:hover { background: var(--paper-low); }
.button-secondary:active { transform: scale(0.98); }

.button-secondary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.error-message { color: var(--error); font-weight: 600; }

.placeholder-note { color: var(--ink-soft); font-style: italic; font-size: 0.9rem; }
