/* HostScout.ca - Tools landing page */

.tools-page {
  --tools-red: #AD0000;
  --tools-ink: #161616;
  --tools-copy: #5f646b;
  --tools-line: #E5E7EB;
  --tools-panel: #F8F8F9;
  background: #fff;
  color: var(--tools-ink);
}

.tools-page *,
.tools-page *::before,
.tools-page *::after {
  box-sizing: border-box;
}

.tool-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  color: #6d7279;
  font-size: 11px;
  line-height: 1.4;
}

.tool-breadcrumbs a {
  color: #5d6269;
  text-decoration: none;
}

.tool-breadcrumbs a:hover {
  color: var(--tools-red);
}

.tool-breadcrumbs svg {
  width: 12px;
  height: 12px;
  color: #a9adb3;
  flex: 0 0 auto;
}

.tools-landing-hero {
  padding: 28px 0 50px;
  background: #fff;
}

.tools-landing-hero-inner {
  max-width: 820px;
  text-align: center;
}

.tools-landing-hero h1 {
  margin: 0;
  color: var(--tools-red);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}

.tools-landing-hero p {
  max-width: 670px;
  margin: 18px auto 0;
  color: var(--tools-copy);
  font-size: 14px;
  line-height: 1.7;
}

.tools-directory {
  padding: 0 0 82px;
  background: #fff;
}

.tools-directory-head {
  margin-bottom: 26px;
  padding-left: 12px;
  border-left: 3px solid var(--tools-red);
}

.tools-directory-heading > span {
  display: block;
  color: var(--tools-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tools-directory-heading h2 {
  margin: 4px 0 5px;
  color: var(--tools-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.tools-directory-heading p {
  margin: 0;
  color: #777b82;
  font-size: 11px;
  line-height: 1.6;
}

.tools-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tools-card {
  min-height: 285px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dde0e4;
  border-radius: 11px;
  box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.tools-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid #e2e5e8;
  border-radius: 9px;
  color: var(--tools-red);
  background: var(--tools-panel);
}

.tools-card-icon svg {
  width: 23px;
  height: 23px;
}

.tools-card h3 {
  margin: 0 0 8px;
  color: var(--tools-ink);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.tools-card > p {
  margin: 0;
  color: #6a6f76;
  font-size: 11.5px;
  line-height: 1.62;
}

.tools-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tools-card-meta span {
  padding: 5px 7px;
  color: #6b7077;
  background: #f7f8f9;
  border: 1px solid #e5e7ea;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}

.tools-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--tools-red);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.tools-card-link svg {
  width: 13px;
  height: 13px;
  transition: transform .18s ease;
}

.tools-card-link:hover svg {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .tools-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .tool-breadcrumbs { margin-top: 16px; }
  .tools-landing-hero { padding: 24px 0 38px; }
  .tools-landing-hero h1 { font-size: 40px; }
  .tools-card-grid { grid-template-columns: 1fr; }
  .tools-card { min-height: 0; }
}
