/* Shared interactive link styles for header navigation and footer/legal links. */
.top-link {
  color: #c7d2ff;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

/* Focus/hover treatment for header links. */
.top-link:hover,
.top-link:focus-visible {
  border-color: #c7d2ff;
  outline: none;
}

/* Separator between header actions such as Back and language switch. */
.top-separator {
  color: #8f9bc2;
}

/* Footer and legal navigation links. */
.legal-link {
  color: var(--text-light);
  font-size: 0.85rem;
  text-decoration: none;
}

/* Hover/focus state for footer and legal navigation links. */
.legal-link:hover,
.legal-link:focus-visible {
  color: #d8e8ff;
  outline: none;
}

/* Outer footer container shared across pages. */
.site-footer {
  width: min(1120px, 92vw);
  margin: 2.5rem auto 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(230, 247, 248, 0.16);
}

/* Compact CROCHE CODE wordmark used inside the footer. */
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
  color: #f4fbfe;
  text-decoration: none;
  line-height: 1;
}

/* Straight letter styling inside the footer mark. */
.footer-brand-cal {
  font-family: "Cal Sans", system-ui, sans-serif;
  font-size: 0.9rem;
}

/* Handwritten-style "8" inside the footer mark. */
.footer-brand-eight {
  font-family: "Satisfy", cursive;
  font-size: 1.02rem;
  transform: translateY(0.02em);
}

/* Footer brand hover/focus feedback. */
.footer-brand:hover,
.footer-brand:focus-visible {
  color: #d8e8ff;
  outline: none;
}

/* Layout wrapper for the footer brand plus legal links. */
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
