/* ============================================================
   dgtl.ai — Tools Hub
   Same colour tokens/brand chrome as the Brand Configurator, kept
   as a separate small file so every tool can @import/link it
   without depending on any one tool's larger stylesheet. */
:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --ink: #171a20;
  --muted: #6b7280;
  --line: #e3e5ea;
  --primary: #3399ff;
  --primary-hover: #2b82d9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
header {
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.header-inner { max-width: 1100px; margin: 0 auto; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
}
.back-link:hover { color: var(--primary); }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.brand-mark { width: 20px; height: 20px; border-radius: 5px; background: var(--primary); flex-shrink: 0; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.brand-divider { width: 1px; height: 16px; background: var(--line); }
.brand-product { font-size: 15px; color: var(--muted); font-weight: 500; }
header p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 760px; }

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.tile {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease-in-out, transform .1s ease-in-out;
}
.tile:hover { border-color: var(--primary); }
.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  margin-bottom: 14px;
}
.tile h2 { font-size: 15px; margin: 0 0 6px; }
.tile p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.tile.disabled {
  cursor: default;
  opacity: .55;
}
.tile.disabled:hover { border-color: var(--line); }
.tile.disabled .tile-icon { background: var(--muted); }
.tile-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 10px;
}
