.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 1000;
  background: #111827;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  font-weight: bold;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.top-links,
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-links {
  justify-content: flex-start;
  margin-top: 1rem;
}

.footer-links {
  margin-bottom: 0.9rem;
}

.footer-links a,
.top-links a {
  color: #0f7f92;
  font-weight: bold;
  text-decoration: none;
}

.top-links a:last-child,
.footer-links a:last-child {
  background: #ecfeff;
  border: 2px solid #1597ad;
  border-radius: 999px;
  color: #075985;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 8px 18px rgba(21, 151, 173, 0.14);
}

.footer-links a:hover,
.footer-links a:focus,
.top-links a:hover,
.top-links a:focus {
  text-decoration: underline;
}

.app-footer-inside {
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.resource-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.resource-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-left: 0.35rem solid #1597ad;
  border-radius: 0.9rem;
  padding: 1rem;
}

.resource-card h3 {
  margin-bottom: 0.4rem;
}

.resource-card p,
.resource-card li {
  color: #4b5563;
  line-height: 1.7;
}

.resource-card ul,
.resource-card ol {
  margin-bottom: 0;
  padding-left: 1.3rem;
}

.legal-note {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 1rem;
  color: #4b5563;
}

@media (max-width: 768px) {
  .top-links,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .top-links a,
  .footer-links a {
    background: #ecfeff;
    border: 1px solid #cfeff5;
    border-radius: 0.7rem;
    padding: 0.75rem;
    text-align: center;
  }

  .top-links a:last-child,
  .footer-links a:last-child {
    border: 2px solid #1597ad;
    border-radius: 0.9rem;
  }
}
