:root {
  --ink: #241f36;
  --purple: #4a3f78;
  --muted: #544a7a;
  --faint: #8a80b0;
  --pale: #b3a9dd;
  --line: rgba(74, 63, 120, .15);
  --wash: rgba(74, 63, 120, .04);
  --bg: #fdfcff;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
header { display: flex; justify-content: space-between; align-items: baseline; }
.brand { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.brand .avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; }
nav { display: flex; gap: 22px; font-size: 13.5px; }
.nav-link {
  color: var(--muted);
  padding-bottom: 3px;
  background: linear-gradient(var(--purple), var(--purple)) left bottom / 0% 1.5px no-repeat;
  transition: background-size .2s var(--ease-out), color .2s ease;
}
.nav-link.active {
  color: var(--ink);
  font-weight: 700;
  background-size: 100% 1.5px;
}
h1 { margin: 0; font-size: 26px; line-height: 1.6; font-weight: 700; }
h1 .hl {
  color: var(--purple);
  border-radius: 3px;
  padding: 0 2px;
  transition: background .2s ease;
}
.page-title { font-size: 22px; }
.page-title .meta { font-weight: 400; font-size: 12px; margin-left: 8px; color: var(--faint); }
.sub { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.hero { display: flex; flex-direction: column; gap: 18px; }
.kicker { font-size: 11px; letter-spacing: .2em; color: var(--faint); padding-bottom: 14px; }
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--line);
}
.row .name { font-size: 15.5px; font-weight: 700; width: 180px; flex: none; }
.row .desc { font-size: 13.5px; line-height: 1.7; color: var(--muted); flex: 1; }
.rlinks { display: inline-flex; gap: 14px; font-size: 12px; flex: none; }
.links { display: flex; gap: 24px; font-size: 13.5px; }
.link {
  color: var(--purple);
  padding-bottom: 3px;
  background: linear-gradient(var(--purple), var(--purple)) left bottom / 100% 1px no-repeat;
  transition: background-size .2s var(--ease-out);
}
footer { font-size: 11.5px; color: var(--pale); transition: color .2s ease; }

/* Hover only on devices that actually hover */
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { background-size: 100% 1.5px; color: var(--ink); }
  h1 .hl:hover { background: rgba(74, 63, 120, .1); }
  .link:hover { background-size: 100% 2px; }
  footer:hover { color: var(--purple); }
}

/* Staggered entrance */
.hero, .page-title, .row, .links, footer { animation: rise .35s var(--ease-out) backwards; }
.hero, .page-title { animation-delay: 0ms; }
.row:nth-child(1) { animation-delay: 60ms; }
.row:nth-child(2) { animation-delay: 100ms; }
.row:nth-child(3) { animation-delay: 140ms; }
.row:nth-child(4) { animation-delay: 180ms; }
.row:nth-child(5) { animation-delay: 220ms; }
.row:nth-child(6) { animation-delay: 260ms; }
.links { animation-delay: 320ms; }
footer { animation-delay: 360ms; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .hero, .page-title, .row, .links, footer { animation: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 64px 24px 56px; gap: 44px; }
  .row { flex-wrap: wrap; }
  .row .name { width: 100%; }
}
