/* 2c2t's blue, #081FF7, from its logo: on buttons in both themes, white
   on it; lighter for links on the dark ground, where it reads too dark. */
:root {
  --ground: #f5f6fb; --surface: #ffffff; --line: #dfe2ee;
  --text: #161a2e; --muted: #555a6e; --accent: #081ff7; --button: #081ff7;
  --code: #161a2e; --code-text: #f5f6fb;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #12141c; --surface: #1c1f2b; --line: #2f3344;
    --text: #eef0f8; --muted: #a3a8bb; --accent: #8593ff; --button: #081ff7;
    --code: #0b0c12; --code-text: #eef0f8;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
main {
  max-width: 760px; margin: 0 auto; padding: 48px 16px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
}
h1 {
  font-size: 2.2rem; line-height: 1.2; margin: 0 0 8px; text-wrap: balance;
  display: flex; align-items: center; gap: 14px;
}
h2 { font-size: 1.3rem; margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 1.1rem; }
a { color: var(--accent); }
pre {
  margin: 0 0 12px; padding: 12px 14px; overflow-x: auto;
  background: var(--code); color: var(--code-text); border-radius: 10px;
}
code { font: 0.9rem/1.5 ui-monospace, "JetBrains Mono", monospace; }
.app {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.app + .app { margin-top: 16px; }
.app img { max-width: 100%; }
.version { color: var(--muted); font-weight: 400; font-size: 0.95rem; }
.about p:first-of-type { color: var(--muted); }
.links { display: flex; gap: 16px; align-items: center; margin: 0; }
.button {
  background: var(--button); color: #fff; text-decoration: none; font-weight: 600;
  padding: 6px 16px; border-radius: 999px;
}
footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 20px; }
footer code { overflow-wrap: anywhere; }
@media (max-width: 480px) { .app { grid-template-columns: minmax(0, 1fr); } }
