:root {
  color-scheme: dark;
  --bg: #121016;
  --surface: #1c1924;
  --text: #e8e4f0;
  --muted: #9a92a8;
  --accent: #c4a574;
  --accent-dim: #8f7652;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Literata", Georgia, serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 165, 116, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(80, 60, 100, 0.15), transparent);
}

main {
  width: 100%;
  max-width: 28rem;
}

header {
  text-align: center;
  margin-bottom: 2.25rem;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

a.card {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid rgba(196, 165, 116, 0.12);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 500;
}

a.card:hover {
  border-color: rgba(196, 165, 116, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

a.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

  a.card:hover {
    transform: none;
  }
}

.label {
  font-family: "Literata", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.url {
  font-size: 0.75rem;
  color: var(--accent-dim);
  font-weight: 400;
}

footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}
