:root {
  --bg: #09090b;
  --surface: #16161a;
  --line: rgba(255, 255, 255, 0.06);
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --muted: #71717a;
  --accent: #a78bfa;
  --accent-dim: rgba(167, 139, 250, 0.08);
  --focus: #fbbf24;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(167, 139, 250, 0.07), transparent);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(900px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10;
  background: var(--accent);
  color: var(--bg);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

header {
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

h1,
h2 {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  line-height: 1.15;
}

h2 {
  color: var(--text);
  margin-top: 1.8rem;
}

.muted {
  color: var(--muted);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

nav a:hover {
  color: var(--accent);
  border-color: rgba(167, 139, 250, 0.3);
  background: var(--accent-dim);
}

main {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.card h2 {
  margin-top: 1.5rem;
}

.card h2:first-child {
  margin-top: 0;
}

.card p {
  color: var(--text-secondary);
}

.card ul {
  color: var(--text-secondary);
}

.card li {
  margin-bottom: 0.3rem;
}

a {
  color: var(--accent);
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
}
