/* ============================================================
   DogHouse Farms — Tools hub
   Shares the same design language as the PM & Tickets app so the
   whole internal tool suite feels like one family.
   ============================================================ */

:root {
  --bg: #14171a;
  --surface: #1d2126;
  --surface-raised: #262b32;
  --line: #333a40;
  --ink: #ece8dd;
  --ink-muted: #8f98a1;

  --brass: #ba8a3f;
  --brass-bright: #d9ac57;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

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

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 40px 24px 16px;
  max-width: 900px;
  margin: 0 auto;
}
.topbar-mark { height: 64px; width: auto; }
.topbar-titles h1 { font-size: 1.6rem; letter-spacing: 0.01em; }
.topbar-titles p { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-muted); }

/* ---------- content ---------- */
.content { padding: 24px; max-width: 900px; margin: 0 auto; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.tool-card.live:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.tool-card[data-pending="true"] {
  cursor: default;
  opacity: 0.6;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-bright);
}
.tool-icon svg { width: 20px; height: 20px; }

.tool-copy h2 { font-size: 1.1rem; margin-bottom: 6px; }
.tool-copy p { margin: 0; font-size: 0.88rem; color: var(--ink-muted); line-height: 1.5; }

.tool-status {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 10px;
}
.status-live { color: var(--brass-bright); }
.status-pending { color: var(--ink-muted); }

@media (max-width: 640px) {
  .topbar { padding: 28px 16px 12px; }
  .topbar-mark { height: 48px; }
  .content { padding: 16px; }
}
