:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #181818;
  --surface-2: #202020;
  --text: #f4f4f0;
  --muted: #b7b2a8;
  --subtle: #807a70;
  --border: #34322e;
  --accent: #5aa7ff;
  --green: #63d471;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(90, 167, 255, .08), transparent 38%),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.home {
  width: min(980px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 56px 0;
}

.profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.avatar-link {
  width: 96px;
  height: 96px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.avatar-link:hover,
.avatar-link:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.avatar-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

.tagline {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  min-height: 208px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 24px;
  text-decoration: none;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-2);
  outline: none;
}

.link-card:nth-child(2):hover,
.link-card:nth-child(2):focus-visible {
  border-color: var(--green);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.label,
.meta,
.desc,
.url {
  display: block;
}

.label {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 880;
}

.meta {
  margin-top: 6px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
  background: #111;
  font-size: 20px;
}

.link-card:nth-child(2) .arrow {
  color: var(--green);
}

.desc {
  max-width: 36rem;
  color: var(--muted);
}

.url {
  color: var(--accent);
  font: 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.link-card:nth-child(2) .url {
  color: var(--green);
}

footer {
  display: flex;
  justify-content: flex-end;
}

footer a {
  color: var(--subtle);
  text-decoration: none;
  font-size: 13px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 720px) {
  .home {
    min-height: auto;
    align-content: start;
    padding: 36px 0;
  }

  .profile {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar-link {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .tagline {
    font-size: 16px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 168px;
  }
}
