:root {
  --bg: #f6f6fb;
  --surface: #ffffff;
  --text: #16151f;
  --muted: #5d5b6e;
  --border: #e4e3ee;
  --indigo: #6154fa;
  --teal: #1ac7c2;
  --link: #4b3fe0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0d16;
    --surface: #181724;
    --text: #efeef8;
    --muted: #a6a4ba;
    --border: #2a2940;
    --link: #9c94ff;
  }
}

* { 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;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

header img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

header .name { font-size: 22px; font-weight: 700; }
header .tag { color: var(--muted); font-size: 15px; }

nav { display: flex; gap: 18px; margin-bottom: 32px; font-size: 15px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 16px 0;
}

.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
}
.button:hover { text-decoration: none; opacity: 0.92; }

details { border-top: 1px solid var(--border); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

footer { margin-top: 48px; font-size: 14px; color: var(--muted); }
