/* Loads AFTER kyronix.css to add app-specific bits */
.app-hero {
  padding: calc(var(--section-padding) + 0.5rem) 0 var(--section-padding);
  border-bottom: var(--border);
}
.app-hero .title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
}
.app-hero .lead {
  color: #374151;
  max-width: 720px;
}

/* Icon + badges inside cards */
.tool-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: var(--border);
  font-weight: 700;
}
.tool-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: var(--border);
  background: #f9fafb;
}

/* Side navigation on tool detail pages (matches your sticky legal nav style) */
.tool-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.5rem;
  align-self: start;
}
.tool-link {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: var(--border);
  background: #f9fafb;
  font-weight: 600;
  transition: background var(--transition);
}
.tool-link:hover {
  background: #f3f4f6;
}
.tool-link.active {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

/* Tool cards grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card--link {
  text-decoration: none;
}
.card--link:hover {
  text-decoration: none;
}
.card--active {
  border-color: #0a0a0a;
  box-shadow: var(--shadow);
}
.is-active {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
}

/* Two-column detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}
@media (max-width: 1023px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Readable body copy */
.prose {
  color: #374151;
  display: grid;
  gap: 0.75rem;
}
.prose h2 {
  font-size: 1.25rem;
  margin-top: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
  color: #1f2937;
}
