:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #15201a;
  --muted: #56645b;
  --border: #dfe5df;
  --accent: #0b7a3e;
  --accent-soft: #e3f2e8;
  --ball: #c4282c;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1411;
    --surface: #151d18;
    --text: #e8efe9;
    --muted: #a3b2a8;
    --border: #26322b;
    --accent: #4cc27f;
    --accent-soft: #173323;
    --ball: #ef5a5e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

main { padding: 40px 0 64px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
p.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.muted { color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
}

.prompts { display: grid; gap: 10px; padding: 0; margin: 12px 0; list-style: none; }
.prompts li { background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; }

code {
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}

footer.site { border-top: 1px solid var(--border); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 14px; }
