/* ==========================================================================
   Compliance page — card grid layout
   Each topic is a scannable card with an icon. Uses shared .card + .grid.
   ========================================================================== */

/* Natural-height cards (don't stretch short cards to match tall ones) */
.compliance-grid { align-items: start; }

.compliance-card {
  display: flex;
  flex-direction: column;
}

/* Icon tile */
.c-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--c-accent-tint);
  margin-bottom: 18px;
  flex: 0 0 auto;
}
.c-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--c-accent);
  display: block;
}

/* Card heading — smaller than the page-level h2 so it fits inside the card */
.compliance-card h2 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin-bottom: .6rem;
  color: var(--c-ink);
}

.compliance-card p {
  color: var(--c-text-soft);
  font-size: .98rem;
  line-height: 1.65;
  margin-bottom: .85rem;
}
.compliance-card p:last-child { margin-bottom: 0; }

/* Resources card — link list styled as tappable rows */
.resource-list {
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.resource-list li { margin: 0; }
.resource-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  color: var(--c-ink);
  font-size: 1rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.resource-list a::after {
  content: "\2192"; /* arrow */
  margin-left: auto;
  color: var(--c-accent);
  font-weight: 800;
  transition: transform .15s ease;
}
.resource-list a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-tint);
}
.resource-list a:hover::after { transform: translateX(3px); }
