/* Tools index: two rows of calculators. Homepage colors, not the old numbered list. */

.tl-intro { padding: 28px 0 8px; }
.crumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { color: var(--green-deep); text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tl-intro h1 { max-width: 14em; }
.tl-intro .lead {
  max-width: 42em;
  margin-top: 14px;
  color: var(--muted);
}

header.site nav.desk a[aria-current="page"],
header.site nav.mob a[aria-current="page"] { color: var(--ink); }

.tl-top,
.tl-rest {
  display: grid;
  gap: 14px;
}
.tl-top {
  grid-template-columns: 1.35fr 1fr;
  margin-top: 28px;
}
.tl-rest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}
.tl-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 210px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(23, 48, 40, 0.05);
  text-decoration: none;
}
.tl-tile:hover { background: var(--mint); }
.tl-unit {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green-deep);
}
.tl-tile strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tl-tile p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.tl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.tl-chips span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 750;
}
.tl-tile:hover .tl-chips span { background: #fff; }

@media (max-width: 900px) {
  .tl-top,
  .tl-rest { grid-template-columns: 1fr; }
  .tl-tile { min-height: 0; }
}
