:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --hover: #f3f4f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --text: #f5f5f5;
    --muted: #9ca3af;
    --border: #1f2933;
    --hover: #141414;
  }
}

* {
  box-sizing: border-box;
  font-family: "Manrope", system-ui, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

main {
  min-height: 100svh;
  display: flex;
  justify-content: center;
}

.wrapper {
  width: 100%;
  max-width: 560px;
  padding: 48px 22px;
  animation: pageIn 0.6s ease both;
}

header {
  margin-bottom: 42px;
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.links {
  display: flex;
  flex-direction: column;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a.link {
  text-decoration: none;
  color: var(--text);
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;

  opacity: 0;
  transform: translateY(6px);
  animation: linkIn 0.5s ease forwards;
}

a.link span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

a.link:active {
  transform: scale(0.985);
}

footer {
  margin-top: 46px;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes linkIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}
