:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #334155;
  --radius: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 500px at 50% -10%, #1e293b 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; margin-bottom: 36px; }

.hero h1 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero .dot { color: #38bdf8; }

.tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Accent bar down the left edge */
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}

.icon {
  font-size: 1.9rem;
  line-height: 1;
}

.body { flex: 1; }

.card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.host {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

/* ---------- Footer ---------- */
.foot {
  margin-top: 40px;
  text-align: center;
}

.foot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .wrap { padding: 32px 16px 48px; }
  .hero h1 { font-size: 2.1rem; }
}
