:root {
  --bg: #161826;
  --surface: #232532;
  --text: #E9E9ED;
  --muted: #B2B6CA;
  --faint: #9397AB;
  --accent: #B5ABFC;
  --gold: #FFD166;
  --divider: rgba(233, 233, 237, 0.14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(145, 132, 217, 0.28), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { padding: 22px 0; border-bottom: 1px solid var(--divider); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 20px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--text); }

main { padding: 48px 0 64px; }
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 28px 0 6px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
.lede { font-size: 19px; color: var(--muted); margin: 0; }
.updated { color: var(--faint); font-size: 14px; margin-top: 6px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }

.card {
  background: rgba(35, 37, 50, 0.75);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 24px;
  margin-top: 28px;
}
.contact { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.contact .label { color: var(--faint); font-size: 14px; margin: 0; }
.contact .email { font-size: 20px; font-weight: 600; word-break: break-all; }
.button {
  display: inline-block;
  background: #796CBF;
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
}
.button:hover { background: #8A7DD0; text-decoration: none; }

details { border-top: 1px solid var(--divider); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--divider); }
summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p, details ul { margin: 10px 0 0; }

.hero { text-align: center; padding-top: 24px; }
.hero img { width: 160px; height: 160px; }
.hero h1 { font-size: 48px; margin-top: 20px; }
.hero .lede { max-width: 560px; margin: 0 auto; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 40px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }
.features p { margin: 0; font-size: 15px; }

footer.site { border-top: 1px solid var(--divider); padding: 24px 0 40px; color: var(--faint); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--faint); margin-left: 16px; }
footer.site a:first-child { margin-left: 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  .hero img { width: 120px; height: 120px; }
  nav a { margin-left: 14px; }
}
