/* Estilo do site do Snake: a paleta verde das páginas da etapa 3 (claro e escuro pelo sistema), fonte do sistema,
   celular primeiro. A estrutura veio do site do Pixel Reveal. */
:root {
  --bg: #f4f7ef;
  --text: #1d2a1a;
  --muted: #55624f;
  --title: #2c6b28;
  --accent: #3f8f3a;
  --accent-dark: #2c6b28;
  --on-accent: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a12;
    --text: #e8efe2;
    --muted: #a5b39c;
    --title: #8fd486;
    --accent: #6cc463;
    --accent-dark: #4f9e47;
    --on-accent: #0f160d;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  background: var(--bg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 24px 16px 48px; }
h1, h2, h3 { color: var(--title); line-height: 1.25; }
h1 { font-size: 1.75rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
a { color: var(--accent); overflow-wrap: anywhere; }
a:hover, a:focus { color: var(--accent-dark); }
ul { padding-left: 1.25rem; }
li { margin: 0.25rem 0; }
strong { color: var(--text); }
.center { text-align: center; padding-top: 12vh; }
.center p { color: var(--muted); }
.icon { border-radius: 22%; }
.button {
  display: inline-block;
  margin: 16px 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  border-bottom: 4px solid var(--accent-dark);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.button:hover, .button:focus { background: var(--accent-dark); color: var(--on-accent); }
footer { margin-top: 3rem; font-size: 0.875rem; color: var(--muted); }
