:root {
  color-scheme: light dark;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --bg: #fafaf7;
  --accent: #e8a400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f2f2ee;
    --muted: #9a9a9f;
    --bg: #141416;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
}

blockquote {
  margin: 0;
  max-width: 36ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.3;
  text-align: center;
  transition: opacity 200ms ease;
}

blockquote::before,
blockquote::after {
  color: var(--accent);
}

blockquote::before {
  content: "“";
}

blockquote::after {
  content: "”";
}

blockquote.fading {
  opacity: 0;
}

button {
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: var(--accent);
  color: #1d1d1f;
}

footer {
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  blockquote {
    transition: none;
  }
}
