/* ==========================================================================
   Tools hub.

   Loaded after case-studies.css, which supplies the shell (tokens, header,
   footer, .btn, .kicker) and .case-cta. Only the hub's own parts live here.
   ========================================================================== */

.tl-crumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}
.tl-crumb a { color: var(--muted); }
.tl-crumb a:hover { color: var(--accent); }
.tl-crumb span { margin: 0 7px; opacity: .55; }

.tl-hero { padding: 42px 0 8px; }
.tl-hero h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(31px, 4.4vw, 56px);
  line-height: 1.02;
}
.tl-lead {
  margin: 22px 0 0;
  max-width: 64ch;
  color: var(--soft);
  font-size: clamp(16px, 1.75vw, 20px);
  line-height: 1.6;
}

/* --- The list ------------------------------------------------------------ */

.tl-list { padding: 46px 0 0; }

.tl-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tl-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(143, 211, 255, .1), rgba(185, 251, 192, .05)),
              var(--card);
  box-shadow: var(--shadow);
}
.tl-card + .tl-card { margin-top: 16px; }

.tl-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.tl-live {
  padding: 5px 12px;
  border: 1px solid rgba(185, 251, 192, .34);
  border-radius: 999px;
  background: rgba(185, 251, 192, .12);
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tl-time { color: var(--muted); font-size: 13px; }

.tl-card h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: -.02em;
}
.tl-card h3 a:hover { color: var(--accent); }

.tl-tagline {
  margin: 0;
  max-width: 58ch;
  color: var(--soft);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.6;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.tl-tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
  font-size: 12.5px;
}

.tl-body {
  margin: 20px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.tl-card .btn { margin-top: 24px; }

/* --- Written sections ---------------------------------------------------- */

.tl-why { padding: 60px 0 0; }
.tl-why h2 { margin: 0 0 14px; font-size: clamp(21px, 2.4vw, 30px); }
.tl-why > p {
  margin: 0 0 16px;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.75;
}

.tl-dims {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.tl-dim {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.tl-dim h3 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 560;
  letter-spacing: -.02em;
}
.tl-dim p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}
/* The global reset is `a { color: inherit; text-decoration: none }`, so the
   inline proof links need stating. Scoped to `p a` so no button is caught. */
.tl-dim p a { color: var(--accent); }
.tl-dim p a:hover { text-decoration: underline; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .tl-dims { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tl-card { padding: 22px; border-radius: 22px; }
  .tl-card .btn { width: 100%; justify-content: center; }
}
