:root {
  --bg: #0b0614; --surface: #171024; --text: #f4eff9; --muted: #b3a8c4;
  --accent: #ff3d7f; --accent-2: #a855f7; --line: rgba(255, 255, 255, .12);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbf9fd; --surface: #ffffff; --text: #1c1427; --muted: #625774;
    --accent: #d81b60; --accent-2: #7c3aed; --line: rgba(28, 20, 39, .12);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main, header, footer { width: min(720px, 100%); margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.langs { display: flex; gap: 14px; }
.lang { color: var(--muted); font-size: 15px; text-decoration: none; }
main { padding-top: 40px; padding-bottom: 40px; }
h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
a { color: var(--accent); }
.updated, .lead { color: var(--muted); }
.lead { font-size: 19px; }
.hero { text-align: center; padding: 32px 0 12px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 48px rgba(168, 85, 247, .4); }
.hero h1 {
  margin-top: 24px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card h2 { font-size: 17px; margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
footer { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); font-size: 15px; text-decoration: none; }
