/* ── Tools Hub — /tools listing page ─────────────────────────────────────── */

/* Hero */
.th-hero {
  background: #0f2544;
  padding: 64px 24px 56px;
  text-align: center;
}
.th-hero-inner { max-width: 680px; margin: 0 auto; }
.th-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #7dd3fc;
  margin-bottom: 14px;
}
.th-hero-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
}
.th-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin: 0;
}

/* Body */
.th-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

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

/* Card */
.th-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.th-card:hover {
  box-shadow: 0 10px 32px rgba(15,37,68,.10);
  transform: translateY(-3px);
  border-color: #c7dff0;
  text-decoration: none;
  color: inherit;
}

.th-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.th-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #eef6fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.th-card-icon svg { width: 22px; height: 22px; color: #017bbd; stroke: #017bbd; }
.th-card-icon--muted { background: #f1f5f9; }
.th-card-icon--muted svg { color: #94a3b8; stroke: #94a3b8; }

.th-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #017bbd;
  background: #eef6fc;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.th-card-cat--soon {
  color: #64748b;
  background: #f1f5f9;
}

.th-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d1f3c;
  margin: 0 0 10px;
  line-height: 1.3;
}
.th-card-title--muted { color: #94a3b8; }

.th-card-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}
.th-card-desc a { color: #017bbd; text-decoration: none; }
.th-card-desc a:hover { text-decoration: underline; }

.th-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #017bbd;
  margin-top: auto;
}
.th-card:hover .th-card-cta { color: #0f2544; }

/* Coming soon card — dashed border, no hover lift */
.th-card--soon {
  border-style: dashed;
  border-color: #cbd5e1;
  background: #f8fafc;
  cursor: default;
}
.th-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: #cbd5e1;
}

/* Responsive */
@media (max-width: 640px) {
  .th-hero { padding: 44px 18px 38px; }
  .th-body { padding: 36px 16px 56px; }
  .th-grid { grid-template-columns: 1fr; }
}
