:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --text: #1f1d1a;
  --muted: #6b665f;
  --line: #e6e2dc;
  --accent: #d9481f;
  --accent-soft: #fbe9e2;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15161a;
    --card: #1c1d22;
    --text: #e8e6e3;
    --muted: #9a968f;
    --line: #2c2d33;
    --accent: #f07a45;
    --accent-soft: #3a241b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

main, footer {
  max-width: 720px;
  margin: 0 auto;
}

main { padding: 56px 0 24px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2 { line-height: 1.25; margin: 0; }

.intro {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}
.intro h1 { font-size: 1.75rem; font-weight: 650; }
.intro h1 span { color: var(--muted); font-weight: 400; }
.intro p { margin: 6px 0 0; color: var(--muted); }
.avatar { border-radius: 50%; flex: none; }

.project {
  display: flex;
  gap: 20px;
  padding: 24px;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.project .icon { flex: none; border-radius: 12px; }
.project .body { min-width: 0; }
.project h2 { font-size: 1.2rem; font-weight: 650; }
.project p { margin: 8px 0 0; }
.project .meta { margin-top: 2px; font-size: 0.875rem; color: var(--muted); }
.version { font-variant-numeric: tabular-nums; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 0.925rem;
}

.support {
  margin-top: 40px;
  padding: 24px;
  border-radius: 12px;
  background: var(--accent-soft);
}
.support h2 { font-size: 1.1rem; }
.support p { margin: 6px 0 0; }
.button {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 550;
}
.button:hover { background: var(--accent); color: var(--card); }

footer {
  padding: 16px 0 48px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
footer a { color: var(--muted); }
footer p { margin: 0; }

.paid { margin-top: 18px; }
.paid summary {
  display: inline-block;
  cursor: pointer;
  font-size: 0.75rem;
  opacity: 0.55;
  list-style: none;
}
.paid summary::-webkit-details-marker { display: none; }
.paid summary:hover { opacity: 1; }
.paid ul {
  list-style: none;
  padding: 0;
  margin: 12px auto 0;
  max-width: 520px;
  text-align: left;
}
.paid li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  line-height: 1.5;
}
.paid li img { flex: none; border-radius: 8px; }

@media (max-width: 520px) {
  main { padding-top: 32px; }
  .intro { align-items: flex-start; }
  .avatar { width: 56px; height: 56px; }
  .project { padding: 18px; gap: 14px; }
  .project .icon { width: 44px; height: 44px; }
}
