:root {
  --bg: #030305;
  --surface: #101014;
  --surface-2: #16161c;
  --border: rgba(255, 255, 255, 0.08);
  --foreground: #f5f5f7;
  --muted: #94949c;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --success: #34d399;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

a { color: inherit; text-decoration: none; }

/* mouse-tracking spotlight background */
.bg-fx {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  transition: opacity 0.3s;
  background: radial-gradient(600px at 50% 20%, rgba(99, 102, 241, 0.15), transparent 40%);
}
.bg-fx-2 {
  background: radial-gradient(300px at 50% 20%, rgba(139, 92, 246, 0.1), transparent 50%);
}

/* header */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem 0;
}
.logo-link { display: inline-flex; }
.logo-img { height: 32px; width: auto; display: block; }

/* main */
main {
  position: relative;
  z-index: 10;
  flex: 1;
}

.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  background: linear-gradient(to bottom, #fff, #a5a5b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}

/* catalogue */
.catalogue {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 6rem;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .catalogue-grid { grid-template-columns: 1fr 1fr; }
}

.tool-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
a.tool-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.tool-card-soon {
  opacity: 0.55;
  cursor: default;
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.tool-name {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
}
.tool-status {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.status-live {
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
}
.status-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.tool-visit {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

/* footer */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-links { margin: 0.5rem 0 0; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--foreground); }
.footer-sep { margin: 0 0.5rem; opacity: 0.5; }
