:root {
  --bg: #f6f6f4;
  --card: #ffffff;
  --text: #161616;
  --muted: #6b6b6b;
  --line: #e4e4e0;
  --btn: #ffffff;
  --btn-hover: #f0f0ec;
  --accent: #161616;
  --accent-text: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --card: #1b1b1b;
    --text: #f2f2f2;
    --muted: #9a9a9a;
    --line: #2c2c2c;
    --btn: #222222;
    --btn-hover: #2b2b2b;
    --accent: #f2f2f2;
    --accent-text: #121212;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}
@media (min-width: 600px) {
  .card {
    padding: 40px 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
}

.avatar {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
h1 { margin: 0; font-size: 1.375rem; font-weight: 650; letter-spacing: -.01em; }
.handle { margin: 4px 0 28px; color: var(--muted); font-size: .95rem; }

.links { display: flex; flex-direction: column; gap: 12px; }
.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--btn);
  color: var(--text);
  font-weight: 550;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.link svg {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
}
.link img {
  position: absolute;
  left: 16px;
  width: 24px;
  height: 24px;
}
.link:hover { background: var(--btn-hover); }
.link:active { transform: scale(.985); }
.link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.link.primary:hover { opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
