:root {
  --bg: #f4f4f5;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b76;
  --link-bg: #f4f4f5;
  --link-bg-hover: #e8e8ec;
  --link-border: #d9d9e0;
  --pill-active-bg: #e2f5e9;
  --pill-active-fg: #1a7f3d;
  --pill-acquired-bg: #e5ecfb;
  --pill-acquired-fg: #3757c0;
  --pill-closed-bg: #ececef;
  --pill-closed-fg: #6b6b76;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --card-bg: #1c1c1f;
    --text: #ececf0;
    --text-muted: #9a9aa5;
    --link-bg: #26262b;
    --link-bg-hover: #303037;
    --link-border: #3a3a42;
    --pill-active-bg: #17301f;
    --pill-active-fg: #5fd08a;
    --pill-acquired-bg: #1c2740;
    --pill-acquired-fg: #8aa7f0;
    --pill-closed-bg: #2a2a30;
    --pill-closed-fg: #9a9aa5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 56rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.card {
  flex: 1 1 20rem;
  max-width: 26rem;
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.profile {
  text-align: center;
}

.avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
}

h1 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
}

.tagline {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--link-border);
  border-radius: 0.6rem;
  background: var(--link-bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease;
}

.link:hover {
  background: var(--link-bg-hover);
}

.link .bi {
  font-size: 1.15em;
}

.startups {
  text-align: left;
}

.startups h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.startups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.startups li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0.25rem;
}

.startups li + li {
  border-top: 1px solid var(--link-border);
}

.startup-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.startup-info {
  flex: 1;
  min-width: 0;
}

.startup-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.startup-name {
  font-weight: 600;
}

.startup-dates {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.startup-desc {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.outcome {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.outcome-active {
  background: var(--pill-active-bg);
  color: var(--pill-active-fg);
}

.outcome-acquired {
  background: var(--pill-acquired-bg);
  color: var(--pill-acquired-fg);
}

.outcome-closed {
  background: var(--pill-closed-bg);
  color: var(--pill-closed-fg);
}
