:root {
  --bg: #fdf8f1; --fg: #2a2320; --muted: #7a6d66; --card: #ffffff; --line: #eadfd3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17141a; --fg: #f3ece6; --muted: #a59a94; --card: #221e26; --line: #35303b; }
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; flex-direction: column; align-items: center; padding: 0 1.25rem;
}
header, main, footer { width: 100%; max-width: 56rem; }
header { padding: 4.5rem 0 1.5rem; }
h1 {
  display: inline-block; margin: 0; padding-bottom: .08em; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800;
  background: linear-gradient(90deg, #ff6b4a, #ffb03a 45%, #4ab0ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin: .6rem 0 0; font-size: 1.2rem; color: var(--muted); }
.intro { margin: 0 0 1.75rem; max-width: 40rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.card a {
  display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1.3rem 1.4rem 1.1rem;
  background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: 14px;
  color: inherit; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
.card a:hover, .card a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px -12px var(--accent); outline: none; }
.name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.blurb { color: var(--muted); flex: 1; }
.meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--muted); }
.host { color: var(--accent); font-weight: 600; }
.hue-0 { --accent: #ff6b4a; } .hue-1 { --accent: #f5a524; } .hue-2 { --accent: #3fb68b; }
.hue-3 { --accent: #4ab0ff; } .hue-4 { --accent: #a77bff; } .hue-5 { --accent: #ff5fa2; }
footer { margin-top: auto; padding: 3rem 0 2rem; font-size: .85rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .card a { transition: none; } .card a:hover { transform: none; } }
