:root {
  --bg: #ffffff;
  --panel: #f5f7fa;
  --text: #16202c;
  --muted: #5b6878;
  --line: #e2e7ee;
  --accent: #1f6feb;
  --warn-bg: #fff6e5;
  --warn-line: #f0c36d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1420;
    --panel: #151f2e;
    --text: #e8edf4;
    --muted: #9aa8ba;
    --line: #233046;
    --accent: #5b9dff;
    --warn-bg: #2b2414;
    --warn-line: #7a5d1e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: .2px; }
.brand img { display: block; height: 28px; width: auto; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
.wrap { max-width: 860px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main.wrap { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 4px; }
.filters button {
  font: inherit; font-size: 15px; padding: 7px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
.filters button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.app[hidden] { display: none; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.app {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.app img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.app h3 { margin: 0 0 4px; }
.app p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.app .links a { font-size: 14px; margin-right: 14px; }
.hero { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.hero img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.note {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px;
  padding: 12px 14px; margin: 18px 0;
}
ul { padding-left: 22px; }
li { margin: 4px 0; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; }
footer.site a { color: var(--muted); margin-right: 14px; }
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .hero img { width: 64px; height: 64px; border-radius: 14px; }
  nav a { margin-left: 12px; }
}
