:root {
  --bg: #0d0f12;
  --panel: #171b22;
  --panel-strong: #202632;
  --text: #f7f4ed;
  --muted: #b7beca;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #55df9a;
  --accent-dark: #07190f;
  --warning: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(85, 223, 154, 0.22), transparent 25rem),
    linear-gradient(145deg, rgba(255, 209, 102, 0.08), transparent 32rem),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(100% - 28px, 1120px);
  margin: 0 auto;
  padding: 34px 0 28px;
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p,
strong,
small {
  overflow-wrap: anywhere;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(2.25rem, 12vw, 4.7rem);
  line-height: 1;
}

.subhead {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.person-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.person-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
}

.avatar {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--accent);
  font-size: 1.28rem;
  font-weight: 900;
}

.person-header h2 {
  margin: 5px 0 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.link-card {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a.link-card:hover,
a.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(85, 223, 154, 0.75);
  outline: none;
}

.link-card.featured {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-dark);
}

.link-card.empty {
  border-style: dashed;
  border-color: rgba(255, 209, 102, 0.46);
}

.link-card span:first-child {
  display: grid;
  gap: 4px;
}

.link-card strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.link-card small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.link-card.featured small,
.link-card.featured span:last-child {
  color: rgba(7, 25, 15, 0.78);
}

.link-card span:last-child {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card.empty span:last-child {
  color: var(--warning);
}

.edit-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.edit-note h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.edit-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

code {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (min-width: 860px) {
  .page {
    width: min(100% - 48px, 1120px);
    padding-top: 56px;
  }

  .people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    margin-top: 38px;
  }
}
