/* Curo's own site: the top bar comes back, fixed, once it has scrolled out of view; the current page in the menu. */
header.is-stuck {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50 !important;
  animation: curo-bar-in .28s cubic-bezier(.2, .7, .3, 1);
  box-shadow: 0 1px 0 var(--border), 0 6px 18px -12px rgba(0, 0, 0, .25);
}
@keyframes curo-bar-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  header.is-stuck { animation: none; }
}
header nav a.is-active {
  color: var(--text) !important;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Legal pages (Terms): a calm reading column. */
.legal { max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--text); }
.legal h2 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 2.25rem 0 0.75rem; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin: 0.35rem 0; }
.legal li::marker { color: var(--text-3, #8a8a85); }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 600; }
.legal > :first-child { margin-top: 0; }
