:root {
  color-scheme: dark;
  --bg: #030303;
  --surface: rgba(10, 10, 11, 0.78);
  --surface-strong: #111113;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f5f5f0;
  --muted: #a6a6a0;
  --dim: #6d6d68;
  --signal: #e9ff70;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(233, 255, 112, 0.08), transparent 28rem),
    linear-gradient(245deg, rgba(255, 255, 255, 0.06), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

.links-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.links-page::after {
  position: fixed;
  right: max(24px, 8vw);
  bottom: 52px;
  width: min(34vw, 420px);
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.linktree {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 520px);
  justify-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border: 2px solid var(--text);
  border-radius: 50%;
  box-shadow: inset 6px 0 0 var(--signal);
}

.intro {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 82px);
  font-weight: 820;
  line-height: 0.88;
  letter-spacing: 0;
}

.bio {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 4vw, 22px);
  line-height: 1.2;
}

.links-list {
  display: grid;
  width: 100%;
  gap: 12px;
}

.link-button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 14px;
  min-height: 72px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 70%),
    var(--surface);
  padding: 16px 18px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.link-button:hover {
  border-color: rgba(233, 255, 112, 0.55);
  background:
    linear-gradient(135deg, rgba(233, 255, 112, 0.1), transparent 70%),
    var(--surface-strong);
  transform: translateY(-2px);
}

.link-label {
  color: var(--text);
  font-size: 18px;
  font-weight: 780;
}

.link-description {
  grid-column: 1;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.25;
}

.link-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--signal);
  font-size: 20px;
  font-weight: 780;
}

@media (max-width: 520px) {
  .links-page {
    align-items: start;
    padding-top: 28px;
  }

  .links-page::after {
    right: 24px;
    bottom: 34px;
    width: calc(100% - 48px);
  }

  .brand {
    margin-bottom: 42px;
  }

  .link-button {
    border-radius: 14px;
  }
}
