:root {
  --bg: #0b1120;
  --bg-card: #111a2e;
  --border: #1e2a44;
  --text: #e6edf7;
  --muted: #8b9cb8;
  --accent: #5eb0ef;
  --accent-2: #7ee0c3;
  --danger: #f28b82;
  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  background-image: radial-gradient(1200px 600px at 80% -10%, #14233f 0%, transparent 60%),
                    radial-gradient(900px 500px at -10% 110%, #0f2233 0%, transparent 55%);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

header.site h1 {
  font-size: 2.4rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

header.site .tagline {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h2 { font-size: 1.15rem; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }
.card .ext { color: var(--accent-2); font-size: 0.8rem; }

footer {
  margin-top: 4rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }

.hero {
  text-align: center;
  padding: 18vh 1.5rem 0;
}
.hero h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
.hero p { color: var(--muted); margin-top: 0.8rem; font-size: 1.1rem; }
.hero .back { display: inline-block; margin-top: 2.2rem; color: var(--accent); text-decoration: none; }
.hero .back:hover { text-decoration: underline; }
.badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.25rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
