/* LCAP Tools home page — version 1.2 (project version 0.7.28).
   The shared branded header and footer are provided by dashboard-branding.css. */

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #17213a;
  background: #edf2f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #edf2f7;
  color: #17213a;
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: #102a49;
}

.skip-link:focus { top: 1rem; }
.tool-hub {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.step {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2, h3, p { margin-top: 0; }
.tool-hub { padding: 2.5rem 0 3rem; }
.step { color: #175f8c; }

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #c8d1dc;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.7rem rgba(23, 54, 93, 0.1);
}

.tool-card h3 { margin-bottom: 0.65rem; font-size: 1.35rem; }
.tool-card h3 a { color: #17365d; }
.tool-card p { flex: 1; }

.tool-button {
  align-self: flex-start;
  display: inline-block;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: #17365d;
  border: 2px solid #17365d;
  border-radius: 0.3rem;
  font-weight: 700;
  text-decoration: none;
}

.tool-button:hover { background: #102a49; text-decoration: underline; }

.tool-button:focus-visible,
.tool-card a:focus-visible {
  outline: 3px solid #b45309;
  outline-offset: 3px;
}

@media (max-width: 44rem) {
  .tool-card-grid { grid-template-columns: 1fr; }
}
