:root {
  --bg: #0b1020;
  --bg-2: #131a33;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef2ff;
  --muted: #9aa6c7;
  --accent: #7dd3fc;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --bg-2: #e9ecf7;
    --card: rgba(255, 255, 255, 0.85);
    --border: rgba(15, 23, 42, 0.12);
    --text: #131a33;
    --muted: #5a668c;
    --accent: #0369a1;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  padding: 2rem 1.25rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 15% 0%, var(--bg-2), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, var(--bg-2), transparent 55%),
    var(--bg);
}

main {
  align-self: center;
  justify-self: center;
  width: min(100%, 34rem);
}

.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

code {
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
}

.meta div {
  margin: 0;
}

dt {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

dd {
  margin: 0.25rem 0 0;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.links a:hover {
  text-decoration: underline;
}

footer {
  justify-self: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}
