/* KENVARA public tools hub - compact cards */

.tools-page .tools-intro{
  padding-top:22px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}

.tools-page .tools-intro .page-meta{
  margin-bottom:5px;
}

.tools-page .tools-intro h1{
  max-width:760px;
  margin-bottom:8px;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.025em;
}

.tools-page .tools-intro .lead{
  max-width:760px;
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:var(--muted);
}

.tools-page .tools-catalog{
  padding:24px 0 34px;
  background:#fff;
}

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

.tools-page .service-card{
  display:flex;
  flex-direction:column;
  min-height:220px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
  color:var(--text);
  text-decoration:none;
  transition:border-color .16s ease,background-color .16s ease,transform .16s ease;
}

.tools-page a.service-card:hover{
  border-color:#b9b0ee;
  background:#fbfaff;
  transform:translateY(-1px);
}

.tools-page a.service-card:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}

.tools-page .service-card-body{
  flex:1;
}

.tools-page .service-card h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.015em;
}

.tools-page .service-card p{
  margin:0;
  color:#5f6977;
  font-size:15px;
  line-height:1.55;
}

.tools-page .service-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}

.tools-page .service-tags span{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 8px;
  border:1px solid #e1e5ec;
  border-radius:3px;
  background:#fafbfc;
  color:#697386;
  font-size:12px;
  line-height:1.2;
  font-weight:650;
}

.tools-page .service-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
  padding-top:13px;
  border-top:1px solid var(--line);
  color:var(--primary);
  font-size:14px;
  line-height:1.35;
  font-weight:700;
}

.tools-page .service-link span{
  font-size:18px;
  line-height:1;
  transition:transform .16s ease;
}

.tools-page a.service-card:hover .service-link span{
  transform:translateX(2px);
}

.tools-page .service-card-soon{
  background:#fbfbfc;
}

.tools-page .service-link-muted{
  color:#8a94a5;
}

.tools-page .tools-bottom{
  padding:18px 0 22px;
  border-top:1px solid var(--line);
  background:#fafbfc;
}

.tools-page .tools-bottom p{
  max-width:760px;
  margin:0;
  color:#657080;
  font-size:14px;
  line-height:1.5;
}

@media(max-width:980px){
  .tools-page .tools-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tools-page .service-card:last-child{grid-column:1 / -1}
}

@media(max-width:720px){
  .tools-page .tools-intro{padding-top:18px;padding-bottom:16px}
  .tools-page .tools-intro h1{font-size:28px}
  .tools-page .tools-catalog{padding:20px 0 28px}
  .tools-page .tools-cards{grid-template-columns:1fr;gap:10px}
  .tools-page .service-card,
  .tools-page .service-card:last-child{
    grid-column:1;
    min-height:0;
    padding:16px;
  }
  .tools-page .service-card h3{font-size:19px}
}

@media(prefers-reduced-motion:reduce){
  .tools-page .service-card,
  .tools-page .service-link span{transition:none}
}
