:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1c1f24;
  --muted: #5b6270;
  --accent: #0f8f86;
  --line: #e3e6eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --card: #1b1e24;
    --text: #eceef2;
    --muted: #a3a9b5;
    --accent: #3cc7bc;
    --line: #2b3038;
  }
}
* { 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: 32px 16px 48px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
header.site .brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
header.site nav a { margin-left: 16px; text-decoration: none; font-size: .95rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.app { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.app img { width: 96px; height: 96px; border-radius: 22px; }
.app h2 { margin: 0 0 4px; font-size: 1.35rem; }
.app p { margin: 0; color: var(--muted); }
.btn {
  display: inline-block; margin-top: 16px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
ul.features { padding-left: 20px; color: var(--muted); }
.links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 8px; }
.doc h2 { font-size: 1.2rem; margin-top: 32px; }
.doc h3 { font-size: 1.05rem; }
.doc code { font-size: .9em; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: .95rem; }
.apps { display: grid; gap: 16px; margin-top: 24px; }
.apps .card { display: flex; flex-direction: column; }
.apps .card .btn { align-self: flex-start; }
.app a.title { color: var(--text); text-decoration: none; }
.app a.title:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 16px; text-decoration: none; }
footer { margin-top: 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 16px; }
